Class NamedComputeEnv
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.batch.v20170312.models.NamedComputeEnv
-
public class NamedComputeEnv extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description NamedComputeEnv()NamedComputeEnv(NamedComputeEnv 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActionIfComputeNodeInactive()Get 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。AgentRunningModegetAgentRunningMode()Get agent运行模式,适用于Windows系统Authentication[]getAuthentications()Get 授权信息LonggetDesiredComputeNodeCount()Get 计算节点期望个数EnvDatagetEnvData()Get 计算环境具体参数StringgetEnvDescription()Get 计算环境描述StringgetEnvName()Get 计算环境名称StringgetEnvType()Get 计算环境管理类型InputMapping[]getInputMappings()Get 输入映射信息MountDataDisk[]getMountDataDisks()Get 数据盘挂载选项Notification[]getNotifications()Get 通知信息StringgetNotificationTarget()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)LonggetResourceMaxRetryCount()Get 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7Tag[]getTags()Get 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。voidsetActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)Set 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。voidsetAgentRunningMode(AgentRunningMode AgentRunningMode)Set agent运行模式,适用于Windows系统voidsetAuthentications(Authentication[] Authentications)Set 授权信息voidsetDesiredComputeNodeCount(Long DesiredComputeNodeCount)Set 计算节点期望个数voidsetEnvData(EnvData EnvData)Set 计算环境具体参数voidsetEnvDescription(String EnvDescription)Set 计算环境描述voidsetEnvName(String EnvName)Set 计算环境名称voidsetEnvType(String EnvType)Set 计算环境管理类型voidsetInputMappings(InputMapping[] InputMappings)Set 输入映射信息voidsetMountDataDisks(MountDataDisk[] MountDataDisks)Set 数据盘挂载选项voidsetNotifications(Notification[] Notifications)Set 通知信息voidsetNotificationTarget(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)voidsetResourceMaxRetryCount(Long ResourceMaxRetryCount)Set 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7voidsetTags(Tag[] Tags)Set 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
NamedComputeEnv
public NamedComputeEnv()
-
NamedComputeEnv
public NamedComputeEnv(NamedComputeEnv 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.
-
-
Method Detail
-
getEnvName
public String getEnvName()
Get 计算环境名称- Returns:
- EnvName 计算环境名称
-
setEnvName
public void setEnvName(String EnvName)
Set 计算环境名称- Parameters:
EnvName- 计算环境名称
-
getDesiredComputeNodeCount
public Long getDesiredComputeNodeCount()
Get 计算节点期望个数- Returns:
- DesiredComputeNodeCount 计算节点期望个数
-
setDesiredComputeNodeCount
public void setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
Set 计算节点期望个数- Parameters:
DesiredComputeNodeCount- 计算节点期望个数
-
getEnvDescription
public String getEnvDescription()
Get 计算环境描述- Returns:
- EnvDescription 计算环境描述
-
setEnvDescription
public void setEnvDescription(String EnvDescription)
Set 计算环境描述- Parameters:
EnvDescription- 计算环境描述
-
getEnvType
public String getEnvType()
Get 计算环境管理类型- Returns:
- EnvType 计算环境管理类型
-
setEnvType
public void setEnvType(String EnvType)
Set 计算环境管理类型- Parameters:
EnvType- 计算环境管理类型
-
getEnvData
public EnvData getEnvData()
Get 计算环境具体参数- Returns:
- EnvData 计算环境具体参数
-
setEnvData
public void setEnvData(EnvData EnvData)
Set 计算环境具体参数- Parameters:
EnvData- 计算环境具体参数
-
getMountDataDisks
public MountDataDisk[] getMountDataDisks()
Get 数据盘挂载选项- Returns:
- MountDataDisks 数据盘挂载选项
-
setMountDataDisks
public void setMountDataDisks(MountDataDisk[] MountDataDisks)
Set 数据盘挂载选项- Parameters:
MountDataDisks- 数据盘挂载选项
-
getAuthentications
public Authentication[] getAuthentications()
Get 授权信息- Returns:
- Authentications 授权信息
-
setAuthentications
public void setAuthentications(Authentication[] Authentications)
Set 授权信息- Parameters:
Authentications- 授权信息
-
getInputMappings
public InputMapping[] getInputMappings()
Get 输入映射信息- Returns:
- InputMappings 输入映射信息
-
setInputMappings
public void setInputMappings(InputMapping[] InputMappings)
Set 输入映射信息- Parameters:
InputMappings- 输入映射信息
-
getAgentRunningMode
public AgentRunningMode getAgentRunningMode()
Get agent运行模式,适用于Windows系统- Returns:
- AgentRunningMode agent运行模式,适用于Windows系统
-
setAgentRunningMode
public void setAgentRunningMode(AgentRunningMode AgentRunningMode)
Set agent运行模式,适用于Windows系统- Parameters:
AgentRunningMode- agent运行模式,适用于Windows系统
-
getNotifications
public Notification[] getNotifications()
Get 通知信息- Returns:
- Notifications 通知信息
-
setNotifications
public void setNotifications(Notification[] Notifications)
Set 通知信息- Parameters:
Notifications- 通知信息
-
getActionIfComputeNodeInactive
public String getActionIfComputeNodeInactive()
Get 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。- Returns:
- ActionIfComputeNodeInactive 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
-
setActionIfComputeNodeInactive
public void setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
Set 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。- Parameters:
ActionIfComputeNodeInactive- 非活跃节点处理策略,默认“RECREATE”,即对于实例创建失败或异常退还的计算节点,定期重新创建实例资源。
-
getResourceMaxRetryCount
public Long getResourceMaxRetryCount()
Get 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7- Returns:
- ResourceMaxRetryCount 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7
-
setResourceMaxRetryCount
public void setResourceMaxRetryCount(Long ResourceMaxRetryCount)
Set 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7- Parameters:
ResourceMaxRetryCount- 对于实例创建失败或异常退还的计算节点,定期重新创建实例资源的最大重试次数,最大值100,如果不设置的话,系统会设置一个默认值,当前为7
-
getTags
public Tag[] getTags()
Get 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。- Returns:
- Tags 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。
-
setTags
public void setTags(Tag[] Tags)
Set 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。- Parameters:
Tags- 标签列表。通过指定该参数可以支持绑定标签到计算环境。每个计算环境最多绑定10个标签。
-
getNotificationTarget
public 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)- Returns:
- NotificationTarget 表示通知信息的通知目标类型。
取值范围: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)
-
setNotificationTarget
public 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)- Parameters:
NotificationTarget- 表示通知信息的通知目标类型。 取值范围: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)
-
-