public class vSphereCloud extends Cloud
| Modifier and Type | Class and Description |
|---|---|
static class |
vSphereCloud.DescriptorImpl |
Cloud.CloudStateExtensionPoint.LegacyInstancesAreScopedToHudsonModelObjectWithContextMenu.ContextMenu, ModelObjectWithContextMenu.ContextMenuVisibility, ModelObjectWithContextMenu.MenuItem| Constructor and Description |
|---|
vSphereCloud(String vsHost,
String vsDescription,
String username,
String password,
int maxOnlineSlaves)
Deprecated.
|
vSphereCloud(VSphereConnectionConfig vsConnectionConfig,
String vsDescription,
int maxOnlineSlaves,
int instanceCap,
List<? extends vSphereCloudSlaveTemplate> templates) |
all, canProvision, getACL, getDisplayName, getSearchUrl, getUrl, provisionaddAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActionsgetSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission@Deprecated public vSphereCloud(String vsHost, String vsDescription, String username, String password, int maxOnlineSlaves)
@DataBoundConstructor public vSphereCloud(VSphereConnectionConfig vsConnectionConfig, String vsDescription, int maxOnlineSlaves, int instanceCap, List<? extends vSphereCloudSlaveTemplate> templates)
public static void Log(String format, Object... args)
Level.INFO message (created with String.format(String, Object...)).public static void Log(Throwable ex, String format, Object... args)
Level.SEVERE message (created with String.format(String, Object...)) and a Throwable with stacktrace.public static void Log(TaskListener listener, String format, Object... args)
Level.INFO message (created with String.format(String, Object...)).public static void Log(TaskListener listener, Throwable ex, String format, Object... args)
Level.SEVERE message (created with String.format(String, Object...)) and a Throwable (with stacktrace).public static void Log(Slave slave, String format, Object... args)
Level.INFO message (created with String.format(String, Object...)), prefixed by the Slave name.public static void Log(Slave slave, Throwable ex, String format, Object... args)
Level.SEVERE message (created with String.format(String, Object...)) and a Throwable (with stacktrace), prefixed by the Slave name.public static void Log(Slave slave, TaskListener listener, String format, Object... args)
Level.INFO message (created with String.format(String, Object...)), prefixed by the Slave name.public static void Log(Slave slave, TaskListener listener, Throwable ex, String format, Object... args)
Level.SEVERE message (created with String.format(String, Object...)) and a Throwable (with stacktrace), prefixed by the Slave name.public static void Log(SlaveComputer slave, TaskListener listener, String format, Object... args)
Level.INFO message (created with String.format(String, Object...)), prefixed by the SlaveComputer name.public static void Log(SlaveComputer slave, TaskListener listener, Throwable ex, String format, Object... args)
Level.SEVERE message (created with String.format(String, Object...)) and a Throwable (with stacktrace), prefixed by the SlaveComputer name.public Object readResolve() throws IOException
IOExceptionpublic int getMaxOnlineSlaves()
public int getInstanceCap()
public List<? extends vSphereCloudSlaveTemplate> getTemplates()
@CheckForNull public String getPassword()
@CheckForNull public String getUsername()
public String getVsDescription()
@CheckForNull public String getVsHost()
public boolean getAllowUntrustedCertificate()
@CheckForNull public VSphereConnectionConfig getVsConnectionConfig()
public final int getHash()
public VSphere vSphereInstance() throws VSphereException
VSphereExceptionpublic boolean canProvision(Label label)
canProvision in class Cloudpublic Collection<NodeProvisioner.PlannedNode> provision(Label label, int excessWorkload)
public static List<vSphereCloud> findAllVsphereClouds(String jobName)
public vSphereCloud.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Cloud>getDescriptor in class CloudCopyright © 2016–2022. All rights reserved.