The method of using DescribeZones to query the availability zone under a region
Editor to share with you the use of DescribeZones to query an availability zone under the method, I believe that most people do not understand, so share this article for your reference, I hope you will learn a lot after reading this article, let's go to understand it!
DescribeZones
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=DescribeZones&RegionId=cn-hangzhou&
Return the example
XML format
Instance Disk cn-hangzhou-d cloud Instance Disk cn-hangzhou-b cloud 6DB97BCC-92BA-424D-A7C8-3F6486612BAE
JSON format
{"RequestId": "A347EF0E-BBCC-4EFA-BD79-27AA3ACFD1BF", "Zones": {"Zone": [{"AvailableDiskCategories": {"DiskCategories": ["cloud"]}, "AvailableResourceCreation": {"ResourceTypes": ["Instance", "Disk"]]} "LocalName": "," ZoneId ":" cn-hangzhou-d "}, {" AvailableDiskCategories ": {" DiskCategories ": [" cloud "]}," AvailableResourceCreation ": {" ResourceTypes ": [" Instance "," Disk "]} "LocalName": "", "ZoneId": "cn-hangzhou-b"}]}} these are all the contents of the method for querying the availability zone under a region using DescribeZones. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!