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

How to use DescribeRegions to query available regions

坏嘻嘻
坏嘻嘻Original
2018-09-27 15:27:592139browse

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
&<公共请求参数>

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>

JSON format

{
    "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!

Statement:
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