The DescribeCdnSubList operation queries customized report tasks.
Operation description
By default, this operation queries all customized report tasks. However, only one task is returned in the response.
The call frequency is limited to 3 calls per second for each user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cdn:DescribeCdnSubList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Content |
string |
The customized report task. |
{"RequestId":"3250A51D-C11D-46BA-B6B3-95348EEDE652","Description":"成功","Content":{"data":[{"subId":5,"reportId":[1,2,3],"createTime":"2020-09-25T09:39:33Z","domains"["all"],"effectiveFrom":"2020-09-17T00:00:00Z","effectiveEnd":"2020-11-17T00:00:00Z","status":"enable"}]}} |
| RequestId |
string |
The request ID. |
3250A51D-C11D-46BA-B6B3-95348EEDE652 |
Data description
| Parameter | Type | Description |
| subId | Long | The request ID of the task. |
| reportId | Long[] | A list of report IDs. |
| createTime | String | The time when the report was created. |
| domains | String[] | A list of domain names for the customized report. |
| effectiveFrom | String | The start time of the customized task. |
| effectiveEnd | String | The end time of the customized task. |
| status | String | The status of the customized task. Valid values: enable: Enabled. disable: Disabled. |
Examples
Success response
JSON format
{
"Content": "{\"RequestId\":\"3250A51D-C11D-46BA-B6B3-95348EEDE652\",\"Description\":\"成功\",\"Content\":{\"data\":[{\"subId\":5,\"reportId\":[1,2,3],\"createTime\":\"2020-09-25T09:39:33Z\",\"domains\"[\"all\"],\"effectiveFrom\":\"2020-09-17T00:00:00Z\",\"effectiveEnd\":\"2020-11-17T00:00:00Z\",\"status\":\"enable\"}]}}",
"RequestId": "3250A51D-C11D-46BA-B6B3-95348EEDE652"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 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 specified 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.