All Products
Search
Document Center

Edge Security Acceleration:CreateDcdnSubTask

Last Updated:Aug 20, 2025

You can call the CreateDcdnSubTask operation to customize operations reports.

Operation description

Note
  • You can customize operations reports for specific domain names. After a report is customized, its data is available for daily viewing.

  • The maximum call frequency for a single user is 3 calls per second.

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

dcdn:CreateDcdnSubTask

create

*Domain

acs:dcdn:*:{#accountId}:domain/{#domainName}

None None

Request parameters

Parameter

Type

Required

Description

Example

ReportIds

string

Yes

The IDs of the reports that you want to customize. Separate multiple IDs with a comma (,). Valid values:

  • 2: Top URLs sorted by number of requests.

  • 4: Top URLs sorted by traffic.

  • 6: Top referers sorted by number of requests.

  • 8: Top referers sorted by traffic.

  • 10: Top back-to-origin URLs sorted by number of requests.

  • 12: Top back-to-origin URLs sorted by traffic.

  • 14: Top client IP addresses sorted by number of requests.

  • 16: Top client IP addresses sorted by traffic.

  • 18: Top domain names sorted by traffic.

  • 20: Page views (PVs) and unique visitors (UVs).

  • 22: Distribution of client locations.

  • 24: Distribution of carriers.

  • 26: Peak bandwidth for IPv4 and IPv6.

  • 27: Back-to-origin bandwidth.

2,4,6

DomainName

string

No

The domain names for which you want to subscribe to reports. Separate multiple domain names with a comma (,). You can specify up to 500 domain names at a time. To add more than 500 domain names, submit a ticket.

Note

If you do not specify this parameter, reports for all domain names under your account are subscribed to by default.

example.com,example.org

Response parameters

Parameter

Type

Description

Example

object

RequestId

string

The request ID.

04F0F334-1335-436C-A1D7-6C044FE73368

Examples

Success response

JSON format

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is invalid. A parameter is set to an invalid value.
400 TimeParseFailed Failed to parse the time parameter. Failed to parse the time parameter.
400 SubscriptionAlreadyExists The subscription already exists. The subscription already exists.
400 SubscriptionNotFound The subscription is not found. The subscription is not found.
400 NameAlreadyExists The name already exists. The name already exists.
400 DeliverExceedLimit The maximum number of subscribed tasks is exceeded. The number of tracking tasks has reached the upper limit.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.