查詢可用動作,包括原子動作和雲產品動作。
調試
您可以在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\" } }"
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。