Azure / Azure/azure-rest-api-specs
Need Rest API to get the availability zones information on the basis of Object selected in a particular region
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 37m
- Merged PRs (30d)
- 446
Description
This is a question/issue transferred from https://github.com/MicrosoftDocs/feedback/issues/544, please help whether there's an answer for that.
**Is your feature request related to a problem? Please describe.**
It would be better if we can get the availability zones available in a particular region based on object selected.
Right now it is mentioned that only below regions support the availability zones:
Central US
France Central
East US 2 (Preview)
West Europe
Southeast Asia (Preview)
If we can get the information using Rest API that weather selected region supports the availability zone or not? If it does, how many zones are there.
Basically to get the supported availability zones based on region and selected resource.
For example:
While creating the VM using Portal, if we select the region as Central US which supports availability zones, it does enable the Availability Zone option in Portal UI.
And If user selects the Size as "Standard_DS3" which supports only Zone "3".
Similar support required from Rest API, is there a way we can get the supported list of Availability Zone(s) based on Region, Resource etc.
**Describe the solution you'd like**
Need a Get API call to get the list of Supported Availability Zones based on Region and Resource selected.
**Describe alternatives you've considered**
NA
**Additional context**
NA
Contributor guide
Research direction
Start by reviewing the transferred feedback issue and the existing Azure REST API documentation for VM regions, sizes, and availability zones. Determine whether an existing resource-specific endpoint can expose the requested region and resource support; done means the maintainers agree on a concrete endpoint and response shape.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100