All Products
Search
Document Center

DescribeDcdnUserResourcePackage

Last Updated: Mar 01, 2019

Description

You can call this operation to query your current DCDN resource package.

Request parameters

Name Type Required Description
Action String Yes The operation that you want to perform.
Set the value to DescribeDcdnUserResourcePackage.

Response parameters

Name Type Description
RequestId String The ID of the request.
ResourcePackageInfos [ResourcePackageInfo] The details about the resource package.

ResourcePackageInfo

Name Type Description
CurrCapacity String The remaining capacity of the instance.
InitCapacity String The total volume of the resource package.
CommodityCode String The code of the resource package.
DisplayName String The name you want to display for the resource package, for example, DCDN or CDN resource package (China).
InstanceId String The ID of the instance.
Status String The status of the resource package. Valid values: valid or closed.
StartTime String The time when the resource package starts to take effect.
EndTime String The time when the resource package expires.

Examples

Sample requests

  1. https://dcdn.aliyuncs.com?&Action=DescribeDcdnUserResourcePackage&<Common request parameters>

Sample responses

JSON format

  1. {
  2. "ResourcePackageInfos": {
  3. "ResourcePackageInfo": [
  4. {
  5. "Status": "closed",
  6. "InstanceId": "FP-mkqgwsyui",
  7. "CommodityCode": "cdnflowbag",
  8. "InitCapacity": "10995116277760",
  9. "EndTime": "2017-01-30T08:00:00Z",
  10. "StartTime": "2016-01-30T03:40:06Z",
  11. "DisplayName": "CDN resource package (China)",
  12. "CurrCapacity": "10995089554629"
  13. },
  14. {
  15. "Status": "valid",
  16. "InstanceId": "FP-ilttxc23a",
  17. "CommodityCode": "cdnflowbag",
  18. "InitCapacity": "536870912000",
  19. "EndTime": "2018-07-01T08:00:00Z",
  20. "StartTime": "2017-07-01T01:26:41Z",
  21. "DisplayName": "CDN resource package (China)",
  22. "CurrCapacity": "0"
  23. },
  24. {
  25. "Status": "valid",
  26. "InstanceId": "CDNHTTPSBAG-cn-v0h0dnlq4000m9",
  27. "CommodityCode": "cdnhttpsbag",
  28. "InitCapacity": "10000000",
  29. "EndTime": "2018-12-06T08:00:00Z",
  30. "StartTime": "2017-12-05T19:10:58Z",
  31. "DisplayName": "CDN resource package for HTTPS requests",
  32. "CurrCapacity": "9999645"
  33. }
  34. ]
  35. },
  36. "RequestId": "84839536-2B7E-457D-9D8C-82E6C7D4E1A3"
  37. }