Class: TencentCloud::As::V20180419::AutoScalingNotification
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::AutoScalingNotification
- Defined in:
- lib/v20180419/models.rb
Overview
弹性伸缩事件通知
Instance Attribute Summary collapse
-
#AutoScalingGroupId ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用. -
#AutoScalingNotificationId ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用. -
#NotificationTypes ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用. -
#NotificationUserGroupIds ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用. -
#QueueName ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用. -
#TargetType ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用. -
#TopicName ⇒ Object
- SCALE_OUT_SUCCESSFUL:扩容成功
- SCALE_OUT_FAILED:扩容失败
- SCALE_IN_SUCCESSFUL:缩容成功
- SCALE_IN_FAILED:缩容失败
- REPLACE_UNHEALTHY_INSTANCE_SUCCESSFUL:替换不健康子机成功
- REPLACE_UNHEALTHY_INSTANCE_FAILED:替换不健康子机失败
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),已无法选用.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autoscalinggroupid = nil, notificationusergroupids = nil, notificationtypes = nil, autoscalingnotificationid = nil, targettype = nil, queuename = nil, topicname = nil) ⇒ AutoScalingNotification
constructor
A new instance of AutoScalingNotification.
Constructor Details
#initialize(autoscalinggroupid = nil, notificationusergroupids = nil, notificationtypes = nil, autoscalingnotificationid = nil, targettype = nil, queuename = nil, topicname = nil) ⇒ AutoScalingNotification
Returns a new instance of AutoScalingNotification.
578 579 580 581 582 583 584 585 586 |
# File 'lib/v20180419/models.rb', line 578 def initialize(autoscalinggroupid=nil, notificationusergroupids=nil, notificationtypes=nil, autoscalingnotificationid=nil, targettype=nil, queuename=nil, topicname=nil) @AutoScalingGroupId = autoscalinggroupid @NotificationUserGroupIds = notificationusergroupids @NotificationTypes = notificationtypes @AutoScalingNotificationId = autoscalingnotificationid @TargetType = targettype @QueueName = queuename @TopicName = topicname end |
Instance Attribute Details
#AutoScalingGroupId ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def AutoScalingGroupId @AutoScalingGroupId end |
#AutoScalingNotificationId ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def AutoScalingNotificationId @AutoScalingNotificationId end |
#NotificationTypes ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def NotificationTypes @NotificationTypes end |
#NotificationUserGroupIds ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def NotificationUserGroupIds @NotificationUserGroupIds end |
#QueueName ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def QueueName @QueueName end |
#TargetType ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def TargetType @TargetType end |
#TopicName ⇒ Object
576 577 578 |
# File 'lib/v20180419/models.rb', line 576 def TopicName @TopicName end |
Instance Method Details
#deserialize(params) ⇒ Object
588 589 590 591 592 593 594 595 596 |
# File 'lib/v20180419/models.rb', line 588 def deserialize(params) @AutoScalingGroupId = params['AutoScalingGroupId'] @NotificationUserGroupIds = params['NotificationUserGroupIds'] @NotificationTypes = params['NotificationTypes'] @AutoScalingNotificationId = params['AutoScalingNotificationId'] @TargetType = params['TargetType'] @QueueName = params['QueueName'] @TopicName = params['TopicName'] end |