Read Port Mirroring Instance

Read Port Mirroring Instance

API will return details of port mirroring instance. If instance does not exist, it will return 404. This API is deprecated. Please use the following API: https://<policy-mgr>/policy/api/v1/infra/port-mirroring-profiles

Request
URI
GET
https://nsxmanager.your.domain/policy/api/v1/infra/domains/{domain-id}/groups/{group-id}/port-mirroring-instances/{port-mirroring-instance-id}
COPY
Path Parameters
string
domain-id
Required

Domain ID

string
group-id
Required

Group ID

string
port-mirroring-instance-id
Required

Port Mirroring Instance Id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns PortMirroringInstance of type(s) application/json
This response body class contains all of the following: PolicyConfigResource , InlinePortMirroringInstance1
{
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "_revision": 0,
    "_create_time": 0,
    "_create_user": "string",
    "_last_modified_time": 0,
    "_last_modified_user": "string",
    "_protection": "string",
    "_system_owned": false,
    "description": "string",
    "display_name": "string",
    "id": "string",
    "resource_type": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "parent_path": "string",
    "path": "string",
    "relative_path": "string",
    "children": [
        {
            "_links": [
                {
                    "action": "string",
                    "href": "string",
                    "rel": "string"
                }
            ],
            "_schema": "string",
            "_self": {
                "action": "string",
                "href": "string",
                "rel": "string"
            },
            "_revision": 0,
            "_create_time": 0,
            "_create_user": "string",
            "_last_modified_time": 0,
            "_last_modified_user": "string",
            "_protection": "string",
            "_system_owned": false,
            "description": "string",
            "display_name": "string",
            "id": "string",
            "resource_type": "string",
            "tags": [
                {
                    "scope": "string",
                    "tag": "string"
                }
            ],
            "marked_for_delete": false
        }
    ],
    "marked_for_delete": false,
    "destination_group": "string",
    "direction": "string",
    "snap_length": 0
}

400
Returns BadRequest of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

403
Returns Forbidden of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

404

Not Found

Operation doesn't return any data structure

412
Returns PreconditionFailed of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

500
Returns InternalServerError of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

503
Returns ServiceUnavailable of type(s) application/json
This response body class contains all of the following: RelatedApiError , InlineApiError1
{
    "details": "string",
    "error_code": 0,
    "error_message": "string",
    "module_name": "string",
    "related_errors": [
        {
            "details": "string",
            "error_code": 0,
            "error_message": "string",
            "module_name": "string"
        }
    ]
}

Domains Operations
PUT
Create Or Replace Port Mirroring Instance
DELETE
Delete Dns Security Profile Binding
DELETE
Delete Group
DELETE
Delete Group Monitoring Binding
DELETE
Delete Policy Firewall Flood Protection Binding
DELETE
Delete Policy Firewall Session Timer Binding
DELETE
Delete Port Mirroring Instance
GET
Get Dns Security Profile Binding
GET
Get Group IP Members
GET
Get Group LP Members
GET
Get Group LS Members
GET
Get Group Monitoring Binding
GET
Get Group Segment Members
GET
Get Group Segment Port Members
GET
Get Group Tags
GET
Get Group VM Members
GET
Get Group VM Statistics
GET
Get Policy Firewall Flood Protection Binding
GET
Get Policy Firewall Session Timer Binding
GET
List Dns Security Profile Bindings
GET
List Group For Domain
GET
List Group Monitoring Bindings
GET
List Policy Firewall Flood Protection Bindings
GET
List Policy Firewall Session Timer Bindings
GET
List Port Mirroring Instances
PATCH
Patch Dns Security Profile Binding
PATCH
Patch Group For Domain
PATCH
Patch Group Monitoring Binding
PATCH
Patch Policy Firewall Flood Protection Profile Binding Map
PATCH
Patch Policy Firewall Session Timer Profile Binding Map
PATCH
Patch Port Mirroring Instance
GET
Read Group For Domain
GET
Read Port Mirroring Instance
PUT
Update Dns Security Profile Binding
PUT
Update Group For Domain
PUT
Update Group Monitoring Binding
PUT
Update Policy Firewall Flood Protection Binding
PUT
Update Policy Firewall Session Timer Binding