[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Create Group Port Mirroring Instance
DescriptionCreate or Replace port mirroring instance. Packets will be mirrored from source group to destination group. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/port-mirroring-profiles
Request
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/domains/{domain-id}/groups/{group-id}/port-mirroring-instances/{port-mirroring-instance-id}
Path Parameters
Path Parameters
string
domain-id
Required
Domain ID
string
group-id
Required
Group ID
string
port-mirroring-instance-id
Required
Port Mirroring Instance Id
Request Body
Request Body
PortMirroringInstance
of type(s) application/json
Required
This request body class requires all of the following:
PolicyConfigResource, InlinePortMirroringInstance1
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK returns
PortMirroringInstance
of type(s) application/json
This response body class contains all of the following:
PolicyConfigResource, InlinePortMirroringInstance1
Errors
Code Samples
Code Samples
PowerCLI Client SDK Example
Invoke-CreateOrReplacePortMirroringInstance -domainId -groupId -portMirroringInstanceId -portMirroringInstance $portMirroringInstance
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{}' https://nsxmanager.your.domain/policy/api/v1/infra/domains/{domain-id}/groups/{group-id}/port-mirroring-instances/{port-mirroring-instance-id}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-deprecated: null
x-vmw-doc-operation: create-group-port-mirroring-instance
x-vmw-nsx-module: PolicyOperations
[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
On This Page
Domains Operations
put
delete
get
get
patch