Membuat aturan alert di proyek.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:CreateAlert |
create |
*All Resource
|
None | None |
Sintaks permintaan
POST /alerts HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Nama proyek. |
ali-test-project |
| body |
object |
No |
Konfigurasi aturan alert. |
|
| name |
string |
Yes |
The name of the alert rule. Make sure that the name is unique in a project. |
alert-123456 |
| displayName |
string |
Yes |
The display name of the alert rule. |
test-alert |
| description |
string |
No |
The description of the alert rule. |
An alert rule |
| configuration | AlertConfiguration |
Yes |
The detailed configurations of the alert rule. |
|
| schedule | Schedule |
Yes |
The scheduling configurations of the alert rule. |
Elemen respons
|
Element |
Type |
Description |
Example |
Tidak ada yang didefinisikan.
Contoh
Respons sukses
JSONformat
{}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.