public class ECSTemplate extends Object implements Describable<ECSTemplate>
Modifier and Type | Class and Description |
---|---|
static class |
ECSTemplate.DescriptorImpl |
static class |
ECSTemplate.ProvisionOptions |
Modifier and Type | Field and Description |
---|---|
String |
currentSubnetId |
String |
description |
VolumeType |
dvType |
String |
idleTerminationMinutes |
String |
initScript |
int |
instanceCap |
String |
labels |
int |
launchTimeout |
Node.Mode |
mode |
String |
mountQuantity |
String |
numExecutors |
protected VPC |
parent |
String |
remoteAdmin |
String |
remoteFS |
VolumeType |
rootVolumeType |
int |
rvSize |
String |
rvSizeStr |
static String |
srvNamePrefix |
boolean |
stopOnTerminate |
String |
tmpDir |
Constructor and Description |
---|
ECSTemplate(String description,
String imgID,
String flavorID,
String zone,
String labelString,
Node.Mode mode,
String remoteAdmin,
String subnetIDs,
VolumeType rootVolumeType,
VolumeType dvType,
String remoteFS,
String rvSizeStr,
List<ECSTag> tags,
String numExecutors,
String idleTerminationMinutes,
String launchTimeoutStr,
String initScript,
String tmpDir,
List<? extends NodeProperty<?>> nodeProperties,
int minimumNumberOfInstances,
boolean associateEIP,
boolean stopOnTerminate,
String userData,
String instanceCapStr,
boolean mountDV,
String dvSize,
String mountQuantity) |
public final String description
protected transient VPC parent
public final String labels
public final Node.Mode mode
public VolumeType rootVolumeType
public String rvSizeStr
public int rvSize
public final String numExecutors
public final String remoteFS
public final String remoteAdmin
public final String idleTerminationMinutes
public final String initScript
public final String tmpDir
public int launchTimeout
public static final String srvNamePrefix
public final boolean stopOnTerminate
public String currentSubnetId
public int instanceCap
public VolumeType dvType
public String mountQuantity
@DataBoundConstructor public ECSTemplate(String description, String imgID, String flavorID, String zone, String labelString, Node.Mode mode, String remoteAdmin, String subnetIDs, VolumeType rootVolumeType, VolumeType dvType, String remoteFS, String rvSizeStr, List<ECSTag> tags, String numExecutors, String idleTerminationMinutes, String launchTimeoutStr, String initScript, String tmpDir, List<? extends NodeProperty<?>> nodeProperties, int minimumNumberOfInstances, boolean associateEIP, boolean stopOnTerminate, String userData, String instanceCapStr, boolean mountDV, String dvSize, String mountQuantity)
public boolean isMountDV()
public String getMountQuantity()
public int mountNum()
public String getDvSize()
public int volumeSize()
public boolean getAssociateEIP()
public VPC getParent()
public String getImgID()
public void setAmi(String imgID)
public int getMinimumNumberOfInstances()
public String getSubnetIDs()
public String getLabelString()
public Node.Mode getMode()
public VolumeType getRootVolumeTypeAttribute()
public VolumeType getDvType()
public int getInstanceCap()
public String getInstanceCapStr()
public String getFlavorID()
public String getZone()
public String getDisplayName()
public String getIdleTerminationMinutes()
public int getLaunchTimeout()
public String getLaunchTimeoutStr()
public DescribableList<NodeProperty<?>,NodePropertyDescriptor> getNodeProperties()
public List<ECSAbstractSlave> provision(int number, EnumSet<ECSTemplate.ProvisionOptions> provisionOptions) throws com.huaweicloud.sdk.core.exception.SdkException, IOException
com.huaweicloud.sdk.core.exception.SdkException
IOException
public ECSAbstractSlave attach(String instanceId, TaskListener listener) throws com.huaweicloud.sdk.core.exception.SdkException, IOException
com.huaweicloud.sdk.core.exception.SdkException
IOException
public int getNumExecutors()
protected Object readResolve()
public Descriptor<ECSTemplate> getDescriptor()
getDescriptor
in interface Describable<ECSTemplate>
Copyright © 2016–2021. All rights reserved.