CreateSimulationTask
Creates a task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-saf:Describe |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Specifies the language type for requests and received messages. Default value: zh. Valid values:
|
zh |
| taskName |
string |
Yes |
The task name. |
Simulation task |
| eventCode |
string |
Yes |
The event code. |
de_anbwns2231 |
| startTime |
integer |
Yes |
The start time, accurate to milliseconds (ms). |
1730448000000 |
| endTime |
integer |
Yes |
The end time, accurate to milliseconds (ms). |
1735541040000 |
| runTask |
boolean |
Yes |
Specifies whether to run the task directly. |
false |
| dataSourceType |
string |
No |
The data source type. |
SLS |
| dataSourceConfig |
string |
No |
The datasource config. |
{} |
| regId |
string |
No |
The region code. |
cn-hangzhou |
| filtersStr |
string |
No |
The filters. |
{"left":"score","operate":"bw","right":"222,333"} |
| rulesStr |
string |
Yes |
The policy list. |
[\"100234\"] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| resultObject |
boolean |
The returned object. |
true |
| RequestId |
string |
The request ID. |
A32FE941-35F2-5378-B37C-4B8FDB16F094 |
Examples
Success response
JSON format
{
"resultObject": true,
"RequestId": "A32FE941-35F2-5378-B37C-4B8FDB16F094"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.