Queries your current resource plans for CDN.
Operation description
The call frequency is limited to 30 calls per second per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnUserResourcePackage |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Status |
string |
No |
The status of the resource plan. The default value is valid. Valid values:
|
valid |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
84839536-2B7E-457D-9D8C-82E6C7D4E1A3 |
| ResourcePackageInfos |
object |
||
| ResourcePackageInfo |
array<object> |
An array of ResourcePackageInfo objects. |
|
|
object |
|||
| EndTime |
string |
The expiration time. |
2018-07-01T08:00:00Z |
| Status |
string |
The status of the resource plan. Valid values:
|
valid |
| DisplayName |
string |
The name of the resource plan. |
Data Transfer Plan in Asia Pacific 1 |
| StartTime |
string |
The effective time. |
2017-12-05T19:10:58Z |
| CommodityCode |
string |
The commodity code of the resource plan. |
cdnflowbag |
| InstanceId |
string |
The instance ID. |
FP-ilttxc23a |
| TemplateName |
string |
The template name. |
FPT_cdn_bag_intl_deadlineAcc_1569491944 |
| CurrCapacity |
string |
The remaining capacity of the instance.
|
53661095687 |
| InitCapacity |
string |
The total capacity of the resource plan.
|
107374182400 |
| Region |
string |
The region. |
CN |
| CurrCapacityShowValue |
string |
The displayed remaining capacity of the instance. |
49.975789 |
| CurrCapacityShowUnit |
string |
The unit of the displayed remaining capacity. |
GB |
| CurrCapacityBaseUnit |
string |
The base unit of the remaining capacity. |
Byte |
| InitCapacityShowValue |
string |
The displayed total capacity of the resource plan. |
100.000000 |
| InitCapacityShowUnit |
string |
The unit of the displayed total capacity. |
GB |
| InitCapacityBaseUnit |
string |
The unit of the initial capacity of the resource plan. |
Byte |
Examples
Success response
JSON format
{
"RequestId": "84839536-2B7E-457D-9D8C-82E6C7D4E1A3",
"ResourcePackageInfos": {
"ResourcePackageInfo": [
{
"EndTime": "2018-07-01T08:00:00Z",
"Status": "valid",
"DisplayName": "Data Transfer Plan in Asia Pacific 1",
"StartTime": "2017-12-05T19:10:58Z",
"CommodityCode": "cdnflowbag",
"InstanceId": "FP-ilttxc23a",
"TemplateName": "FPT_cdn_bag_intl_deadlineAcc_1569491944",
"CurrCapacity": "53661095687",
"InitCapacity": "107374182400",
"Region": "CN",
"CurrCapacityShowValue": "49.975789",
"CurrCapacityShowUnit": "GB",
"CurrCapacityBaseUnit": "Byte",
"InitCapacityShowValue": "100.000000",
"InitCapacityShowUnit": "GB",
"InitCapacityBaseUnit": "Byte"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | CdnServiceNotFound | Your account does not open CDN service yet. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.