CreateNotificationConfiguration_弹性伸缩_API文档

Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

  • You can specify CloudMonitor system events, Simple Message Queue (SMQ, formerly MNS) topics, or SMQ queues as notification recipients. When a scaling event of the specified type or resource change occurs in your scaling group, Auto Scaling automatically sends notifications to CloudMonitor or SMQ.

  • You cannot specify the same recipient for notifications of different event types in a scaling group.

    For example, you cannot enable the same CloudMonitor system event, SMQ topic, or SMQ queue to receive notifications of different event types in a scaling group.

Quotas Info

There is no quotas information in the current API.

Authorization Information

No permission information is available for the cloud service.

Request Parameters

Field NameField Details
ScalingGroupIdstring

The ID of the scaling group.

Example:asg-bp1igpak5ft1flyp****Reference Value Source:
    ApplyScalingGroup
    CreateScalingGroup
    DescribeScalingGroups
    AttachServerGroups
    DetachServerGroups
NotificationArnstring

The Alibaba Cloud Resource Name (ARN) of the notification recipient. The following list describes the value formats of this parameter:View Details...

Example:acs:mns:cn-beijing:161456884340****:queue/modifyLifecycleHo****Reference Value Source:
    DescribeNotificationConfigurations
NotificationTypesarray<string>

The notification types. Specify multiple IDs in the repeated list form.View Details...

Count of Children <= 12
RegionIdstring

The region ID of the scaling group.

Example:cn-beijingReference Value Source:
    DescribeRegions
TimeZonestring

The time zone of the notification. Specify the value in UTC. For example, a value of UTC+8 specifies that the time is 8 hours ahead of Coordinated Universal Time, and a value of UTC-7 specifies that the time is 7 hours behind Coordinated Universal Time.

Example:UTC+8

Response Parameters

Field NameField Details
RequestIdstring

The ID of the request.

Example:473469C7-AA6F-4DC5-B3DB-A3DC0DE3****

Sample Response

Change History

Change timeChange content summaryoperation
2024-08-05
addRequest parameter TimeZone
2022-09-09
addOpenAPI

Examples