Domain name for API request: cdwdoris.tencentcloudapi.com.
This API is used to display region information and the total number of clusters in each region on the cluster list page.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeAreaRegion. |
Version | Yes | String | Common Params. The value used for this API: 2021-12-28. |
Region | No | String | Common Params. This parameter is not required for this API. |
IsInternationalSite | No | Boolean | Whether it is an international site |
Parameter Name | Type | Description |
---|---|---|
Items | Array of RegionAreaInfo | Region list |
FrontEndRules | Array of FrontEndRule | Front-end rule description Note: This field may return null, indicating that no valid values can be obtained. |
AvailableWhiteListNames | Array of String | Return available allowlist names Note: This field may return null, indicating that no valid values can be obtained. |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to display regional information and the total number of clusters in each region on the cluster list page.
POST / HTTP/1.1
Host: cdwdoris.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAreaRegion
<Common request parameters>
{}
{
"Response": {
"Items": [
{
"Name": "abc",
"Desc": "abc",
"Regions": [
{
"Name": "abc",
"Desc": "abc",
"RegionId": 0,
"Zones": [
{
"Name": "abc",
"Desc": "abc",
"ZoneId": 0,
"Encrypt": 0
}
],
"Count": 0,
"IsInternationalSite": 1,
"Bucket": "abc"
}
]
}
],
"FrontEndRules": [
{
"ID": 0,
"Name": "abc",
"Rule": "abc"
}
],
"AvailableWhiteListNames": [
"abc"
],
"RequestId": "abc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?