Memanggil operasi DeleteMetricRuleBlackList untuk menghapus kebijakan blacklist alert.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:DeleteMetricRuleBlackList |
delete |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
ID kebijakan blacklist alert. Pisahkan beberapa ID dengan koma (,). Anda dapat menentukan hingga 50 ID. Untuk informasi tentang cara mendapatkan ID kebijakan blacklist alert, lihat DescribeMetricRuleBlackList. Catatan
Parameter ini juga mendukung format JSON Array, misalnya: |
a9ad2ac2-3ed9-11ed-b878-0242ac12**** |
Untuk informasi tentang parameter permintaan umum, lihat Parameter umum.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Tidak ada. |
||
| Code |
string |
Kode status HTTP. Catatan
200 menunjukkan keberhasilan. |
200 |
| Message |
string |
Paket error. |
The specified resource is not found. |
| RequestId |
string |
ID permintaan. |
B88D233C-A004-3AB8-AD9C-30CBDD4440C5 |
| Success |
boolean |
Apakah operasi berhasil. Nilai valid:
|
true |
| Count |
integer |
Jumlah kebijakan blacklist alert yang berhasil dihapus. |
1 |
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "B88D233C-A004-3AB8-AD9C-30CBDD4440C5",
"Success": true,
"Count": 1
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
| 409 | ResourceConflict | Concurrent modification of resources. | |
| 409 | ResourceExist | Resources already exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.