A B C D E F G H I K L M N O P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- 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 or a DVPortGroup 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 [required] : Name of the host 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] --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(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
- 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.
- 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
B
- BaseHelper - Class in com.vmware.connection.helpers
- BaseHelper(Connection) - Constructor for class com.vmware.connection.helpers.BaseHelper
- BaseHelper.HelperException - Exception in com.vmware.connection.helpers
- baseObjectPath(URL, String) - Method in class com.vmware.cim.helpers.GetCim
-
Note base + namespace must make sense.
- BasicConnection - Class in com.vmware.connection
-
This simple object shows how to set up a vSphere connection as it was done in vSphere 4.x and is provided as a reference for anyone working with older vSphere servers that do not support modern SSO features.
- BasicConnection() - Constructor for class com.vmware.connection.BasicConnection
- basicConnectionFromConnection(Connection) - Method in class com.vmware.connection.ConnectedVimServiceBase
- Basics - Class in com.vmware.performance
-
Basics This sample displays available performance counters or other data for an requested ESX system.
- Basics() - Constructor for class com.vmware.performance.Basics
- Browser - Class in com.vmware.general
-
Browser This sample prints managed entity, its type, reference value, property name, Property Value, Inner Object Type, its Inner Reference Value and inner property value 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.Browser --url [webserviceurl] --username [username] --password [password]
- Browser() - Constructor for class com.vmware.general.Browser
- buildFullTraversal() - Method in class com.vmware.general.PropertyCollector
- buildPropertySpecArray(String[][]) - Method in class com.vmware.general.PropertyCollector
- byName(String) - Method in class com.vmware.cim.helpers.GetHost
-
given a hostname or IP address, returns the managed object ref for that host using the connection fed to the constructor.
C
- 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(HostServiceTicket, URL, String) - Method in class com.vmware.cim.helpers.GetCim
- 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(HostServiceTicket, CIMObjectPath) - Method in class com.vmware.cim.helpers.GetCim
-
Creates a web client using the HostServiceTicket object.
- 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(String, String, URL, String) - 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(String, String, CIMObjectPath) - Method in class com.vmware.cim.helpers.GetCim
-
Creates a web client using username, password, and a path
- 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(Subject, CIMObjectPath) - 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.hci - package com.vmware.hci
- 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
- 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) - Constructor for exception com.vmware.connection.ConnectedVimServiceBase.ConnectionException
- ConnectionException(String, Throwable) - Constructor for exception com.vmware.connection.ConnectionException
- ConnectionException(Throwable) - Constructor for exception com.vmware.connection.ConnectedVimServiceBase.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() - Method in class com.vmware.general.Create
- 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
- 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() - Method in class com.vmware.simpleagent.CreateUser
- 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
- 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
D
- decrypt(byte[]) - Method in class com.vmware.security.credstore.CredentialStoreCipher
- DEFAULT_INTERVAL - Static variable in class com.vmware.connection.KeepAlive
- Delete - Class in com.vmware.general
-
Delete This sample deletes the specified managed entity from the inventory tree The managed entity can be a virtual machine, ClusterComputeResource or a Folder Parameters url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication entityname [required] : Virtual Machine|ClusterComputeResource|Folder Command Line: To delete a folder named 'testFolder' run.bat com.vmware.general.Delete --url [webserviceurl] --username [username] --password [password] --entityname [testFolder] To delete a datacenter named myData run.bat com.vmware.general.Delete --url [webserviceurl] --username [username] --password [password] --entityname [myData]
- Delete() - Constructor for class com.vmware.general.Delete
- deleteManagedEntity() - Method in class com.vmware.general.Delete
- deleteManagedObjectReference() - Method in class com.vmware.general.RemoveManagedObject
- DeleteOneTimeScheduledTask - Class in com.vmware.scheduling
-
DeleteOneTimeScheduledTask This sample demonstrates deleting a scheduled task Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication taskname [required] : name of the task to be deleted Command Line: run.bat com.vmware.scheduling.DeleteOneTimeScheduledTask --url [webserviceurl] --username [username] --password [password] --taskname [TaskToBeDeleted]
- DeleteOneTimeScheduledTask() - Constructor for class com.vmware.scheduling.DeleteOneTimeScheduledTask
- disconnect() - Method in class com.vmware.connection.BasicConnection
- disconnect() - Method in class com.vmware.connection.ConnectedVimServiceBase
-
disconnects this object and returns a reference to itself for method chaining
- disconnect() - Method in interface com.vmware.connection.Connection
- disconnect() - Method in class com.vmware.connection.SsoConnection
-
properly disconnect the connection and set stale objects to "null" to help the garbage collector in resource constrained environments.
- displayFeatureInfo() - Method in class com.vmware.general.LicenseManager
- displayLicenseUsage() - Method in class com.vmware.general.LicenseManager
- displayUsage() - Method in class com.vmware.performance.VIUsage
- doOperations() - Method in class com.vmware.general.PropertyCollector
- DownloadGuestFile - Class in com.vmware.guest
-
DownloadGuestFile This sample downloads a file from the guest to a specified path on the host where the client is running.
- DownloadGuestFile() - Constructor for class com.vmware.guest.DownloadGuestFile
- DVSCreate - Class in com.vmware.host
-
This sample demonstrates how to create/update Distributed Virtual Switch Parameters: url [required]: url of the web service.
- DVSCreate() - Constructor for class com.vmware.host.DVSCreate
E
- encrypt(byte[]) - Method in class com.vmware.security.credstore.CredentialStoreCipher
-
Uses the RC4 Encrypt and Decrypt routines found in the javax.crypto package.
- entityProps(ManagedObjectReference, String[]) - Method in class com.vmware.connection.helpers.GetMOREF
-
Method to retrieve properties of a
ManagedObjectReference - entityProps(List<ManagedObjectReference>, String[]) - Method in class com.vmware.connection.helpers.GetMOREF
-
Method to retrieve properties of list of
ManagedObjectReference - ESXHostSampleBase - Class in com.vmware.connection
-
Some API samples only make sense when used with an ESX(i) Host Samples based on this class will only function when connected to an ESX/ESXi host.
- ESXHostSampleBase() - Constructor for class com.vmware.connection.ESXHostSampleBase
- EventFormat - Class in com.vmware.events
-
EventFormat This sample retrieves and formats the lastEvent from Hostd or Vpxd Parameters: url [required] : url of the web service.
- EventFormat() - Constructor for class com.vmware.events.EventFormat
- EventHistoryCollectorMonitor - Class in com.vmware.events
-
EventHistoryCollectorMonitor This sample demonstrates how to create and monitor an EventHistoryCollector This sample uses the latestPage property of the EventHistoryCollector to filter the Events 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.vm.EventHistoryCollectorMonitor --url [webserviceurl] --username [username] --password [password]
- EventHistoryCollectorMonitor() - Constructor for class com.vmware.events.EventHistoryCollectorMonitor
- exitMaintenanceMode(ManagedObjectReference) - Method in class com.vmware.host.HostProfileManager
F
- FcdAttachToVM - Class in com.vmware.fcd
-
FcdAttachToVM This sample attaches a given virtual storage object to the given virtual machine.
- FcdAttachToVM() - Constructor for class com.vmware.fcd.FcdAttachToVM
- FcdClone - Class in com.vmware.fcd
-
FcdClone This sample clones a virtual storage object.
- FcdClone() - Constructor for class com.vmware.fcd.FcdClone
- FcdCreate - Class in com.vmware.fcd
-
FcdCreate This sample creates a virtual storage object Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication vstorageobjectname [required] : Name of the disk datastorename [required] : Name of the datastore vstorageobjectsizeinMB [required] : Size of the disk(in MB) provisioningtype [optional] : Type of provisioning for the disk [thin | eagerZeroedThick | lazyZeroedThick | virtualMode | physicalMode] devicename [optional] : Canonical name of the LUN to use for disk types Command Line: Create a disk (virtual storage object) given vstorageobject name, datastore name and vstorageobject size run.bat com.vmware.vm.FcdCreate --url [webserviceurl] --username [username] --password [password] --vstorageobjectname [vstorageobjectname] --datastorename [datastorename] --vstorageobject [vstorageobject] Create a disk (virtual storage object) given vstorageobject name, datastore names, vstorageobject size and provisioning type of vstorageobject run.bat com.vmware.vm.FcdCreate --url [webserviceurl] --username [username] --password [password] --vstorageobjectname [vstorageobjectname] --datastorename [datastorename] --vstorageobject [vstorageobject] --provisioningtype [provisioningtype] --devicename [devicename] Ex: devicename :: vmhba0:0:0:0
- FcdCreate() - Constructor for class com.vmware.fcd.FcdCreate
- FcdDelete - Class in com.vmware.fcd
-
FcdDelete This sample deletes a given virtual storage object.
- FcdDelete() - Constructor for class com.vmware.fcd.FcdDelete
- FcdDetachFromVM - Class in com.vmware.fcd
-
FcdDetachFromVM This sample detaches a given virtual storage object from the given virtual machine.
- FcdDetachFromVM() - Constructor for class com.vmware.fcd.FcdDetachFromVM
- FcdExtend - Class in com.vmware.fcd
-
FcdExtend This sample extends a virtual storage object capacity Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication vStorageObjectId [required] : Id of the disk datastorename [required] : Name of the datastore newCapacityInMB [required] : The new capacity of the virtual disk in MB.
- FcdExtend() - Constructor for class com.vmware.fcd.FcdExtend
- FcdHelper - Class in com.vmware.fcd.helpers
-
Helper class for FCD Samples
- FcdHelper() - Constructor for class com.vmware.fcd.helpers.FcdHelper
- FcdInflateDisk - Class in com.vmware.fcd
-
FcdDelete This sample inflates a sparse or thin-provisioned virtual disk up to the full size.
- FcdInflateDisk() - Constructor for class com.vmware.fcd.FcdInflateDisk
- FcdRegisterLegacyDisk - Class in com.vmware.fcd
-
FcdRegisterLegacyDisk This sample registers a given legacy disk as First class disk.
- FcdRegisterLegacyDisk() - Constructor for class com.vmware.fcd.FcdRegisterLegacyDisk
- FcdRelocate - Class in com.vmware.fcd
-
FcdRelocate This sample relocates a virtual storage object.
- FcdRelocate() - Constructor for class com.vmware.fcd.FcdRelocate
- FcdRename - Class in com.vmware.fcd
-
FcdRename This sample renames a given virtual storage object.
- FcdRename() - Constructor for class com.vmware.fcd.FcdRename
G
- generateSecretKey() - Static method in class com.vmware.security.credstore.CredentialStoreCipher
-
This helper method will generate a fresh secret key for you to use.
- generateVirtualMachineProfileSpec(String, String, String) - Static method in class com.vmware.fcd.helpers.FcdHelper
-
Utility method to create a VirtualMachineProfileSpec from profileId, deviceGroupId and faultDomainId
- generateVslmCloneSpec(ManagedObjectReference, FcdClone.DiskProvisioningTypes) - Method in class com.vmware.fcd.FcdClone
-
This method constructs a VslmCloneSpec for the vStorageObject
- generateVslmCreateSpec(ManagedObjectReference, FcdCreate.DiskProvisioningTypes) - Method in class com.vmware.fcd.FcdCreate
-
This method constructs a VslmCreateSpec for the vStorageObject
- generateVslmRelocateSpec(ManagedObjectReference, FcdRelocate.DiskProvisioningTypes) - Method in class com.vmware.fcd.FcdRelocate
-
This method constructs a VslmCloneSpec for the vStorageObject
- getApiType() - Method in class com.vmware.connection.helpers.ApiValidator
- getAvailableHostNetworkDevice(ConfigTarget) - Method in class com.vmware.vm.VMClone
-
Return the list of any available networks on ESX which will host the VM
- getAvailableHostNetworkDevice(ConfigTarget) - Method in class com.vmware.vm.VMCreate
-
Return the list of any available networks on ESX which will host the VM
- 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) - Constructor for class com.vmware.cim.helpers.GetCim
-
Only appropriate for direct connections to ESX hosts
- 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, 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.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.
- 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() - Method in class com.vmware.general.GetCurrentTime
-
This method retrieves the current time from the server and prints 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
- 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.
- getFcdFilePath(VStorageObject) - Static method in class com.vmware.fcd.helpers.FcdHelper
-
Utility 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() - Method in class com.vmware.connection.BasicConnection
- getHost() - Method in interface com.vmware.connection.Connection
- getHost() - Method in class com.vmware.connection.SsoConnection
- 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.IsNotHostAgentException - Exception in com.vmware.cim.helpers
-
thrown when this class must assert that a Host is in use.
- GetHost.IsNotvCenterException - Exception in com.vmware.cim.helpers
-
thrown when this class must assert that a vCenter connection is in use.
- 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() - Method in class com.vmware.general.GetUpdates
- 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
- getUrl() - Method in class com.vmware.connection.BasicConnection
- getUrl() - Method in interface com.vmware.connection.Connection
- getUrl() - Method in class com.vmware.connection.SsoConnection
- getURL() - Method in class com.vmware.connection.BasicConnection
- getURL() - Method in interface com.vmware.connection.Connection
- 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
H
- handleChanges(List<PropertyChange>) - Method in class com.vmware.general.PropertyCollector
- handleObjectUpdate(ObjectUpdate) - Method in class com.vmware.general.PropertyCollector
- handleUpdate(UpdateSet) - Method in class com.vmware.general.PropertyCollector
- HCIBatchAddHostAndExtendCluster - Class in com.vmware.hci
-
HCIBatchAddHostAndExtendCluster This file includes sample codes for calling batchAddHost HCI API to add new hosts to cluster.
- HCIBatchAddHostAndExtendCluster() - Constructor for class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- HCIComputeOnlyCluster - Class in com.vmware.hci
-
HCIComputeOnlyCluster This file includes sample codes for calling config HCI API with simple config.
- HCIComputeOnlyCluster() - Constructor for class com.vmware.hci.HCIComputeOnlyCluster
- HelperException(Throwable) - Constructor for exception com.vmware.connection.helpers.BaseHelper.HelperException
- History - Class in com.vmware.performance
-
History This sample reads performance measurements from the current time.
- History() - Constructor for class com.vmware.performance.History
- HOST_API_TYPE - Static variable in class com.vmware.connection.helpers.ApiValidator
- hostCheck() - Method in class com.vmware.cim.helpers.GetHost
-
throws an IsNotHostAgentException if we are NOT talking to an ESX host
- HostProfileManager - Class in com.vmware.host
-
This sample demonstrates HostProfileManager and ProfileComplainceManager Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication sourcehostname [required] : Name of the host entityname [required] : Attached Entity Name entitytype [required] : Attached Entity Type Command Line: Create hostprofile given profileSourceHost (host system) profileAttachEntity (host system), profileAttachEntityType (host system) Applies config after attaching hostprofile to host system and check for compliance"); run.bat com.vmware.host.HostProfileManager --url [webserviceurl]"); --username [username] --password [password] --sourcehostname [host name] --entityname [host name] --entitytype HostSystem Create hostprofile given profileSourceHost (host system), profileAttachEntity (cluster computer resource), profileAttachEntityType (cluster compute resource) Attaches hostprofile to all hosts in cluster and checks for compliance run.bat com.vmware.host.HostProfileManager --url [webserviceurl] --username [username] --password [password] --sourcehostname [host name] --entityname [Cluster] --entitytype ClusterComputeResource
- HostProfileManager() - Constructor for class com.vmware.host.HostProfileManager
- HttpNfcLeaseExtender(ManagedObjectReference, VimPortType) - Constructor for class com.vmware.vapp.OVFManagerExportVMDK.HttpNfcLeaseExtender
I
- IMPL_NAMESPACE - Static variable in class com.vmware.cim.helpers.GetCim
- inContainerByType(ManagedObjectReference, String) - Method in class com.vmware.connection.helpers.GetMOREF
- inContainerByType(ManagedObjectReference, String, RetrieveOptions) - Method in class com.vmware.connection.helpers.GetMOREF
-
Returns all the MOREFs of the specified type that are present under the container
- inContainerByType(ManagedObjectReference, String, String[]) - Method in class com.vmware.connection.helpers.GetMOREF
- inContainerByType(ManagedObjectReference, String, String[], RetrieveOptions) - Method in class com.vmware.connection.helpers.GetMOREF
-
Returns all the MOREFs of the specified type that are present under the container
- Info - Class in com.vmware.general
-
Demonstrates how to use the AboutInfo object to find out more about the vSphere WS API end-point you are currently connected to.
- Info() - Constructor for class com.vmware.general.Info
- inFolderByType(ManagedObjectReference, String) - Method in class com.vmware.connection.helpers.GetMOREF
- inFolderByType(ManagedObjectReference, String, RetrieveOptions) - Method in class com.vmware.connection.helpers.GetMOREF
-
Returns all the MOREFs of the specified type that are present under the folder
- init() - Method in class com.vmware.fcd.FcdClone
- init() - Method in class com.vmware.fcd.FcdCreate
- init() - Method in class com.vmware.fcd.FcdRelocate
- init() - Method in class com.vmware.vm.VMDiskCreate
- initLicAssignmentManagerRef() - Method in class com.vmware.general.LicenseManager
- initLicenseAssignmentManagerLicenseAssignments() - Method in class com.vmware.general.LicenseManager
- initLicManagerRef() - Method in class com.vmware.general.LicenseManager
- instanceProperties(CIMInstance) - Method in class com.vmware.cim.CIMReader
-
pretty print the properties of an instance
- INTEROP_NAMESPACE - Static variable in class com.vmware.cim.helpers.GetCim
- inventory() - Method in class com.vmware.general.Browser
- ipAddress(InetAddress) - Static method in class com.vmware.cim.helpers.GetHost
-
takes a candidate ipaddress or host name and returns a validated IP address or hostname
- isConnected() - Method in class com.vmware.connection.BasicConnection
- isConnected() - Method in interface com.vmware.connection.Connection
- isConnected() - Method in class com.vmware.connection.SsoConnection
-
returns true if the connection is open, and hasn't timed out.
- isDirectConnection() - Method in class com.vmware.cim.CIMReader
- isDirectConnection(String) - Method in class com.vmware.cim.CIMReader
- isFcdIdInFcdList(List<String>, List<ID>) - Static method in class com.vmware.fcd.FcdCreate
-
Verifies if Fcd Id List<String> is included in fcdIDList
- isFcdIdInFcdList(List<String>, List<ID>) - Static method in class com.vmware.fcd.helpers.FcdHelper
-
Utility method to verify if Fcd Id List<String> is included in fcdIDList
- isIpAddress(String) - Method in class com.vmware.cim.helpers.GetHost
-
takes a candidate hostname or IP address and returns true if the address is useful
- IsNotHostAgentException(String) - Constructor for exception com.vmware.cim.helpers.GetHost.IsNotHostAgentException
- IsNotvCenterException(String) - Constructor for exception com.vmware.cim.helpers.GetHost.IsNotvCenterException
- isRunning() - Method in class com.vmware.connection.KeepAlive
K
- keepAlive() - Method in class com.vmware.connection.KeepAlive
-
kicks off a thread that will call the "keep alive" method on the connection instance
- keepAlive(VimPortType, ManagedObjectReference) - Static method in class com.vmware.connection.KeepAlive
-
Returns a thread you can start to run a keep alive on your connection.
- keepAlive(VimPortType, ManagedObjectReference, Long) - Static method in class com.vmware.connection.KeepAlive
-
constructs a new embedded thread to keep alive
- KeepAlive - Class in com.vmware.connection
-
This is a keep-alive utility class.
- KeepAlive(VimPortType, ManagedObjectReference) - Constructor for class com.vmware.connection.KeepAlive
-
this class is immutable and acts on the supplied vimPort and serviceInstanceReference the default interval is set to 300000 milliseconds
- KeepAlive(VimPortType, ManagedObjectReference, Long) - Constructor for class com.vmware.connection.KeepAlive
-
builds an instance of this object
L
- LicenseManager - Class in com.vmware.general
-
LicenseManager Demonstrates uses of the Licensing API using License Manager Reference.
- LicenseManager() - Constructor for class com.vmware.general.LicenseManager
- LineChart - Class in com.vmware.performance.widgets
-
Draws a nice pretty chart given a set of data.
- LineChart(int, long, String, String, int, boolean) - Constructor for class com.vmware.performance.widgets.LineChart
- list() - Method in class com.vmware.general.TaskList
- listClasses(WBEMClient, String) - Method in class com.vmware.cim.CIMReader
-
lists all the classes at the client that are available
- listdescendants(WBEMClient, String, String) - Method in class com.vmware.cim.CIMReader
-
Displays a list of instances of a particular class at the client
- listInstances(WBEMClient, String, String) - Method in class com.vmware.cim.CIMReader
-
builds a list of instances of a particular class at the client
- listNamespaces() - Method in class com.vmware.cim.CIMReader
-
creates a list of namespaces for a host, this is the same for ALL ESX hosts
- listNamespaces(Collection<CIMObjectPath>) - Method in class com.vmware.cim.CIMReader
-
creates a set of namespaces...
- listProperties(CIMInstance) - Method in class com.vmware.cim.CIMReader
-
builds a list of properties as a map based on an instance, instance objects hold local copies of the properties associated with the server-side instance.
- loadUserCert() - Method in class com.vmware.connection.SsoConnection
-
Load a cached key and cert from the file system if no X509Certificate is present on the file system, calls "generate"
- login() - Method in class com.vmware.connection.SsoConnection
-
returns the token used for login to SSO
M
- main() - Method in class com.vmware.general.Info
- main() - Method in class com.vmware.general.PropertyCollector
- main() - Method in class com.vmware.general.SimpleClient
- main() - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
-
This function demonstrate an HCI example to add hosts to cluster and extend the cluster.
- main() - Method in class com.vmware.hci.HCIComputeOnlyCluster
-
This function demostrate a simple configHCI function call to config the host with NTP server and lockdown mode.
- main(String[]) - Static method in class com.vmware.security.credstore.CredentialStoreAdmin
- makeId(String) - Static method in class com.vmware.fcd.helpers.FcdHelper
-
Utility method to wrap ID string in an ID object.
- mouseClicked(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is clicked ont the component.
- mouseDragged(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is dragged over the component.
- mouseEntered(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is enters the component.
- mouseExited(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is exits the component.
- mouseMoved(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is moved over the component.
- mousePressed(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is pressed ont the component.
- mouseReleased(MouseEvent) - Method in class com.vmware.performance.widgets.LineChart
-
Called when the mouse is released ont the component.
- move() - Method in class com.vmware.general.Move
- Move - Class in com.vmware.general
-
Move This sample moves a managed entity from its current location in the inventory to a new location, in a specified folder.
- Move() - Constructor for class com.vmware.general.Move
N
- name(String) - Method in class com.vmware.connection.helpers.builders.SelectionSpecBuilder
- name(String) - Method in class com.vmware.connection.helpers.builders.TraversalSpecBuilder
- NAMESPACES - Static variable in class com.vmware.cim.helpers.GetCim
-
Namespaces are static per server.
- newConnection() - Static method in class com.vmware.connection.ConnectionFactory
-
Constructs a connection class based on the system property com.vmware.connection.Connection=some.class.name
- NIOCForDVS - Class in com.vmware.host
-
This sample demonstrates how to add/modify NetworkResourcePool to Distributed Virtual Switch: Parameters: url [required]: url of the web service.
- NIOCForDVS() - Constructor for class com.vmware.host.NIOCForDVS
O
- obj(ManagedObjectReference) - Method in class com.vmware.connection.helpers.builders.ObjectSpecBuilder
- OBJECT_TYPES - Static variable in class com.vmware.general.RemoveManagedObject
- objectPath(URL, String, String) - Method in class com.vmware.cim.helpers.GetCim
-
builds a CIMObjectPath based on URI elements
- objectSet(ObjectSpec...) - Method in class com.vmware.connection.helpers.builders.PropertyFilterSpecBuilder
- ObjectSpecBuilder - Class in com.vmware.connection.helpers.builders
- ObjectSpecBuilder() - Constructor for class com.vmware.connection.helpers.builders.ObjectSpecBuilder
- OneTimeScheduledTask - Class in com.vmware.scheduling
-
OneTimeScheduledTask This sample demonstrates creation of ScheduledTask using the ScheduledTaskManager Parameters: url [required] : url of the web service.
- OneTimeScheduledTask() - Constructor for class com.vmware.scheduling.OneTimeScheduledTask
- OVFManagerExportVAPP - Class in com.vmware.vapp
-
OVFManagerExportVAPP This sample demonstrates OVFManager.
- OVFManagerExportVAPP() - Constructor for class com.vmware.vapp.OVFManagerExportVAPP
- OVFManagerExportVMDK - Class in com.vmware.vapp
-
OVFManagerExportVMDK This is a demonstrates OVFManager.Exports VMDK's of a VM to the localSystem.
- OVFManagerExportVMDK() - Constructor for class com.vmware.vapp.OVFManagerExportVMDK
- OVFManagerExportVMDK.HttpNfcLeaseExtender - Class in com.vmware.vapp
-
The Class HttpNfcLeaseExtender.
- OVFManagerImportLocalVApp - Class in com.vmware.vapp
-
OVFManagerImportLocalVApp This class can be used import or deploy an OVF Appliance from the Local drive.
- OVFManagerImportLocalVApp() - Constructor for class com.vmware.vapp.OVFManagerImportLocalVApp
- OVFManagerImportVAppFromUrl - Class in com.vmware.vapp
-
This class can be used import or deploy an OVF Appliance from the specified URL.
- OVFManagerImportVAppFromUrl() - Constructor for class com.vmware.vapp.OVFManagerImportVAppFromUrl
P
- paintComponent(Graphics) - Method in class com.vmware.performance.widgets.LineChart
-
Paints the component.
- PasswordCredential(String) - Constructor for class com.vmware.cim.helpers.GetCim.PasswordCredential
- path(String) - Method in class com.vmware.connection.helpers.builders.TraversalSpecBuilder
- pathSet(String...) - Method in class com.vmware.connection.helpers.builders.PropertySpecBuilder
- pkeyFileName - Variable in class com.vmware.connection.SsoConnection
-
You may optionally specify the system property sso.pkey.file=/fully/qualified/path to load your SSL private key from a file.
- placeVM() - Method in class com.vmware.vm.XVCvMotion
- placeVM() - Method in class com.vmware.vm.XVMotion
-
This method is used to relocate the VM to the computing resource recommended by the DRS.
- populate(RetrieveResult, List<ObjectContent>) - Static method in class com.vmware.connection.helpers.GetMOREF
- populate(RetrieveResult, Map<String, ManagedObjectReference>) - Static method in class com.vmware.connection.helpers.GetMOREF
- powerOnSuspendedGuestVMs(ManagedObjectReference) - Method in class com.vmware.host.HostProfileManager
- print(List<LicenseAssignmentManagerLicenseAssignment>) - Method in class com.vmware.general.LicenseManager
- PrintCounters - Class in com.vmware.performance
-
PrintCounters This sample writes available VM, Hostsystem or ResourcePool perf counters into the file specified Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication entitytype [required] : Managed entity [HostSystem|VirtualMachine|ResourcePool] entityname [required] : name of the managed entity filename [required] : Full path of filename to write to Command Line: Save counters available for a host run.bat com.vmware.performance.PrintCounters --url https://myHost.com/sdk --username [user] --password [password] --entitytype HostSystem --entityname myHost.com --filename myHostCounters
- PrintCounters() - Constructor for class com.vmware.performance.PrintCounters
- printHostProductDetails() - Method in class com.vmware.general.GetHostName
-
Prints the Host names.
- printInventory() - Method in class com.vmware.general.Browser
-
The main action for this sample.
- printLunInfo(ManagedObjectReference) - Method in class com.vmware.scsilun.SCSILunName
- printSoapFaultException(SOAPFaultException) - Method in class com.vmware.general.SearchIndex
- PROP_ME_NAME - Static variable in class com.vmware.connection.ConnectedVimServiceBase
- PROP_ME_NAME - Variable in class com.vmware.general.SearchIndex
- PropertyCollector - Class in com.vmware.general
-
PropertyCollector This sample illustrates the property collector features added in version 4.1 Parameters: url [required] : url of the web service."); username [required] : username for the authentication"); password [required] : password for the authentication"); extension [required] : Extension to be demonstrated [retrieveproperties | updates | filterspec | propertycollector] vmname [optional] : Name of the virtual machine maxobjects [optional] : The maximum number of ObjectContent data objects that should be returned in a single result updatetype [optional] : waitforupdates | checkforupdates| extension nooftasks [optional] : Number of tasks to be created Command Line: Retrieve Properties Extension run.bat com.vmware.general.PropertyCollector --url [webserviceurl] --username [username] --password [password] --extension retrieveproperties --maxobjects [maxobjects] Updates Extension run.bat com.vmware.general.PropertyCollector --url [webserviceurl] --username [username] --password [password] --extension updates --vmname [vm name] --updatetype [waitforupdates | checkforupdates| extension] Filter Spec Extension run.bat com.vmware.general.PropertyCollector --url [webserviceurl] --username [username] --password [password] --extension filterspec --vmname [vm name] --noofTasks [Number of tasks to be created] Property Collector Extension run.bat com.vmware.general.PropertyCollector --url [webserviceurl] --username [username] --password [password] --extension propertycollector
- PropertyCollector() - Constructor for class com.vmware.general.PropertyCollector
- propertyFilterSpec(ManagedObjectReference, String[]) - Method in class com.vmware.connection.helpers.WaitForValues
- PropertyFilterSpecBuilder - Class in com.vmware.connection.helpers.builders
- PropertyFilterSpecBuilder() - Constructor for class com.vmware.connection.helpers.builders.PropertyFilterSpecBuilder
- propertyFilterSpecs(ManagedObjectReference, String, String...) - Method in class com.vmware.connection.helpers.GetMOREF
- PropertySpecBuilder - Class in com.vmware.connection.helpers.builders
-
a simple builder that creates a property spec
- PropertySpecBuilder() - Constructor for class com.vmware.connection.helpers.builders.PropertySpecBuilder
- propSet(PropertySpec...) - Method in class com.vmware.connection.helpers.builders.PropertyFilterSpecBuilder
- PutVMFiles - Class in com.vmware.httpfileaccess
-
PutVMFiles This sample puts VM files in specified Datacenter and Datastore and register and reconfigure the particular VM Parameters: url [required]: url of the web service.
- PutVMFiles() - Constructor for class com.vmware.httpfileaccess.PutVMFiles
R
- 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() - Method in class com.vmware.general.Rename
- 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
- 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() - 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.FcdClone
- 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.FcdExtend
- run() - Method in class com.vmware.fcd.FcdInflateDisk
- run() - Method in class com.vmware.fcd.FcdRegisterLegacyDisk
- run() - Method in class com.vmware.fcd.FcdRelocate
- run() - Method in class com.vmware.fcd.FcdRename
- 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.VMApplyEvc
- 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
- run(VimPortType, ManagedObjectReference) - Static method in class com.vmware.connection.KeepAlive
-
calls "currentTime" against the supplied objects
- 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
S
- 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
- setAddOnName(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- setAddOnName(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- setAddOnVersion(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- setAddOnVersion(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- 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
- setBaseImageVersion(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- setBaseImageVersion(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- 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
- setComponentName(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- setComponentName(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- setComponentVersion(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- setComponentVersion(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- 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
- setCreateVlcmCluster(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- setCreateVlcmCluster(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- 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.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.FcdClone
- 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.fcd.FcdExtend
- setDatastoreName(String) - Method in class com.vmware.fcd.FcdInflateDisk
- setDatastoreName(String) - Method in class com.vmware.fcd.FcdRelocate
- setDatastoreName(String) - Method in class com.vmware.fcd.FcdRename
- setDatastoreName(String) - Method in class com.vmware.vm.VMRelocate
- setDataStoreName(String) - Method in class com.vmware.vm.VMDiskCreate
- 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
- setDestDatastoreName(String) - Method in class com.vmware.fcd.FcdClone
- setDestDatastoreName(String) - Method in class com.vmware.fcd.FcdRelocate
- 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.vm.VMDiskCreate
- setDeviceName(String) - Method in class com.vmware.fcd.FcdCreate
- 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.VMReconfig
- setDiskSize(String) - Method in class com.vmware.vm.VMCreate
- setDiskSize(String) - Method in class com.vmware.vm.VMDiskCreate
- 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
- setDvsDesc(String) - Method in class com.vmware.host.DVSCreate
- setDvsname(String) - Method in class com.vmware.host.NIOCForDVS
- setDvsName(String) - Method in class com.vmware.host.DVSCreate
- 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
- setEvcKey(String) - Method in class com.vmware.vm.VMApplyEvc
- 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
- sethostIps(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- sethostIps(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- 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.vm.VMCreate
- setHostName(String) - Method in class com.vmware.simpleagent.SimpleAgent
- setHostName(String) - Method in class com.vmware.vm.VMClone
- sethostPassword(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- sethostPassword(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- setHostScsiDisk(HostScsiDisk) - Method in class com.vmware.fcd.FcdClone
- setHostScsiDisk(HostScsiDisk) - Method in class com.vmware.fcd.FcdRelocate
- setHostSystemAttributesList() - Method in class com.vmware.general.GetHostName
- sethostUsername(String) - Method in class com.vmware.hci.HCIBatchAddHostAndExtendCluster
- sethostUsername(String) - Method in class com.vmware.hci.HCIComputeOnlyCluster
- 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
- setList(Boolean) - Method in class com.vmware.vm.VMApplyEvc
- 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.vapp.OVFManagerExportVAPP
- 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.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
- setNetwork(String) - Method in class com.vmware.vm.VMCreate
- setNewCapacityInMB(long) - Method in class com.vmware.fcd.FcdExtend
- setNewentityname(String) - Method in class com.vmware.general.Rename
- setNewRuleName(String) - Method in class com.vmware.storage.SDRSRules
- setNewVStorageObjectName(String) - Method in class com.vmware.fcd.FcdRename
- setNoOfPorts(String) - Method in class com.vmware.host.DVSCreate
- setNoofTasks(String) - Method in class com.vmware.general.PropertyCollector
- 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.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.RemoveVirtualNic
- setPortgroupname(String) - Method in class com.vmware.host.RemoveVirtualSwitchPortGroup
- setPortGroupName(String) - Method in class com.vmware.host.DVSCreate
- setPrefix(String) - Method in class com.vmware.guest.CreateTemporaryFile
- setPriority(String) - Method in class com.vmware.vm.VMotion
- setProvisioningType(String) - Method in class com.vmware.fcd.FcdClone
- setProvisioningType(String) - Method in class com.vmware.fcd.FcdCreate
- setProvisioningType(String) - Method in class com.vmware.fcd.FcdRelocate
- 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.VMSnapshot
- setSnapshotName(String) - Method in class com.vmware.vm.VMLinkedClone
- 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
- setTargetNetworkName(String) - Method in class com.vmware.vm.VMClone
- 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.VMManageFloppy
- 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.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.general.GetUpdates
- setVmname(String) - Method in class com.vmware.guest.GuestConnection
- setVmname(String) - Method in class com.vmware.vapp.OVFManagerExportVMDK
- setVmname(String) - Method in class com.vmware.vm.VMRelocate
- 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.PropertyCollector
- 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.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.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.VMApplyEvc
- 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.FcdClone
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdDelete
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdDetachFromVM
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdExtend
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdInflateDisk
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdRelocate
- setVStorageObjectId(String) - Method in class com.vmware.fcd.FcdRename
- setVStorageObjectName(String) - Method in class com.vmware.fcd.FcdClone
- 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.SSOLogoutException - Exception in com.vmware.connection
-
thrown on logout when something fails
- SSOLoginException(String, Throwable) - Constructor for exception com.vmware.connection.SsoConnection.SSOLoginException
- 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
T
- TaskList - Class in com.vmware.general
-
TaskList This sample prints out a list of tasks if any are running The sample display the tasks in the following format: Operation: Name: Type: State: Error: 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.TaskList --url [webserviceurl] --username [username] --password [password]
- TaskList() - Constructor for class com.vmware.general.TaskList
- ticket() - Method in class com.vmware.cim.helpers.GetCim
-
works only for vCenter, this grants us a ticket to access a ESX host controlled by our vCenter
- toMap(RetrieveResult) - Method in class com.vmware.connection.helpers.GetMOREF
- TraversalSpecBuilder - Class in com.vmware.connection.helpers.builders
- TraversalSpecBuilder() - Constructor for class com.vmware.connection.helpers.builders.TraversalSpecBuilder
- type(String) - Method in class com.vmware.connection.helpers.builders.PropertySpecBuilder
- type(String) - Method in class com.vmware.connection.helpers.builders.TraversalSpecBuilder
U
- UploadGuestFile - Class in com.vmware.guest
-
UploadGuestFile This sample uploads a file from the client machine to a specified location inside the guest.
- UploadGuestFile() - Constructor for class com.vmware.guest.UploadGuestFile
- useLicenseManager() - Method in class com.vmware.general.LicenseManager
V
- 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
- VMApplyEvc - Class in com.vmware.vm
-
VMApplyEvc This sample makes applies a Per-VM EVC setting to an existing VM.
- VMApplyEvc() - Constructor for class com.vmware.vm.VMApplyEvc
- 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 , change target network 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 hostname [optional] : name of the host targetnetworkname [optional] : name of the target network Command Line: java com.vmware.vm.VMClone --url [webserviceurl] --username [username] --password [password] --datacentername [DatacenterName]" --vmpath [vmPath] --clonename [CloneName] --host [hostname] --targetnetworkname [Target Network Name]
- 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 networkname [required] : Network Name (Types can be Standard/Distributed/Opaque) 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] --networkname [networkname] 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 snapshot 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
W
- wait(ManagedObjectReference, String[], String[], Object[][]) - Method in class com.vmware.connection.helpers.WaitForValues
-
Handle Updates for a single object.
- WaitForValues - Class in com.vmware.connection.helpers
- WaitForValues(Connection) - Constructor for class com.vmware.connection.helpers.WaitForValues
- WBEMCLIENT_FORMAT - Static variable in class com.vmware.cim.helpers.GetCim
- WeeklyRecurrenceScheduledTask - Class in com.vmware.scheduling
-
WeeklyRecurrenceScheduledTask This sample demonstrates creation of weekly recurring ScheduledTask using the ScheduledTaskManager Parameters: url [required] : url of the web service username [required] : username for the authentication password [required] : password for the authentication vmname [required] : virtual machine to be powered off taskname [required] : Name of the task to be created Command Line: run.bat com.vmware.scheduling.WeeklyRecurrenceScheduledTask --url [webserviceurl] --username [username] --password [password] --vmname [VM name] --taskname [TaskToBeCreated]
- WeeklyRecurrenceScheduledTask() - Constructor for class com.vmware.scheduling.WeeklyRecurrenceScheduledTask
X
- XVCvMotion - Class in com.vmware.vm
-
XVCvMotion Used to Relocate VM from one VC to another.
- XVCvMotion() - Constructor for class com.vmware.vm.XVCvMotion
- XVMotion - Class in com.vmware.vm
- XVMotion() - Constructor for class com.vmware.vm.XVMotion
All Classes All Packages