Get Azure availability zones
You can perform this workflow to retrieve the Azure availability zones by region.
|
Make sure that you've the Azure subscription ID. You can obtain the ID from the Azure portal. |
HTTP method and endpoint
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
GET |
/occm/api/azure/vsa/metadata/availability-zones |
Curl example
Additional input parameters
Query parameters:
-
<REGION>
region
string -
(Optional) <SUBSCRIPTION_ID>
subscriptionId
string -
(Optional)
cloudProviderAccountId
string
Output
The JSON output example includes the list of Azure availability zones.
JSON output example
{ "region": "eastus2", "zones": [ 1, 3, 2 ] }