Create Cloud Account

Create Cloud Account

Create a cloud account in the current organization

Request
URI
POST
https://{api_host}/iaas/api/cloud-accounts
COPY
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
CloudAccountSpecification of type(s) application/json
Optional
Responses
201

successful operation

Returns CloudAccount of type(s) application/json
{
    "owner": "[email protected]",
    "cloudAccountProperties": {
        "cloudAccountProperties": "string"
    },
    "enabledRegionIds": [
        "string"
    ],
    "_links": {
        "_links": {
            "hrefs": [
                "string"
            ],
            "href": "string"
        }
    },
    "cloudAccountType": "vsphere, aws, azure, nsxv, nsxt",
    "description": "my-description",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "customProperties": {
        "customProperties": "string"
    },
    "name": "my-name",
    "id": "9e49",
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

object
cloudAccountProperties
Required

Cloud account specific properties

array of string
enabledRegionIds
Optional

A set of region names to enable provisioning on.

object
_links
Required

HATEOAS of the entity

string
cloudAccountType
Required

Cloud account type

string
description
Optional

A human-friendly description.

string
orgId
Optional

The id of the organization this entity belongs to.

array of object
tags
Optional

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

string
organizationId
Optional

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

string
createdAt
Optional

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

object
customProperties
Optional

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

string
name
Optional

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

string
id
Required

The id of this resource instance

string
updatedAt
Optional

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


400

Invalid Request - bad data

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/iaas/api/cloud-accounts