Creates an asynchronous export task to export website traffic forwarding rules, port forwarding rules, session persistence and health check configurations, DDoS mitigation policies, and IP blacklists and whitelists.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-ddoscoo:CreateAsyncTask |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The ID of the resource group in Resource Management to which the Anti-DDoS instance belongs. If you leave this parameter empty, the instance belongs to the default resource group. |
default |
| TaskType |
integer |
Yes |
The type of the task to create. Valid values:
|
5 |
| TaskParams |
string |
Yes |
The parameters of the task. Specify the parameters as a JSON string. The required parameters vary based on the value of TaskType. If you set TaskType to 1, 3, 4, 5, or 6, the task parameters are structured as follows.
If you set TaskType to 2, the task parameters are structured as follows.
|
{"instanceId": "ddoscoo-cn-mp91j1ao****"} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc |
Examples
Success response
JSON format
{
"RequestId": "0bcf28g5-d57c-11e7-9bs0-d89d6717dxbc"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.