NSX-T Data Center REST API

Patch a subnet connection binding map

Patch the subnet connection binding map. If binding map corresponding to the the given values is
not present, the object will get created and if it is present it will be
updated. This is a full replace.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpcs/{vpc-id}/subnets/{subnet-id}/subnet-connection-binding-maps/{map-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SubnetConnectionBindingMap+

Example Request:

{ "vlan_traffic_tag": "21", "subnet_path": "/orgs/default/projects/project-id/vpcs/vpc-id/subnets/subnet-id" }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
SubnetConnectionBindingMap+

Example Response:

{ "resource_type": "SubnetConnectionBindingMap", "display_name": "binding-map1", "path": "/orgs/default/projects/project-id/vpcs/vpc-id/subnets/subnet-id/subnet-connection-binding-maps/binding-map1", "parent_path": "/orgs/default/projects/project-id/vpcs/vpc-id/subnets/subnet-id", "relative_path": "binding-map1", "vlan_id": "21", "subnet_path": "/orgs/default/projects/project-id/vpcs/vpc-id/subnets/subnet-id", "_create_user": "admin", "_create_time": 1517317362027, "_last_modified_user": "admin", "_last_modified_time": 1517317362027, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

crud

Feature:

policy_vpc_subnet

Additional Errors: