Triggers a playbook or responds to a command.
Operation description
Before calling this operation, ensure you understand the billing methods and pricing for response orchestration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:TriggerSophonPlaybook |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CommandName |
string |
No |
The name of the command to trigger. Note
Call the DescribeSophonCommands operation to obtain the command name. |
waf_process_command |
| InputParams |
string |
Yes |
The input parameters to trigger the command or playbook. |
{ "param1": "xx.xx.xx.xx", "param2": "7d" } |
| SophonTaskId |
string |
No |
A custom ID for the task. If you do not specify this parameter when you trigger the playbook, a random ID is generated. You can use the ID to locate and troubleshoot issues. |
f916b93e-e814-459f-9662-xxxxxxxxxx |
| Uuid |
string |
No |
The UUID of the playbook. Note
Call the DescribePlaybooks operation to obtain the playbook UUID. |
f916b93e-e814-459f-9662-xxxxxxxxxx |
| TriggerType |
string |
No |
The trigger type. Valid values:
|
playbook |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The information returned. |
||
| Data |
object |
The details returned after the command or playbook is triggered. |
|
| SophonTaskId |
string |
A custom ID for the task. If you do not specify this parameter when you trigger the playbook, a random ID is generated. You can use the ID to locate and troubleshoot issues. |
a7c6d055-a72f-4676-bc89-3cd9edc0284c |
| RequestId |
string |
The ID of the request. Alibaba Cloud generates a unique ID for each request. Use the request ID to troubleshoot issues. |
0DFC9403-54EB-5672-B690-9AA93C9EBB54 |
Examples
Success response
JSON format
{
"Data": {
"SophonTaskId": "a7c6d055-a72f-4676-bc89-3cd9edc0284c"
},
"RequestId": "0DFC9403-54EB-5672-B690-9AA93C9EBB54"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.