調用DeleteMetricRules介面刪除一個或多個警示規則。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cms:DeleteMetricRules |
delete |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Id |
array |
是 |
要刪除的警示規則 ID 的列表。 |
|
|
string |
否 |
要刪除的警示規則 ID。 |
c3b2804a297444d0aa7bfd4fb0e4a01b |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
string |
狀態代碼。說明 200 表示成功。 |
200 |
| Message |
string |
返回資訊。 |
success |
| RequestId |
string |
本次調用請求的 ID,是由阿里雲為該請求產生的唯一識別碼,可用於排查和定位問題。 |
09B3A484-1A2B-5743-BB6B-D796416F2677 |
| Success |
boolean |
操作是否成功。取值:
|
true |
樣本
正常返回樣本
JSON格式
{
"Code": "200",
"Message": "success",
"RequestId": "09B3A484-1A2B-5743-BB6B-D796416F2677",
"Success": true
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 401 | AccessDeniedException | You donot have sufficient access to perform this action. | |
| 500 | InternetServerError | InternetServerError | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 402 | LimitExceeded | The quota for this customer had been reached. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | 未找到指定資源。 |
| 429 | ThrottlingException | The request was denied due to request throttling. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。