public class VmFactory
extends java.lang.Object
VmFactory
is responsible for creating instances of services
contained inside the com.vmware.vcenter.vm package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
ConsoleFactory |
console()
The
com.vmware.vcenter.vm.console package provides interfaces for
managing Virtual Machine Consoles. |
static VmFactory |
getFactory(StubFactory stubFactory,
StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
GuestFactory |
guest()
The
com.vmware.vcenter.vm.guest package provides interfaces for dealing
with the guest operating system. |
HardwareFactory |
hardware()
The
com.vmware.vcenter.vm.hardware package provides interfaces for
managing the virtual hardware configuration and state of a virtual machine. |
Hardware |
hardwareService()
Returns an instance of class
Hardware |
Identity |
identityService()
Returns an instance of class
Identity |
LibraryItem |
libraryItemService()
Returns an instance of class
LibraryItem |
Power |
powerService()
Returns an instance of class
Power |
StorageFactory |
storage() |
ToolsFactory |
tools()
The
com.vmware.vcenter.vm package provides interfaces for managing
VMware Tools. |
Tools |
toolsService()
Returns an instance of class
Tools |
void |
updateStubConfiguration(StubFactory stubFactory,
StubConfiguration stubConfig) |
public static VmFactory getFactory(StubFactory stubFactory, StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestVmFactory
factory instancepublic LibraryItem libraryItemService()
LibraryItem
public ConsoleFactory console()
com.vmware.vcenter.vm.console
package provides interfaces for
managing Virtual Machine Consoles.public GuestFactory guest()
com.vmware.vcenter.vm.guest
package provides interfaces for dealing
with the guest operating system. This includes information about the state of
local file systems and network interfaces and methods to manipulate the guest
file system and processes.public HardwareFactory hardware()
com.vmware.vcenter.vm.hardware
package provides interfaces for
managing the virtual hardware configuration and state of a virtual machine. This
includes methods for reading and manipulating virtual device configuration and
for querying the runtime state of the devices.public StorageFactory storage()
public ToolsFactory tools()
com.vmware.vcenter.vm
package provides interfaces for managing
VMware Tools.public void updateStubConfiguration(StubFactory stubFactory, StubConfiguration stubConfig)