Kueri jenis notifikasi. Anda dapat memanggil operasi DescribeNotificationTypes untuk mengkueri jenis-jenis Notifikasi yang dikirim oleh Auto Scaling saat terjadi event skala keluar dan skala-masuk yang berhasil, kedaluwarsa Tugas terjadwal, serta event penskalaan yang sebagian berhasil dalam grup penskalaan Anda.
Debugging
Parameter permintaan
Parameter | Type | Required | Example | Description |
Action | String | Yes | DescribeNotificationTypes | Operasi yang ingin Anda lakukan. Tetapkan nilainya ke DescribeNotificationTypes. |
Parameter respons
Parameter | Type | Example | Description |
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** | ID permintaan. |
NotificationTypes | Array of String | AUTOSCALING:SCALE_OUT_SUCCESS | Jenis-jenis notifikasi.
|
Contoh
Permintaan contoh
http(s)://ess.aliyuncs.com/?Action=DescribeNotificationTypes
&<Common request parameters>Respons sukses contoh
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeNotificationTypesResponse>
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
<NotificationTypes>AUTOSCALING:SCALE_OUT_SUCCESS</NotificationTypes>
</DescribeNotificationTypesResponse>JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
"NotificationTypes" : [ "AUTOSCALING:SCALE_OUT_SUCCESS" ]
}Kode kesalahan
Untuk daftar lengkap kode kesalahan, lihat Service error codes.