Home >Operation and Maintenance >Linux Operation and Maintenance >How to use DescribeRegions to query available regions
The content of this article is about how to use DescribeRegions to query the available regions. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
DescribeRegions
Request Parameters
# #Return Parameters
##Example
Request Examplehttps://ecs.aliyuncs.com/?Action=DescribeRegions
&<公共请求参数>
XML format
<DescribeRegionsResponse>
<RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>
<Regions>
<Region>
<RegionId>cn-hangzhou </RegionId>
</Region>
<Region>
<RegionId>cn-qingdao</RegionId>
</Region>
</Regions>
</DescribeRegionsResponse>
{
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Regions": {
"Region": [{
"RegionId": "cn-hangzhou "
},
{
"RegionId": "cn-qingdao"
}]
}
}
Error codesare all public error codes. For more error codes, please visit the API Error Center.
The above is the detailed content of How to use DescribeRegions to query available regions. For more information, please follow other related articles on the PHP Chinese website!