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/Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
n/a