NSX-T Data Center REST API

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

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

Request:

Method:
POST
URI Path(s):
/api/v1/csm/azure/compute-vnets/<vnet-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AzureComputeVNetConfig+

Example Request:

POST https://<nsx-csm>/api/v1/csm/azure/compute-vnets/ { "configuration": { "account_id": "d02af61a-e212-486e-b6c8-10462ccfbad6", "vnet_id": "41e9e760-1c60-4b35-89c2" }, "account_id": "d02af61a-e212-486e-b6c8-10462ccfbad6" }

Successful Response:

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

Required Permissions:

crud

Feature:

gateway_deployment

Additional Errors: