NSX-T Data Center REST API

Onboards a compute VPC to be NSX managed by a transit VPC.

Onboard a compute VPC to be NSX managed using a transit VPC.
Hence, user can manage the workload VMs in a compute
VPC by the public cloud gateways deployed in a transit VPC.
Onboarding status can be obtained from
/csm/aws/compute-vpcs/<vpc-id>/status API. Upon successful onboarding
of the VPC, the onboard_step will be ONBOARD_SUCCESSFUL and op_status
will be NSX_MANAGED_BY_TRANSIT_VPC. If any error is encountered during
onboarding, corresponding error_code and error_message will be populated.
To manage compute VPC using NSX gateway, user needs to offboard the
compute VPC and deploy gateway using /csm/aws/gateways?action=deploy API.

Request:

Method:
POST
URI Path(s):
/api/v1/csm/aws/compute-vpcs/<vpc-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AwsComputeVpcConfig+

Example Request:

POST https://<nsx-csm>/api/v1/csm/aws/compute-vpcs/ { "default_quarantine_policy_enabled": false, "managed_without_agents": false, "account_id": "fa043e3d-256d-446f-9c5c-665dcfdb33c9", "configuration": { "account_id": "fa043e3d-256d-446f-9c5c-665dcfdb33c9", "vpc_id": "vpc-560a242f" } }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
n/a

Required Permissions:

crud

Feature:

gateway_deployment

Additional Errors: