Consulte les événements de mise à l'échelle automatique et les notifications de changement de ressources que vous avez créés.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
|
ess:DescribeNotificationConfigurations |
get |
*ScalingGroup
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| ScalingGroupId |
string |
Oui |
L'identifiant du groupe de mise à l'échelle. |
asg-bp1igpak5ft1flyp**** |
| RegionId |
string |
Non |
L'identifiant de la région du groupe de mise à l'échelle. |
cn-beijing |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
|||
| RequestId |
string |
L'identifiant de la requête. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| NotificationConfigurationModels |
object |
||
| NotificationConfigurationModel |
array<object> |
La collection des événements de mise à l'échelle automatique et des notifications de changement de ressources. |
|
|
array<object> |
|||
| NotificationArn |
string |
The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following formats are supported:
The variables in the formats have the following meanings:
|
acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo**** |
| ScalingGroupId |
string |
The ID of the scaling group. |
asg-bp1igpak5ft1flyp**** |
| NotificationTypes |
object |
||
| NotificationType |
array |
||
|
string |
The list of auto scaling event and resource change notification types. |
AUTOSCALING:SCALE_IN_SUCCESS |
|
| TimeZone |
string |
The time zone of the notification. The time zone offset from Coordinated Universal Time (UTC), such as UTC+8 or UTC-7. |
UTC+8 |
| MessageEncoding |
string |
The encoding method of the notification content. Valid values:
|
PlainText |
Exemples
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"NotificationConfigurationModels": {
"NotificationConfigurationModel": [
{
"NotificationArn": "acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****",
"ScalingGroupId": "asg-bp1igpak5ft1flyp****",
"NotificationTypes": {
"NotificationType": [
"AUTOSCALING:SCALE_IN_SUCCESS"
]
},
"TimeZone": "UTC+8",
"MessageEncoding": "PlainText"
}
]
}
}
Codes d'erreur
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.