DescribeFirewallTask
Retrieves a firewall task.
Operation description
QPS limit
The rate limit for this API operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeFirewallTask |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language type. Valid values:
|
zh |
| ChildInstanceId |
string |
No |
The ID of the child instance. You must specify at least one of ChildInstanceId and TaskId. If both are empty, the MissingParameter.TaskId (-360448) error is returned. |
vfw-tr-cd6000c588214403**** |
| TaskType |
string |
No |
The type of the task. Valid values:
|
VPC |
| TaskId |
string |
No |
The ID of the task. You must specify at least one of TaskId and ChildInstanceId. If both are empty, the MissingParameter.TaskId (-360448, At least one of TaskId or ChildInstanceId is required.) error is returned. |
199431783 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| IsFound |
boolean |
Indicates whether the task exists. |
false |
| TaskStatus |
string |
The status of the task. Valid values:
|
init |
| TaskWaitingTime |
string |
The waiting time. Unit: minutes. |
30 |
| TaskSteps |
array<object> |
The task steps. |
|
|
object |
The task steps. |
||
| StepStatus |
string |
The status of the task step. Valid values:
|
init |
| StepName |
string |
Creates Cloud Firewall security. |
Create Firewall |
| StepProgress |
string |
The progress of the task step. |
80 |
| StepInfo |
string |
The task information. |
abcd |
| RequestId |
string |
The ID of the request. |
7D5483BF-2262-586D-8706-BDDB8B42**** |
| TaskName |
string |
The name of the task. |
egressgw |
| TaskStartTimestamp |
string |
The time when the task was created. |
17151361285 |
| TaskFinishTimestamp |
string |
The time when the task was completed. |
17151381075 |
| TaskId |
integer |
The ID of the task. |
189997648 |
Examples
Success response
JSON format
{
"IsFound": false,
"TaskStatus": "init",
"TaskWaitingTime": "30",
"TaskSteps": [
{
"StepStatus": "init",
"StepName": "Create Firewall",
"StepProgress": "80",
"StepInfo": "abcd"
}
],
"RequestId": "7D5483BF-2262-586D-8706-BDDB8B42****",
"TaskName": "egressgw",
"TaskStartTimestamp": "17151361285",
"TaskFinishTimestamp": "17151381075",
"TaskId": 189997648
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | MissingParameter.TaskId | At least one of TaskId or ChildInstanceId is required. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.