Domain name for API request: teo.intl.tencentcloudapi.com.
Query the package information list with pagination.
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: DescribePlans. |
| Version | Yes | String | Common Params. The value used for this API: 2022-09-01. |
| Region | No | String | Common Params. This parameter is not required. |
| Filters.N | No | Array of Filter | Filter criteria. The maximum number of Filters.Values is 20. The detailed filter criteria are as follows: Filter by package type. Selectable types: plan-trial: trial package; plan-personal: personal plan; plan-basic: basic plan; plan-standard: Standard Edition Plan; plan-enterprise: enterprise plan. Filter by Package ID. The package ID format is: edgeone-268z103ob0sx. Filter by package acceleration region. mainland: Chinese mainland; overseas: global (excluding Chinese mainland); global: global (including Chinese mainland). Filter by package status. Selectable statuses: normal: normal status; expiring-soon: expiring soon; expired: expired; isolated: isolated. |
| Order | No | String | Sorting field. Valid values: |
| Direction | No | String | Sorting order. Valid values: |
| Limit | No | Integer | Number limit of paginated query. Default value: 20. Maximum value: 200. |
| Offset | No | Integer | The offset of paginated query. Default value: 0. |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCount | Integer | Number of eligible packages. |
| Plans | Array of Plan | List of package information. |
| 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. |
Query the package information list, sort by package activation time in descending order, start from package 0, and pull 4 packages.
POST / HTTP/1.1
Host: teo.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribePlans
<Common request parameters>
{
"Offset": 0,
"Limit": 4,
"Order": "enable-time",
"Direction": "desc"
}
{
"Response": {
"RequestId": "55496a31-e798-4aef-b40c-5cdbaef7fe6f",
"Plans": [
{
"Area": "overseas",
"AutoRenewal": false,
"PayMode": 0,
"PlanId": "edgeone-2ycvr8ml4zpq",
"PlanType": "plan-enterprise-v2",
"Status": "normal",
"DDoSTrafficCapacity": 10000,
"AccTrafficCapacity": 10000,
"CrossMLCTrafficCapacity": 10000,
"ExpiredTime": "2020-09-22T00:00:00Z",
"EnabledTime": "2020-10-22T00:00:00Z",
"SecRequestCapacity": 10000,
"SecTrafficCapacity": 10000,
"SmartTrafficCapacity": 10000,
"L4TrafficCapacity": 10000,
"SmartRequestCapacity": 10000,
"VAUCapacity": 50,
"ZonesInfo": [
{
"Paused": false,
"ZoneId": "zone-2ycvr8p31c5q",
"ZoneName": "edgeone.icu"
}
],
"Bindable": "true"
},
{
"Area": "global",
"AutoRenewal": false,
"PayMode": 0,
"PlanId": "edgeone-2ycvr8p345am",
"PlanType": "plan-enterprise-v2",
"Status": "normal",
"DDoSTrafficCapacity": 10000,
"AccTrafficCapacity": 10000,
"CrossMLCTrafficCapacity": 10000,
"ExpiredTime": "2020-09-22T00:00:00Z",
"EnabledTime": "2020-10-22T00:00:00Z",
"SecRequestCapacity": 10000,
"SecTrafficCapacity": 10000,
"SmartTrafficCapacity": 10000,
"L4TrafficCapacity": 10000,
"SmartRequestCapacity": 10000,
"VAUCapacity": 50,
"ZonesInfo": [
{
"Paused": false,
"ZoneId": "zone-2ycvr8p35jv2",
"ZoneName": "edgeone.xyz"
}
],
"Bindable": "true"
},
{
"Area": "overseas",
"AutoRenewal": false,
"PayMode": 0,
"PlanId": "edgeone-2ycvr8p36yfi",
"PlanType": "plan-enterprise",
"Status": "normal",
"DDoSTrafficCapacity": 10000,
"AccTrafficCapacity": 10000,
"CrossMLCTrafficCapacity": 10000,
"ExpiredTime": "2020-09-22T00:00:00Z",
"EnabledTime": "2020-10-22T00:00:00Z",
"SecRequestCapacity": 10000,
"SecTrafficCapacity": 10000,
"SmartTrafficCapacity": 10000,
"L4TrafficCapacity": 10000,
"SmartRequestCapacity": 10000,
"VAUCapacity": 50,
"ZonesInfo": [
{
"Paused": false,
"ZoneId": "zone-2ycvr8p38czy",
"ZoneName": "edgeone.com"
}
],
"Bindable": "true"
},
{
"Area": "overseas",
"AutoRenewal": false,
"PayMode": 0,
"PlanId": "edgeone-2ycvr8p39rke",
"PlanType": "plan-standard",
"Status": "normal",
"DDoSTrafficCapacity": 10000,
"AccTrafficCapacity": 10000,
"CrossMLCTrafficCapacity": 10000,
"ExpiredTime": "2020-09-22T00:00:00Z",
"EnabledTime": "2020-10-22T00:00:00Z",
"SecRequestCapacity": 10000,
"SecTrafficCapacity": 10000,
"SmartTrafficCapacity": 10000,
"L4TrafficCapacity": 10000,
"SmartRequestCapacity": 10000,
"VAUCapacity": 50,
"ZonesInfo": [
{
"Paused": true,
"ZoneId": "zone-2vv6990bixl1",
"ZoneName": "edgeone.xyz"
}
],
"Bindable": "false"
}
],
"TotalCount": 28
}
}
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 |
|---|---|
| UnauthorizedOperation.CamUnauthorized | Unauthorized Cam operation. |
| UnauthorizedOperation.NoPermission | The sub-account does not have operation permissions. Add the required permissions and try again. |
피드백