You can call this operation to query the resource quotas and the used resources.

Debugging

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 DescribeDcdnUserQuota

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

Response parameters

Parameter Type Example Description
BlockQuota Integer 20

The maximum number of URLs that can be blocked.

BlockRemain Integer 500

The remaining number of URLs that can be blocked.

DomainQuota Integer 50

The maximum number of accelerated domains.

PreloadQuota Integer 500

The remaining number of URLs that can be prefetched.

PreloadRemain Integer 300

The maximum number of URLs that can be prefetched.

RefreshDirQuota Integer 100

The maximum number of directories that can be refreshed.

RefreshDirRemain Integer 100

The remaining number of directories that can be refreshed.

RefreshUrlQuota Integer 100

The maximum number of URLs that can be refreshed.

RefreshUrlRemain Integer 100

The remaining number of URLs that can be refreshed.

RequestId String BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<DescribeDcdnUserQuotaResponse>
	  <DomainQuota>20</DomainQuota>
	  <RefreshUrlQuota>1000</RefreshUrlQuota>
	  <RefreshDirQuota>500</RefreshDirQuota>
	  <RefreshUrlRemain>500</RefreshUrlRemain>
	  <RefreshDirRemain>300</RefreshDirRemain>
	  <PreloadQuota>300</PreloadQuota>
	  <PreloadRemain>100</PreloadRemain>
	  <BlockQuota>100</BlockQuota>
	  <BlockRemain>100</BlockRemain>
	  <RequestId>BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23</RequestId>
</DescribeDcdnUserQuotaResponse>

JSON format

{
	"PreloadRemain":100,
	"RefreshUrlRemain":500,
	"DomainQuota":20,
	"RefreshDirRemain":300,
	"RequestId":"BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23",
	"BlockRemain":100,
	"RefreshUrlQuota":1000,
	"BlockQuota":100,
	"PreloadQuota":300,
	"RefreshDirQuota":500
}

Error codes

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