呼叫 AcceptInquiredSystemEvent 接受並授權執行系統事件操作。對問詢中(Inquiring)狀態的系統事件,接受系統事件的預設操作,授權系統執行預設操作。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ecs:AcceptInquiredSystemEvent |
update |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
系統事件所在的地域 ID。您可以呼叫 DescribeRegions 查看最新的阿里雲地域列表。 |
cn-hangzhou |
| RegionId |
string |
是 |
系統事件 ID。 |
cn-hangzhou |
| EventId |
string |
是 |
說明
該參數正在邀測中,暫不支援使用。 |
e-2zeielxl1qzq8slb**** |
| Choice |
string |
否 |
說明
該參數正在邀測中,暫不支援使用。 |
hide |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D |
樣本
正常返回樣本
JSON格式
{
"RequestId": "4DD56CA6-6D75-4D33-BE34-E4A44EBE1C3D"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | MissingParameter | %s | |
| 400 | InvalidParameter | %s | |
| 400 | IncorrectInstanceStatus | Current instance status does not support this operation. | |
| 403 | OperationConflict | %s | |
| 403 | OperationFail.DiskCategoryNotSupported | %s | |
| 403 | OperationFail.DiskStatusNotSupported | %s | |
| 403 | OperationFail.InstanceStatusNotSupported | %s | |
| 403 | OperationDenied.AcceptNotSupported | Accept is not supported on current event type. | |
| 403 | SwitchToOffline.OnlineIsolateFail | Failed to online isolate disk while offline isolation succeeded. | |
| 403 | SwitchToOffline.OnlineReinitFail | Failed to online reinitialize disk while offline reinitialization succeeded. | |
| 403 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API does not support RAM. | |
| 403 | OperationFail.AcceptRecoverFail | Failed to accept system event due to resource constraints. | |
| 404 | InvalidEventId.NoInquiringEventFound | %s |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。