public class vSphereCloudSlaveTemplate extends Object implements Describable<vSphereCloudSlaveTemplate>
Modifier and Type | Class and Description |
---|---|
static class |
vSphereCloudSlaveTemplate.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
protected static com.cloudbees.plugins.credentials.domains.SchemeRequirement |
HTTP_SCHEME |
protected static com.cloudbees.plugins.credentials.domains.SchemeRequirement |
HTTPS_SCHEME |
protected vSphereCloud |
parent |
Constructor and Description |
---|
vSphereCloudSlaveTemplate(String cloneNamePrefix,
String masterImageName,
Boolean useSnapshot,
String snapshotName,
boolean linkedClone,
String cluster,
String resourcePool,
String datastore,
String folder,
String customizationSpec,
String templateDescription,
int templateInstanceCap,
int numberOfExecutors,
String remoteFS,
String labelString,
Node.Mode mode,
boolean forceVMLaunch,
boolean waitForVMTools,
int launchDelay,
int limitedRunCount,
boolean saveFailure,
String targetResourcePool,
String targetHost,
String credentialsId,
ComputerLauncher launcher,
RetentionStrategy<?> retentionStrategy,
List<? extends NodeProperty<?>> nodeProperties,
List<? extends VSphereGuestInfoProperty> guestInfoProperties) |
protected static final com.cloudbees.plugins.credentials.domains.SchemeRequirement HTTP_SCHEME
protected static final com.cloudbees.plugins.credentials.domains.SchemeRequirement HTTPS_SCHEME
protected transient vSphereCloud parent
@DataBoundConstructor public vSphereCloudSlaveTemplate(String cloneNamePrefix, String masterImageName, Boolean useSnapshot, String snapshotName, boolean linkedClone, String cluster, String resourcePool, String datastore, String folder, String customizationSpec, String templateDescription, int templateInstanceCap, int numberOfExecutors, String remoteFS, String labelString, Node.Mode mode, boolean forceVMLaunch, boolean waitForVMTools, int launchDelay, int limitedRunCount, boolean saveFailure, String targetResourcePool, String targetHost, String credentialsId, ComputerLauncher launcher, RetentionStrategy<?> retentionStrategy, List<? extends NodeProperty<?>> nodeProperties, List<? extends VSphereGuestInfoProperty> guestInfoProperties)
public String getCloneNamePrefix()
public String getMasterImageName()
public boolean getUseSnapshot()
public String getSnapshotName()
public boolean getLinkedClone()
public String getCluster()
public String getResourcePool()
public String getDatastore()
public String getFolder()
public String getCustomizationSpec()
public String getTemplateDescription()
public int getTemplateInstanceCap()
public int getNumberOfExecutors()
public String getRemoteFS()
public String getLabelString()
public Node.Mode getMode()
public boolean getForceVMLaunch()
public boolean getWaitForVMTools()
public int getLaunchDelay()
public int getLimitedRunCount()
public boolean getSaveFailure()
public String getTargetResourcePool()
public String getTargetHost()
@Deprecated public String getCredentialsId()
getLauncher()
property.public List<? extends NodeProperty<?>> getNodeProperties()
public List<? extends VSphereGuestInfoProperty> getGuestInfoProperties()
public vSphereCloud getParent()
public ComputerLauncher getLauncher()
public RetentionStrategy<?> getRetentionStrategy()
protected Object readResolve()
public vSphereCloudProvisionedSlave provision(String cloneName, TaskListener listener) throws VSphereException, Descriptor.FormException, IOException, InterruptedException
public Descriptor<vSphereCloudSlaveTemplate> getDescriptor()
getDescriptor
in interface Describable<vSphereCloudSlaveTemplate>
Copyright © 2016–2022. All rights reserved.