觸發單資源重新評估。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
config:StartConfigRuleEvaluationByResource |
none |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ResourceId |
string |
是 |
資源 ID。 關於如何擷取資源 ID,請參見 ListDiscoveredResources 。 |
i-bp151g9tpto890zr**** |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| ConfigRuleId |
string |
規則 ID。 關於如何擷取規則 ID,請參見 ListConfigRules 。 |
cr-2da35180a8d1008e**** |
| RequestId |
string |
請求 id。 |
A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7 |
樣本
正常返回樣本
JSON格式
{
"ConfigRuleId": "cr-2da35180a8d1008e****",
"RequestId": "A7A0FFF8-0B44-40C6-8BBF-3A185EFDF3F7"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ExceedMaxRuleCount | The maximum number of rules is exceeded. | |
| 400 | ConfigRuleNotExists | The ConfigRule does not exist. | 此規則不存在。 |
| 400 | ConfigRuleExists | The ConfigRule already exists. | |
| 404 | AccountNotExisted | Your account does not exist. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | 服務不可用。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。