public class AutoScalingNotification extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AutoScalingNotification() | 
| AutoScalingNotification(AutoScalingNotification source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAutoScalingGroupId()Get 伸缩组ID。 | 
| String | getAutoScalingNotificationId()Get 事件通知ID。 | 
| String[] | getNotificationTypes()Get 通知事件列表。取值范围如下:
SCALE_OUT_SUCCESSFUL:扩容成功
SCALE_OUT_FAILED:扩容失败
SCALE_IN_SUCCESSFUL:缩容成功
SCALE_IN_FAILED:缩容失败
REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败 | 
| String[] | getNotificationUserGroupIds()Get 用户组ID列表。 | 
| String | getQueueName()Get TDMQ CMQ 队列名。 | 
| String | getTargetType()Get 通知接收端类型。取值范围如下:
USER_GROUP:用户组
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
CMQ_QUEUE:CMQ 队列,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
CMQ_TOPIC:CMQ 主题,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用 | 
| String | getTopicName()Get TDMQ CMQ 主题名。 | 
| void | setAutoScalingGroupId(String AutoScalingGroupId)Set 伸缩组ID。 | 
| void | setAutoScalingNotificationId(String AutoScalingNotificationId)Set 事件通知ID。 | 
| void | setNotificationTypes(String[] NotificationTypes)Set 通知事件列表。取值范围如下:
SCALE_OUT_SUCCESSFUL:扩容成功
SCALE_OUT_FAILED:扩容失败
SCALE_IN_SUCCESSFUL:缩容成功
SCALE_IN_FAILED:缩容失败
REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败 | 
| void | setNotificationUserGroupIds(String[] NotificationUserGroupIds)Set 用户组ID列表。 | 
| void | setQueueName(String QueueName)Set TDMQ CMQ 队列名。 | 
| void | setTargetType(String TargetType)Set 通知接收端类型。取值范围如下:
USER_GROUP:用户组
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
CMQ_QUEUE:CMQ 队列,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
CMQ_TOPIC:CMQ 主题,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用 | 
| void | setTopicName(String TopicName)Set TDMQ CMQ 主题名。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AutoScalingNotification()
public AutoScalingNotification(AutoScalingNotification source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId - 伸缩组ID。public String[] getNotificationUserGroupIds()
public void setNotificationUserGroupIds(String[] NotificationUserGroupIds)
NotificationUserGroupIds - 用户组ID列表。public String[] getNotificationTypes()
public void setNotificationTypes(String[] NotificationTypes)
NotificationTypes - 通知事件列表。取值范围如下:
public String getAutoScalingNotificationId()
public void setAutoScalingNotificationId(String AutoScalingNotificationId)
AutoScalingNotificationId - 事件通知ID。public String getTargetType()
public void setTargetType(String TargetType)
TargetType - 通知接收端类型。取值范围如下:
USER_GROUP:用户组
TDMQ_CMQ_TOPIC:TDMQ CMQ 主题
TDMQ_CMQ_QUEUE:TDMQ CMQ 队列
CMQ_QUEUE:CMQ 队列,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用
CMQ_TOPIC:CMQ 主题,[CMQ 接口已下线](https://cloud.tencent.com/document/product/1496/83970),已无法选用public String getQueueName()
public void setQueueName(String QueueName)
QueueName - TDMQ CMQ 队列名。public String getTopicName()
public void setTopicName(String TopicName)
TopicName - TDMQ CMQ 主题名。Copyright © 2025. All rights reserved.