全部产品
Search
文档中心

Cloud Monitor:DeleteMetricRules

更新时间:Jan 23, 2026

Operasi DeleteMetricRules menghapus satu atau beberapa aturan alert.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Parameter permintaan

Parameter

Type

Required

Description

Example

Id

array

Yes

ID dari aturan alert yang akan dihapus.

ab05733c97b7ce239fb1b53393dc1697c7e12****

string

No

ID dari aturan alert yang akan dihapus.

c3b2804a297444d0aa7bfd4fb0e4a01b

Elemen respons

Element

Type

Description

Example

object

Code

string

Kode status. Nilai 200 menunjukkan bahwa permintaan berhasil.

200

Message

string

Pesan yang dikembalikan.

success

RequestId

string

ID permintaan. Alibaba Cloud menghasilkan ID unik untuk setiap permintaan. Gunakan ID ini untuk memecahkan masalah.

09B3A484-1A2B-5743-BB6B-D796416F2677

Success

boolean

Menunjukkan apakah operasi berhasil. Nilai yang valid:

  • true: Operasi berhasil.

  • false: Operasi gagal.

true

Contoh

Respons sukses

JSONformat

{
  "Code": "200",
  "Message": "success",
  "RequestId": "09B3A484-1A2B-5743-BB6B-D796416F2677",
  "Success": true
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

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.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.