查询可用动作,包括原子动作和云产品动作。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
地域 ID |
cn-hangzhou |
| OOSActionName |
string |
否 |
动作名称。名称未包含关系,最终列出包含所填动作名称的所有动作。 |
MyTemplate |
| MaxResults |
integer |
否 |
分页大小。取值范围:10-100。默认为 50。 |
50 |
| NextToken |
string |
否 |
翻页标记的 Token。 |
- |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| NextToken |
string |
翻页标记的 Token |
xxx |
| RequestId |
string |
请求 ID |
F9154C02-F847-4563-BB6A-6DD01A4F0 |
| MaxResults |
integer |
分页大小 |
50 |
| Actions |
array<object> |
动作列表 |
|
|
object |
|||
| Popularity |
integer |
使用热度 |
5 |
| ActionType |
string |
动作类型。
|
ACS::Template |
| Description |
string |
动作说明 |
ReplaceSystemDisk |
| CreatedDate |
string |
动作创建时间 |
2019-05-16T10:26:14Z |
| TemplateVersion |
string |
动作所对应的模板版本。 说明
对于原子动作,该字段不返回。 |
v1 |
| OOSActionName |
string |
动作名称 |
ACS::ECS::ReplaceSystemDisk |
| Properties |
string |
动作参数 |
{ "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" } } |
示例
正常返回示例
JSON格式
{
"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\" } }"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。