Package | Description |
---|---|
org.jenkinsci.plugins | |
org.jenkinsci.plugins.vsphere | |
org.jenkinsci.plugins.vsphere.builders | |
org.jenkinsci.plugins.vsphere.tools |
Modifier and Type | Method and Description |
---|---|
vSphereCloudProvisionedSlave |
vSphereCloudSlaveTemplate.provision(String cloneName,
TaskListener listener) |
VSphere |
vSphereCloud.vSphereInstance() |
Modifier and Type | Method and Description |
---|---|
static vSphereCloud |
VSphereBuildStep.VSphereBuildStepDescriptor.getVSphereCloudByHash(int hash) |
static vSphereCloud |
VSphereBuildStep.VSphereBuildStepDescriptor.getVSphereCloudByHash(int hash,
String jobName) |
static vSphereCloud |
VSphereBuildStep.VSphereBuildStepDescriptor.getVSphereCloudByName(String serverName) |
static vSphereCloud |
VSphereBuildStep.VSphereBuildStepDescriptor.getVSphereCloudByName(String serverName,
String jobName) |
Constructor and Description |
---|
VSphereBuildStepContainer(VSphereBuildStep buildStep,
String serverName) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ReconfigureStep.perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
boolean |
ReconfigureAnnotation.reconfigureAnnotation(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
boolean |
ReconfigureCpu.reconfigureCPU(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
boolean |
ReconfigureDisk.reconfigureDisk(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
boolean |
ReconfigureMemory.reconfigureMemory(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
boolean |
ReconfigureNetworkAdapters.reconfigureNetwork(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
boolean |
Rename.rename(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
boolean |
RenameSnapshot.renameSnapshot(Run<?,?> run,
Launcher launcher,
TaskListener listener) |
Constructor and Description |
---|
Clone(String sourceName,
String clone,
boolean linkedClone,
String resourcePool,
String cluster,
String datastore,
String folder,
boolean powerOn,
Integer timeoutInSeconds,
String customizationSpec) |
ConvertToTemplate(String vm,
boolean force) |
ConvertToVm(String template,
String resourcePool,
String cluster) |
Delete(String vm,
boolean failOnNoExist) |
DeleteSnapshot(String vm,
String snapshotName,
boolean consolidate,
boolean failOnNoExist) |
Deploy(String template,
String clone,
boolean linkedClone,
String resourcePool,
String cluster,
String datastore,
String folder,
String customizationSpec,
Integer timeoutInSeconds,
boolean powerOn) |
ExposeGuestInfo(String vm,
String envVariablePrefix,
Boolean waitForIp4) |
PowerOff(String vm,
boolean evenIfSuspended,
boolean shutdownGracefully,
boolean ignoreIfNotExists) |
PowerOn(String vm,
int timeoutInSeconds) |
Reconfigure(String vm,
List<ReconfigureStep> reconfigureSteps) |
ReconfigureCpu(String cpuCores,
String coresPerSocket) |
ReconfigureDisk(String diskSize,
String datastore) |
ReconfigureMemory(String memorySize) |
ReconfigureNetworkAdapters(ReconfigureStep.DeviceAction deviceAction,
String deviceLabel,
String macAddress,
boolean standardSwitch,
String portGroup,
boolean distributedSwitch,
String distributedPortGroup,
String distributedPortId) |
Rename(String oldName,
String newName) |
RenameSnapshot(String vm,
String oldName,
String newName,
String newDescription) |
RevertToSnapshot(String vm,
String snapshotName) |
SuspendVm(String vm) |
TakeSnapshot(String vm,
String snapshotName,
String description,
boolean includeMemory) |
Modifier and Type | Class and Description |
---|---|
class |
VSphereDuplicateException |
class |
VSphereNotFoundException |
Modifier and Type | Method and Description |
---|---|
void |
VSphere.cloneOrDeployVm(String cloneName,
String sourceName,
boolean linkedClone,
String resourcePoolName,
String cluster,
String datastoreName,
String folderName,
boolean useCurrentSnapshot,
String namedSnapshot,
boolean powerOn,
Map<String,String> extraConfigParameters,
String customizationSpec,
PrintStream jLogger)
Creates a new VM by cloning an existing VM or Template.
|
void |
VSphere.cloneVm(String cloneName,
String sourceName,
boolean linkedClone,
String resourcePoolName,
String cluster,
String datastoreName,
String folderName,
boolean powerOn,
String customizationSpec,
PrintStream jLogger)
Clones a new VM from an existing (named) VM.
|
static VSphere |
VSphere.connect(String server,
boolean ignoreCert,
String user,
String pw)
Deprecated.
Use
VSphere.connect(VSphereConnectionConfig) instead. |
static VSphere |
VSphere.connect(VSphereConnectionConfig connectionDetails)
Initiates Connection to vSphere Server
|
int |
VSphere.countVms() |
int |
VSphere.countVmsByPrefix(String prefix) |
void |
VSphere.deleteSnapshot(String vmName,
String snapName,
boolean consolidate,
boolean failOnNoExist) |
void |
VSphere.deployVm(String cloneName,
String sourceName,
boolean linkedClone,
String resourcePoolName,
String cluster,
String datastoreName,
String folderName,
boolean powerOn,
String customizationSpec,
PrintStream jLogger)
Deploys a new VM from an existing (named) Template.
|
void |
VSphere.destroyVm(String name,
boolean failOnNoExist)
Destroys the VM in vSphere
|
Boolean |
VSphere.folderExists(String folderPath) |
com.vmware.vim25.CustomizationSpecItem |
VSphere.getCustomizationSpecByName(String customizationSpecName) |
com.vmware.vim25.mo.ManagedEntity[] |
VSphere.getDatastores() |
com.vmware.vim25.mo.DistributedVirtualPortgroup |
VSphere.getDistributedVirtualPortGroupByName(com.vmware.vim25.mo.VirtualMachine virtualMachine,
String name)
Find Distributed Virtual Port Group name in the same Datacenter as the VM
|
com.vmware.vim25.mo.DistributedVirtualSwitch |
VSphere.getDistributedVirtualSwitchByPortGroup(com.vmware.vim25.mo.DistributedVirtualPortgroup distributedVirtualPortgroup)
Find Distributed Virtual Switch from the provided Distributed Virtual Portgroup
|
com.vmware.vim25.mo.Folder |
VSphere.getFolder(String folderPath) |
String |
VSphere.getIp(com.vmware.vim25.mo.VirtualMachine vm,
int timeout)
Asks vSphere for the IP address used by a VM.
|
com.vmware.vim25.mo.Network |
VSphere.getNetworkPortGroupByName(com.vmware.vim25.mo.VirtualMachine virtualMachine,
String name)
Find Distributed Virtual Port Group name in the same Datacenter as the VM
|
com.vmware.vim25.mo.VirtualMachine |
VSphere.getVmByName(String vmName) |
void |
VSphere.markAsTemplate(String vmName,
String snapName,
boolean force) |
void |
VSphere.markAsVm(String name,
String resourcePool,
String cluster) |
void |
VSphere.powerOffVm(com.vmware.vim25.mo.VirtualMachine vm,
boolean evenIfSuspended,
boolean shutdownGracefully)
Deprecated.
This method has been superseded by
VSphere.powerOffVm(VirtualMachine, boolean, int) , which allows setting an arbitrary grace period. |
void |
VSphere.powerOffVm(com.vmware.vim25.mo.VirtualMachine vm,
boolean evenIfSuspended,
int gracefulShutdownSeconds)
Power off the given virtual machine, optionally waiting a while for its operating system to shut down.
|
void |
VSphere.reconfigureVm(String name,
com.vmware.vim25.VirtualMachineConfigSpec spec) |
void |
VSphere.renameVm(String oldName,
String newName)
Renames the VM vSphere
|
void |
VSphere.renameVmSnapshot(String vmName,
String oldName,
String newName,
String newDescription)
Renames a VM Snapshot
|
void |
VSphere.revertToSnapshot(String vmName,
String snapName) |
void |
VSphere.setExtraConfigParameters(String vmName,
Map<String,String> parameters)
Passes data to a VM's "extra config" object.
|
void |
VSphere.startVm(String name,
int timeoutInSeconds) |
void |
VSphere.suspendVm(com.vmware.vim25.mo.VirtualMachine vm) |
void |
VSphere.takeSnapshot(String vmName,
String snapshot,
String description,
boolean snapMemory) |
Copyright © 2016–2022. All rights reserved.