You can call the DescribeCdnUserQuota operation to query the limits of resources for your account and their usage status.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Description
Action String  Yes The operation that you want to perform. Set this parameter to DescribeCdnUserQuota.

Response parameters

Parameter Type Description
DomainQuota Integer The maximum number of CDN domains for your account.
RefreshUrlQuota Integer The maximum number of URLs that can be refreshed per day.
RefreshDirQuota Integer The maximum number of directories that can be refreshed per day.
RefreshUrlRemain Integer The remaining number of URLs that can be refreshed for the day.
RefreshDirRemain Integer The remaining number of directories that can be refreshed for the day.
PreloadQuota Integer The maximum number of URLs that can be preloaded per day.
PreloadRemain Integer The remaining number of URLs that can be preloaded for the day.
BlockQuota Integer The maximum number of CDN domains that can be blocked per day.
BlockRemain Integer The remaining number of CDN domains that can be blocked for the day.

Examples

Sample request

https://cdn.aliyuncs.com?&Action=DescribeCdnUserQuota&<Common request parameters>

Sample success response

JSON format

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