Update Cloud Account Async
Update a single CloudAccount
The ID of the cloudAccount
The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about
Cloud account details to be updated
Show optional properties
{
"name": "string",
"cloudAccountProperties": {},
"regions": [
{
"name": "East Asia",
"externalRegionId": "eastasia"
}
]
}
{
"name": "string",
"description": "string",
"privateKeyId": "ACDC55DB4MFH6ADG75KK",
"privateKey": "gfsScK345sGGaVdds222dasdfDDSSasdfdsa34fS",
"associatedCloudAccountIds": [
"42f3e0d199d134755684cd935435a"
],
"associatedMobilityCloudAccountIds": {
"42f3e0d199d134755684cd935435a": "BIDIRECTIONAL"
},
"cloudAccountProperties": {
"supportPublicImages": "true",
"acceptSelfSignedCertificate": "true"
},
"customProperties": {
"sampleadapterProjectId": "projectId"
},
"regions": [
{
"name": "East Asia",
"externalRegionId": "eastasia"
}
],
"createDefaultZones": true,
"tags": [
{
"key": "env",
"value": "dev"
}
],
"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.
Access key id or username to be used to authenticate with the cloud account
Secret access key or password to be used to authenticate with the cloud account.
Cloud accounts to associate with this 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. Only supported on vSphere cloud accounts.
Cloud Account specific properties supplied in as name value pairs
Additional custom properties that may be used to extend the Cloud Account.
A set of regions to enable provisioning on.Refer to /iaas/api/cloud-accounts/region-enumeration. 'regionInfos' is a required parameter for AWS, AZURE, GCP, VSPHERE, VMC, VCF cloud account types.
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.
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 '{"cloudAccountProperties:"object","name:"string","regions":["object"]}'