描述
查询您创建的弹性伸缩事件及资源变化通知(DescribeNotificationConfigurations)。
请求参数
返回参数
NotificationConfigurationModelSet
NotificationTypeSet
示例
请求示例
- http://ess.aliyuncs.com/?Action=DescribeNotificationConfigurations
- &ScalingGroupId=AG6CQdPU8OKdwLjgZcJ2eaQ
- &<公共请求参数>
返回示例
XML 格式
- <DescribeNotificationConfigurationsResponse>
- <RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
- <NotificationConfigurationModels>
- <NotificationConfigurationModel>
- <NotificationArn>xxxxxxxxx</NotificationArn>
- <ScalingGroupId>xxxxxxxxxxx</ScalingGroupId>
- <NotificationTypes>
- <NotificationType>AUTOSCALING:SCALE_IN_SUCCESS</NotificationType>
- <NotificationType>AUTOSCALING:SCALE_IN_ERROR</NotificationType>
- </NotificationTypes>
- </NotificationConfigurationModel>
- <NotificationConfigurationModel>
- <NotificationArn>xxxxxxxxx</NotificationArn>
- <ScalingGroupId>xxxxxxxxxxx</ScalingGroupId>
- <NotificationTypes>
- <NotificationType>AUTOSCALING:SCALE_IN_SUCCESS</NotificationType>
- <NotificationType>AUTOSCALING:SCALE_IN_ERROR</NotificationType>
- </NotificationTypes>
- </NotificationConfigurationModel>
- </NotificationConfigurationModels>
- </DescribeNotificationConfigurationsResponse>
JSON 格式
- {
- "notificationConfigurationModels": [
- {
- "notificationArn": "xxxxxxxxxx",
- "notificationTypes": [
- "AUTOSCALING:SCALE_OUT_SUCCESS",
- "AUTOSCALING:SCALE_OUT_ERROR",
- "AUTOSCALING:SCALE_IN_SUCCESS",
- "AUTOSCALING:SCALE_IN_ERROR",
- "AUTOSCALING:SCALE_REJECT"
- ],
- "scalingGroupId": "xxxxxxxxxx"
- },
- {
- "notificationArn": "xxxxxxxxxx",
- "notificationTypes": [
- "AUTOSCALING:SCALE_OUT_SUCCESS",
- "AUTOSCALING:SCALE_OUT_ERROR",
- "AUTOSCALING:SCALE_IN_SUCCESS",
- "AUTOSCALING:SCALE_IN_ERROR",
- "AUTOSCALING:SCALE_REJECT"
- ],
- "scalingGroupId": "xxxxxxxxxx"
- }
- ],
- "requestId": "EEAB83FF-318A-41CA-8EB6-BB9614256BA9"
- }
错误码