|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MachineService
Service interface for the MachineService
.
Method Summary | |
---|---|
MachineSpecification |
cloneMachine(String sourceMachineName,
MachineSpecification spec)
Clones the source machine to the target machine. |
void |
deleteMachine(String machineName)
Stops the machine with the given name. |
void |
deploy(String netName,
String vmName)
Move a VM to the appropriate VLAN |
void |
editMachine(MachineSpecification machineCreate)
|
Collection<com.vmware.vim25.mo.Task> |
getJobs()
Returns currently running jobs. |
com.vmware.vim25.mo.VirtualMachine |
getMachine(String machineName)
Retrieves the Machine information of the given machine. |
Collection<com.vmware.vim25.mo.VirtualMachine> |
getMachines()
Retrieves the Machines . |
void |
setConnectionData(String username,
String password,
URL vCenterURL)
Allow to pass to the instance the credential information for the backend system. |
void |
startMachine(String machineName)
Starts the machine with the given name. |
void |
stopMachine(String machineName)
Stops the machine with the given name. |
Method Detail |
---|
void setConnectionData(String username, String password, URL vCenterURL)
Allow to pass to the instance the credential information for the backend system.
username
- password
- Collection<com.vmware.vim25.mo.VirtualMachine> getMachines()
Machines
.
Collection
containing machines.com.vmware.vim25.mo.VirtualMachine getMachine(String machineName)
Machine
information of the given machine.
machineName
- the name of the machine.
Machine
information.void startMachine(String machineName)
machineName
- the name of the machine that needs to be started.void stopMachine(String machineName)
machineName
- the name of the machine that needs to be stopped.void deleteMachine(String machineName)
machineName
- the name of the machine that needs to be stopped.MachineSpecification cloneMachine(String sourceMachineName, MachineSpecification spec)
machineName
- the name of the machine that needs to be stopped.Collection<com.vmware.vim25.mo.Task> getJobs()
Collection
of Jobs
.void deploy(String netName, String vmName)
void editMachine(MachineSpecification machineCreate)
machines
- spec
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |