public class NamedCpmComputeEnv extends AbstractModel
Constructor and Description |
---|
NamedCpmComputeEnv() |
NamedCpmComputeEnv(NamedCpmComputeEnv 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 |
getActionIfComputeNodeInactive()
Get 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
Authentication[] |
getAuthentications()
Get 授权信息
|
Long |
getDesiredComputeNodeCount()
Get 计算节点期望个数
|
EnvDataCpm |
getEnvData()
Get 计算环境具体参数
|
String |
getEnvDescription()
Get 计算环境描述
|
String |
getEnvName()
Get 计算环境名称
|
String |
getEnvType()
Get 计算环境管理类型, 取值MANAGED。
|
InputMapping[] |
getInputMappings()
Get 输入映射信息
|
Notification |
getNotifications()
Get 通知信息
|
String |
getNotificationTarget()
Get 表示通知信息的通知目标类型。
取值范围:CMQ,TDMQ_CMQ。
CMQ:表示向腾讯云CMQ发送消息。
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。
默认值为CMQ。 注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860) |
Long |
getResourceMaxRetryCount()
Get 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
Tag[] |
getTags()
Get 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
void |
setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
Set 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
|
void |
setAuthentications(Authentication[] Authentications)
Set 授权信息
|
void |
setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
Set 计算节点期望个数
|
void |
setEnvData(EnvDataCpm EnvData)
Set 计算环境具体参数
|
void |
setEnvDescription(String EnvDescription)
Set 计算环境描述
|
void |
setEnvName(String EnvName)
Set 计算环境名称
|
void |
setEnvType(String EnvType)
Set 计算环境管理类型, 取值MANAGED。
|
void |
setInputMappings(InputMapping[] InputMappings)
Set 输入映射信息
|
void |
setNotifications(Notification Notifications)
Set 通知信息
|
void |
setNotificationTarget(String NotificationTarget)
Set 表示通知信息的通知目标类型。
取值范围:CMQ,TDMQ_CMQ。
CMQ:表示向腾讯云CMQ发送消息。
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。
默认值为CMQ。 注:腾讯云计划于2022年6月前正式下线消息队列 CMQ,建议使用TDMQ_CMQ。参考文档:[CMQ迁移到TDMQ_CMQ](https://cloud.tencent.com/document/product/406/60860) |
void |
setResourceMaxRetryCount(Long ResourceMaxRetryCount)
Set 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。
|
void |
setTags(Tag[] Tags)
Set 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public NamedCpmComputeEnv()
public NamedCpmComputeEnv(NamedCpmComputeEnv source)
public String getEnvName()
public void setEnvName(String EnvName)
EnvName
- 计算环境名称public EnvDataCpm getEnvData()
public void setEnvData(EnvDataCpm EnvData)
EnvData
- 计算环境具体参数public Long getDesiredComputeNodeCount()
public void setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
DesiredComputeNodeCount
- 计算节点期望个数public String getEnvDescription()
public void setEnvDescription(String EnvDescription)
EnvDescription
- 计算环境描述public String getEnvType()
public void setEnvType(String EnvType)
EnvType
- 计算环境管理类型, 取值MANAGED。public Authentication[] getAuthentications()
public void setAuthentications(Authentication[] Authentications)
Authentications
- 授权信息public InputMapping[] getInputMappings()
public void setInputMappings(InputMapping[] InputMappings)
InputMappings
- 输入映射信息public Notification getNotifications()
public void setNotifications(Notification Notifications)
Notifications
- 通知信息public String getActionIfComputeNodeInactive()
public void setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
ActionIfComputeNodeInactive
- 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。public Long getResourceMaxRetryCount()
public void setResourceMaxRetryCount(Long ResourceMaxRetryCount)
ResourceMaxRetryCount
- 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7。public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- 标签列表。通过指定该参数可以支持绑定标签到黑石计算环境。每个黑石计算环境最多绑定10个标签。public String getNotificationTarget()
public void setNotificationTarget(String NotificationTarget)
NotificationTarget
- 表示通知信息的通知目标类型。
取值范围:CMQ,TDMQ_CMQ。
CMQ:表示向腾讯云CMQ发送消息。
TDMQ_CMQ:表示向腾讯云TDMQ_CMQ发送消息。Copyright © 2022. All rights reserved.