NSX-T Data Center REST API
Add a Azure account to cloud serivce manager
This api adds a Azure account to cloud service manager. Have to passone of the authorization methods in auth_method property as part of
request body followed by appropriate data.
Request:
Method:
POST
URI Path(s):
/api/v1/csm/azure/accounts
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AzureAccount+
Example Request:
POST https://<nsx-csm>/api/v1/csm/azure/accounts { "cloud_type":"AZURE", "regions_count":"", "auth_method":"CREDENTIALS", "display_name": "Account ABC", "credentials":{ "client_id":"789", "key":"012", "subscription_id":"456", "tenant_id":"123", "gateway_role": "NSX role" }, "_revision":0 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AzureAccount+