Home > Operation and Maintenance > Linux Operation and Maintenance > How to use DescribeRegions to query available regions

How to use DescribeRegions to query available regions

坏嘻嘻
Release: 2018-09-27 15:27:59
Original
2171 people have browsed it

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

How to use DescribeRegions to query available regions

# #Return Parameters

How to use DescribeRegions to query available regions

##Example

Request Example

https://ecs.aliyuncs.com/?Action=DescribeRegions
&<公共请求参数>
Copy after login

Return example

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>
Copy after login

JSON format

{
    "RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
    "Regions": {
        "Region": [{
            "RegionId": "cn-hangzhou "
        },
        {
            "RegionId": "cn-qingdao"
        }]
    }
}
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template