- AcquireSessionInfo - Class in com.vmware.host
-
AcquireSessionInfo
This sample will acquire a session with VC or ESX
and print a cim service ticket and related
session information to a file
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
host [required] : Name of the host
info [optional] : Type of info required
only [cimticket] for now
file [optional] : Full path of the file to save data to
Command Line:
run.bat com.vmware.general.Browser --url [webserviceurl]
--username [username] --password [password]
--host [hostname] --info [password] --file [path_to_file]
- AcquireSessionInfo() - Constructor for class com.vmware.host.AcquireSessionInfo
-
- action() - Method in class com.vmware.general.Connect
-
For details on how to form different types of connections
to various kinds of vSphere web service agents, see the
classes under the package com.vmware.connection,
- action() - Method in class com.vmware.general.GetUpdates
-
- action() - Method in class com.vmware.general.LicenseManager
-
- action() - Method in class com.vmware.general.SearchIndex
-
- actionPerformed(ActionEvent) - Method in class com.vmware.performance.VIUsage
-
- addPassword(String, String, String) - Method in interface com.vmware.security.credstore.CredentialStore
-
Stores the password for a given host and username.
- address(String) - Static method in class com.vmware.cim.helpers.GetHost
-
- addToPathSet(Collection<String>) - Method in class com.vmware.connection.helpers.builders.PropertySpecBuilder
-
- AddVirtualNic - Class in com.vmware.host
-
AddVirtualNic
This sample is used to add a Virtual Nic to a PortGroup
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
portgroupname [required] : Name of the port group
ipaddress [optional] : ipaddress for the nic, if not set DHCP
will be in affect for the nic
hostname [optional] : Name of the host
datacentername [optional] : Name of the datacenter
Command Line:
Add VirtualNic to a PortGroup on a Virtual Switch
run.bat com.vmware.host.AddVirtualNic --url [webserviceurl]
--username [username] --password [password]
--hostname [hostname] --datacentername [mydatacenter]
--portgroupname [myportgroup] --ipaddress [AAA.AAA.AAA.AAA]
Add VirtualNic to a PortGroup on a Virtual Switch without hostname
run.bat com.vmware.host.AddVirtualNic --url [webserviceurl]
--username [username] --password [password]
--datacentername [mydatacenter]
--portgroupname [myportgroup] --ipaddress [AAA.AAA.AAA.AAA]
Add VirtualNic to a PortGroup on a Virtual Switch without datacentername
run.bat com.vmware.host.AddVirtualNic --url [webserviceurl]
--username [username] --password [password]
--portgroupname [myportgroup] --ipaddress [AAA.AAA.AAA.AAA]
- AddVirtualNic() - Constructor for class com.vmware.host.AddVirtualNic
-
- AddVirtualSwitch - Class in com.vmware.host
-
AddVirtualSwitch
This sample is used to add a virtual switch
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vswitchid [required]: Name of the switch to be added
hostname [required]: Name of the host
Command Line:
Add a Virtual Switch
run.bat com.vmware.host.AddVirtualSwitch --url [webserviceurl]
--username [username] --password [password] --hostname [hostname]
--vswitchid [mySwitch]
- AddVirtualSwitch() - Constructor for class com.vmware.host.AddVirtualSwitch
-
- AddVirtualSwitchPortGroup - Class in com.vmware.host
-
AddVirtualSwitchPortGroup
This sample is used to add a Virtual Machine Port Group to a vSwitch
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vswitchid [required] : Name of the vSwitch to add portgroup to
portgroupname [required] : Name of the port group
hostname [optional] : Name of the host
Command Line:
Add Virtual switch Port Group:
run.bat com.vmware.host.AddVirtualSwitchPortGroup
--url [webserviceurl] --username [username] --password [password]
--vswitchid [mySwitch] --portgroupname [myportgroup] --hostname [hostname]
- AddVirtualSwitchPortGroup() - Constructor for class com.vmware.host.AddVirtualSwitchPortGroup
-
- ALGORITHM - Static variable in class com.vmware.security.credstore.CredentialStoreCipher
-
The RC4 encryption algorithm is supplied by the JVM.
- alias(CIMObjectPath) - Method in class com.vmware.cim.CIMReader
-
create an "alias" string for an object path, this is intended for display
purposes and not really for looking up the object path later.
- alias(CIMClass) - Method in class com.vmware.cim.CIMReader
-
pretty print a CIM class
- alias(CIMInstance) - Method in class com.vmware.cim.CIMReader
-
produces a pretty print alias for an instance
- all(Boolean) - Method in class com.vmware.connection.helpers.builders.PropertySpecBuilder
-
- ApiValidator - Class in com.vmware.connection.helpers
-
Some samples make use of API only found on vCenter.
- ApiValidator(Connection) - Constructor for class com.vmware.connection.helpers.ApiValidator
-
- assertHost() - Method in class com.vmware.connection.helpers.ApiValidator
-
- assertHost(Connection) - Static method in class com.vmware.connection.helpers.ApiValidator
-
- assertVCenter() - Method in class com.vmware.connection.helpers.ApiValidator
-
- assertVCenter(Connection) - Static method in class com.vmware.connection.helpers.ApiValidator
-
- callContinueRetrieveProperties(String) - Method in class com.vmware.general.PropertyCollector
-
- callCreateFilterSpecEx(List<ManagedObjectReference>, List<String>) - Method in class com.vmware.general.PropertyCollector
-
- callCreatePropertyCollectorEx() - Method in class com.vmware.general.PropertyCollector
-
- callRetrievePropertiesEx(String) - Method in class com.vmware.general.PropertyCollector
-
- callWaitForUpdatesEx(String, String) - Method in class com.vmware.general.PropertyCollector
-
- certFileName - Variable in class com.vmware.connection.SsoConnection
-
You may optionally specify the system property sso.cert.file=/fully/qualified/path
to load your SSL cert from a file.
- check(URL) - Method in class com.vmware.cim.CIMReader
-
checks a URL to see if we can open a connection to it
- checkOptions() - Method in class com.vmware.vm.VMPowerOps
-
The user must specify one of vmName or datacenter or host ...
- cimBaseUrl() - Method in class com.vmware.cim.CIMReader
-
builds a base URL to use for CIMObjectPath objects based on the host and
connection objects already present in this object on initialization
- cimHostname - Variable in class com.vmware.cim.helpers.GetCim
-
- cimProperties(CIMProperty<?>[], String) - Method in class com.vmware.cim.CIMReader
-
Knows how to read CIMProperty objects and put them in a string format
- CIMReader - Class in com.vmware.cim
-
examples of how to work with CIM and vSphere API together.
- CIMReader() - Constructor for class com.vmware.cim.CIMReader
-
- clearPasswords() - Method in interface com.vmware.security.credstore.CredentialStore
-
Removes all passwords.
- client(String) - Method in class com.vmware.cim.CIMReader
-
Two ways to build a client, either with a username and password for
direct login to the ESX host or using a ticket.
- client(HostServiceTicket, CIMObjectPath) - Method in class com.vmware.cim.helpers.GetCim
-
Creates a web client using the HostServiceTicket object.
- client(String, String, CIMObjectPath) - Method in class com.vmware.cim.helpers.GetCim
-
Creates a web client using username, password, and a path
- client(Subject, CIMObjectPath) - Method in class com.vmware.cim.helpers.GetCim
-
- client(String, String, URL, String, String) - Method in class com.vmware.cim.helpers.GetCim
-
creates a web client using all string based parameters
- client(HostServiceTicket, URL, String, String) - Method in class com.vmware.cim.helpers.GetCim
-
creates a web client from a ticket, a URL, and a namespace and classname to query
- client(Subject, URL, String, String) - Method in class com.vmware.cim.helpers.GetCim
-
if you know how to build your own security subject, use this method instead
- client(HostServiceTicket, URL, String) - Method in class com.vmware.cim.helpers.GetCim
-
- client(String, String, URL, String) - Method in class com.vmware.cim.helpers.GetCim
-
- close() - Method in interface com.vmware.security.credstore.CredentialStore
-
Closes this credential store and frees all resources associated with it.
- com.vmware.alarms - package com.vmware.alarms
-
- com.vmware.cim - package com.vmware.cim
-
- com.vmware.cim.helpers - package com.vmware.cim.helpers
-
- com.vmware.connection - package com.vmware.connection
-
- com.vmware.connection.helpers - package com.vmware.connection.helpers
-
- com.vmware.connection.helpers.builders - package com.vmware.connection.helpers.builders
-
- com.vmware.events - package com.vmware.events
-
- com.vmware.fcd - package com.vmware.fcd
-
- com.vmware.fcd.helpers - package com.vmware.fcd.helpers
-
- com.vmware.general - package com.vmware.general
-
- com.vmware.guest - package com.vmware.guest
-
- com.vmware.host - package com.vmware.host
-
- com.vmware.httpfileaccess - package com.vmware.httpfileaccess
-
- com.vmware.performance - package com.vmware.performance
-
- com.vmware.performance.widgets - package com.vmware.performance.widgets
-
- com.vmware.scheduling - package com.vmware.scheduling
-
- com.vmware.scsilun - package com.vmware.scsilun
-
- com.vmware.security.credstore - package com.vmware.security.credstore
-
- com.vmware.simpleagent - package com.vmware.simpleagent
-
- com.vmware.storage - package com.vmware.storage
-
- com.vmware.vapp - package com.vmware.vapp
-
- com.vmware.vm - package com.vmware.vm
-
- connect() - Method in class com.vmware.connection.BasicConnection
-
- connect() - Method in class com.vmware.connection.ConnectedVimServiceBase
-
connects this object, returns itself to allow for method chaining
- connect() - Method in interface com.vmware.connection.Connection
-
- connect() - Method in class com.vmware.connection.ESXHostSampleBase
-
- connect() - Method in class com.vmware.connection.SsoConnection
-
- connect() - Method in class com.vmware.connection.VCenterSampleBase
-
- Connect - Class in com.vmware.general
-
Connect
This sample simply connects to an ESX server or to vCenter server
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
Command Line:
run.bat com.vmware.general.Connect --url [webserviceurl]
--username [username] --password [password]
- Connect() - Constructor for class com.vmware.general.Connect
-
- connectAndLogin() - Method in class com.vmware.simpleagent.SimpleAgent
-
- ConnectedVimServiceBase - Class in com.vmware.connection
-
An abstract base class, extend this class if your common needs to
open a connection to the virtual center server before it can do anything useful.
- ConnectedVimServiceBase() - Constructor for class com.vmware.connection.ConnectedVimServiceBase
-
- ConnectedVimServiceBase.ConnectionException - Exception in com.vmware.connection
-
- ConnectedVimServiceBase.ConnectionException(Throwable) - Constructor for exception com.vmware.connection.ConnectedVimServiceBase.ConnectionException
-
- ConnectedVimServiceBase.ConnectionException(String) - Constructor for exception com.vmware.connection.ConnectedVimServiceBase.ConnectionException
-
- connection - Variable in class com.vmware.cim.helpers.GetCim
-
- connection - Variable in class com.vmware.cim.helpers.GetHost
-
- Connection - Interface in com.vmware.connection
-
This simple object shows how to set up a vCenter connection.
- ConnectionException - Exception in com.vmware.connection
-
ConnectionException is the base exception thrown by connection classes,
making this a runtime exception means that catching it is optional preventing clutter,
basing all connection related exceptions on this class means
that you may decide to catch ConnectionException to deal with any issues underneath
the connection infrastructure.
- ConnectionException(String, Throwable) - Constructor for exception com.vmware.connection.ConnectionException
-
- ConnectionFactory - Class in com.vmware.connection
-
Holds the logic for how to construct a connection class.
- ConnectionFactory() - Constructor for class com.vmware.connection.ConnectionFactory
-
- ConnectionMalformedUrlException - Exception in com.vmware.connection
-
- ConnectionMalformedUrlException(String, MalformedURLException) - Constructor for exception com.vmware.connection.ConnectionMalformedUrlException
-
- containerViewByType(ManagedObjectReference, String, RetrieveOptions) - Method in class com.vmware.connection.helpers.GetMOREF
-
- containerViewByType(ManagedObjectReference, String, RetrieveOptions, String...) - Method in class com.vmware.connection.helpers.GetMOREF
-
Returns the raw RetrieveResult object for the provided container filtered on properties list
- containerViewByType(ManagedObjectReference, String, String[], RetrieveOptions, PropertyFilterSpec...) - Method in class com.vmware.connection.helpers.GetMOREF
-
- copyDir(String) - Method in class com.vmware.httpfileaccess.PutVMFiles
-
Copy contents of this directory up to the datastore
- Create - Class in com.vmware.general
-
Create
This sample creates managed entity like Host-Standalone Cluster
Datacenter, and folder
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
parentname [required] : specifies the name of the parent folder
itemtype [required] : Type of the object to be added
e.g.
- Create() - Constructor for class com.vmware.general.Create
-
- create() - Method in class com.vmware.general.Create
-
- CreateStorageDRS - Class in com.vmware.storage
-
This sample demonstrates how to create Storage DRS
Parameters:
url [required]: url of the web service.
- CreateStorageDRS() - Constructor for class com.vmware.storage.CreateStorageDRS
-
- createTasks(int) - Method in class com.vmware.general.PropertyCollector
-
- CreateTemporaryFile - Class in com.vmware.guest
-
CreateTemporaryFile
This sample creates a temporary file inside a virtual machine.
- CreateTemporaryFile() - Constructor for class com.vmware.guest.CreateTemporaryFile
-
- CreateUser - Class in com.vmware.simpleagent
-
CreateUser
The CreateUser class creates a user account and password stores them the local credential store.
- CreateUser() - Constructor for class com.vmware.simpleagent.CreateUser
-
- createUser() - Method in class com.vmware.simpleagent.CreateUser
-
- CredentialStore - Interface in com.vmware.security.credstore
-
A credential store.
- CredentialStoreAdmin - Class in com.vmware.security.credstore
-
********************************************************************************
The CredentialStoreAdmin class is a command-line tool that provides complete
access to the credential store backing file on the local machine.
- CredentialStoreAdmin() - Constructor for class com.vmware.security.credstore.CredentialStoreAdmin
-
- CredentialStoreCipher - Class in com.vmware.security.credstore
-
This class uses the JVM provided classes in javax.crypto.* to encrypt and decrypt
text.
- CredentialStoreCipher(SecretKey) - Constructor for class com.vmware.security.credstore.CredentialStoreCipher
-
- CredentialStoreFactory - Class in com.vmware.security.credstore
-
Factory class providing instances of a {linkplain CredentialStore credential
store}.
- CredentialStoreFactory() - Constructor for class com.vmware.security.credstore.CredentialStoreFactory
-
- generate() - Method in class com.vmware.connection.SsoConnection
-
generates a new key and cert and caches them for next time.
- generateSecretKey() - Static method in class com.vmware.security.credstore.CredentialStoreCipher
-
This helper method will generate a fresh secret key for you to use.
- generateVslmCreateSpec(ManagedObjectReference, FcdCreate.DiskProvisioningTypes) - Method in class com.vmware.fcd.FcdCreate
-
This method constructs a VslmCreateSpec for the vStorageObject
- getApiType() - Method in class com.vmware.connection.helpers.ApiValidator
-
- getCim() - Method in class com.vmware.cim.CIMReader
-
- GetCim - Class in com.vmware.cim.helpers
-
provides helper functions for getting objects needed to work with CIM related services from the initial vSphere
connection.
- GetCim(Connection, String, GetHost) - Constructor for class com.vmware.cim.helpers.GetCim
-
if you already constructed a getHost utility use this constructor, appropriate for
connecting to a vCenter and a managed host.
- GetCim(Connection, String) - Constructor for class com.vmware.cim.helpers.GetCim
-
Appropriate for connections that are to a vCenter then to a managed host.
- GetCim(Connection) - Constructor for class com.vmware.cim.helpers.GetCim
-
Only appropriate for direct connections to ESX hosts
- GetCim.PasswordCredential - Class in com.vmware.cim.helpers
-
The default PasswordCredential will prevent us from using sessionId's that
can be over 16 characters in length.
- GetCim.PasswordCredential(String) - Constructor for class com.vmware.cim.helpers.GetCim.PasswordCredential
-
- getConnectionType() - Method in class com.vmware.cim.CIMReader
-
- getCredentialStore() - Static method in class com.vmware.security.credstore.CredentialStoreFactory
-
Returns the default credential store.
- getCredentialStore(File) - Static method in class com.vmware.security.credstore.CredentialStoreFactory
-
Returns a credential store given the file backing it.
- GetCurrentTime - Class in com.vmware.general
-
GetCurrentTime
This sample gets the current time of the vSphere Server
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
Command Line:
run.bat com.vmware.general.GetCurrentTime
--url [webservicesurl] --username [Username] --password [password]
- GetCurrentTime() - Constructor for class com.vmware.general.GetCurrentTime
-
- getCurrentTime() - Method in class com.vmware.general.GetCurrentTime
-
This method retrieves the current time from the server and prints it.
- getDefaultSsoUrl() - Method in class com.vmware.connection.SsoConnection
-
Generates a default SSO URL to use if none was supplied on the command line.
- getFcdFilePath(VStorageObject) - Static method in class com.vmware.fcd.FcdCreate
-
Util method to get the FilePath of a given VStorageObject.
- getHeaders() - Method in class com.vmware.connection.BasicConnection
-
- getHeaders() - Method in interface com.vmware.connection.Connection
-
- getHeaders() - Method in class com.vmware.connection.SsoConnection
-
the cached headers gleaned from the last connection atttempt
- getHost - Variable in class com.vmware.cim.helpers.GetCim
-
- GetHost - Class in com.vmware.cim.helpers
-
This class shows how to get a ManagedObjectReference to a host using its name or IP address.
- GetHost(Connection) - Constructor for class com.vmware.cim.helpers.GetHost
-
this class works with a connection object and is immutable against this object
- getHost() - Method in class com.vmware.connection.BasicConnection
-
- getHost() - Method in interface com.vmware.connection.Connection
-
- getHost() - Method in class com.vmware.connection.SsoConnection
-
- GetHost.IsNotHostAgentException - Exception in com.vmware.cim.helpers
-
thrown when this class must assert that a Host is in use.
- GetHost.IsNotHostAgentException(String) - Constructor for exception com.vmware.cim.helpers.GetHost.IsNotHostAgentException
-
- GetHost.IsNotvCenterException - Exception in com.vmware.cim.helpers
-
thrown when this class must assert that a vCenter connection is
in use.
- GetHost.IsNotvCenterException(String) - Constructor for exception com.vmware.cim.helpers.GetHost.IsNotvCenterException
-
- GetHostName - Class in com.vmware.general
-
GetHostName
This sample gets the hostname and additional details of the ESX Servers
in the inventory
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
Command Line:
run.bat com.vmware.general.GetHostName
--url [webservicesurl] --username [username] --password [password]
- GetHostName() - Constructor for class com.vmware.general.GetHostName
-
- getHosts() - Method in interface com.vmware.security.credstore.CredentialStore
-
Returns all hosts that have entries in the credential store.
- getInputParameters(String[]) - Method in class com.vmware.general.PropertyCollector
-
- getInstance(WBEMClient, String) - Method in class com.vmware.cim.CIMReader
-
gets a specific instance of a CIM class.
- getInstance(WBEMClient, CIMObjectPath) - Method in class com.vmware.cim.CIMReader
-
gets a specific CIM instance based on a cimObjectPath instance
- GetMOREF - Class in com.vmware.connection.helpers
-
- GetMOREF(Connection) - Constructor for class com.vmware.connection.helpers.GetMOREF
-
- GetParent(CIMClass) - Static method in class com.vmware.cim.CIMReader
-
- getPass() - Method in class com.vmware.simpleagent.CreateUser
-
- getPassword() - Method in class com.vmware.connection.BasicConnection
-
- getPassword() - Method in interface com.vmware.connection.Connection
-
- getPassword() - Method in class com.vmware.connection.SsoConnection
-
- getPassword(String, String) - Method in interface com.vmware.security.credstore.CredentialStore
-
Gets the password for a given host and username.
- getPort() - Method in class com.vmware.connection.BasicConnection
-
- getPort() - Method in interface com.vmware.connection.Connection
-
- getPort() - Method in class com.vmware.connection.SsoConnection
-
- getSelectionSpec(String) - Method in class com.vmware.general.PropertyCollector
-
- getServiceContent() - Method in class com.vmware.connection.BasicConnection
-
- getServiceContent() - Method in interface com.vmware.connection.Connection
-
- getServiceContent() - Method in class com.vmware.connection.SsoConnection
-
- getServiceInstanceName() - Method in class com.vmware.connection.BasicConnection
-
- getServiceInstanceName() - Method in interface com.vmware.connection.Connection
-
- getServiceInstanceName() - Method in class com.vmware.connection.SsoConnection
-
- getServiceInstanceReference() - Method in class com.vmware.connection.BasicConnection
-
- getServiceInstanceReference() - Method in class com.vmware.connection.ConnectedVimServiceBase
-
Use this method to get a reference to the service instance itself.
- getServiceInstanceReference() - Method in interface com.vmware.connection.Connection
-
- getServiceInstanceReference() - Method in class com.vmware.connection.SsoConnection
-
A service instance reference used to boot strap the client
- getSsoUrl() - Method in class com.vmware.connection.SsoConnection
-
Will attempt to return the SSO URL you set from the command line, if you forgot or didn't set one it
will call getDefaultSsoUrl to attempt to calculate what the URL should have been.
- getTaskResultAfterDone(ManagedObjectReference) - Method in class com.vmware.general.Move
-
This method returns a boolean value specifying whether the Task is
succeeded or failed.
- getTaskResultAfterDone(ManagedObjectReference) - Method in class com.vmware.general.PropertyCollector
-
This method returns a boolean value specifying whether the Task is
succeeded or failed.
- getTaskResultAfterDone(ManagedObjectReference) - Method in class com.vmware.general.Rename
-
This method returns a boolean value specifying whether the Task is
succeeded or failed.
- getType() - Method in class com.vmware.cim.helpers.GetHost
-
returns the connection type
- GetUpdates - Class in com.vmware.general
-
GetUpdates
This sample demonstrates how to use the PropertyCollector to monitor one or more
properties of one or more managed objects.
- GetUpdates() - Constructor for class com.vmware.general.GetUpdates
-
- getUpdates() - Method in class com.vmware.general.GetUpdates
-
- getUrl() - Method in class com.vmware.connection.BasicConnection
-
- getURL() - Method in class com.vmware.connection.BasicConnection
-
- getUrl() - Method in interface com.vmware.connection.Connection
-
- getURL() - Method in interface com.vmware.connection.Connection
-
- getUrl() - Method in class com.vmware.connection.SsoConnection
-
- getURL() - Method in class com.vmware.connection.SsoConnection
-
gets the URL used for this connection
- getUser() - Method in class com.vmware.simpleagent.CreateUser
-
- getUsername() - Method in class com.vmware.connection.BasicConnection
-
- getUsername() - Method in interface com.vmware.connection.Connection
-
- getUsername() - Method in class com.vmware.connection.SsoConnection
-
- getUsernames(String) - Method in interface com.vmware.security.credstore.CredentialStore
-
Returns all usernames that have passwords stored for a given host.
- getUserPassword() - Method in class com.vmware.cim.helpers.GetCim.PasswordCredential
-
- getUserSession() - Method in class com.vmware.connection.BasicConnection
-
- getUserSession() - Method in interface com.vmware.connection.Connection
-
- getUserSession() - Method in class com.vmware.connection.SsoConnection
-
- getVimPort() - Method in class com.vmware.connection.BasicConnection
-
- getVimPort() - Method in interface com.vmware.connection.Connection
-
- getVimPort() - Method in class com.vmware.connection.SsoConnection
-
- getVimService() - Method in class com.vmware.connection.BasicConnection
-
- getVimService() - Method in interface com.vmware.connection.Connection
-
- getVimService() - Method in class com.vmware.connection.SsoConnection
-
- GetVMFiles - Class in com.vmware.httpfileaccess
-
GetVMFiles
This sample gets all the config files, snapshots files,
logs files, virtual disk files to the local system.
- GetVMFiles() - Constructor for class com.vmware.httpfileaccess.GetVMFiles
-
- getVMTraversalSpec() - Method in class com.vmware.connection.helpers.GetMOREF
-
- GuestConnection - Class in com.vmware.guest
-
vSphere API 5.0 is the first version to understand Guest connections.
- GuestConnection() - Constructor for class com.vmware.guest.GuestConnection
-
- RealTime - Class in com.vmware.performance
-
RealTime
This sample displays performance measurements from the current time
at the console
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : name of the vm
Command Line:
run.bat com.vmware.performance.RealTime
--url [webservice url] --username [user] --password [password]
--vmname [name of the vm]
- RealTime() - Constructor for class com.vmware.performance.RealTime
-
- RemoveManagedObject - Class in com.vmware.general
-
This sample demonstrates Destroy or Unregister
Managed Inventory Object like a Host, VM, Folder, etc
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
objtype [required] : type of managedobject to remove or unregister");
e.g.
- RemoveManagedObject() - Constructor for class com.vmware.general.RemoveManagedObject
-
- removePassword(String, String) - Method in interface com.vmware.security.credstore.CredentialStore
-
Removes the password for a given host and username.
- RemoveVirtualNic - Class in com.vmware.host
-
RemoveVirtualNic
This sample removes a Virtual Nic from a PortGroup on a vSwitch
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
portgroupname [required] : Name of port group to remove Virtual Nic from
hostname [required] : Name of host
datacentername [optional] : Name of datacenter
Command Line:
Remove a VirtualNic from a PortGroup
run.bat com.vmware.host.RemoveVirtualNic --url [webserviceurl]
--username [username] --password [password] --datacentername [mydatacenter]
--portgroupname [myportgroup] --hostname [hostname]
Remove a VirtualNic from a PortGroup without hostname
run.bat com.vmware.host.RemoveVirtualNic --url [webserviceurl]
--username [username] --password [password] --datacentername [mydatacenter]
--portgroupname [myportgroup]
Remove a VirtualNic from a PortGroup without datacentername
run.bat com.vmware.host.RemoveVirtualNic --url [webserviceurl]
--username [username] --password [password]
--portgroupname [myportgroup] --hostname [name of the host]
- RemoveVirtualNic() - Constructor for class com.vmware.host.RemoveVirtualNic
-
- RemoveVirtualSwitch - Class in com.vmware.host
-
RemoveVirtualSwitch
This sample removes a virtual switch
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vswitchid [required] : Name of the switch to be added
hostname [required] : Name of the host
Command Line:
Remove a Virtual Switch
run.bat com.vmware.host.RemoveVirtualSwitch --url [webserviceurl]
--username [username] --password [password]
--vswitchid [mySwitch] --hostname [hostname]
- RemoveVirtualSwitch() - Constructor for class com.vmware.host.RemoveVirtualSwitch
-
- RemoveVirtualSwitchPortGroup - Class in com.vmware.host
-
RemoveVirtualSwitchPortGroup
This sample removes a Virtual Switch PortGroup
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
portgroupname [required] : Name of the port group to be removed
hostname [required] : Name of the host
Command Line:
Remove Virtual Switch Port Group
run.bat com.vmware.host.RemoveVirtualSwitchPortGroup
--url [webserviceurl] --username [username] --password [password]
--portgroupname[myportgroup] --hostname [hostname]
- RemoveVirtualSwitchPortGroup() - Constructor for class com.vmware.host.RemoveVirtualSwitchPortGroup
-
- Rename - Class in com.vmware.general
-
Rename
This sample demonstrates renaming a manged entity
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
entityname [required] : name of the inventory object - a managed entity
newname [required] : new name of the inventory object - a managed entity
Command Line:
Rename a virtual machine VM to new name VM2
run.bat com.vmware.general --url [webserviceurl]
--username [username] --password [password] --entityname VM
--newname VM2
Rename a resource pool named Rp to new name pool
java com.vmware.general --url [webserviceurl]
--username [username] --password [password] --entityname Rp
--newname pool
- Rename() - Constructor for class com.vmware.general.Rename
-
- rename() - Method in class com.vmware.general.Rename
-
- reportMissingObjectsInResults(Boolean) - Method in class com.vmware.connection.helpers.builders.PropertyFilterSpecBuilder
-
- resolve(InetAddress) - Static method in class com.vmware.cim.helpers.GetHost
-
uses the InetAddress API in Java to process either a hostname or an IP
the return result is a string delimited by "/" that holds the DNS name (if found)
and the IP address (if found) of the result.
- retrievePropertiesAllObjects(List<PropertyFilterSpec>) - Method in class com.vmware.general.PropertyCollector
-
Uses the new RetrievePropertiesEx method to emulate the now deprecated
RetrieveProperties method.
- run() - Method in class com.vmware.alarms.VMPowerStateAlarm
-
- run() - Method in class com.vmware.cim.CIMReader
-
The primary action entry point for this sample, presumes that all the
property setters have been called and connection and other settings have
been injected.
- run(VimPortType, ManagedObjectReference) - Static method in class com.vmware.connection.KeepAlive
-
calls "currentTime" against the supplied objects
- run() - Method in class com.vmware.connection.KeepAlive
-
starts a keep-alive thread which will call keepAlive then sleep for the interval
- run() - Method in class com.vmware.events.EventFormat
-
- run() - Method in class com.vmware.events.EventHistoryCollectorMonitor
-
- run() - Method in class com.vmware.events.VMEventHistoryCollectorMonitor
-
- run() - Method in class com.vmware.fcd.FcdAttachToVM
-
- run() - Method in class com.vmware.fcd.FcdCreate
-
- run() - Method in class com.vmware.fcd.FcdDelete
-
- run() - Method in class com.vmware.fcd.FcdDetachFromVM
-
- run() - Method in class com.vmware.fcd.FcdRegisterLegacyDisk
-
- run() - Method in class com.vmware.general.RemoveManagedObject
-
- run() - Method in class com.vmware.guest.CreateTemporaryFile
-
- run() - Method in class com.vmware.guest.DownloadGuestFile
-
- run() - Method in class com.vmware.guest.RunProgram
-
main method annotated with "Action"
- run() - Method in class com.vmware.guest.UploadGuestFile
-
- run() - Method in class com.vmware.host.AcquireSessionInfo
-
- run() - Method in class com.vmware.host.AddVirtualNic
-
- run() - Method in class com.vmware.host.AddVirtualSwitch
-
- run() - Method in class com.vmware.host.AddVirtualSwitchPortGroup
-
- run() - Method in class com.vmware.host.DVSCreate
-
- run() - Method in class com.vmware.host.HostProfileManager
-
- run() - Method in class com.vmware.host.NIOCForDVS
-
- run() - Method in class com.vmware.host.RemoveVirtualNic
-
- run() - Method in class com.vmware.host.RemoveVirtualSwitch
-
- run() - Method in class com.vmware.host.RemoveVirtualSwitchPortGroup
-
- run() - Method in class com.vmware.httpfileaccess.GetVMFiles
-
- run() - Method in class com.vmware.httpfileaccess.PutVMFiles
-
main method
- run() - Method in class com.vmware.performance.Basics
-
- run() - Method in class com.vmware.performance.History
-
- run() - Method in class com.vmware.performance.PrintCounters
-
- run() - Method in class com.vmware.performance.RealTime
-
- run() - Method in class com.vmware.performance.VITop
-
- run() - Method in class com.vmware.performance.VIUsage
-
- run() - Method in class com.vmware.scheduling.DeleteOneTimeScheduledTask
-
- run() - Method in class com.vmware.scheduling.OneTimeScheduledTask
-
- run() - Method in class com.vmware.scheduling.WeeklyRecurrenceScheduledTask
-
- run() - Method in class com.vmware.scsilun.SCSILunName
-
- run() - Method in class com.vmware.storage.CreateStorageDRS
-
- run() - Method in class com.vmware.storage.SDRSRecommendation
-
- run() - Method in class com.vmware.storage.SDRSRules
-
- run() - Method in class com.vmware.vapp.OVFManagerExportVAPP
-
- run() - Method in class com.vmware.vapp.OVFManagerExportVMDK.HttpNfcLeaseExtender
-
- run() - Method in class com.vmware.vapp.OVFManagerExportVMDK
-
- run() - Method in class com.vmware.vapp.OVFManagerImportLocalVApp
-
- run() - Method in class com.vmware.vapp.OVFManagerImportVAppFromUrl
-
- run() - Method in class com.vmware.vm.VMClone
-
- run() - Method in class com.vmware.vm.VMCreate
-
- run() - Method in class com.vmware.vm.VMDeltaDisk
-
- run() - Method in class com.vmware.vm.VMDiskCreate
-
- run() - Method in class com.vmware.vm.VMLinkedClone
-
- run() - Method in class com.vmware.vm.VMManageCD
-
- run() - Method in class com.vmware.vm.VMManageFloppy
-
- run() - Method in class com.vmware.vm.VMotion
-
- run() - Method in class com.vmware.vm.VMPowerOps
-
- run() - Method in class com.vmware.vm.VMPromoteDisks
-
- run() - Method in class com.vmware.vm.VMReconfig
-
- run() - Method in class com.vmware.vm.VMRelocate
-
- run() - Method in class com.vmware.vm.VMSnapshot
-
- RunProgram - Class in com.vmware.guest
-
RunProgram
This sample runs a specified program inside a virtual machine with
output re-directed to a temporary file inside the guest and
downloads the output file.
- RunProgram() - Constructor for class com.vmware.guest.RunProgram
-
- SCSILunName - Class in com.vmware.scsilun
-
SCSILunName
This sample displays the CanonicalName,Vendor,Model,Data,Namespace
and NamespaceId of the host SCSI LUN name
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
hostname [required] : host for which SCSI details will be displayed
Command Line:
run.bat com.vmware.scsilun.SCSILunName
--url [webserviceurl] --username [username] --password [password]
--hostname [host name]
- SCSILunName() - Constructor for class com.vmware.scsilun.SCSILunName
-
- SDRSRecommendation - Class in com.vmware.storage
-
This sample demonstrates how to Run the Storage DRS on a given SDRS cluster and show
the list of recommendations generated by SDRS.
- SDRSRecommendation() - Constructor for class com.vmware.storage.SDRSRecommendation
-
- SDRSRules - Class in com.vmware.storage
-
This sample demonstrates how to Add/List/Modify/Delete the rules for an
existing SDRS cluster.
- SDRSRules() - Constructor for class com.vmware.storage.SDRSRules
-
- SearchIndex - Class in com.vmware.general
-
SearchIndex
This sample demonstrates the SearchIndex API
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
dcname [required] : name of the datacenter
vmdnsname [optional] : Dns of a virtual machine
hostdnsname [optional] : Dns of the ESX host
vmpath [optional] : Inventory path of a virtual machine
vmip [optional] : IP Address of a virtual machine
Command Line:
Run the search index with dcName myDatacenter
run.bat com.vmware.general.SearchIndex --url [webserviceurl]
--username [username] --password [password] --dcName myDatacenter
Run the search index with dcName myDatacenter and vmpath to virtual machine named Test
run.bat com.vmware.general.SearchIndex --url [webserviceurl]
--username [username] --password [password] --dcName myDatacenter
--vmpath //DatacenterName//vm//Test
Run the search index with dcName myDatacenter and hostdns 'abc.bcd.com'
run.bat com.vmware.general.SearchIndex --url [webserviceurl]
--username [username] --password [password]
--dcName myDatacenter --hostDns abc.bcd.com
Run the search index with dcName myDatacenter and ip of the vm as 111.123.155.21
run.bat com.vmware.general.SearchIndex --url [webserviceurl]
--username [username] --password [password]
--dcName myDatacenter --vmIP 111.123.155.21
- SearchIndex() - Constructor for class com.vmware.general.SearchIndex
-
- SelectionSpecBuilder - Class in com.vmware.connection.helpers.builders
-
- SelectionSpecBuilder() - Constructor for class com.vmware.connection.helpers.builders.SelectionSpecBuilder
-
- selectSet(SelectionSpec...) - Method in class com.vmware.connection.helpers.builders.ObjectSpecBuilder
-
- selectSet(SelectionSpec...) - Method in class com.vmware.connection.helpers.builders.TraversalSpecBuilder
-
- setAction(String) - Method in class com.vmware.general.LicenseManager
-
- setAlarm(String) - Method in class com.vmware.alarms.VMPowerStateAlarm
-
- setAll(Boolean) - Method in class com.vmware.vm.VMPowerOps
-
- setAntialias(boolean) - Method in class com.vmware.performance.widgets.LineChart
-
Sets the antialias flag to control whether or not antialiasing will be
used when rendering the component.
- setAttachEntityName(String) - Method in class com.vmware.host.HostProfileManager
-
- setAttachEntityType(String) - Method in class com.vmware.host.HostProfileManager
-
- setBehavior(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setCimClass(String) - Method in class com.vmware.cim.CIMReader
-
- setCimPort(String) - Method in class com.vmware.cim.CIMReader
-
- setCloneName(String) - Method in class com.vmware.vm.VMClone
-
- setCloneName(String) - Method in class com.vmware.vm.VMLinkedClone
-
- setCluster(String) - Method in class com.vmware.vm.XVCvMotion
-
- setCluster(String) - Method in class com.vmware.vm.XVMotion
-
- setConnect(String) - Method in class com.vmware.vm.VMManageCD
-
- setConnection(Connection) - Method in class com.vmware.connection.ConnectedVimServiceBase
-
A method for dependency injection of the connection object.
- setConnection(Connection) - Method in class com.vmware.connection.ESXHostSampleBase
-
- setControllerKey(String) - Method in class com.vmware.fcd.FcdAttachToVM
-
- setCountername(String) - Method in class com.vmware.performance.History
-
- setCountername(String) - Method in class com.vmware.performance.VIUsage
-
- setCpu(String) - Method in class com.vmware.performance.VITop
-
- setCpuCount(String) - Method in class com.vmware.vm.VMCreate
-
- setCreateHostEntityName(String) - Method in class com.vmware.host.HostProfileManager
-
- setData(Calendar, long, String, List<Object[]>) - Method in class com.vmware.performance.widgets.StatsTable
-
Sets the data.
- setDatacenter(String) - Method in class com.vmware.host.RemoveVirtualNic
-
- setDatacenter(String) - Method in class com.vmware.httpfileaccess.PutVMFiles
-
- setDatacenter(String) - Method in class com.vmware.vm.VMPowerOps
-
- setDataCenterName(String) - Method in class com.vmware.fcd.FcdRegisterLegacyDisk
-
- setDatacentername(String) - Method in class com.vmware.host.AddVirtualNic
-
- setDataCenterName(String) - Method in class com.vmware.vm.VMClone
-
- setDataCenterName(String) - Method in class com.vmware.vm.VMCreate
-
- setDatastore(String) - Method in class com.vmware.httpfileaccess.PutVMFiles
-
- setDatastore(String) - Method in class com.vmware.vapp.OVFManagerImportLocalVApp
-
- setDatastore(String) - Method in class com.vmware.vapp.OVFManagerImportVAppFromUrl
-
- setDataStore(String) - Method in class com.vmware.vm.VMCreate
-
- setDatastoreName(String) - Method in class com.vmware.fcd.FcdAttachToVM
-
- setDatastoreName(String) - Method in class com.vmware.fcd.FcdCreate
-
- setDatastoreName(String) - Method in class com.vmware.fcd.FcdDelete
-
- setDataStoreName(String) - Method in class com.vmware.vm.VMDiskCreate
-
- setDatastoreName(String) - Method in class com.vmware.vm.VMRelocate
-
- setDcName(String) - Method in class com.vmware.general.SearchIndex
-
- setDcName(String) - Method in class com.vmware.host.DVSCreate
-
- setDcName(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setdescendants(Boolean) - Method in class com.vmware.cim.CIMReader
-
- setDescription(String) - Method in class com.vmware.vm.VMSnapshot
-
- setDevice(String) - Method in class com.vmware.vm.VMDeltaDisk
-
- setDevice(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setDevice(String) - Method in class com.vmware.vm.VMReconfig
-
- setDeviceName(String) - Method in class com.vmware.fcd.FcdCreate
-
- setDevicename(String) - Method in class com.vmware.vm.VMDiskCreate
-
- setDeviceName(String) - Method in class com.vmware.vm.VMManageCD
-
- setDirectoryPath(String) - Method in class com.vmware.guest.CreateTemporaryFile
-
- setDiskmode(String) - Method in class com.vmware.vm.VMReconfig
-
- setDiskMoveType(String) - Method in class com.vmware.vm.VMRelocate
-
- setDiskName(String) - Method in class com.vmware.vm.VMDeltaDisk
-
- setDiskNames(String) - Method in class com.vmware.vm.VMPromoteDisks
-
- setDiskSize(String) - Method in class com.vmware.vm.VMCreate
-
- setDiskSize(String) - Method in class com.vmware.vm.VMDiskCreate
-
- setDisksize(String) - Method in class com.vmware.vm.VMReconfig
-
- setDisktype(String) - Method in class com.vmware.vm.VMDiskCreate
-
- setDsname(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setDuration(int) - Method in class com.vmware.performance.History
-
- setDvPGName(String) - Method in class com.vmware.host.NIOCForDVS
-
- setDvsDesc(String) - Method in class com.vmware.host.DVSCreate
-
- setDvsName(String) - Method in class com.vmware.host.DVSCreate
-
- setDvsname(String) - Method in class com.vmware.host.NIOCForDVS
-
- setDvsVersion(String) - Method in class com.vmware.host.DVSCreate
-
- setEnabled(String) - Method in class com.vmware.storage.SDRSRules
-
- setEnableNIOC(String) - Method in class com.vmware.host.NIOCForDVS
-
- setEntityname(String) - Method in class com.vmware.general.Move
-
- setEntityname(String) - Method in class com.vmware.general.Rename
-
- setEntityname(String) - Method in class com.vmware.performance.PrintCounters
-
- setEntitytype(String) - Method in class com.vmware.performance.PrintCounters
-
- setExtension(String) - Method in class com.vmware.general.PropertyCollector
-
- setFcdName(String) - Method in class com.vmware.fcd.FcdRegisterLegacyDisk
-
- setFeature(String) - Method in class com.vmware.general.LicenseManager
-
- setFilename(String) - Method in class com.vmware.host.AcquireSessionInfo
-
- setFilename(String) - Method in class com.vmware.performance.PrintCounters
-
- setFoldername(String) - Method in class com.vmware.general.Move
-
- setGroupname(String) - Method in class com.vmware.performance.History
-
- setGuestConnection(GuestConnection) - Method in class com.vmware.guest.CreateTemporaryFile
-
- setGuestConnection(GuestConnection) - Method in class com.vmware.guest.DownloadGuestFile
-
- setGuestConnection(GuestConnection) - Method in class com.vmware.guest.RunProgram
-
- setGuestConnection(GuestConnection) - Method in class com.vmware.guest.UploadGuestFile
-
- setGuestFilePath(String) - Method in class com.vmware.guest.DownloadGuestFile
-
- setGuestFilePath(String) - Method in class com.vmware.guest.UploadGuestFile
-
- setGuestId(String) - Method in class com.vmware.vm.VMPowerOps
-
- setGuestOsId(String) - Method in class com.vmware.vm.VMCreate
-
- setGuestProgramPath(String) - Method in class com.vmware.guest.RunProgram
-
- setGuestType(String) - Method in class com.vmware.guest.UploadGuestFile
-
- setHost(String) - Method in class com.vmware.cim.CIMReader
-
- setHost(String) - Method in class com.vmware.host.AddVirtualSwitch
-
- setHost(String) - Method in class com.vmware.host.AddVirtualSwitchPortGroup
-
- setHost(String) - Method in class com.vmware.host.RemoveVirtualNic
-
- setHost(String) - Method in class com.vmware.host.RemoveVirtualSwitch
-
- setHost(String) - Method in class com.vmware.host.RemoveVirtualSwitchPortGroup
-
- setHost(String) - Method in class com.vmware.vapp.OVFManagerExportVAPP
-
- setHost(String) - Method in class com.vmware.vapp.OVFManagerExportVMDK
-
- setHost(String) - Method in class com.vmware.vapp.OVFManagerImportLocalVApp
-
- setHost(String) - Method in class com.vmware.vapp.OVFManagerImportVAppFromUrl
-
- setHost(String) - Method in class com.vmware.vm.VMPowerOps
-
- setHostConnection(Boolean) - Method in class com.vmware.connection.ConnectedVimServiceBase
-
- setHostDnsName(String) - Method in class com.vmware.general.SearchIndex
-
- setHostLimit(String) - Method in class com.vmware.host.NIOCForDVS
-
- setHostname(String) - Method in class com.vmware.host.AcquireSessionInfo
-
- setHostname(String) - Method in class com.vmware.host.AddVirtualNic
-
- setHostname(String) - Method in class com.vmware.performance.Basics
-
- setHostname(String) - Method in class com.vmware.performance.History
-
- setHostname(String) - Method in class com.vmware.performance.VITop
-
- setHostname(String) - Method in class com.vmware.performance.VIUsage
-
- setHostname(String) - Method in class com.vmware.scsilun.SCSILunName
-
- setHostName(String) - Method in class com.vmware.simpleagent.SimpleAgent
-
- setHostname(String) - Method in class com.vmware.vm.VMCreate
-
- setHostSystemAttributesList() - Method in class com.vmware.general.GetHostName
-
- setImagePath(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setInfo(String) - Method in class com.vmware.host.AcquireSessionInfo
-
- setInfo(String) - Method in class com.vmware.performance.Basics
-
- setInstance(String) - Method in class com.vmware.cim.CIMReader
-
- setInteractive(String) - Method in class com.vmware.guest.RunProgram
-
- setInterval(String) - Method in class com.vmware.performance.History
-
- setIoLatencyThreshold(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setIoLoadImbalanceThreshold(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setIpaddress(String) - Method in class com.vmware.host.AddVirtualNic
-
- setIsoPath(String) - Method in class com.vmware.vm.VMManageCD
-
- setItemName(String) - Method in class com.vmware.general.Create
-
- setItemType(String) - Method in class com.vmware.general.Create
-
- setLabel(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setLabelName(String) - Method in class com.vmware.vm.VMManageCD
-
- setLegacyDiskFileName(String) - Method in class com.vmware.fcd.FcdRegisterLegacyDisk
-
- setLicenseKey(String) - Method in class com.vmware.general.Create
-
- setLicenseKey(String) - Method in class com.vmware.general.LicenseManager
-
- setLicKey() - Method in class com.vmware.general.LicenseManager
-
- setLoadBalanceInterval(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setLocalFilePath(String) - Method in class com.vmware.guest.DownloadGuestFile
-
- setLocalFilePath(String) - Method in class com.vmware.guest.UploadGuestFile
-
- setLocalOutputFilePath(String) - Method in class com.vmware.guest.RunProgram
-
- setLocalPath(String) - Method in class com.vmware.httpfileaccess.GetVMFiles
-
- setLocalPath(String) - Method in class com.vmware.httpfileaccess.PutVMFiles
-
- setLocalpath(String) - Method in class com.vmware.vapp.OVFManagerExportVAPP
-
- setLocalPath(String) - Method in class com.vmware.vapp.OVFManagerExportVMDK
-
- setLocalPath(String) - Method in class com.vmware.vapp.OVFManagerImportLocalVApp
-
- setManagedEntityName(String) - Method in class com.vmware.general.Delete
-
- setMaxObjects(String) - Method in class com.vmware.general.PropertyCollector
-
- setMemory(String) - Method in class com.vmware.performance.VITop
-
- setMemorySize(String) - Method in class com.vmware.vm.VMCreate
-
- setMinSpaceUtilizationDifference(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setNamespace(String) - Method in class com.vmware.cim.CIMReader
-
- setNewentityname(String) - Method in class com.vmware.general.Rename
-
- setNewRuleName(String) - Method in class com.vmware.storage.SDRSRules
-
- setNoOfPorts(String) - Method in class com.vmware.host.DVSCreate
-
- setNoofTasks(String) - Method in class com.vmware.general.PropertyCollector
-
- setNrpAllocationShareLevel(String) - Method in class com.vmware.host.NIOCForDVS
-
- setNrpDesc(String) - Method in class com.vmware.host.NIOCForDVS
-
- setNrpName(String) - Method in class com.vmware.host.NIOCForDVS
-
- setObjectname(String) - Method in class com.vmware.general.RemoveManagedObject
-
- setObjecttype(String) - Method in class com.vmware.general.RemoveManagedObject
-
- setOperation(String) - Method in class com.vmware.general.RemoveManagedObject
-
- setOperation(String) - Method in class com.vmware.vm.VMManageCD
-
- setOperation(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setOperation(String) - Method in class com.vmware.vm.VMPowerOps
-
- setOperation(String) - Method in class com.vmware.vm.VMReconfig
-
- setOperation(String) - Method in class com.vmware.vm.VMSnapshot
-
- setOption(String) - Method in class com.vmware.host.DVSCreate
-
- setOption(String) - Method in class com.vmware.host.NIOCForDVS
-
- setOption(String) - Method in class com.vmware.storage.SDRSRules
-
- setOverwrite(Boolean) - Method in class com.vmware.guest.UploadGuestFile
-
- setParentName(String) - Method in class com.vmware.general.Create
-
- setPass(String) - Method in class com.vmware.simpleagent.CreateUser
-
- setPassword(String) - Method in class com.vmware.connection.BasicConnection
-
- setPassword(String) - Method in interface com.vmware.connection.Connection
-
- setPassword(String) - Method in class com.vmware.connection.SsoConnection
-
- setPassword(String) - Method in class com.vmware.guest.GuestConnection
-
- setPersistence(String) - Method in class com.vmware.vm.VMDiskCreate
-
- setPodName(String) - Method in class com.vmware.storage.SDRSRecommendation
-
- setPodName(String) - Method in class com.vmware.storage.SDRSRules
-
- setPortgroupname(String) - Method in class com.vmware.host.AddVirtualNic
-
- setPortgroupname(String) - Method in class com.vmware.host.AddVirtualSwitchPortGroup
-
- setPortGroupName(String) - Method in class com.vmware.host.DVSCreate
-
- setPortgroupname(String) - Method in class com.vmware.host.RemoveVirtualNic
-
- setPortgroupname(String) - Method in class com.vmware.host.RemoveVirtualSwitchPortGroup
-
- setPrefix(String) - Method in class com.vmware.guest.CreateTemporaryFile
-
- setPriority(String) - Method in class com.vmware.vm.VMotion
-
- setPrioritytag(String) - Method in class com.vmware.host.NIOCForDVS
-
- setProvisioningType(String) - Method in class com.vmware.fcd.FcdCreate
-
- setRemote(String) - Method in class com.vmware.vm.VMManageCD
-
- setRemote(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setRemoteUrl(String) - Method in class com.vmware.vm.XVCvMotion
-
- setRemovechild(String) - Method in class com.vmware.vm.VMSnapshot
-
- setRpassword(String) - Method in class com.vmware.vm.XVCvMotion
-
- setRuleName(String) - Method in class com.vmware.storage.SDRSRules
-
- setRuser(String) - Method in class com.vmware.vm.XVCvMotion
-
- setSdrsname(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setServer(String) - Method in class com.vmware.simpleagent.CreateUser
-
- setSetConnect(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setSnapshotName(String) - Method in class com.vmware.vm.VMLinkedClone
-
- setSnapshotname(String) - Method in class com.vmware.vm.VMSnapshot
-
- setSourceHost(String) - Method in class com.vmware.vm.VMotion
-
- setSpaceUtilizationThreshold(String) - Method in class com.vmware.storage.CreateStorageDRS
-
- setStartConnected(String) - Method in class com.vmware.vm.VMManageCD
-
- setStartConnected(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setStarttime(int) - Method in class com.vmware.performance.History
-
- setState(String) - Method in class com.vmware.vm.VMotion
-
- setSuffix(String) - Method in class com.vmware.guest.CreateTemporaryFile
-
- setTargetDS(String) - Method in class com.vmware.vm.VMotion
-
- setTargetFolder(String) - Method in class com.vmware.vm.XVCvMotion
-
- setTargetHost(String) - Method in class com.vmware.vm.VMotion
-
- setTargetPool(String) - Method in class com.vmware.vm.VMotion
-
- setTaskName(String) - Method in class com.vmware.scheduling.DeleteOneTimeScheduledTask
-
- setTaskName(String) - Method in class com.vmware.scheduling.OneTimeScheduledTask
-
- setTaskName(String) - Method in class com.vmware.scheduling.WeeklyRecurrenceScheduledTask
-
- setThumbprint(String) - Method in class com.vmware.vm.XVCvMotion
-
- setUnitNumber(String) - Method in class com.vmware.fcd.FcdAttachToVM
-
- setUnLink(String) - Method in class com.vmware.vm.VMPromoteDisks
-
- setUpdateType(String) - Method in class com.vmware.general.PropertyCollector
-
- setupVimService(Element, SSOHeaderHandler...) - Method in class com.vmware.connection.SsoConnection
-
sets up a VIM service registering handlers and handler resolvers.
- setUrl(String) - Method in class com.vmware.connection.BasicConnection
-
- setUrl(String) - Method in interface com.vmware.connection.Connection
-
- setUrl(String) - Method in class com.vmware.connection.SsoConnection
-
- setUrlPath(String) - Method in class com.vmware.vapp.OVFManagerImportVAppFromUrl
-
- setUser(String) - Method in class com.vmware.simpleagent.CreateUser
-
- setUsername(String) - Method in class com.vmware.connection.BasicConnection
-
- setUsername(String) - Method in interface com.vmware.connection.Connection
-
- setUsername(String) - Method in class com.vmware.connection.SsoConnection
-
- setUsername(String) - Method in class com.vmware.guest.GuestConnection
-
- setValue(String) - Method in class com.vmware.vm.VMReconfig
-
- setValues(int[], long) - Method in class com.vmware.performance.widgets.LineChart
-
Sets the data samples to be displayed by the line chart.
- setvApp(String) - Method in class com.vmware.vapp.OVFManagerExportVAPP
-
- setVappName(String) - Method in class com.vmware.vapp.OVFManagerImportLocalVApp
-
- setVappName(String) - Method in class com.vmware.vapp.OVFManagerImportVAppFromUrl
-
- setVerbose(Boolean) - Method in class com.vmware.httpfileaccess.PutVMFiles
-
- setVirtualmachinename(String) - Method in class com.vmware.performance.RealTime
-
- setVirtualMachineName(String) - Method in class com.vmware.vm.VMCreate
-
- setVirtualMachineName(String) - Method in class com.vmware.vm.VMDiskCreate
-
- setVirtualMachineName(String) - Method in class com.vmware.vm.VMLinkedClone
-
- setVirtualMachineName(String) - Method in class com.vmware.vm.VMManageCD
-
- setVirtualmachinename(String) - Method in class com.vmware.vm.VMManageFloppy
-
- setVirtualMachineName(String) - Method in class com.vmware.vm.VMSnapshot
-
- setVirtualswitchid(String) - Method in class com.vmware.host.AddVirtualSwitch
-
- setVirtualswitchid(String) - Method in class com.vmware.host.AddVirtualSwitchPortGroup
-
- setVirtualswitchid(String) - Method in class com.vmware.host.RemoveVirtualSwitch
-
- setVmDnsName(String) - Method in class com.vmware.general.SearchIndex
-
- setVmIP(String) - Method in class com.vmware.general.SearchIndex
-
- setVmList(String) - Method in class com.vmware.storage.SDRSRules
-
- setVmname(String) - Method in class com.vmware.alarms.VMPowerStateAlarm
-
- setVmName(String) - Method in class com.vmware.events.VMEventHistoryCollectorMonitor
-
- setVmName(String) - Method in class com.vmware.fcd.FcdAttachToVM
-
- setVmName(String) - Method in class com.vmware.fcd.FcdDetachFromVM
-
- setVmname(String) - Method in class com.vmware.general.GetUpdates
-
- setVmName(String) - Method in class com.vmware.general.PropertyCollector
-
- setVmname(String) - Method in class com.vmware.guest.GuestConnection
-
- setVmName(String) - Method in class com.vmware.httpfileaccess.GetVMFiles
-
- setVmName(String) - Method in class com.vmware.httpfileaccess.PutVMFiles
-
- setVmName(String) - Method in class com.vmware.scheduling.OneTimeScheduledTask
-
- setVmName(String) - Method in class com.vmware.scheduling.WeeklyRecurrenceScheduledTask
-
- setVmName(String) - Method in class com.vmware.storage.SDRSRules
-
- setVmname(String) - Method in class com.vmware.vapp.OVFManagerExportVMDK
-
- setVmName(String) - Method in class com.vmware.vm.VMDeltaDisk
-
- setVmName(String) - Method in class com.vmware.vm.VMotion
-
- setVmName(String) - Method in class com.vmware.vm.VMPowerOps
-
- setVmName(String) - Method in class com.vmware.vm.VMPromoteDisks
-
- setVmName(String) - Method in class com.vmware.vm.VMReconfig
-
- setVmname(String) - Method in class com.vmware.vm.VMRelocate
-
- setVmName(String) - Method in class com.vmware.vm.XVCvMotion
-
- setVmName(String) - Method in class com.vmware.vm.XVMotion
-
- setVmPath(String) - Method in class com.vmware.general.SearchIndex
-
- setVmPathName(String) - Method in class com.vmware.vm.VMClone
-
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdAttachToVM
-
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdDelete
-
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdDetachFromVM
-
- setVStorageObjectName(String) - Method in class com.vmware.fcd.FcdCreate
-
- setVStorageObjectSize(long) - Method in class com.vmware.fcd.FcdCreate
-
- SimpleAgent - Class in com.vmware.simpleagent
-
SimpleAgent
The SimpleAgent class uses the local credential store to obtain user account
and password information, for automated logon to the target host system.
- SimpleAgent() - Constructor for class com.vmware.simpleagent.SimpleAgent
-
- SimpleClient - Class in com.vmware.general
-
SimpleClient
This sample lists the inventory contents (managed entities)
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
Command Line:
run.bat com.vmware.general.SimpleClient
--url [webserviceurl] --username [username] --password [password]
- SimpleClient() - Constructor for class com.vmware.general.SimpleClient
-
- skip(Boolean) - Method in class com.vmware.connection.helpers.builders.ObjectSpecBuilder
-
- skip(Boolean) - Method in class com.vmware.connection.helpers.builders.TraversalSpecBuilder
-
- SSO_URL - Static variable in class com.vmware.connection.SsoConnection
-
- SsoConnection - Class in com.vmware.connection
-
Demonstrates SSO with vCenter's SSO service.
- SsoConnection() - Constructor for class com.vmware.connection.SsoConnection
-
- SsoConnection.SSOLoginException - Exception in com.vmware.connection
-
thrown when a login has failed for a reason
- SsoConnection.SSOLoginException(String, Throwable) - Constructor for exception com.vmware.connection.SsoConnection.SSOLoginException
-
- SsoConnection.SSOLogoutException - Exception in com.vmware.connection
-
thrown on logout when something fails
- SsoConnection.SSOLogoutException(String, Throwable) - Constructor for exception com.vmware.connection.SsoConnection.SSOLogoutException
-
- StatsTable - Class in com.vmware.performance.widgets
-
The Class StatsTable.
- StatsTable(String[]) - Constructor for class com.vmware.performance.widgets.StatsTable
-
Instantiates a new stats table.
- stop() - Method in class com.vmware.connection.KeepAlive
-
signals the embedded thread to stop
- subject(HostServiceTicket) - Method in class com.vmware.cim.helpers.GetCim
-
A subject is an authentication construct.
- subject(String, String) - Method in class com.vmware.cim.helpers.GetCim
-
Builds a security subject object based on the principal name and credential you pass.
- suspendPoweredOnGuestVMs(ManagedObjectReference) - Method in class com.vmware.host.HostProfileManager
-
- SVC_INST_NAME - Static variable in class com.vmware.connection.ConnectedVimServiceBase
-
- SVC_INST_NAME - Variable in class com.vmware.general.PropertyCollector
-
- SVC_INST_NAME - Variable in class com.vmware.general.RemoveManagedObject
-
- SVC_INST_NAME - Variable in class com.vmware.general.SearchIndex
-
- validate() - Method in class com.vmware.general.PropertyCollector
-
- validateObjectType(String) - Method in class com.vmware.general.RemoveManagedObject
-
- validateTheInput() - Method in class com.vmware.general.RemoveManagedObject
-
- VCENTER_API_TYPE - Static variable in class com.vmware.connection.helpers.ApiValidator
-
- vCenterCheck() - Method in class com.vmware.cim.helpers.GetHost
-
throws an IsNotvCenterCheck if we are NOT talking to a vCenter instance
- VCenterSampleBase - Class in com.vmware.connection
-
Some samples must use a VCenter to make any sense.
- VCenterSampleBase() - Constructor for class com.vmware.connection.VCenterSampleBase
-
- VITop - Class in com.vmware.performance
-
VITop
This sample is an ESX-Top-like application that lets administrators specify
the CPU and memory counters by name to obtain metrics for a specified host
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
host [required] : name of the host
cpu [required] : CPU counter name
e.g.
- VITop() - Constructor for class com.vmware.performance.VITop
-
- VIUsage - Class in com.vmware.performance
-
VIUsage
This sample creates a GUI for graphical representation of the counters
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
host [required] : Name of the host
counter [required] : Full counter name in dotted notation
(group.counter.rollup)
e.g.
- VIUsage() - Constructor for class com.vmware.performance.VIUsage
-
- vmByVMname(String, ManagedObjectReference) - Method in class com.vmware.connection.helpers.GetMOREF
-
Get the MOR of the Virtual Machine by its name.
- VMClone - Class in com.vmware.vm
-
VMClone
This sample makes a template of an existing VM and
deploy multiple instances of this template onto a datacenter
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
datacentername [required] : name of Datacenter
vmpath [required] : inventory path of the VM
clonename [required] : name of the clone
Command Line:
java com.vmware.vm.VMClone --url [webserviceurl]
--username [username] --password [password]
--datacentername [DatacenterName]"
--vmpath [vmPath] --clonename [CloneName]
- VMClone() - Constructor for class com.vmware.vm.VMClone
-
- VMCreate - Class in com.vmware.vm
-
VMCreate
This sample creates a VM
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : Name of the virtual machine
datacentername [required] : Name of the datacenter
hostname [required] : Name of the host
guestosid [optional] : Type of Guest OS
cpucount [optional] : Total cpu count
disksize [optional] : Size of the Disk
memorysize [optional] : Size of the Memory in 1024MB blocks
datastorename [optional] : Name of dataStore
Command Line:
Create a VM given datacenter and host names
run.bat com.vmware.vm.VMCreate --url [webserviceurl]
--username [username] --password [password] --vmname [vmname]
--datacentername [DataCenterName] --hostname [hostname]
Create a VM given its name, Datacenter name and GuestOsId
run.bat com.vmware.vm.VMCreate --url [webserviceurl]
--username [username] --password [password] --vmname [vmname]
--datacentername [DataCenterName] --guestosid [GuestOsId]
Create a VM given its name, Datacenter name and its cpucount
run.bat com.vmware.vm.VMCreate --url [webserviceurl]
--username [username] --password [password] --vmname [vmname]
--datacentername [DataCenterName] --cpucount [cpucount]
- VMCreate() - Constructor for class com.vmware.vm.VMCreate
-
- VMDeltaDisk - Class in com.vmware.vm
-
VMDeltaDisk
This sample creates a delta disk on top of an existing virtual disk in a VM,
and simultaneously removes the original disk using the reconfigure API.
- VMDeltaDisk() - Constructor for class com.vmware.vm.VMDeltaDisk
-
- VMDiskCreate - Class in com.vmware.vm
-
VMDiskCreate
This sample demonstrates how to create a virtual disk
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : Name of the virtual machine
datastorename [optional] : name of the DataStore
disksize [required] : Size of the virtual disk in MB
disktype [optional] : Virtual Disk Type
[thin | preallocated | eagerzeroed | rdm | rdmp]
persistence [optional] : Persistence mode of the virtual disk
[persistent | independent_persistent | independent_nonpersistent]
devicename [optional] : Canonical name of the LUN to use for disk types
Command Line:
VMDiskCreate --url [webserviceurl]
--username [username] --password [password]
--vmname [vmname] --disksize [8]
--disktype [thin | preallocated | eagerzeroed | rdm | rdmp]
--persistence [persistent | independent_persistent | independent_nonpersistent]
--devicename vmhba0:0:0:0
- VMDiskCreate() - Constructor for class com.vmware.vm.VMDiskCreate
-
- VMEventHistoryCollectorMonitor - Class in com.vmware.events
-
VMEventHistoryCollectorMonitor
This sample is responsible for creating EventHistoryCollector
filtered for a single VM and monitoring Events using the
latestPage attribute of the EventHistoryCollector.
- VMEventHistoryCollectorMonitor() - Constructor for class com.vmware.events.VMEventHistoryCollectorMonitor
-
- VMLinkedClone - Class in com.vmware.vm
-
VMLinkedClone
This sample creates a linked clone from an existing snapshot
Each independent disk needs a DiskLocator with
diskmovetype as moveAllDiskBackingsAndDisallowSharing
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : Name of the virtual machine
snapshotname [required] : Name of the snaphot
clonename [required] : Name of the cloneName
Command Line:
Create a linked clone
run.bat com.vmware.vm.VMLinkedClone --url [webserviceurl]
--username [username] --password [password] --vmname [myVM]
--snapshotname [snapshot name] --clonename [clone name]
- VMLinkedClone() - Constructor for class com.vmware.vm.VMLinkedClone
-
- VMManageCD - Class in com.vmware.vm
-
VMManageCD
This sample adds / removes CDROM to / from an existing VM
This sample lists information about a VMs CDROMs
This sample updates an existing CDROM a VM
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : name of the virtual machine
operation [required] : operation type - [get|add|remove|set]
isopath [optional] : full datastore path to the iso file
remote [optional] : Specify the device is a remote or client device or iso
startconnected [optional] : virtual CD starts connected when VM powers on
connect [optional] : virtual CD is connected after creation or update
Set only if VM is powered on
label [optional] : used to find the device.key value
devicename [optional] : Specify the path to the CD on the VM's host
Command Line:
Get CD-Rom Info");
run.bat com.vmware.vm.VMManageCD
--url [webserviceurl] --username [username] --password [password]
--operation get --vmname [Virtual Machine Name]
Add CD-Rom
run.bat com.vmware.vm.VMManageCD
--url [webserviceurl] --username [username] --password [password]
--operation add --vmname [Virtual Machine Name]
--isoPath "[datastore1] test.iso" --remote false --connect true
Remove CD-Rom
run.bat com.vmware.vm.VMManageCD
--url [webserviceurl] --username [username] --password [password]
--operation remove --vmname [Virtual Machine Name]
--label CD\\DVD Drive 1
Reconfigure CD-Rom
run.bat com.vmware.vm.VMManageCD
--url [webserviceurl] --username [username] --password [password]
--operation set --vmname [Virtual Machine Name]
--label CD\\DVD Drive 1 --connect false
- VMManageCD() - Constructor for class com.vmware.vm.VMManageCD
-
- VMManageFloppy - Class in com.vmware.vm
-
VMManageFloppy
This sample adds / removes floppy to / from an existing VM
This sample lists information about a VMs Floppies
This sample updates an existing floppy drive on a VM
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : name of the virtual machine
operation [required] : operation type - [get|add|remove|set]
imgpath [optional] : path of image file
remote [optional] : device is a remote or client device or iso
startconnected [optional] : virtual floppy starts connected on VM poweron
connect [optional] : virtual floppy is connected
Set only if the VM is powered on
label [optional] : used to find the device.key value
device [optional] : path to the floppy on the VM's host
Command Line:
Get Floppy Info");
run.bat com.vmware.vm.VMManageFloppy
--url [webserviceurl] --username [username] --password [password]
--operation get --vmname [Virtual Machine Name]
Add Floppy
run.bat com.vmware.vm.VMManageFloppy
--url [webserviceurl] --username [username] --password [password]
--operation add --vmname [Virtual Machine Name]
--imgpath test.flp --remote false --connect true
Remove Floppy
run.bat com.vmware.vm.VMManageFloppy
--url [webserviceurl] --username [username] --password [password]
--operation remove --vmname [Virtual Machine Name]
--label Floppy Drive 1
Reconfigure Floppy
run.bat com.vmware.vm.VMManageFloppy
--url [webserviceurl] --username [username] --password [password]
--operation set --vmname [Virtual Machine Name]
--label Floppy Drive 1 --connect false
- VMManageFloppy() - Constructor for class com.vmware.vm.VMManageFloppy
-
- VMotion - Class in com.vmware.vm
-
VMotion
Used to validate if VMotion is feasible between two hosts or not,
It is also used to perform migrate/relocate task depending on the data given
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : name of the virtual machine
targethost [required] : Name of the target host
sourcehost [required] : Name of the host containing the virtual machine
targetpool [required] : Name of the target resource pool
targetdatastore [required] : Name of the target datastore
priority [required] : The priority of the migration task:-
default_Priority, high_Priority,low_Priority
state [optional]
Command Line:
run.bat com.vmware.vm.VMotion --url [URLString] --username [User] --password [Password]
--vmname [VMName] --targethost [Target host] --sourcehost [Source host] --targetpool [Target resource pool]
--targetdatastore [Target datastore] --priority [Migration task priority] --state
- VMotion() - Constructor for class com.vmware.vm.VMotion
-
- VMPowerOps - Class in com.vmware.vm
-
VMPowerOps
Demonstrates VirtualMachine Power operations on multiple Virtual Machines.
- VMPowerOps() - Constructor for class com.vmware.vm.VMPowerOps
-
- VMPowerStateAlarm - Class in com.vmware.alarms
-
VMPowerStateAlarm
This sample which creates an Alarm to monitor the virtual machine's power state
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : Name of the virtual machine
alarm [required] : Name of the alarms
Command Line:
Create an alarm AlarmABC on a virtual machine
run.bat com.vmware.vm.VMPowerStateAlarm --url [webserviceurl]
--username [username] --password [password] --vmname [vmname] --alarm [alarm]
- VMPowerStateAlarm() - Constructor for class com.vmware.alarms.VMPowerStateAlarm
-
- VMPromoteDisks - Class in com.vmware.vm
-
VMPromoteDisks
Used to consolidate a linked clone by using promote API.
- VMPromoteDisks() - Constructor for class com.vmware.vm.VMPromoteDisks
-
- VMReconfig - Class in com.vmware.vm
-
VMReconfig
Reconfigures a virtual machine, which include reconfiguring the disk size, disk mode, etc.
- VMReconfig() - Constructor for class com.vmware.vm.VMReconfig
-
- VMRelocate - Class in com.vmware.vm
-
VMRelocate
Used to relocate a linked clone using disk move type
Parameters:
url [required] : url of the web service
username [required] : username for the authentication
password [required] : password for the authentication
vmname [required] : name of the virtual machine
diskmovetype [required] : Either of
[moveChildMostDiskBacking | moveAllDiskBackingsAndAllowSharing]
datastorename [required] : Name of the datastore
Command Line:
run.bat com.vmware.vm.VMRelocate --url [URLString] --username [User] --password [Password]
--vmname [VMName] --diskmovetype [DiskMoveType] --datastorename [Datastore]
- VMRelocate() - Constructor for class com.vmware.vm.VMRelocate
-
- VMSnapshot - Class in com.vmware.vm
-
VMSnapshot
This sample demonstrates VM snapshot operations
Parameters:
url [required] : url of the web service.
- VMSnapshot() - Constructor for class com.vmware.vm.VMSnapshot
-