All Products
Search
Document Center

Auto Scaling:DescribeNotificationTypes

Last Updated:Nov 23, 2023

Queries notification types.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code for different SDKs.

Request parameters

Parameter

Type

Required

Example

Details

Action

String

Yes

DescribeNotificationTypes

The operation that you want to perform. Set the value to DescribeNotificationTypes.

Response parameters

Parameter

Type

Example

Details

RequestId

String

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

The request ID.

NotificationTypes

Array of String

AUTOSCALING:SCALE_OUT_SUCCESS

The notification types.

  • AUTOSCALING:SCALE_OUT_SUCCESS: The scale-out is successful.

  • AUTOSCALING:SCALE_IN_SUCCESS: The scale-in is successful.

  • AUTOSCALING:SCALE_OUT_ERROR: The scale-out failed.

  • AUTOSCALING:SCALE_IN_ERROR: The scale-in failed.

  • AUTOSCALING:SCALE_REJECT: The scaling request is rejected.

  • AUTOSCALING:SCALE_OUT_START: The scale-out is started.

  • AUTOSCALING:SCALE_IN_START: The scale-in is started.

  • AUTOSCALING:SCHEDULE_TASK_EXPIRING: The scheduled task expired.

  • SCALING_GROUP_DIAGNOSE: The scaling group is diagnosed.

  • AUTOSCALING:SCALE_OUT_WARN: The scale-out is partially successful.

  • AUTOSCALG:SCALE_IN_WARN: The scale-in is partially successful.

Examples

Sample requests

http(s)://ess.aliyuncs.com/?Action=DescribeNotificationTypes
&<Common request parameters>

Sample success responses

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" ]
}

HTTP status code

For a list of error codes, see Service error codes.