[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Create IPFIX L2 Collector Profile
DescriptionCreate or Replace IPFIX collector profile. IPFIX data will be sent to IPFIX collector.
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/ipfix-l2-collector-profiles/{ipfix-l2-collector-profile-id}
Path Parameters
Path Parameters
string
ipfix-l2-collector-profile-id
Required
IPFIX collector profile id
Request Body
Request Body
IPFIXL2CollectorProfile
of type(s) application/json
Required
This request body class requires all of the following:
PolicyConfigResource, InlineIPFIXL2CollectorProfile1
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
IPFIXL2CollectorProfile
of type(s) application/json
This response body class contains all of the following:
PolicyConfigResource, InlineIPFIXL2CollectorProfile1
Errors
Code Samples
Code Samples
PowerCLI Client SDK Example
Invoke-CreateOrReplaceIPFIXL2CollectorProfile -ipfixL2CollectorProfileId -iPFIXL2CollectorProfile $iPFIXL2CollectorProfile -_override
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/ipfix-l2-collector-profiles/{ipfix-l2-collector-profile-id}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: create-ipfix-l2-collector-profile
x-vmw-nsx-module: PolicyIPFIXSwitch
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy