Domain name for API request: gaap.tencentcloudapi.com.
This API (DescribeRegionAndPrice) is used to obtain the origin server regions and the bandwidth price gradient.
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 parameter. The value used for this API: DescribeRegionAndPrice. |
Version | Yes | String | Common parameter. The value used for this API: 2018-05-29. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Parameter Name | Type | Description |
---|---|---|
TotalCount | Integer | Total number of origin server regions |
DestRegionSet | Array of RegionDetail | List of origin server region details |
BandwidthUnitPrice | Array of BandwidthPriceGradient | Connection bandwidth price gradient |
Currency | String | Currency type of bandwidth price: CNY (Chinese Yuan) USD (United States Dollar) |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to get the origin server region and tiered bandwidth prices.
https://gaap.tencentcloudapi.com/?Action=DescribeRegionAndPrice
&<Common request parameters>
{
"Response": {
"AccessRegionSet": [
{
"RegionId": "eu-moscow",
"RegionName": "Russia"
}
],
"Currency": "CNY",
"BandwidthUnitPrice": [
{
"BandwidthRange": [
0,
20
],
"BandwidthUnitPrice": 130
},
{
"BandwidthRange": [
20,
100
],
"BandwidthUnitPrice": 90
},
{
"BandwidthRange": [
100,
500
],
"BandwidthUnitPrice": 70
},
{
"BandwidthRange": [
500,
2000
],
"BandwidthUnitPrice": 60
},
{
"BandwidthRange": [
2000,
-1
],
"BandwidthUnitPrice": 50
}
],
"RequestId": "5c680029-66b2-4be8-9630-7bd316ce70dd",
"TotalCount": 1
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure.NotEnterpriseAuthorization | Not an organizational customer. |
FailedOperation | Operation failed. |
InternalError | Internal error. |
InvalidParameter | Incorrect parameter. |
InvalidParameterValue | Incorrect parameter value. |
MissingParameter | Missing parameter. |
ResourceNotFound | The resource does not exist. |
UnauthorizedOperation | Unauthorized operation. |
Was this page helpful?