All Products
Search
Document Center

CDN:DescribeCdnTaskList

Last Updated:Oct 10, 2026

Queries the list of diagnostic tasks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cdn:DescribeCdnTaskList

none

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

DiagnoseId

string

No

The diagnosis ID.

f2xxx5

TraceId

string

No

The diagnosis trace ID.

000000xxxxxxxxxxxxxxxxxxxxxx33427e

TaskId

string

No

The diagnostic task ID.

xxxxxxxxxx-x-x-xxxxxxxxxxxxxxxxx

ClientIp

string

No

The client IP address.

60.xx.xxx.38

DomainName

string

No

The domain name to be diagnosed.

http://www.example.com

StartTime

string

No

The start time. The value is a UNIX timestamp in seconds.

1644467126

EndTime

string

No

The end time. The value is a UNIX timestamp in seconds.

1644467126

PageNumber

integer

No

The page number. Default value: 1.

2

PageSize

integer

No

The number of entries per page. Valid values: any integer from 1 to 1000.

10

Response elements

Element

Type

Description

Example

object

Content

object

The diagnostic task list data.

Count

integer

The number of pages.

10

List

array<object>

The returned list information.

object

Aliuid

string

The Alibaba Cloud account ID.

1077********7468

ClientAddr

string

The IP address of the local DNS server.

xx.xx.xx.xx

ClientIp

string

The client IP address.

xx.xx.xx.xx

CreateTime

string

The time when the report was created. The time is in the YYYY-MM-DD HH:mm:ss format.

2022-12-10 15:11:47

DiagnoseId

string

The diagnosis ID.

f2a18ad5

DiagnoseUrl

string

The diagnosis URL.

http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx

Domain

string

The domain name to be diagnosed.

http://www.example.com

ExpireTime

integer

The expiration time. The value is a UNIX timestamp in seconds.

1669285111

RemainDiagnoseTimes

integer

The number of remaining available diagnoses.

10

State

string

The report generation status. Valid values:

  • 0: Success.

  • 1: Failed.

  • 2: Timed out.

  • 3: Running.

  • 4: Waiting.

0

Status

integer

The status of the diagnosis URL. Valid values:

  • 1: Active.

  • 0: Invalid.

1

TaskId

string

The task ID.

000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e

TimeConsuming

integer

The time taken to generate the report.

1s

TraceId

string

The diagnosis trace ID.

000000xxxxxxxxxxxxxxxxxxxxxx25941e

PageNumber

integer

The page number. Default value: 1.

1

PageSize

integer

The number of entries per page. Valid values: any integer from 1 to 1000.

6

RequestId

string

The request ID.

4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70

Examples

Success response

JSON format

{
  "Content": {
    "Count": 10,
    "List": [
      {
        "Aliuid": "1077********7468",
        "ClientAddr": "xx.xx.xx.xx",
        "ClientIp": "xx.xx.xx.xx",
        "CreateTime": "2022-12-10 15:11:47",
        "DiagnoseId": "f2a18ad5",
        "DiagnoseUrl": "http://cdn.dns-detect.alicdn.com/diagnose/xxxxxx",
        "Domain": "http://www.example.com",
        "ExpireTime": 1669285111,
        "RemainDiagnoseTimes": 10,
        "State": "0",
        "Status": 1,
        "TaskId": "000000xxxxxxxxxxxxxxxxxxxxxxxxxxxx475e",
        "TimeConsuming": 0,
        "TraceId": "000000xxxxxxxxxxxxxxxxxxxxxx25941e"
      }
    ],
    "PageNumber": 1,
    "PageSize": 6
  },
  "RequestId": "4E09C5D7-E1CF-4CAA-A45E-8727F4C8FD70"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.