Create Vcf 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 VCF specification
Show optional properties
{
"name": "string",
"workloadDomainId": "string",
"workloadDomainName": "Management",
"vcenterHostName": "vc.mycompany.com",
"vcenterUsername": "[email protected]",
"vcenterPassword": "cndhjslacd90ascdbasyoucbdh",
"nsxHostName": "nsxt.mycompany.com",
"nsxUsername": "[email protected]",
"nsxPassword": "cndhjslacd90ascdbasyoucbdh",
"regions": [
{
"name": "us-east-1",
"externalRegionId": "us-east-1"
}
]
}
{
"name": "string",
"description": "string",
"sddcManagerId": "string",
"workloadDomainId": "string",
"workloadDomainName": "Management",
"vcenterHostName": "vc.mycompany.com",
"vcenterUsername": "[email protected]",
"vcenterPassword": "cndhjslacd90ascdbasyoucbdh",
"createDefaultZones": true,
"nsxHostName": "nsxt.mycompany.com",
"nsxUsername": "[email protected]",
"nsxPassword": "cndhjslacd90ascdbasyoucbdh",
"tags": [
{
"key": "env",
"value": "dev"
}
],
"vcenterCertificate": "string",
"nsxCertificate": "string",
"acceptSelfSignedCertificate": false,
"dcId": "23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4",
"regions": [
{
"name": "us-east-1",
"externalRegionId": "us-east-1"
}
],
"certificateInfo": {
"certificate": "-----BEGIN CERTIFICATE-----\nMIIDHjCCAoegAwIBAgIBATANBgkqhkiG9w0BAQsFADCBpjEUMBIGA1UEChMLVk13\nYXJlIEluYAAc1pw18GT3iAqQRPx0PrjzJhgjIJMla\n/1Kg4byY4FPSacNiRgY/FG2bPCqZk1yRfzmkFYCW/vU+Dg==\n-----END CERTIFICATE-----\n-"
}
}
A human-friendly name used as an identifier in APIs that support this option.
A human-friendly description.
SDDC manager integration id
Id of the workload domain to add as VCF cloud account.
Name of the workload domain to add as VCF cloud account.
Host name for the vSphere from the specified workload domain.
vCenter user name for the specified workload domain.The specified user requires CloudAdmin credentials. The user does not require CloudGlobalAdmin credentials.
Password for the user used to authenticate with the vCenter in VCF cloud account
Create default cloud zones for the enabled regions.
Host name for the NSX endpoint from the specified workload domain.
User name for the NSX manager in the specified workload domain.
Password for the user used to authenticate with the NSX manager in VCF cloud account
A set of tag keys and optional values to set on the Cloud Account.Cloud account capability tags may enable different features.
vCenter Certificate
NSX Certificate
Accept self signed certificate when connecting to vSphere and NSX Manager
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.
A set of regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
Specification for certificate for a cloud account.
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 '{"name:"string","nsxHostName:"string","nsxPassword:"string","nsxUsername:"string","regions":["object"],"vcenterHostName:"string","vcenterPassword:"string","vcenterUsername:"string","workloadDomainId:"string","workloadDomainName:"string"}' https://{api_host}/iaas/api/cloud-accounts-vcf