All Products
Search
Document Center

Auto Scaling:DescribeNotificationConfigurations

Last Updated:Jun 06, 2024

Queries event notifications.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ScalingGroupIdstringYes

The ID of the scaling group.

asg-bp1igpak5ft1flyp****
RegionIdstringNo

The region ID of the scaling group.

cn-beijing

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
NotificationConfigurationModelsobject []

Details of the notifications.

NotificationArnstring

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

  • If you use CloudMonitor as the notification method, the value format of this parameter is acs:ess:{region-id}:{account-id}:cloudmonitor.
  • If you use a Message Service (MNS) queue as the notification method, the value format of this parameter is acs:mns:{region-id}:{account-id}:queue/{queuename}.
  • If you use an MNS topic as the notification method, the value format of this parameter is acs:mns:{region-id}:{account-id}:topic/{topicname}.

The variables in the preceding formats have the following meanings:

  • region-id: the region ID of the scaling group.
  • account-id: the ID of the Alibaba Cloud account.
  • queuename: the name of the MNS queue.
  • topicname: the name of the MNS topic.
acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****
ScalingGroupIdstring

The ID of the scaling group.

asg-bp1igpak5ft1flyp****
NotificationTypesarray

The types of the notifications.

string

The types of the notifications.

AUTOSCALING:SCALE_IN_SUCCESS

Examples

Sample success responses

JSONformat

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****",
  "NotificationConfigurationModels": [
    {
      "NotificationArn": "acs:mns:cn-beijing:161456884340****:topic/modifyLifecycleHo****",
      "ScalingGroupId": "asg-bp1igpak5ft1flyp****",
      "NotificationTypes": [
        "AUTOSCALING:SCALE_IN_SUCCESS"
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history