請求參數
名稱 | 類型 | 是否必選 | 示例值 | 描述 |
Action | String | 是 | DescribeRegions | 系統規定參數,取值為DescribeRegions。 |
傳回資料
Code | Integer | 200 | 接口調用成功時的HTTP狀态碼。 |
ErrorCode | 400 | 接口調用失敗時的HTTP狀态碼。 | |
Message | **** | 傳回消息。 說明 請求成功時該參數為空,請求失敗時會傳回請求異常資訊(如錯誤碼等)。 | |
Regions | Array of Region | 地域資訊詳情。 | |
RequestId | AFC30C49-CED8-4C7C-A599-5CDC43****** | 請求ID。 | |
Success | Boolean | true | 請求結果。 |
示例
請求示例
http(s)://polardbx.cn-hangzhou.aliyuncs.com/?Action=DescribeRegions
&<公共請求參數>
正常傳回示例
XML
格式
<Message/>
<RequestId>AFC30C49-CED8-4C7C-A599-5CDC43******</RequestId>
<Regions>
<Region>
<SupportPolarx20>true</SupportPolarx20>
<RegionId>cn-hangzhou</RegionId>
</Region>
<Region>
<Zones>
<Zone>
<ZoneId>cn-hangzhou-j</ZoneId>
<VpcEnabled>true</VpcEnabled>
</Zone>
</Zones>
</Region>
</Regions>
<Code>200</Code>
<Success>true</Success>
JSON
{
"Message": "",
"RequestId": "AFC30C49-CED8-4C7C-A599-5CDC43******",
"Regions": {
"Region": [
{
"SupportPolarx20": true,
"RegionId": "cn-hangzhou"
},
{
"Zones": {
"Zone": {
"ZoneId": "cn-hangzhou-j",
"VpcEnabled": true
}
}
}
]
},
"Code": 200,
"Success": true
}