Enumerate V Sphere Regions Async
Get the available regions for specified vSphere cloud account
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
vSphere region enumeration specification
{
"hostName": "vc.mycompany.com",
"acceptSelfSignedCertificate": false,
"dcid": "23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4",
"username": "[email protected]",
"password": "cndhjslacd90ascdbasyoucbdh",
"cloudAccountId": "b8b7a918-342e-4a53-a3b0-b935da0fe601",
"certificateInfo": {
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\n-----END CERTIFICATE-----\n-"
},
"environment": "aap"
}
Host name for the vSphere endpoint. Either provide hostName or provide a cloudAccountId of an existing account.
Accept self signed certificate when connecting to vSphere
Identifier of a data collector vm deployed in the on premise infrastructure. Refer to the data-collector API to create or list data collectors. Note: Data collector endpoints are not available in VMware Aria Automation (on-prem) release.
Username to authenticate with the cloud account. Either provide username or provide a cloudAccountId of an existing account.
Password for the user used to authenticate with the cloud Account. Either provide password or provide a cloudAccountId of an existing account.
Existing cloud account id. Either provide existing cloud account Id, or hostName, username, password.
Specification for certificate for a cloud account.
The environment where data collectors are deployed. When the data collectors are deployed on a cloud gateway appliance, 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 '{}' https://{api_host}/iaas/api/cloud-accounts-vsphere/region-enumeration