Create Vmc Cloud Account Async
Create a cloud account in the current organization
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
If provided, it only validates the credentials in the Cloud Account Specification, and cloud account will not be created.
Cloud account VMC specification
Show optional properties
{
"name": "string",
"apiKey": "string",
"sddcId": "CMBU-PRD-NSXT-M8GA-090319",
"username": "[email protected]",
"password": "cndhjslacd90ascdbasyoucbdh",
"hostName": "vc1.vmware.com",
"nsxHostName": "nsxManager.sddc-52-12-8-145.vmwaretest.com",
"dcId": "23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4",
"regions": [
{
"name": "Datacenter:datacenter-3",
"externalRegionId": "Datacenter:datacenter-3"
}
]
}
{
"name": "string",
"description": "string",
"apiKey": "string",
"sddcId": "CMBU-PRD-NSXT-M8GA-090319",
"username": "[email protected]",
"password": "cndhjslacd90ascdbasyoucbdh",
"hostName": "vc1.vmware.com",
"nsxHostName": "nsxManager.sddc-52-12-8-145.vmwaretest.com",
"dcId": "23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4",
"regions": [
{
"name": "Datacenter:datacenter-3",
"externalRegionId": "Datacenter:datacenter-3"
}
],
"tags": [
{
"key": "env",
"value": "dev"
}
],
"createDefaultZones": true,
"acceptSelfSignedCertificate": false,
"certificateInfo": {
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\n-----END CERTIFICATE-----\n-"
},
"environment": "aap"
}
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
VMC API access key.
Identifier of the on-premise SDDC to be used by this cloud account. Note that NSX-V SDDCs are not supported.
vCenter user name for the specified SDDC.The specified user requires CloudAdmin credentials. The user does not require CloudGlobalAdmin credentials.
Password for the user used to authenticate with the cloud Account.
Enter the IP address or FQDN of the vCenter Server in the specified SDDC. The cloud proxy belongs on this vCenter.
The IP address of the NSX Manager server in the specified SDDC / FQDN.
Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors.
A set of regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
A set of tag keys and optional values to set on the Cloud Account.Cloud account capability tags may enable different features.
Create default cloud zones for the enabled regions.
Accept self signed certificate when connecting to vSphere
Specification for certificate for a cloud account.
The environment where the agent has been deployed. When the agent has been deployed using the "Add Ons" in VMC UI or Api use "aap".
Accepted
"RequestTracker Object"
Progress of the request as percentage.
Status message of the request.
Status of the request.
Collection of resources.
Name of the operation.
ID of this request.
Self link of this request.
ID of the deployment, this request is connected to.
Invalid Request - bad data
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"apiKey:"string","dcId:"string","hostName:"string","name:"string","nsxHostName:"string","password:"string","regions":["object"],"sddcId:"string","username:"string"}' https://{api_host}/iaas/api/cloud-accounts-vmc