All Products
Search
Document Center

Edge Security Acceleration:DescribeDcdnUserDomains

Last Updated:Oct 17, 2024

Queries the accelerated domain names that belong to your Alibaba Cloud account. You can filter domains by name or by status. Fuzzy match is supported when you filter domains by name.

Operation description

Note You can call this operation up to 80 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PageSizeintegerNo

The number of entries to return on each page. Default value: 20. Valid values: 1 to 500.

20
PageNumberintegerNo

The number of returned pages. Valid values: 1 to 100000.

1
DomainNamestringNo

The accelerated domain names. If you do not set this parameter, configurations of all domain names that match the conditions are returned.

example.com
DomainStatusstringNo

The status of the domain name. Valid values:

  • online: enabled
  • offline: disabled
  • configuring: configuring
  • configure_failed: configuration failed
  • checking: reviewing
  • check_failed: review failed
online
DomainSearchTypestringNo

The search method. Default value: full_match. Valid values:

  • fuzzy_match: fuzzy match
  • pre_match: prefix match
  • suf_match: suffix match
  • full_match (default): exact match
Note If you specify the domain names to query but do not set the DomainSearchType parameter, the exact match mode is used.
fuzzy_match
CheckDomainShowbooleanNo

Specifies whether to display domain names that are under review, failed the review, or failed to be configured. Valid values:

  • true: displays domain names.
  • false: does not display detailed information.
false
ResourceGroupIdstringNo

The ID of the resource group.

rg-acfmv6jutt**
ChangeStartTimestringNo

The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.

2018-05-10T12:00:00Z
ChangeEndTimestringNo

The end of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC+0.

Note The end time must be later than the start time.
2018-05-10T14:00:00Z
CoveragestringNo

The acceleration region. By default, all acceleration regions are queried.

  • domestic: Chinese mainland
  • overseas: outside the Chinese mainland
  • global: global
domestic
Tagarray<object>No

The list of tags.

objectNo

Description of the tags.

KeystringNo

The tag key. Valid values of N: 1 to 20. You can call the TagDcdnResources operation to set a tag for a domain name.

1
ValuestringNo

The tag value. Valid values of N: 1 to 20.

1
WebSiteTypestringNo

The business type of the domain. Separate multiple values with commas (,). Default value: dynamic. To query common domains, keep the default value. To query domains of the computing business type, enter computing_routine or computing_image.

computing_routine

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

AA75AADB-5E25-4970-B480-EAA1F5658483
PageNumberlong

The page number of the returned page.

1
PageSizelong

The number of entries returned per page.

12
TotalCountlong

The total number of entries returned.

12
Domainsarray<object>

The information about the queried domains.

PageDataobject
GmtCreatedstring

The time when the domain was added to DCDN.

2015-10-28T11:05:50Z
Descriptionstring

The reason why the domain failed the review.

audit failed
SSLProtocolstring

Indicates whether HTTPS was enabled.

  • on: enabled.
  • off: disabled.
on
ResourceGroupIdstring

The ID of the resource group.

rg-acfmv6jutt**
Sandboxstring

The sandbox status.

normal
DomainStatusstring

The domain status.

  • online: The domain is active.
  • offline: The domain is suspended.
  • configuring: The domain is being configured.
  • configure_failed: The domain failed to be configured.
  • checking: The domain is under review.
  • check_failed: The domain failed the review.
online
Cnamestring

The CNAME of the domain.

test.aliyun.com.w.alikunlun.com
GmtModifiedstring

The time when the domain was modified.

2015-10-28T09:31:59Z
DomainNamestring

The domain name.

www.example.com
DomainIdlong

The domain ID.

11223344
Sourcesarray<object>

The information about the origin servers.

Sourceobject
Typestring

The type of the origin server.

oss
Weightstring

The weight of the origin server.

20
Prioritystring

The priority of the origin server.

20
Portinteger

The port of the origin server.

80
Contentstring

The address of the origin server.

example.com
Scenestring

The acceleration scenario. Valid values:

  • apiscene: accelerates response to API calls.
  • webservicescene: accelerates content delivery for websites.
  • staticscene: accelerates the delivery of videos, images, and text.
  • **If you leave this parameter empty, no scenarios are supported.
apiscene
FunctionTypestring

The computing service type. Valid values:

  • routine
  • image
  • cloudFunction
routine

Examples

Sample success responses

JSONformat

{
  "RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
  "PageNumber": 1,
  "PageSize": 12,
  "TotalCount": 12,
  "Domains": {
    "PageData": [
      {
        "GmtCreated": "2015-10-28T11:05:50Z",
        "Description": "audit failed",
        "SSLProtocol": "on",
        "ResourceGroupId": "rg-acfmv6jutt**",
        "Sandbox": "normal",
        "DomainStatus": "online",
        "Cname": "test.aliyun.com.w.alikunlun.com",
        "GmtModified": "2015-10-28T09:31:59Z",
        "DomainName": "www.example.com",
        "DomainId": 11223344,
        "Sources": {
          "Source": [
            {
              "Type": "oss",
              "Weight": "20",
              "Priority": "20",
              "Port": 80,
              "Content": "example.com"
            }
          ]
        },
        "Scene": "apiscene",
        "FunctionType": "routine"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidPageNumber.ValueNotSupportedThe specified value of PageNumber is not supported.The PageNumber parameter is set to an invalid value. Specify a valid value and try again.
400InvalidPageSize.ValueNotSupportedThe specified value of PageSize is invalid.The PageSize parameter is set to an invalid. Specify a valid value and try again.
400InvalidDomainStatus.ValueNotSupportedThe specified value of DomainStatus is invalid.The DomainStatus parameter is set to an invalid value. Specify a valid value and try again.
400InvalidDomainName.MalformedThe specified DomainName is invalid.The specified domain name is invalid.
400InvalidDomainSearchType.ValueNotSupportedThe specified value of DomainSearchType is invalid.The DomainSearchType parameter is set to an invalid value. Specify a valid value and try again.
400InvalidChangeStartTime.MalformedThe specified ChangeStartTime is invalid.The update start time is invalid.
400InvalidChangeEndTime.MalformedThe specified ChangeEndTime is invalid.The update end time is invalid.

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

Change history

Change timeSummary of changesOperation
2024-05-11The Error code has changedView Change Details
2023-08-29The Error code has changed. The request parameters of the API has changed. The response structure of the API has changedView Change Details
2023-08-02The Error code has changed. The response structure of the API has changedView Change Details