NSX-T Data Center REST API

Associated URIs:

API Description API Path

List VPC Subnet Ports


List all the ports for a VPC Subnet.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports

Delete a VPC Subnet Port


Delete a VPC Subnet Port by giving ID.
DELETE /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}

Get VPC Subnet Port by ID


Get detail information on VPC Subnet Port by giving ID.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}

Patch a VPC Subnet Port


Create a VPC Subnet port if it does not exist based on the IDs, or update existing port
information by replacing the port object fields which presents in the request body.
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}

Create or update a VPC Subnet Port


Create a VPC Subnet port if it does not exist based on the IDs, or update existing port
information by replacing the port object already exists.
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}

Get MAC table for VPC Subnet port


Returns MAC table for a VPC Subnet port
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}/mac-table

Get VPC Subnet port MAC table in CSV


Returns MAC table for a VPC Subnet port
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}/mac-table/csv

Get VPC Subnet port state


Returns VPC Subnet port state on enforcement point
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/ports/{port-id}/state
Additional Links