Create Azure Cloud Account

Create Azure Cloud Account

Create an Azure cloud account in the current organization

Request
URI
POST
https://{api_host}/iaas/api/cloud-accounts-azure
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
CloudAccountAzureSpecification of type(s) application/json
Optional
{
    "createDefaultZones": true,
    "clientApplicationId": "3287dd6e-76d8-41b7-9856-2584969e7739",
    "clientApplicationSecretKey": "GDfdasDasdASFas321das32cas2x3dsXCSA76xdcasg=",
    "name": "string",
    "tenantId": "9a13d920-4691-4e2d-b5d5-9c4c1279bc9a",
    "description": "string",
    "regionIds": [
        "string"
    ],
    "subscriptionId": "064865b2-e914-4717-b415-8806d17948f7",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ]
}
boolean
createDefaultZones
Optional

Create default cloud zones for the enabled regions.

string
clientApplicationId
Required

Azure Client Application ID

string
clientApplicationSecretKey
Required

Azure Client Application Secret Key

string
name
Required

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

string
tenantId
Required

Azure Tenant ID

string
description
Optional

A human-friendly description.

array of string
regionIds
Required

A set of Region names to enable provisioning on. Refer to /iaas/cloud-accounts-azure/region-enumeration..

string
subscriptionId
Required

Azure Subscribtion ID

array of Tag
tags
Optional

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

Responses
201

successful operation

Returns CloudAccountAzure of type(s) application/json
{
    "owner": "[email protected]",
    "enabledRegionIds": [
        "string"
    ],
    "clientApplicationId": "66f277f2-ff12-4c3a-a4c9-b13d131a9a4d",
    "description": "my-description",
    "orgId": "9e49",
    "tags": [
        {
            "value": "string",
            "key": "string"
        }
    ],
    "organizationId": "deprecated",
    "createdAt": "2012-09-27",
    "name": "my-name",
    "tenantId": "027f73d5-0a19-452e-9d45-775693421508",
    "id": "9e49",
    "subscriptionId": "f3c86a85-e379-42ae-a8ba-7a51382d6dd7",
    "updatedAt": "2012-09-27"
}
string
owner
Optional

Email of the user that owns the entity.

array of string
enabledRegionIds
Optional

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

object
_links
Required

HATEOAS of the entity

string
clientApplicationId
Required

Azure Client Application IDaccount.

string
description
Optional

A human-friendly description.

string
orgId
Optional

The id of the organization this entity belongs to.

array of Tag
tags
Optional

A set of tag keys and optional values that were set on 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
tenantId
Required

Azure Tenant Idaccount.

string
id
Required

The id of this resource instance

string
subscriptionId
Required

Azure Subscription IDaccount.

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