public class NamedComputeEnv extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getActionIfComputeNodeInactive()
Get Policy for inactive nodes.
|
AgentRunningMode |
getAgentRunningMode()
Get Agent running mode; applicable for Windows
|
Authentication[] |
getAuthentications()
Get Authorization information
|
Long |
getDesiredComputeNodeCount()
Get Number of desired compute nodes
|
EnvData |
getEnvData()
Get Compute environment's specific parameters
|
String |
getEnvDescription()
Get Compute environment description
|
String |
getEnvName()
Get Compute environment name
|
String |
getEnvType()
Get Compute environment management type
|
InputMapping[] |
getInputMappings()
Get Input mapping information
|
MountDataDisk[] |
getMountDataDisks()
Get Data disk mounting option
|
Notification[] |
getNotifications()
Get Notification information
|
String |
getNotificationTarget()
Get Target of the notification
Values: `CMQ`, `TDMQ_CMQ`
`CMQ`: Tencent Cloud CMQ (default)
`TDMQ_CMQ`: Tencent Cloud TDMQ_CMQ.
Note: CMQ has been discontinued. |
Long |
getResourceMaxRetryCount()
Get When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically.
|
Tag[] |
getTags()
Get List of tags to bind with a compute environment.
|
void |
setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
Set Policy for inactive nodes.
|
void |
setAgentRunningMode(AgentRunningMode AgentRunningMode)
Set Agent running mode; applicable for Windows
|
void |
setAuthentications(Authentication[] Authentications)
Set Authorization information
|
void |
setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
Set Number of desired compute nodes
|
void |
setEnvData(EnvData EnvData)
Set Compute environment's specific parameters
|
void |
setEnvDescription(String EnvDescription)
Set Compute environment description
|
void |
setEnvName(String EnvName)
Set Compute environment name
|
void |
setEnvType(String EnvType)
Set Compute environment management type
|
void |
setInputMappings(InputMapping[] InputMappings)
Set Input mapping information
|
void |
setMountDataDisks(MountDataDisk[] MountDataDisks)
Set Data disk mounting option
|
void |
setNotifications(Notification[] Notifications)
Set Notification information
|
void |
setNotificationTarget(String NotificationTarget)
Set Target of the notification
Values: `CMQ`, `TDMQ_CMQ`
`CMQ`: Tencent Cloud CMQ (default)
`TDMQ_CMQ`: Tencent Cloud TDMQ_CMQ.
Note: CMQ has been discontinued. |
void |
setResourceMaxRetryCount(Long ResourceMaxRetryCount)
Set When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically.
|
void |
setTags(Tag[] Tags)
Set List of tags to bind with a compute environment.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public NamedComputeEnv()
public NamedComputeEnv(NamedComputeEnv source)
public String getEnvName()
public void setEnvName(String EnvName)
EnvName
- Compute environment namepublic Long getDesiredComputeNodeCount()
public void setDesiredComputeNodeCount(Long DesiredComputeNodeCount)
DesiredComputeNodeCount
- Number of desired compute nodespublic String getEnvDescription()
public void setEnvDescription(String EnvDescription)
EnvDescription
- Compute environment descriptionpublic String getEnvType()
public void setEnvType(String EnvType)
EnvType
- Compute environment management typepublic EnvData getEnvData()
public void setEnvData(EnvData EnvData)
EnvData
- Compute environment's specific parameterspublic MountDataDisk[] getMountDataDisks()
public void setMountDataDisks(MountDataDisk[] MountDataDisks)
MountDataDisks
- Data disk mounting optionpublic Authentication[] getAuthentications()
public void setAuthentications(Authentication[] Authentications)
Authentications
- Authorization informationpublic InputMapping[] getInputMappings()
public void setInputMappings(InputMapping[] InputMappings)
InputMappings
- Input mapping informationpublic AgentRunningMode getAgentRunningMode()
public void setAgentRunningMode(AgentRunningMode AgentRunningMode)
AgentRunningMode
- Agent running mode; applicable for Windowspublic Notification[] getNotifications()
public void setNotifications(Notification[] Notifications)
Notifications
- Notification informationpublic String getActionIfComputeNodeInactive()
public void setActionIfComputeNodeInactive(String ActionIfComputeNodeInactive)
ActionIfComputeNodeInactive
- Policy for inactive nodes. Default: `RECREATE`, which means that instance resources will be re-created periodically for compute nodes where instance creation fails or is abnormally returned.public Long getResourceMaxRetryCount()
public void setResourceMaxRetryCount(Long ResourceMaxRetryCount)
ResourceMaxRetryCount
- When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically. This parameter specifies the maximum retry attempts. The max value is 100 and the default value is `7`.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags
- List of tags to bind with a compute environment. Each compute environment can have up to 10 tags.public String getNotificationTarget()
public void setNotificationTarget(String NotificationTarget)
NotificationTarget
- Target of the notification
Values: `CMQ`, `TDMQ_CMQ`
`CMQ`: Tencent Cloud CMQ (default)
`TDMQ_CMQ`: Tencent Cloud TDMQ_CMQ.Copyright © 2024. All rights reserved.