Querying Anti-DDoS Tasks
Function
This API enables you to query the execution status of a specified Anti-DDoS configuration task.
URI
- URI format
GET /v1/{project_id}/query_task_status
You can use ? and & behind the URI to add query conditions, as shown in the request example.
- Parameter description
Parameter
Mandatory
Type
Description
project_id
Yes
String
A user's ID
Request
- Parameter description
Parameter
Mandatory
Type
Description
task_id
Yes
String
Task ID (nonnegative integer) character string
- Request example
GET /v1/67641fe6886f43fcb78edbbf0ad0b99f/query_task_status?task_id=4a4fefe7-34a1-40e2-a87c-16932af3ac4a
Response
- Element description
Name
Type
Description
task_status
String
Status of a task, which can be one of the following:- success
- failed
- waiting
- running
- preprocess
- ready
task_msg
String
Additional information about a task
- Response example
{ "task_status": "running", "task_msg": "" }
Returned Value
Last Article: Updating Anti-DDoS Defense Policies
Next Article: Querying the List of Defense Statuses of EIPs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.