public class CreateNotificationConfigurationRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateNotificationConfigurationRequest() |
CreateNotificationConfigurationRequest(CreateNotificationConfigurationRequest 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。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组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,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 TargetType 为 USER_GROUP 时生效。
|
String |
getQueueName()
Get TDMQ CMQ 队列名,如 TargetType 取值为 `TDMQ_CMQ_QUEUE` ,该字段必填。
|
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),目前仅推荐使用 TDMQ CMQ。
CMQ_TOPIC:CMQ 主题,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。
默认值为:`USER_GROUP`。
|
String |
getTopicName()
Get TDMQ CMQ 主题名,如 TargetType 取值为 `TDMQ_CMQ_TOPIC` ,该字段必填。
|
void |
setAutoScalingGroupId(String AutoScalingGroupId)
Set 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组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,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 TargetType 为 USER_GROUP 时生效。
|
void |
setQueueName(String QueueName)
Set TDMQ CMQ 队列名,如 TargetType 取值为 `TDMQ_CMQ_QUEUE` ,该字段必填。
|
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),目前仅推荐使用 TDMQ CMQ。
CMQ_TOPIC:CMQ 主题,[CMQ已下线](https://cloud.tencent.com/document/product/1496/83970),目前仅推荐使用 TDMQ CMQ。
默认值为:`USER_GROUP`。
|
void |
setTopicName(String TopicName)
Set TDMQ CMQ 主题名,如 TargetType 取值为 `TDMQ_CMQ_TOPIC` ,该字段必填。
|
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, toJsonString
public CreateNotificationConfigurationRequest()
public CreateNotificationConfigurationRequest(CreateNotificationConfigurationRequest source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId
- 伸缩组ID。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。public String[] getNotificationTypes()
public void setNotificationTypes(String[] NotificationTypes)
NotificationTypes
- 通知类型,即为需要订阅的通知类型集合,取值范围如下:
public String[] getNotificationUserGroupIds()
public void setNotificationUserGroupIds(String[] NotificationUserGroupIds)
NotificationUserGroupIds
- 通知组ID,即为用户组ID集合,用户组ID可以通过[ListGroups](https://cloud.tencent.com/document/product/598/34589)查询。该参数仅在 TargetType 为 USER_GROUP 时生效。public String getTargetType()
public void setTargetType(String TargetType)
TargetType
- 通知接收端类型,取值如下:
public String getQueueName()
public void setQueueName(String QueueName)
QueueName
- TDMQ CMQ 队列名,如 TargetType 取值为 `TDMQ_CMQ_QUEUE` ,该字段必填。public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- TDMQ CMQ 主题名,如 TargetType 取值为 `TDMQ_CMQ_TOPIC` ,该字段必填。Copyright © 2025. All rights reserved.