NSX-T Data Center REST API
Create Or Replace VPC Connectivity Profile
If the VPC Connectivity Profile is not already present,create a VPC Connectivity Profile instance. If it already exists, replace
the VPC Connectivity Profile instance with this object.
This API is only available when using VMware NSX.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/orgs/{org-id}/projects/{project-id}/vpc-connectivity-profiles/{vpc-connectivity-profile-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
VpcConnectivityProfile+
Example Request:
{ "id": "vpc-connectivity-profile-id1", "display_name": "vpc-connectivity-profile-id1", "path": "/orgs/default/projects/project-1/vpc-connectivity-profiles/vpc-connectivity-profile-id1", "relative_path": "vpc-connectivity-profile-id1", "parent_path": "/orgs/default/projects/project-1", "resource_type": "VpcConnectivityProfile", "transit_gateway_path": "/org/default/project-1/default/transit-gateways/default", "external_ip_blocks": ["/infra/ip-blocks/block0", "/infra/ip-blocks/block1"], "private_tgw_ip_blocks": ["/orgs/default/projects/project-1/infra/ip-blocks/block3", "/orgs/default/projects/project-1/infra/ip-blocks/block4"], "service_gateway": { "enable": true, "qos_config": { "ingress_qos_profile_path": "/orgs/default/projects/project-1/infra/gateway-qos-profiles/profile1", "egress_qos_profile_path": "/orgs/default/projects/project-1/infra/gateway-qos-profiles/profile1" }, "nat_config": { "enable_default_snat": "false", "ip_blocks": ["/infra/ip-blocks/block1"] }, "edge_cluster_paths": ["/infra/sites/default/enforcement-points/default/edge-clusters/b4915f55-d08c-40f9-877a-c4e96d2b1077"] } }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
VpcConnectivityProfile+