All Products
Search
Document Center

CDN:DescribeCdnUserDomainsByFunc

Last Updated:Aug 28, 2026

Queries accelerated domain names that have a specific feature configured, along with their current status.

Note

The maximum number of times each user can call this operation per second is 100.

Debugging

Debug

Run this operation directly in OpenAPI Explorer. OpenAPI Explorer calculates request signatures automatically and generates SDK code samples.

Authorization information

To grant a RAM user or RAM role permission to call this operation, include the following entry in the RAM policy.

OperationAccess levelResource typeCondition keyAssociated operation
cdn:DescribeCdnUserDomainsByFuncget*All Resources*nonenone

Request parameters

ParameterTypeRequiredDescriptionExample
FuncIdintegerYesThe ID of the feature to filter by. For example, the origin host feature (set_req_host_header) has the ID 18.7
PageNumberintegerNoThe page number. Valid values: 1 to 100000. Default value: 1.10
PageSizeintegerNoThe number of entries per page. Valid values: 1 to 50. Default value: 20.20
ResourceGroupIdstringNoThe ID of the resource group.rg-xxxxx

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstringThe request ID.AA75AADB-5E25-4970-B480-EAA1F5658483
PageNumberlongThe page number of the returned page.1
PageSizelongThe number of entries per page.5
TotalCountlongThe total number of entries returned.16
Domainsarray\<object\>The list of accelerated domain names and their configurations.
PageDataobject
DomainNamestringThe accelerated domain name.example.com
DomainStatusstringThe status of the accelerated domain name. Valid values:<br>- online: The domain name is enabled.<br>- offline: The domain name is disabled.<br>- configuring: The endpoint group is being configured.<br>- configure_failed: The domain name failed to be configured.<br>- checking: The domain name is under review.<br>- check_failed: The domain name failed the review.<br>- stopping: The domain name is being disabled.<br>- deleting: The domain name is being deleted.configure_failed
CdnTypestringThe type of workload accelerated by Alibaba Cloud CDN. Valid values:<br>- web: image and small file distribution<br>- download: large file distribution<br>- video: on-demand video and audio streaming<br>- liveStream: live streamingweb
CnamestringThe CNAME assigned to the accelerated domain name.example.com.w.alikunlun.com
SslProtocolstringIndicates whether HTTPS is enabled. Valid values:<br>- on<br>- offon
DescriptionstringThe description of the current status.audit failed
ResourceGroupIdstringThe ID of the resource group.rg-xxxxx
GmtCreatedstringThe time when the accelerated domain name was added to Alibaba Cloud CDN.2015-10-28T11:05:52Z
GmtModifiedstringThe time when the accelerated domain name was last modified.2015-10-29T10:15:31Z
Sourcesarray\<object\>The information about the origin server.
Sourceobject
TypestringThe type of the origin server.ipaddr
ContentstringThe address of the origin server.1.1.1.1
PortintegerThe port of the origin server.80
WeightstringThe weight of the origin server. This parameter applies when multiple origin servers are configured.10
PrioritystringThe priority of the origin server configuration.20

Examples

Sample success responses

JSON format

{
  "RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
  "PageNumber": 1,
  "PageSize": 5,
  "TotalCount": 16,
  "Domains": {
    "PageData": [
      {
        "GmtCreated": "2015-10-28T11:05:52Z",
        "SslProtocol": "on",
        "Description": "audit failed",
        "ResourceGroupId": "rg-xxxxx",
        "DomainStatus": "configure_failed",
        "Cname": "example.com.w.alikunlun.com",
        "GmtModified": "2015-10-29T10:15:31Z",
        "CdnType": "web",
        "DomainName": "example.com",
        "Sources": {
          "Source": [
            {
              "Type": "ipaddr",
              "Weight": "10",
              "Priority": "20",
              "Port": 80,
              "Content": "1.1.1.1"
            }
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidPageNumber.ValueNotSupportedThe specified value of PageNumber is not supported.-
400InvalidPageSize.ValueNotSupportedThe specified value of PageSize is invalid.-
400InvalidDomainStatus.ValueNotSupportedThe specified value of DomainStatus is invalid.-
400InvalidDomainName.MalformedThe specified DomainName is invalid.The specified domain name is invalid.
400InvalidDomainSearchType.ValueNotSupportedThe specified value of DomainSearchType is invalid.-
400InvalidChangeStartTime.MalformedThe specified ChangeStartTime is invalid.-
400InvalidChangeEndTime.MalformedThe specified ChangeEndTime is invalid.-
400InvalidCdnType.MalformedThe specified CdnType is invalid.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-12-18API Description Update. The Error code has changedView Change Details