Queries the available actions, including atomic actions and cloud product actions.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region. |
cn-hangzhou |
| OOSActionName |
string |
No |
The action name. Actions whose names contain this value are returned. |
MyTemplate |
| MaxResults |
integer |
No |
The number of entries to return on each page. Valid values: 20 to 100. Default value: 50. |
50 |
| NextToken |
string |
No |
The token used to retrieve the next page of results. |
- |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token used to retrieve the next page of results. |
xxx |
| RequestId |
string |
The ID of the request. |
F9154C02-F847-4563-BB6A-6DD01A4F0 |
| MaxResults |
integer |
The number of entries returned per page. |
50 |
| Actions |
array<object> |
The details of the actions. |
|
|
object |
|||
| Popularity |
integer |
The number of times the action has been used. |
5 |
| ActionType |
string |
The type of the action.
|
ACS::Template |
| Description |
string |
The description of the action. |
ReplaceSystemDisk |
| CreatedDate |
string |
The time the action was created. |
2019-05-16T10:26:14Z |
| TemplateVersion |
string |
The template version for the action. Note
For atomic actions, this parameter is not returned. |
v1 |
| OOSActionName |
string |
The name of the action. |
ACS::ECS::ReplaceSystemDisk |
| Properties |
string |
The parameters of the action. |
{ "ImageId": { "Description": "The mirror ID you will use when resetting the system", "Type": "String" }, "InstanceId": { "Description": "the instance id that you will handle .", "Type": "String" } } |
Examples
Success response
JSON format
{
"NextToken": "xxx",
"RequestId": "F9154C02-F847-4563-BB6A-6DD01A4F0",
"MaxResults": 50,
"Actions": [
{
"Popularity": 5,
"ActionType": "ACS::Template",
"Description": "ReplaceSystemDisk",
"CreatedDate": "2019-05-16T10:26:14Z",
"TemplateVersion": "v1",
"OOSActionName": "ACS::ECS::ReplaceSystemDisk",
"Properties": "{ \"ImageId\": { \"Description\": \"The mirror ID you will use when resetting the system\", \"Type\": \"String\" }, \"InstanceId\": { \"Description\": \"the instance id that you will handle .\", \"Type\": \"String\" } }"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.