Queries the current resource packages of Dynamic Route for CDN (DCDN) under your account.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeDcdnUserResourcePackage

The operation that you want to perform. Set the value to DescribeDcdnUserResourcePackage.

Response parameters

Parameter Type Example Description
RequestId String 84839536-2B7E-457D-9D8C-82E6C7D4E1A3

The ID of the request.

ResourcePackageInfos Array

The details about each resource package. The details are organized in an array. The array consists of the subparameter values of the ResourcePackageInfo parameter.

CommodityCode String dcdntrialbag

The product code of the resource package.

CurrCapacity String 10995089554629

The remaining quota of the resource package.

  • The remaining amount of network traffic that is provided by the resource package. Unit: byte.
  • The remaining number of requests.
DisplayName String WebSocket resource package (mainland China)

The display name of the template.

EndTime String 2019-02-15T16:00:00Z

The time when the resource package expires.

InitCapacity String 10995116277760

The total quota of the resource package.

  • The total amount of network traffic that is provided by the resource package. Unit: byte.
  • The total number of requests.
InstanceId String CDNTRIALBAG-cn-0pp0yxx

The ID of the instance.

StartTime String 2019-01-15T13:06:09Z

The time when the resource package took effect.

Status String closed

The status of the resource package. Valid values:

  • valid: The resource package is valid.
  • closed: The resource package has expired.
TemplateName String FPT_dcdntrialbag_deadlineAcc_15xx

The name of the template.


Sample requests

&<Common request parameters>

Sample success responses

XML format

              <DisplayName>WebSocket resource package (mainland China)</DisplayName>

JSON format

	"ResourcePackageInfos": {
		"ResourcePackageInfo": [{
			"Status": "closed",
			"TemplateName": "FPT_dcdntrialbag_deadlineAcc_15xx",
			"InstanceId": "CDNTRIALBAG-cn-0pp0yk7y000081",
			"CommodityCode": "dcdntrialbag",
			"InitCapacity": "10737418240",
			"EndTime": "2019-02-15T16:00:00Z",
			"StartTime": "2019-01-15T13:06:09Z",
			"DisplayName": "WebSocket resource package (mainland China)",
			"CurrCapacity": "10737418240"
	"RequestId": "22D72126-A5A8-471C-83B1-848A7EFD4A13"

Error codes

For a list of error codes, visit the API Error Center.