Enumerate Azure Regions

Enumerate Azure Regions

Get the available regions for specified Azure cloud account

Request
URI
POST
https://{api_host}/iaas/api/cloud-accounts-azure/region-enumeration
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

CloudAccountAzure specification

CloudAccountAzureSpecification of type(s) application/json
Optional

Show optional properties

{
    "name": "string",
    "subscriptionId": "064865b2-e914-4717-b415-8806d17948f7",
    "tenantId": "9a13d920-4691-4e2d-b5d5-9c4c1279bc9a",
    "clientApplicationId": "3287dd6e-76d8-41b7-9856-2584969e7739",
    "clientApplicationSecretKey": "GDfdasDasdASFas321das32cas2x3dsXCSA76xdcasg=",
    "regionIds": [
        {}
    ]
}
{
    "name": "string",
    "description": "string",
    "subscriptionId": "064865b2-e914-4717-b415-8806d17948f7",
    "tenantId": "9a13d920-4691-4e2d-b5d5-9c4c1279bc9a",
    "clientApplicationId": "3287dd6e-76d8-41b7-9856-2584969e7739",
    "clientApplicationSecretKey": "GDfdasDasdASFas321das32cas2x3dsXCSA76xdcasg=",
    "regionIds": [
        "string"
    ],
    "createDefaultZones": true,
    "tags": [
        {
            "key": "string",
            "value": "string"
        }
    ]
}
Responses
200

successful operation

Returns CloudAccountRegions of type(s) application/json
"CloudAccountRegions Object"
array of string
externalRegionIds
Required

A set of region ids for the cloud account.


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>' -H 'Content-Type: application/json' -d '{"clientApplicationId:"string","clientApplicationSecretKey:"string","name:"string","regionIds":["string"],"subscriptionId:"string","tenantId:"string"}' https://{api_host}/iaas/api/cloud-accounts-azure/region-enumeration