Creates a file download task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:CreateDownloadTask |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the received messages. Valid values:
|
zh |
| TaskType |
string |
No |
The task type. For valid values, call the API operation that queries file download task types. |
InternetFirewallAsset |
| TaskData |
string |
No |
The query conditions for the download task. |
{\"SearchItem\":\"\",\"UserType\":\"buy\",\"IpVersion\":\"4\"} |
| TimeZone |
string |
No |
The time zone for time information in the downloaded file. The value is an IANA time zone identifier. Default value: Asia/Shanghai (UTC+8). |
Asia/Shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TaskId |
integer |
The task ID, which uniquely identifies the task. |
132 |
| RequestId |
string |
The request ID. |
E7F333E0-7B70-54DA-A307-4B2B49DEE923 |
| TaskName |
string |
The name of the file download task. |
test-IPv4 |
| Status |
string |
The task status. Valid values:
|
start |
Examples
Success response
JSON format
{
"TaskId": 132,
"RequestId": "E7F333E0-7B70-54DA-A307-4B2B49DEE923",
"TaskName": "test-IPv4",
"Status": "start"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBInsertError | A database insert error occurred. | An error occurred while performing an insert operation in the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.