DescribeTaskDispatchStatus
Queries the execution status of a log configuration modification task.
Operation description
Before calling this operation, call ModifySlsDispatchConfig to obtain the TaskId.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeTaskDispatchStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskId |
string |
No |
The task ID. It is the unique identifier of the log configuration modification task. You can obtain the task ID from the TaskId parameter in the response of the ModifySlsDispatchConfig operation. Note: This parameter is required. If it is not provided, the server returns a 400 error and rejects the request. Make sure to specify a valid TaskId. |
65db4ce2418b44b3be7c3xxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
71209DFE-XXX-XXX-52B4A4E9DA3B |
| Status |
string |
The task status. Valid values: PENDING (pending execution), RUNNING (running), SUCCESS (successful), FAILED (failed), and CANCELLED (canceled). |
SUCCESS |
Examples
Success response
JSON format
{
"RequestId": "71209DFE-XXX-XXX-52B4A4E9DA3B",
"Status": "SUCCESS"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.