Creates a new playbook.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreatePlaybook |
create |
*Playbook
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DisplayName |
string |
Yes |
The name of the playbook. |
test09 |
| Description |
string |
No |
The description of the playbook. |
This is a new version |
| TaskflowType |
string |
No |
The configuration format of the playbook.
|
x6 |
| Lang |
string |
No |
The language of the messages to receive. Valid values:
|
zh |
| OutputParams |
string |
No |
The output configuration of the playbook. |
{'result': 'success'} |
| InputParams |
string |
No |
The input configuration of the playbook. |
{'key1': 'value1', 'key2': 'value2'} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| RequestId |
string |
The ID of the request. This is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot and locate issues. |
B09B40B2-F11E-512C-B755-423F2056C17B |
| Data |
object |
The returned result of the creation. |
|
| PlaybookUuid |
string |
The UUID of the newly created playbook. |
9e38111e-9794-4784-9ca8-xxxxxxx |
Examples
Success response
JSON format
{
"RequestId": "B09B40B2-F11E-512C-B755-423F2056C17B",
"Data": {
"PlaybookUuid": "9e38111e-9794-4784-9ca8-xxxxxxx"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.