Membuat kebijakan jeda Pemberitahuan peringatan untuk kelompok aplikasi.
Deskripsi operasi
Selama periode berlaku kebijakan, tidak ada Pemberitahuan peringatan yang dikirim untuk peringatan apa pun yang dipicu dalam kelompok aplikasi.
Topik ini menyediakan contoh cara membuat kebijakan jeda Pemberitahuan peringatan bernama PauseNotify untuk kelompok aplikasi 7301****. Kelompok aplikasi menjeda Pemberitahuan peringatan selama periode dari 1622949300000 hingga 1623208500000 (UTC+8 2021-06-06 11:15:00 hingga 2021-06-09 11:15:00).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:CreateMonitorGroupNotifyPolicy |
create |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyType |
string |
Yes |
Tipe Notifikasi jeda. Saat ini, hanya PauseNotify yang didukung. |
PauseNotify |
| GroupId |
string |
Yes |
ID kelompok aplikasi. |
7301**** |
| StartTime |
integer |
Yes |
Stempel waktu mulai untuk menjeda Notifikasi. Nilainya adalah Stempel waktu UNIX, yang merepresentasikan jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. |
1622949300000 |
| EndTime |
integer |
Yes |
Stempel waktu akhir untuk menjeda Notifikasi. Nilainya adalah Stempel waktu UNIX, yang merepresentasikan jumlah milidetik yang telah berlalu sejak 1 Januari 1970, 00:00:00 UTC. |
1623208500000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
Kode status HTTP. Catatan
Nilai 200 menunjukkan keberhasilan. |
200 |
| Message |
string |
Paket error. |
The Request is not authorization. |
| RequestId |
string |
ID permintaan. |
13356BCA-3EC3-4748-A771-2064DA69AEF1 |
| Result |
integer |
Jumlah entri yang dikembalikan untuk hasil pembuatan. |
1 |
| Success |
string |
Apakah operasi berhasil. Nilai valid:
|
true |
Untuk informasi lebih lanjut tentang parameter permintaan umum, lihat Parameter umum.
Contoh
Respons sukses
JSONformat
{
"Code": "200",
"Message": "The Request is not authorization.",
"RequestId": "13356BCA-3EC3-4748-A771-2064DA69AEF1",
"Result": 1,
"Success": "true"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | %s | %s | |
| 500 | %s | %s | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 204 | %s | %s | |
| 403 | %s | %s | |
| 206 | %s | %s | |
| 404 | %s | %s | |
| 503 | %s | %s | |
| 406 | %s | %s | |
| 409 | %s | %s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.