Retrieves a list of standard components that you can use.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeComponentList |
get |
*Playbook
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PlaybookUuid |
string |
Yes |
The UUID of the playbook. Note
Call the DescribePlaybooks operation to get this parameter. |
b724d2b0-3c3b-4223-9bfd-xxxxx |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned information. |
||
| RequestId |
string |
The ID of the request. This ID is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
B0A255B3-495C-56FB-8B6B-DB073F80388A |
| Components |
string |
The component information. The value is a string in the format of a JSON array. |
[ { "actions": [ { "description": "mysql component", "name": "storeIdb", "parameters": [ { "description": "update the mysql db", "name": "updateSql", "required": false } ] } ], "basic": { "description": "mysq sql component for 5.6", "logo": "https://img.alicdn.com/tfs/TB1H89IpH3nBKNjSZFMXXaUSFXa-200-200.svg", "name": "Mysql" } } ] |
The Components parameter is in JSON format and includes the following fields:
-
actions: The executable actions of the component. This parameter is a JSON array that contains the following fields:
description: The description of the action.
name: The name of the action.
- parameters: The input parameters for the action. This parameter is a JSON object that contains the following fields:
description: The description of the input parameter.
name: The name of the input parameter.
required: Specifies whether the input parameter is required. A value of true indicates that the parameter is required. A value of false indicates that the parameter is optional.
-
basic: The basic information about the component. This parameter contains the following fields:
-
description: The description of the component.
-
logo: The URL of the component logo.
-
name: The name of the component.
Examples
Success response
JSON format
{
"RequestId": "B0A255B3-495C-56FB-8B6B-DB073F80388A",
"Components": "[\n {\n \"actions\": [\n {\n \"description\": \"mysql component\",\n \"name\": \"storeIdb\",\n \"parameters\": [\n {\n \"description\": \"update the mysql db\",\n \"name\": \"updateSql\",\n \"required\": false\n }\n ]\n }\n ],\n \"basic\": {\n \"description\": \"mysq sql component for 5.6\",\n \"logo\": \"https://img.alicdn.com/tfs/TB1H89IpH3nBKNjSZFMXXaUSFXa-200-200.svg\",\n \"name\": \"Mysql\"\n }\n }\n]"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.