DescribeRegionInfo
Retrieves region information.
Operation description
QPS limits
The QPS limit per user for this API operation is 10 queries per second. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeRegionInfo |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The source IP address of the requester. |
59.82.59.XX |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| SourceCode |
string |
Yes |
The tracing code. |
yundun |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The total count. |
8 |
| RequestId |
string |
The request ID. |
25E655B0-CAED-53D4-8054-F983126**** |
| DataList |
array<object> |
The data list. |
|
|
object |
The data object. |
||
| RegionName |
string |
The region name. |
Shanghai |
| RegionId |
string |
The region ID. |
cn-shanghai |
Examples
Success response
JSON format
{
"TotalCount": 8,
"RequestId": "25E655B0-CAED-53D4-8054-F983126****",
"DataList": [
{
"RegionName": "Shanghai",
"RegionId": "cn-shanghai"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorQueryEcsByUid | An error occurred while querying ECS. | An error occurred while querying ECS. |
| 400 | ErrorSourceCodeError | The source code is invalid. | The source code is invalid. |
| 400 | ErrorUnMarshalJSON | internal error. | Internal Error |
| 400 | ErrorMarshalJSON | internal error. | Internal error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.