Update V Sphere Cloud Account

Update V Sphere Cloud Account

Update vSphere cloud account

Request
URI
PATCH
https://{api_host}/iaas/api/cloud-accounts-vsphere/{id}
COPY
Path Parameters
string
id
Required

Cloud account id

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /iaas/api/about


Request Body

VSphere cloud account details to be updated

UpdateCloudAccountVsphereSpecification of type(s) application/json
Required
{
    "description": "string",
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ],
    "regionIds": [
        "string"
    ],
    "createDefaultZones": true
}
string
description
Optional

A human-friendly description.

array of Tag
tags
Optional

A set of tag keys and optional values to set on the Cloud Account

array of string
regionIds
Optional

A set of Region names to enable provisioning on.

boolean
createDefaultZones
Optional

Create default cloud zones for the enabled regions.

Responses
200

successful operation

Returns CloudAccountVsphere of type(s) application/json
{
    "id": "9e49",
    "createdAt": "2012-09-27",
    "updatedAt": "2012-09-27",
    "owner": "csp@vmware.com",
    "organizationId": "deprecated",
    "orgId": "9e49",
    "name": "my-name",
    "description": "my-description",
    "hostName": "vc1.vmware.com",
    "dcid": "23959a1e-18bc-4f0c-ac49-b5aeb4b6eef4",
    "username": "administrator@mycompany.com",
    "enabledRegionIds": [
        "string"
    ],
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ]
}
string
id
Required

The id of this resource instance

string
createdAt
Optional

Date when the entity was created. The date is in ISO 6801 and UTC.

string
updatedAt
Optional

Date when the entity was last updated. The date is ISO 8601 and UTC.

string
owner
Optional

Email of the user that owns the entity.

string
organizationId
Optional

This field is deprecated. Use orgId instead. The id of the organization this entity belongs to.

string
orgId
Optional

The id of the organization this entity belongs to.

object
_links
Required

HATEOAS of the entity

string
name
Optional

A human-friendly name used as an identifier in APIs that support this option.

string
description
Optional

A human-friendly description.

string
hostName
Required

Host name for the vSphere cloud account

string
dcid
Optional

Identifier of a data collector vm deployed in the on premise infrastructure.

string
username
Required

Username to authenticate with the cloud account

array of string
enabledRegionIds
Optional

A set of region names that are enabled for this cloud account.

object
customProperties
Optional

Additional properties that may be used to extend the base type.

array of Tag
tags
Optional

A set of tag keys and optional values that were set on the Cloud Account


403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure