Kueri kebijakan yang digunakan untuk menjeda pemberitahuan peringatan pada kelompok aplikasi.
Debugging
Parameter permintaan
| Parameter | Type | Required | Example | Description |
| Action | String | Yes | DescribeMonitorGroupNotifyPolicyList | Operasi yang ingin Anda lakukan. Tetapkan nilainya ke DescribeMonitorGroupNotifyPolicyList. |
| PolicyType | String | Yes | PauseNotify | Jenis kebijakan. Nilai valid: PauseNotify. |
| PageNumber | Integer | No | 1 | Nomor halaman yang dikembalikan. Nilai default: 1. |
| PageSize | Integer | No | 100 | Jumlah entri yang dikembalikan pada setiap halaman. Nilai default: 10. |
| GroupId | String | No | 6780**** | ID kelompok aplikasi. |
Parameter respons
| Parameter | Type | Example | Description |
| Code | String | 200 | Kode status HTTP. Catatan Kode status 200 menunjukkan bahwa panggilan berhasil. |
| Message | String | The Request is not authorization. | Pesan kesalahan. |
| RequestId | String | 6072F026-C441-41A6-B114-35A1E8F8FDD3 | ID permintaan. |
| Total | Integer | 11 | Total jumlah entri yang dikembalikan. |
| Success | String | true | Menunjukkan apakah panggilan berhasil. Nilai valid:
|
| NotifyPolicyList | Array of NotifyPolicy | Kebijakan yang dikembalikan. |
|
| NotifyPolicy | |||
| EndTime | Long | 1551761781273 | Timestamp yang menentukan akhir rentang waktu untuk kueri. Unit: milidetik. |
| Type | String | PauseNotify | Jenis kebijakan. |
| StartTime | Long | 1551761781273 | Timestamp yang menentukan awal rentang waktu untuk kueri. Unit: milidetik. |
| GroupId | String | 6780**** | ID kelompok aplikasi. |
| Id | String | 123**** | ID kebijakan. |
Contoh
Contoh permintaan
http(s)://[Endpoint]/?Action=DescribeMonitorGroupNotifyPolicyList
&PolicyType=PauseNotify
&<Common request parameters>
Contoh respons sukses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeMonitorGroupNotifyPolicyListResponse>
<NotifyPolicyList>
<NotifyPolicy>
<Type>PauseNotify</Type>
<EndTime>1551763581273</EndTime>
<Id>123****</Id>
<StartTime>1551761781273</StartTime>
<GroupId>6780****</GroupId>
</NotifyPolicy>
</NotifyPolicyList>
<Success>true</Success>
<Code>200</Code>
<Total>1</Total>
</DescribeMonitorGroupNotifyPolicyListResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"NotifyPolicyList" : {
"NotifyPolicy" : [ {
"Type" : "PauseNotify",
"EndTime" : 1551763581273,
"Id" : "123****",
"StartTime" : 1551761781273,
"GroupId" : "6780****"
} ]
},
"Success" : true,
"Code" : "200",
"Total" : 1
}
Kode kesalahan
Untuk daftar kode kesalahan, kunjungi API Error Center.