public class vSphereCloud extends Cloud
Modifier and Type | Class and Description |
---|---|
static class |
vSphereCloud.DescriptorImpl |
Cloud.CloudState
ExtensionPoint.LegacyInstancesAreScopedToHudson
ModelObjectWithContextMenu.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, provision
addAction, addOrReplaceAction, doContextMenu, getAction, getAction, getActions, getActions, getAllActions, getDynamic, removeAction, removeActions, replaceAction, replaceActions
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkAnyPermission, 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
IOException
public 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
VSphereException
public boolean canProvision(Label label)
canProvision
in class Cloud
public 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 Cloud
Copyright © 2016–2022. All rights reserved.