Update V Sphere Cloud Account Async
Update vSphere cloud account
Cloud account id
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
vSphere cloud account details to be updated
Show optional properties
{
"name": "string",
"hostName": "vc.mycompany.com",
"regions": [
{
"name": "Datacenter:datacenter-3",
"externalRegionId": "Datacenter:datacenter-3"
}
]
}
{
"name": "string",
"description": "string",
"hostName": "vc.mycompany.com",
"acceptSelfSignedCertificate": false,
"associatedCloudAccountIds": [
"42f3e0d199d134755684cd935435a"
],
"associatedMobilityCloudAccountIds": {
"42f3e0d199d134755684cd935435a": "BIDIRECTIONAL"
},
"dcid": "23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4",
"username": "[email protected]",
"password": "cndhjslacd90ascdbasyoucbdh",
"regions": [
{
"name": "Datacenter:datacenter-3",
"externalRegionId": "Datacenter:datacenter-3"
}
],
"createDefaultZones": true,
"tags": [
{
"key": "env",
"value": "dev"
}
],
"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.
Host name for the vSphere endpoint
Accept self signed certificate when connecting to vSphere
NSX Manager account to associate with this vSphere cloud account. vSphere cloud account can be associated to a single NSX Manager cloud account
Cloud account IDs and directionalities create associations to other vSphere cloud accounts that can be used for workload mobility. ID refers to an associated cloud account, and directionality can be unidirectional or bidirectional.
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.
Password for the user used to authenticate with the cloud Account.
A set of regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration.
Create default cloud zones for the enabled regions.
A set of tag keys and optional values to set on the Cloud Account
Specification for certificate for a cloud account.
The environment where data collectors are deployed. When the data collectors are deployed on an aap-based 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.
Forbidden
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
Not Found
"ServiceErrorResponse Object"
message
messageId
stackTrace
statusCode
errorCode
details
serverErrorId
documentKind
internalErrorCode
curl -X PATCH -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"hostName:"string","name:"string","regions":["object"]}'