The following tables describe API operations available for use in Dynamic Route for CDN (DCDN).

Service activation

API Description
OpenDcdnService Activates DCDN.
DescribeUserDcdnStatus Queries whether the DCDN service is activated and whether you have overdue payments for your DCDN service.
DescribeDcdnService Queries information about the DCDN service. The information includes the time when the service was activated, the current service status, the current billing method, and the billing method of the next cycle.

Domain name management

API Description
AddDcdnDomain Adds an accelerated domain name. You can specify only one domain name in each request.
BatchAddDcdnDomain Adds multiple domain names to DCDN at a time.
UpdateDcdnDomain Modifies an accelerated domain name.
StartDcdnDomain Enables an accelerated domain name. After an accelerated domain name is enabled, the value of the DomainStatus parameter for the domain name changes to Online.
BatchStartDcdnDomain Enables one or more accelerated domain names. After the accelerated domain names are enabled, the value of the DomainStatus parameter for the domain names changes to Online.
StopDcdnDomain Disables an accelerated domain name. After an accelerated domain name is disabled, the value of the DomainStatus parameter for the domain name changes to Offline.
BatchStopDcdnDomain Disables one or more accelerated domain names. After an accelerated domain name is disabled, the value of the DomainStatus parameter for the domain name changes to Offline.
DeleteDcdnDomain Deletes an accelerated domain name.
DescribeDcdnDomainCname Queries whether CNAME records are configured for one or more accelerated domain names.
DescribeDcdnUserDomains Queries the accelerated domain names that belong to your Alibaba Cloud account. You can filter domains by name or by state. Fuzzy match is supported when you filter domains by name.
DescribeDcdnDomainDetail Queries the basic information about an accelerated domain name.
ModifyDCdnDomainSchdmByProperty Changes the acceleration region of an accelerated domain name.
DescribeDcdnUserDomainsByFunc Queries all accelerated domain names that belong to your Alibaba Cloud account based on the FuncId parameter.
BatchSetDcdnDomainConfigs Configures one or more accelerated domain names.
DescribeDcdnDomainConfigs Queries the configurations of an accelerated domain name. You can query the configurations of one or more features in each request.
DeleteDcdnSpecificConfig Deletes configurations of an accelerated domain name.
BatchDeleteDcdnDomainConfigs Deletes configurations of one or more accelerated domain names.
DescribeDcdnDeletedDomains Queries the domain names that are deleted from your Alibaba Cloud account.

Domain name ownership verification

API Description
VerifyDcdnDomainOwner Verifies the ownership of a domain name.
DescribeDcdnVerifyContent Queries the ownership verification content for a domain name.

Refresh and prefetch

API Description
RefreshDcdnObjectCaches Refreshes specified objects on DCDN points of presence (POPs). The objects can be included in the content of files or URLs. You can refresh multiple URLs in each request.
Note URL refresh, directory refresh, and refresh that contains regular expressions support shared cache. If shared cache is configured for a domain name, you can submit a refresh task with the primary domain name or any associated domain name to refresh the cache.
PreloadDcdnObjectCaches Prefetches content from origin servers to POPs. This reduces workloads on origin servers because users can hit cache upon their first visits.
DescribeDcdnRefreshQuota Queries the maximum number and the remaining number of URLs and directories that can be refreshed or the maximum number and the remaining number of URLs that can be prefetched per day.
DescribeDcdnRefreshTasks Queries details about refresh or prefetch tasks.
DescribeDcdnUserQuota Queries resource quotas and resource usage.
DescribeDcdnRefreshTaskById Queries the status of refresh or prefetch tasks by task ID.

Certificates service

API Description
SetDcdnDomainCertificate Enables or disables the SSL certificate for a domain name and modifies certificate details.
DescribeDcdnCertificateList Queries the certificates of one or more accelerated domain names.
DescribeDcdnCertificateDetail Queries details about a certificate.
DescribeDcdnDomainByCertificate Queries accelerated domain names based on certificate information.
DescribeDcdnDomainCertificateInfo Queries certificate information about an accelerated domain name.
DescribeDcdnHttpsDomainList Queries information about all certificates that belong to your Alibaba Cloud account.
BatchSetDcdnDomainCertificate Configures the SSL certificate and modifies the certificate information for multiple accelerated domain names at a time.
SetDcdnDomainSMCertificate Enables or disables the ShangMi (SM) certificate for a domain name.
DescribeDcdnSMCertificateDetail Queries the details about an SM certificate.
DescribeDcdnSMCertificateList Queries the SM certificates of an accelerated domain name.
DescribeDcdnUserCertificateExpireCount Queries the number of domain names whose SSL certificates are about to expire or have already expired.

Resource usage

API Description
DescribeDcdnDomainHttpCodeData Queries the total number and proportions of returned HTTP status codes at a minimum interval of five minutes. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainRegionData Queries the geographical distribution of users for an accelerated domain name. The data is collected at an interval of one day. You can query the data that is collected over the last 90 days.
DescribeDcdnRegionAndIsp Queries the list of Internet service providers (ISPs) and regions.
DescribeDcdnDomainHitRateData Queries the cache hit ratios of an accelerated domain name. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainIspData Queries data statistics about accelerated domain names by ISP. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainQpsData Queries the queries per second (QPS) for one or more accelerated domain names. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainBpsData Queries bandwidth for one or more accelerated domain names. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainTrafficData Queries traffic for one or more accelerated domain names. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainOriginBpsData Queries back-to-origin bandwidth for one or more accelerated domain names. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainOriginTrafficData Queries back-to-origin traffic for one or more accelerated domain names. You can query data that is collected over the last 90 days.
DescribeDcdnDomainWebsocketHttpCodeData Queries the total number and proportions of returned HTTP status codes for one or more accelerated domain names for which WebSocket is enabled. The data is collected at a minimum interval of five minutes.
DescribeDcdnDomainWebsocketBpsData Queries bandwidth of one or more accelerated domain names for which WebSocket is enabled. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainWebsocketTrafficData Queries traffic of one or more accelerated domain names for which WebSocket is enabled. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainBpsDataByLayer Queries bandwidth data of one or more accelerated domain names.
DescribeDcdnDomainHttpCodeDataByLayer Queries the distribution of HTTP status codes by protocol.
DescribeDcdnDomainQpsDataByLayer Queries the number of QPS.

Real-time monitoring

API Description
DescribeDcdnDomainRealTimeSrcTrafficData Queries back-to-origin traffic for one or more accelerated domain names. The resolution of the data is one minute. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainRealTimeQpsData Queries the QPS for one or more accelerated domain names. The resolution of the data is one minute.
DescribeDcdnDomainRealTimeSrcBpsData Queries back-to-origin bandwidth for one or more accelerated domain names. The resolution of the data is one minute. You can query the data that is collected over the last seven days.
DescribeDcdnDomainRealTimeHttpCodeData Queries the total number of HTTP status codes and the proportion of each HTTP status code for one or more accelerated domain names.
DescribeDcdnDomainRealTimeByteHitRateData Queries byte hit ratios for one or more accelerated domain names. The resolution of the data is one minute.
DescribeDcdnDomainRealTimeBpsData Queries bandwidth data for one or more accelerated domain names. The resolution of the data is one minute.
DescribeDcdnDomainRealTimeReqHitRateData Queries request hit ratios for one or more accelerated domain names. The resolution of the data is one minute.
DescribeDcdnDomainRealTimeSrcHttpCodeData Queries the proportions of HTTP status codes based on back-to-origin statistics. The resolution of the data is one minute.
DescribeDcdnDomainRealTimeTrafficData Queries traffic for one or more domain names. The resolution of the data is one minute.
DescribeDcdnDomainRealTimeDetailDataDescribeDcdnUserBillHistory Queries traffic usage through each ISP and the number of visits in each region. The resolution of the data is one minute.

Traffic or bandwidth usage

API Description
DescribeDcdnUserBillHistory Queries the billing records of an Alibaba Cloud account. The maximum time range that you can specify is one month.
DescribeDcdnUserResourcePackage Queries the information about the resource plans in your Alibaba Cloud account.
DescribeDcdnDomainUsageData Queries resource usage in a specified billable region for an accelerated domain name.
DescribeDcdnBgpBpsData Queries bandwidth for one or more Border Gateway Protocol (BGP) accelerated domain names. The resolution of the data is five minutes.
DescribeDcdnBgpTrafficData Queries traffic for one or more BGP accelerated domain names. The resolution of the data is five minutes.

Log management

API Description
DescribeDcdnDomainLog Queries the address from which you can download the raw access logs of a domain name.
DescribeUserLogserviceStatus Queries whether Log Service is activated and whether you have overdue payments for your Log Service.
CheckDcdnProjectExist Checks whether a real-time log delivery project exists.
CreateDcdnSLSRealTimeLogDelivery Creates a real-time log delivery project.
CreateSlrAndSlsProject Creates a service-linked role (SLR) and a Log Service project.
DeleteDcdnRealTimeLogProject Deletes real-time logs of a project.
DescribeDcdnRealTimeDeliveryField Queries the fields in real-time log entries.
DescribeDcdnSLSRealtimeLogDelivery Queries a real-time log delivery project.
DescribeDcdnUserRealTimeDeliveryField Queries the fields that you have selected.
ListDcdnRealTimeDeliveryProject Queries information about a real-time log delivery project.
UpdateDcdnSLSRealtimeLogDelivery Updates a real-time log delivery project.
UpdateDcdnUserRealTimeDeliveryField Updates the fields in real-time log entries.

Operations reports

API Description
CreateDcdnSubTask Creates a custom operations report.
CreateDcdnDeliverTask Creates a tracking task. After you create a tracking task, the system periodically sends operations reports to you by email.
DescribeDcdnSubList Queries a tracking task.
DescribeDcdnReport Queries the content of an operations report.
DescribeDcdnReportList Queries custom operations reports.
DescribeDcdnDeliverList Queries all tracking tasks of operations reports.
UpdateDcdnSubTask Updates one or more operations reports.
UpdateDcdnDeliverTask Updates a tracking task by task ID.
DeleteDcdnSubTask Deletes all custom operations reports.
DeleteDcdnDeliverTask Deletes tracking tasks by task ID.

EdgeRoutine

API Description
CreateRoutine Creates a routine.
DeleteRoutine Deletes a routine.
DeleteRoutineCodeRevision Deletes a specified code version from a routine.
DeleteRoutineConfEnvs Deletes canary release environments from a routine.
DescribeRoutine Queries the metadata of a specified routine. The metadata includes the routine configuration, configuration version, and code version.
DescribeRoutineCanaryEnvs Queries the canary release environments that are supported by a routine.
DescribeRoutineCodeRevision Queries the JavaScript code of a specified version that belongs to a specified routine.
DescribeRoutineSpec Queries the supported specifications for routines. The private preview supports the following CPU time slice specifications: 5 ms, 50 ms, and 100 ms.
DescribeRoutineUserInfo Queries the subdomains and routines that belong to your Alibaba Cloud account.
DescribeUserErStatus Queries whether EdgeRoutine is enabled or whether you have overdue payments for your EdgeRoutine.
EditRoutineConf Modifies the configurations of a routine.
SetRoutineSubdomain Configures a subdomain.
UploadRoutineCode Uploads code to EdgeRoutine.
UploadStagingRoutineCode Uploads code to a routine for testing.
PublishRoutineCodeRevision Publishes a specified version of routine code to a specified environment.
CommitStagingRoutineCode Generates an official code version from unstable JavaScript code that is in the staging environment. The version can be used in the canary release or production environment.

IP Application Accelerator

API Description
DescribeDcdnIpaDomainConfigs Queries configurations of accelerated domain names.
StopDcdnIpaDomain Disables an accelerated domain name. After an accelerated domain name is disabled, the value of the DomainStatus parameter for the domain name changes to Offline.
DescribeUserDcdnIpaStatus Queries whether IP Application Accelerator (IPA) is activated and whether you have overdue payments for your IPA.
DescribeDcdnIpaService Queries the status of IPA.
UpdateDcdnIpaDomain Modifies an accelerated domain name.
DeleteDcdnIpaDomain Deletes an accelerated domain name.
StartDcdnIpaDomain Enables an accelerated domain name. After an accelerated domain name is enabled, the value of the DomainStatus parameter for the domain name changes to Online.
AddDcdnIpaDomain Adds a domain name to IPA. You can specify only one domain name in each request.
BatchSetDcdnIpaDomainConfigs Configures multiple domain names to be accelerated by IPA.
DescribeDcdnIpaUserDomains Queries information about all domain names that are accelerated by IPA in your Alibaba Cloud account.
DescribeDcdnIpaDomainDetail Queries the basic information about an accelerated domain name.
DeleteDcdnIpaSpecificConfig Deletes specific configurations of an accelerated domain name from IPA.
DescribeDcdnDomainProperty Queries the protocol type of IPA.
DescribeDcdnDomainIpaBpsData Queries bandwidth of one or more accelerated domain names for which Layer 4 acceleration is enabled. You can query the data that is collected over the last 90 days.
DescribeDcdnDomainIpaTrafficData Queries traffic of one or more accelerated domain names for which Layer 4 acceleration is enabled. You can query the data that is collected over the last 90 days.

EdgeScript

API Description
SetDcdnDomainStagingConfig Specifies or modifies the domain name configuration in the canary release environment.
DescribeDcdnDomainStagingConfig Queries the configurations of the canary release environment.
DeleteDcdnSpecificStagingConfig Deletes the configurations of an accelerated domain name from the canary release environment.
PublishDcdnStagingConfigToProduction Deploys the configurations of an accelerated domain name from the staging environment to the production environment.
RollbackDcdnStagingConfig Rolls back the configurations of an accelerated domain name from the staging environment to the production environment.
DescribeDcdnStagingIp Queries valid virtual IP addresses (VIPs) in the staging environment.

Edge security

API Description
DescribeDcdnUserSecDrop Queries the number of packets blocked by a specified security feature.
DescribeDcdnWafDomain Queries information about accelerated domain names for which Web Application Firewall (WAF) is enabled.
DescribeDcdnSecFuncInfo Creates an edge security drop-down list in the DCDN console.
DescribeDcdnUserSecDropByMinute Queries the number of packets that are blocked by security features at the application layer in a specific time range.
DescribeDcdnBlockedRegions Queries the countries and regions that can be added to the blacklist.
DescribeDcdnUserConfigs Queries configurations of security features.

WAF protection (new edition)

API Description
DescribeDcdnWafSpecInfo Queries the version of WAF used in DCDN.
DescribeDcdnWafScenes Queries the information about the type of the protection policy that you use.
DescribeDcdnWafDomains Queries the accelerated domain names that are protected by WAF.
DescribeDcdnWafPolicyDomains Queries the accelerated domain names that are protected by a specified WAF protection policy.
CreateDcdnWafPolicy Creates a WAF protection policy.
DescribeDcdnWafPolicies Queries the details of the WAF protection policies that you configured.
DescribeDcdnWafPolicy Queries the details of a protection policy.
ModifyDcdnWafPolicy Changes the name or the status of a protection policy.
DeleteDcdnWafPolicy Deletes a protection policy.
DescribeDcdnWafDomainDetail Queries the information about the protection policy of a domain name.
DescribeDcdnWafRules Queries the details of the protection rules that you configured.
BatchDeleteDcdnWafRules Deletes multiple WAF protection rules at a time.
ModifyDcdnWafPolicyDomains Changes the accelerated domain names that are bound to a protection policy.
ModifyDcdnWafRule Changes the name, status, or configurations of a protection rule.
DescribeDcdnWafRule Queries the details of a specified protection rule.
DescribeDcdnWafPolicyValidDomains Queries the domain names that can be bound to a custom protection policy.
BatchSetDcdnWafDomainConfigs Sets the protection status of multiple domain names at a time.
DescribeDcdnWafFilterInfo Queries the information about match conditions in a custom protection rule, such as the match fields, logical characters, and match content.
BatchCreateDcdnWafRules Creates WAF protection rules.
DescribeDcdnWafService Queries the information about DCDN WAF, including the time when WAF is enabled, edition of WAF, current status of WAF, billing method for requests, and billing method for rules.
DescribeUserDcdnWafStatus Queries whether DCDN WAF is enabled and whether you have overdue payments for WAF.
DescribeDcdnWafGeoInfo Queries the countries and regions can be added to the blacklist of WAF.

Tag management

API Description
TagDcdnResources Adds tags to a resource.
DescribeDcdnTagResources Queries the tags that are added to specified resources.
DescribeDcdnUserTags Queries user tags.
UntagDcdnResources Removes tags from a resource.

Tool management

API Description
DescribeDcdnIpInfo Queries whether an IP address belongs to a POP.