A B C D E F G H I L M O P Q R S T U V W _

A

actionPerformed(ActionEvent) - Method in class com.vmware.samples.performance.VIUsage
 
addOptions(OptionSpec[]) - Method in class com.vmware.apputils.AppUtil
 
addPassword(String, String, char[]) - Method in interface com.vmware.security.credstore.CredentialStore
Stores the password for a given host and username.
AddVirtualNic - Class in com.vmware.samples.host
This sample is used to add a Virtual Nic To run this samples following parameters are used: vsiwtchid [required]: Name of the switch portgroupname [required]: Name of the port group ipaddress [required]: ipaddress for the nic host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line:To add a Host VirtualNic to a PortGroup on a Virtual Switch as: - run.bat com.vmware.samples.host.AddVirtualNic --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --host [hostname] --datacenter [mydatacenter] --portgroupname [myportgroup] --ipaddress[AAA.AAA.AAA.AAA] Command Line:To add a Host VirtualNic to a PortGroup on a Virtual Switch as without specifying the host name
run.bat com.vmware.samples.host.AddVirtualNic --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --portgroupname [myportgroup] --ipaddress[AAA.AAA.AAA.AAA] Command Line:To add a Host VirtualNic to a PortGroup on a Virtual Switch as without specifying the datacenter name
run.bat com.vmware.samples.host.AddVirtualNic --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --portgroupname[myportgroup] --ipaddress[AAA.AAA.AAA.AAA]
AddVirtualNic() - Constructor for class com.vmware.samples.host.AddVirtualNic
 
AddVirtualSwitch - Class in com.vmware.samples.host
This sample is used to add a virtual switch To run this samples following parameters are used: vsiwtchid [required]: Name of the switch to be added host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line: to add a Virtual Switch on a virtual center as: - run.bat com.vmware.samples.host.AddVirtualSwitch --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter]
AddVirtualSwitch() - Constructor for class com.vmware.samples.host.AddVirtualSwitch
 
AddVirtualSwitchPortGroup - Class in com.vmware.samples.host
This sample is used to add a Virtual Switch PortGroup To run this samples following parameters are used:> vsiwtchid [required]: Name of the switch in which portgroup is to be added portgroupname [required]: Name of the port group host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line:to add a Virtual switch Port Group as: - run.bat com.vmware.samples.host.AddVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --portgroupname [myportgroup] --host[hostname] Command Line:to add a Virtual switch Port Group without specifying the host: run.bat com.vmware.samples.host.AddVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --portgroupname [myportgroup] Command Line:to add a Virtual switch Port Group without specifying the datacenter - run.bat com.vmware.samples.host.AddVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --portgroupname [myportgroup]
AddVirtualSwitchPortGroup() - Constructor for class com.vmware.samples.host.AddVirtualSwitchPortGroup
 
ALog(Log) - Static method in class com.vmware.apputils.AppUtil
 
AppUtil - Class in com.vmware.apputils
The AppUtil class handles basic setup needed to create a connection to a VMware Infrastructure server, such as ESX, ESXi, or VirtualCenter server.
AppUtil(String) - Constructor for class com.vmware.apputils.AppUtil
 
ArgumentHandlingException - Exception in com.vmware.apputils
 
ArgumentHandlingException(String) - Constructor for exception com.vmware.apputils.ArgumentHandlingException
 
associatedCIMInstances(CIMInstance, String, String, String, String, boolean, boolean, String[]) - Method in class com.vmware.samples.ciminfo.CIMUtil
associatedCIMInstances wrapper for associators call with some basic error handling parameters are as defined in the Wbem Javadoc.
associatedCIMInstances(CIMInstance, String) - Method in class com.vmware.samples.ciminfo.CIMUtil
associatedCIMInstances another simpler wrapper with fewer parameters.
associatedClassName - Variable in class com.vmware.samples.ciminfo.CIMInfo.AssociationFilter
 

B

Basics - Class in com.vmware.samples.performance
This sample displays available performance counters or other metadata for an ESX system as specified at the command line.
Basics() - Constructor for class com.vmware.samples.performance.Basics
 
browseArrayList(ArrayList) - Method in class com.vmware.apputils.vim.VMUtils
 
browseMOR(ManagedObjectReference) - Method in class com.vmware.apputils.vim.VMUtils
 
Browser - Class in com.vmware.samples.general
This sample prints all managed entity, its type, reference value, property name, Property Value, Inner Object Type, its Inner Reference Value and inner property value.
Browser() - Constructor for class com.vmware.samples.general.Browser
 
buildFullTraversal() - Method in class com.vmware.apputils.vim.ServiceUtil
This method creates a SelectionSpec[] to traverses the entire inventory tree starting at a Folder
buildFullTraversal() - Method in class com.vmware.apputils.vim25.ServiceUtil
This method creates a SelectionSpec[] to traverses the entire inventory tree starting at a Folder
buildPropertySpecArray(String[][]) - Method in class com.vmware.apputils.vim.ServiceUtil
This code takes an array of [typename, property, property, ...] and converts it into a PropertySpec[].
buildPropertySpecArray(String[][]) - Method in class com.vmware.apputils.vim25.ServiceUtil
This code takes an array of [typename, property, property, ...] and converts it into a PropertySpec[].

C

cb - Variable in class com.vmware.apputils.vim.VMUtils
 
checkClientTrusted(X509Certificate[], String) - Method in class com.vmware.samples.httpfileaccess.ColdMigration.miTM
 
checkClientTrusted(X509Certificate[], String) - Method in class com.vmware.samples.httpfileaccess.GetVMFiles.miTM
 
checkServerTrusted(X509Certificate[], String) - Method in class com.vmware.samples.httpfileaccess.ColdMigration.miTM
 
checkServerTrusted(X509Certificate[], String) - Method in class com.vmware.samples.httpfileaccess.GetVMFiles.miTM
 
CIMInfo - Class in com.vmware.samples.ciminfo
 
CIMInfo(boolean, boolean, boolean) - Constructor for class com.vmware.samples.ciminfo.CIMInfo
 
CIMInfo.AssociationFilter - Class in com.vmware.samples.ciminfo
class AssociationFilter A specification for an association traversal filter.
CIMInfo.AssociationFilter() - Constructor for class com.vmware.samples.ciminfo.CIMInfo.AssociationFilter
 
CIMUtil - Class in com.vmware.samples.ciminfo
 
CIMUtil(boolean, boolean, boolean) - Constructor for class com.vmware.samples.ciminfo.CIMUtil
 
clearPasswords() - Method in interface com.vmware.security.credstore.CredentialStore
Removes all passwords.
clientConnect() - Method in class com.vmware.apputils.vim.ServiceUtil
Connect to the service
clientConnect() - Method in class com.vmware.apputils.vim25.ServiceUtil
Connect to the service
clientDisconnect() - Method in class com.vmware.apputils.vim.ServiceUtil
Disconnect from the service
clientDisconnect() - Method in class com.vmware.apputils.vim25.ServiceUtil
Disconnect from the service
clientLoadSession(String, String) - Method in class com.vmware.apputils.vim.ServiceUtil
 
clientLoadSession(String) - Method in class com.vmware.apputils.vim25.ServiceUtil
 
clientSaveSession(String) - Method in class com.vmware.apputils.vim.ServiceUtil
 
clientSaveSession(String) - Method in class com.vmware.apputils.vim25.ServiceUtil
 
ClientUtil - Class in com.vmware.apputils
 
ClientUtil(AppUtil) - Constructor for class com.vmware.apputils.ClientUtil
 
close() - Method in class com.vmware.apputils.Log
 
close() - Method in interface com.vmware.security.credstore.CredentialStore
Closes this credential store and frees all resources associated with it.
ColdMigration - Class in com.vmware.samples.httpfileaccess
This sample puts VM files in specified Datacenter and Datastore and register and reconfigure the particular VM.
ColdMigration() - Constructor for class com.vmware.samples.httpfileaccess.ColdMigration
 
ColdMigration.miTM - Class in com.vmware.samples.httpfileaccess
 
ColdMigration.miTM() - Constructor for class com.vmware.samples.httpfileaccess.ColdMigration.miTM
 
com.vmware.apputils - package com.vmware.apputils
Helper classes used by all VMware vSphere Web Services SDK Java sample applications.
com.vmware.apputils.version - package com.vmware.apputils.version
 
com.vmware.apputils.vim - package com.vmware.apputils.vim
 
com.vmware.apputils.vim25 - package com.vmware.apputils.vim25
 
com.vmware.samples.alarms - package com.vmware.samples.alarms
Samples that demonstrate setting alarms on a virtual machine for power operations.
com.vmware.samples.ciminfo - package com.vmware.samples.ciminfo
Samples that demonstrate obtaining information from CIM providers on server.
com.vmware.samples.events - package com.vmware.samples.events
Samples that demonstrate working with Events and EventManager, including how to format event messages.
com.vmware.samples.general - package com.vmware.samples.general
Several sample applications that demonstrate a variety of inventory operations, such as connecting to the server (Connect), browsing the inventory (Browse), and moving an entity from one location in the inventory to another (Move).
com.vmware.samples.host - package com.vmware.samples.host
Demonstrates working with virtual NICs, virtual switches, and virtual port groups.
com.vmware.samples.httpfileaccess - package com.vmware.samples.httpfileaccess
Demonstrates how to use the HTTP protocol to move virtual machine files over the network.
com.vmware.samples.performance - package com.vmware.samples.performance
Samples that demonstrate how to obtain performance data from the PerformanceManager.
com.vmware.samples.performance.widgets - package com.vmware.samples.performance.widgets
 
com.vmware.samples.scheduling - package com.vmware.samples.scheduling
Samples that demonstrate how to use the ScheduledTaskManager.
com.vmware.samples.scsilun - package com.vmware.samples.scsilun
Samples that demonstrate how to obtain canonical LUN information.
com.vmware.samples.simpleagent - package com.vmware.samples.simpleagent
Samples that demonstrate using the local credential store to automate login to a VMware vSphere server.
com.vmware.samples.version - package com.vmware.samples.version
Samples that demonstrate how to target multiple servers that support different versions of the API.
com.vmware.samples.version.displaynewpropertieshost - package com.vmware.samples.version.displaynewpropertieshost
 
com.vmware.samples.version.displaynewpropertiesvm - package com.vmware.samples.version.displaynewpropertiesvm
 
com.vmware.samples.version.getvirtualdiskfiles - package com.vmware.samples.version.getvirtualdiskfiles
 
com.vmware.samples.version.hostpowerops - package com.vmware.samples.version.hostpowerops
 
com.vmware.samples.version.installhostpatch - package com.vmware.samples.version.installhostpatch
 
com.vmware.samples.version.querymemoryoverhead - package com.vmware.samples.version.querymemoryoverhead
 
com.vmware.samples.version.recordsession - package com.vmware.samples.version.recordsession
 
com.vmware.samples.vm - package com.vmware.samples.vm
Samples that demonstrate various virtual machine operations, including cloning, creating virtual machines, power-cycling, reconfiguring, and snapshot.
com.vmware.security.credstore - package com.vmware.security.credstore
Credential store implementation for storing and retrieving user account and password in a local file.
connect() - Method in class com.vmware.apputils.AppUtil
 
connect(String) - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
connect(String, String, String, boolean) - Method in class com.vmware.apputils.vim.ServiceConnection
Creates an instance of the VMA proxy and establishes a connection
connect(String, String, String, boolean) - Method in class com.vmware.apputils.vim25.ServiceConnection
Creates an instance of the VMA proxy and establishes a connection
Connect - Class in com.vmware.samples.general
This sample simply connects to the ESX server or to a Virtual Center .
Connect() - Constructor for class com.vmware.samples.general.Connect
 
ConnectionState_Connected - Static variable in class com.vmware.apputils.vim.ServiceConnection
 
ConnectionState_Connected - Static variable in class com.vmware.apputils.vim25.ServiceConnection
 
ConnectionState_Disconnected - Static variable in class com.vmware.apputils.vim.ServiceConnection
 
ConnectionState_Disconnected - Static variable in class com.vmware.apputils.vim25.ServiceConnection
 
constructOptions() - Static method in class com.vmware.samples.general.LicenseManager
 
constructOptions() - Static method in class com.vmware.samples.version.displaynewpropertieshost.DisplayNewPropertiesHost
 
constructOptions() - Static method in class com.vmware.samples.version.displaynewpropertiesvm.DisplayNewPropertiesVM
 
constructOptions() - Static method in class com.vmware.samples.version.getvirtualdiskfiles.GetVirtualDiskFiles
 
constructOptions() - Static method in class com.vmware.samples.version.hostpowerops.HostPowerOps
 
constructOptions() - Static method in class com.vmware.samples.version.installhostpatch.InstallHostPatch
 
constructOptions() - Static method in class com.vmware.samples.version.querymemoryoverhead.QueryMemoryOverhead
 
constructOptions() - Static method in class com.vmware.samples.version.recordsession.RecordSession
 
constructOptions() - Static method in class com.vmware.samples.vm.VMDeltaDisk
 
constructOptions() - Static method in class com.vmware.samples.vm.VMLinkedClone
 
constructOptions() - Static method in class com.vmware.samples.vm.VMotion
 
constructOptions() - Static method in class com.vmware.samples.vm.VMPromoteDisks
 
constructOptions() - Static method in class com.vmware.samples.vm.VMRelocate
 
convertManagedObjectReference(ManagedObjectReference) - Static method in class com.vmware.apputils.version.VersionUtil
 
Create - Class in com.vmware.samples.general
This sample create managed entity like Host-Standalone Cluster Datacenter, and folder.
Create() - Constructor for class com.vmware.samples.general.Create
 
createAssocFilter(String, String, String, String, String) - Static method in class com.vmware.samples.ciminfo.CIMInfo
createAssocFilter Create an instance of an Association Filter
CreateServiceConnection(String) - Static method in class com.vmware.apputils.vim.ServiceConnection
 
CreateServiceConnection(String) - Static method in class com.vmware.apputils.vim25.ServiceConnection
 
CreateServiceUtil() - Static method in class com.vmware.apputils.vim.ServiceUtil
 
CreateServiceUtil() - Static method in class com.vmware.apputils.vim25.ServiceUtil
 
CreateUser - Class in com.vmware.samples.simpleagent
The CreateUser class creates a user account and password stores them the local credential store.
CreateUser() - Constructor for class com.vmware.samples.simpleagent.CreateUser
 
createVirtualDisk(String, int, ManagedObjectReference, int) - Method in class com.vmware.apputils.vim.VMUtils
 
createVmConfigSpec(String, String, int, ManagedObjectReference, ManagedObjectReference) - Method in class com.vmware.apputils.vim.VMUtils
 
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
 
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
 
customValidate() - Method in class com.vmware.samples.simpleagent.CreateUser
 

D

Delete - Class in com.vmware.samples.general
This sample deletes the specified managed entity from the inventory tree.
Delete() - Constructor for class com.vmware.samples.general.Delete
 
DeleteOneTimeScheduledTask - Class in com.vmware.samples.scheduling
This is a simple standalone client whose purpose is to demonstrate the process deleting a ScheduledTask.
DeleteOneTimeScheduledTask() - Constructor for class com.vmware.samples.scheduling.DeleteOneTimeScheduledTask
 
disConnect() - Method in class com.vmware.apputils.AppUtil
 
disConnect() - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
disconnect() - Method in class com.vmware.apputils.vim.ServiceConnection
Disconnects from the WebService
disconnect() - Method in class com.vmware.apputils.vim25.ServiceConnection
Disconnects from the WebService
displayFeatureInfo() - Method in class com.vmware.samples.general.LicenseManager
 
displayNewProperties(ManagedObjectReference, ArrayList, String[], String) - Static method in class com.vmware.samples.version.displaynewpropertieshost.DisplayNewPropertiesHostV25
 
DisplayNewPropertiesHost - Class in com.vmware.samples.version.displaynewpropertieshost
This sample displays properties of the host based on the API version supported by ESX or vCenter Server.
DisplayNewPropertiesHost() - Constructor for class com.vmware.samples.version.displaynewpropertieshost.DisplayNewPropertiesHost
 
DisplayNewPropertiesHostV25 - Class in com.vmware.samples.version.displaynewpropertieshost
 
DisplayNewPropertiesHostV25() - Constructor for class com.vmware.samples.version.displaynewpropertieshost.DisplayNewPropertiesHostV25
 
DisplayNewPropertiesVM - Class in com.vmware.samples.version.displaynewpropertiesvm
This samples displays following properties of the virtual machine as per version of ESX / vCenter Server.
DisplayNewPropertiesVM() - Constructor for class com.vmware.samples.version.displaynewpropertiesvm.DisplayNewPropertiesVM
 
DisplayNewPropertiesVMV25 - Class in com.vmware.samples.version.displaynewpropertiesvm
 
DisplayNewPropertiesVMV25() - Constructor for class com.vmware.samples.version.displaynewpropertiesvm.DisplayNewPropertiesVMV25
 
displayUsage() - Method in class com.vmware.apputils.AppUtil
 
displayVMProperties(ManagedObjectReference, ArrayList, String[], String) - Static method in class com.vmware.samples.version.displaynewpropertiesvm.DisplayNewPropertiesVMV25
 

E

enumerateCIMInstances(String, boolean, String[]) - Method in class com.vmware.samples.ciminfo.CIMUtil
enumerateCIMInstances wrapper to provide an enumerator over all the instances of the class specified parameters are a subset of the enumerateInstance params.
enumerateCIMInstances(String) - Method in class com.vmware.samples.ciminfo.CIMUtil
enumerateCIMInstances simpler wrappers to enumerate over instances of the class specified
enumerateCIMInstances(String, boolean) - Method in class com.vmware.samples.ciminfo.CIMUtil
 
enumerateCIMInstances(String, String[]) - Method in class com.vmware.samples.ciminfo.CIMUtil
 
EventFormat - Class in com.vmware.samples.events
It Retrieves and format the lastEvent - Hostd or Vpxd Command Line: run.bat com.vmware.samples.vm.EventFormat --url [webserviceurl] --username [username] --password [password]
EventFormat() - Constructor for class com.vmware.samples.events.EventFormat
 
EventHistoryCollectorMonitor - Class in com.vmware.samples.events
This sample demonstrates how to create and monitor an EventHistoryCollector.
EventHistoryCollectorMonitor() - Constructor for class com.vmware.samples.events.EventHistoryCollectorMonitor
 
execOperation(String, String) - Method in class com.vmware.samples.ciminfo.CIMInfo
execOperation Get a single instance of the class provided, and Run the specified operation for that instance of the class.
execOperation(CIMInstance, String) - Method in class com.vmware.samples.ciminfo.CIMUtil
execOperation execute the specified operation on the instance passed in
ExtendedAppUtil - Class in com.vmware.apputils.version
 
ExtendedAppUtil(String) - Constructor for class com.vmware.apputils.version.ExtendedAppUtil
 

F

findVirtualMachine() - Method in class com.vmware.samples.events.VMEventHistoryCollectorMonitor
 

G

get_option(String) - Method in class com.vmware.apputils.AppUtil
 
getAcceptedIssuers() - Method in class com.vmware.samples.httpfileaccess.ColdMigration.miTM
 
getAcceptedIssuers() - Method in class com.vmware.samples.httpfileaccess.GetVMFiles.miTM
 
getAllContainerContents() - Method in class com.vmware.apputils.vim.ServiceUtil
Retrieve Container contents for all containers recursively from root
getAllContainerContents() - Method in class com.vmware.apputils.vim25.ServiceUtil
Retrieve Container contents for all containers recursively from root
getAppName() - Method in class com.vmware.apputils.AppUtil
 
getAssociatedCIMInstance(CIMInfo.AssociationFilter) - Method in class com.vmware.samples.ciminfo.CIMInfo
getAssociatedCIMInstance print all instances of classes retrieved using association filter specified
getConfigTargetForHost(ManagedObjectReference, ManagedObjectReference) - Method in class com.vmware.apputils.vim.VMUtils
This method returns the ConfigTarget for a HostSystem
getConnection() - Method in class com.vmware.apputils.AppUtil
 
getContentsRecursively(ManagedObjectReference, boolean) - Method in class com.vmware.apputils.vim.ServiceUtil
Retrieve container contents from specified root recursively if requested.
getContentsRecursively(ManagedObjectReference, ManagedObjectReference, String[][], boolean) - Method in class com.vmware.apputils.vim.ServiceUtil
Retrieve content recursively with multiple properties.
getContentsRecursively(ManagedObjectReference, boolean) - Method in class com.vmware.apputils.vim25.ServiceUtil
Retrieve container contents from specified root recursively if requested.
getContentsRecursively(ManagedObjectReference, ManagedObjectReference, String[][], boolean) - Method in class com.vmware.apputils.vim25.ServiceUtil
Retrieve content recursively with multiple properties.
getCookieString(AppUtil) - Static method in class com.vmware.apputils.version.VersionUtil
 
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.
getDecendentMoRef(ManagedObjectReference, String, String) - Method in class com.vmware.apputils.vim.ServiceUtil
Get the ManagedObjectReference for an item under the specified root folder that has the type and name specified.
getDecendentMoRef(ManagedObjectReference, String, String) - Method in class com.vmware.apputils.vim25.ServiceUtil
Get the ManagedObjectReference for an item under the specified root folder that has the type and name specified.
getDecendentMoRefs(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim.ServiceUtil
Retrieve all the ManagedObjectReferences of the type specified.
getDecendentMoRefs(ManagedObjectReference, String, String[][]) - Method in class com.vmware.apputils.vim.ServiceUtil
 
getDecendentMoRefs(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim25.ServiceUtil
Retrieve all the ManagedObjectReferences of the type specified.
getDecendentMoRefs(ManagedObjectReference, String, String[][]) - Method in class com.vmware.apputils.vim25.ServiceUtil
 
getDefaultDevices(ManagedObjectReference, ManagedObjectReference) - Method in class com.vmware.apputils.vim.VMUtils
The method returns the default devices from the HostSystem
getDynamicProperty(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim.ServiceUtil
Retrieve a single object
getDynamicProperty(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim25.ServiceUtil
Retrieve a single object
getFirstDecendentMoRef(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim.ServiceUtil
Get the first ManagedObjectReference from a root of the specified type
getFirstDecendentMoRef(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim25.ServiceUtil
Get the first ManagedObjectReference from a root of the specified type
getHost(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim.VMUtils
This method returns a MoRef to the HostSystem with the supplied name under the supplied Folder.
getHostFolder(ManagedObjectReference) - Method in class com.vmware.apputils.vim.VMUtils
This method returns the contents of the hostFolder property from the supplied Datacenter MoRef
getHosts() - Method in interface com.vmware.security.credstore.CredentialStore
Returns all hosts that have entries in the credential store.
getIntInput(String, int) - Method in class com.vmware.apputils.ClientUtil
 
getLog() - Method in class com.vmware.apputils.AppUtil
 
getLongInput(String, long) - Method in class com.vmware.apputils.ClientUtil
 
getMoRefProp(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim.ServiceUtil
Get a MORef from the property returned.
getMoRefProp(ManagedObjectReference, String) - Method in class com.vmware.apputils.vim25.ServiceUtil
Get a MORef from the property returned.
getObjectProperties(ManagedObjectReference, ManagedObjectReference, String[]) - Method in class com.vmware.apputils.vim.ServiceUtil
Retrieve contents for a single object based on the property collector registered with the service.
getObjectProperties(ManagedObjectReference, ManagedObjectReference, String[]) - Method in class com.vmware.apputils.vim25.ServiceUtil
Retrieve contents for a single object based on the property collector registered with the service.
getOptionDefault() - Method in class com.vmware.apputils.OptionSpec
 
getOptionDesc() - Method in class com.vmware.apputils.OptionSpec
 
getOptionName() - Method in class com.vmware.apputils.OptionSpec
 
getOptionRequired() - Method in class com.vmware.apputils.OptionSpec
 
getOptionType() - Method in class com.vmware.apputils.OptionSpec
 
getPassword() - Method in class com.vmware.apputils.AppUtil
 
getPassword(String, String) - Method in interface com.vmware.security.credstore.CredentialStore
Gets the password for a given host and username.
getPropCol() - Method in class com.vmware.apputils.vim.ServiceConnection
 
getPropCol() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
getRootFolder() - Method in class com.vmware.apputils.vim.ServiceConnection
 
getRootFolder() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
getService() - Method in class com.vmware.apputils.vim.ServiceConnection
 
getService() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
getServiceConnection3() - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
getServiceContent() - Method in class com.vmware.apputils.vim.ServiceConnection
 
getServiceContent() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
getServiceInstanceRef() - Method in class com.vmware.apputils.vim.ServiceConnection
 
getServiceInstanceRef() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
getServiceUrl() - Method in class com.vmware.apputils.AppUtil
 
getServiceUtil() - Method in class com.vmware.apputils.AppUtil
 
getServiceUtil3() - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
getStrInput(String) - Method in class com.vmware.apputils.ClientUtil
 
getSupportedVersions(String) - Static method in class com.vmware.apputils.version.VersionUtil
 
GetUpdates - Class in com.vmware.samples.general
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.samples.general.GetUpdates
 
getUsername() - Method in class com.vmware.apputils.AppUtil
 
getUsernames(String) - Method in interface com.vmware.security.credstore.CredentialStore
Returns all usernames that have passwords stored for a given host.
getUtil() - Method in class com.vmware.apputils.AppUtil
 
GetVirtualDiskFiles - Class in com.vmware.samples.version.getvirtualdiskfiles
This sample searches the Virtual disk files in all the datastores available in specified host using new properties ControllerType and Thin Property.
GetVirtualDiskFiles() - Constructor for class com.vmware.samples.version.getvirtualdiskfiles.GetVirtualDiskFiles
 
getVirtualDiskFiles(ManagedObjectReference[], ArrayList, String[], String) - Static method in class com.vmware.samples.version.getvirtualdiskfiles.GetVirtualDiskFilesV25
 
GetVirtualDiskFilesV25 - Class in com.vmware.samples.version.getvirtualdiskfiles
 
GetVirtualDiskFilesV25() - Constructor for class com.vmware.samples.version.getvirtualdiskfiles.GetVirtualDiskFilesV25
 
GetVMFiles - Class in com.vmware.samples.httpfileaccess
This sample gets all the config files, snapshots files, logs files, virtual disk files to the local system.
GetVMFiles() - Constructor for class com.vmware.samples.httpfileaccess.GetVMFiles
 
GetVMFiles.miTM - Class in com.vmware.samples.httpfileaccess
 
GetVMFiles.miTM() - Constructor for class com.vmware.samples.httpfileaccess.GetVMFiles.miTM
 
getVMs(String, String, String, String, String, String, String[][]) - Method in class com.vmware.apputils.vim.VMUtils
 

H

History - Class in com.vmware.samples.performance
This sample reads performance measurements from the current time.
History() - Constructor for class com.vmware.samples.performance.History
 
HostPowerOps - Class in com.vmware.samples.version.hostpowerops
This sample uses the powerDownHostToStandBy API to power down.
HostPowerOps() - Constructor for class com.vmware.samples.version.hostpowerops.HostPowerOps
 
HostPowerOpsV25 - Class in com.vmware.samples.version.hostpowerops
 
HostPowerOpsV25() - Constructor for class com.vmware.samples.version.hostpowerops.HostPowerOpsV25
 

I

ignoreCert() - Method in class com.vmware.apputils.vim.ServiceConnection
 
ignoreCert() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
init(String) - Method in class com.vmware.apputils.AppUtil
 
init(String, boolean, boolean) - Method in class com.vmware.apputils.Log
 
init(AppUtil, ServiceConnection) - Method in class com.vmware.apputils.vim.ServiceUtil
 
init(String, String) - Method in class com.vmware.apputils.vim25.ServiceConnection
 
init(AppUtil, ServiceConnection) - Method in class com.vmware.apputils.vim25.ServiceUtil
 
init(String, String, String, String) - Method in class com.vmware.samples.ciminfo.CIMInfo
 
init(String, String, String, String) - Method in class com.vmware.samples.ciminfo.CIMUtil
 
initConnection() - Method in class com.vmware.apputils.AppUtil
 
initConnection() - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
initialize(String, OptionSpec[], String[]) - Static method in class com.vmware.apputils.AppUtil
 
initialize(String, String[]) - Static method in class com.vmware.apputils.AppUtil
 
initialize(String, OptionSpec[], String[]) - Static method in class com.vmware.apputils.version.ExtendedAppUtil
 
initialize(String, String[]) - Static method in class com.vmware.apputils.version.ExtendedAppUtil
 
installHostComponents(String[], String) - Static method in class com.vmware.samples.version.installhostpatch.InstallHostPatchV25
 
InstallHostPatch - Class in com.vmware.samples.version.installhostpatch
This sample uses the Patch Manager MOR to upgrade the components in Embedded ESX.
InstallHostPatch() - Constructor for class com.vmware.samples.version.installhostpatch.InstallHostPatch
 
InstallHostPatchV25 - Class in com.vmware.samples.version.installhostpatch
 
InstallHostPatchV25() - Constructor for class com.vmware.samples.version.installhostpatch.InstallHostPatchV25
 
internalLogLine(Date, String) - Method in class com.vmware.apputils.Log
 
isApiVersionSupported(ArrayList, String) - Static method in class com.vmware.apputils.version.VersionUtil
 
isClientTrusted(X509Certificate[]) - Method in class com.vmware.samples.httpfileaccess.ColdMigration.miTM
 
isClientTrusted(X509Certificate[]) - Method in class com.vmware.samples.httpfileaccess.GetVMFiles.miTM
 
isConnected() - Method in class com.vmware.apputils.vim.ServiceConnection
Check if Connection is established or not.
isConnected() - Method in class com.vmware.apputils.vim25.ServiceConnection
Check if Connection is established or not.
isServerTrusted(X509Certificate[]) - Method in class com.vmware.samples.httpfileaccess.ColdMigration.miTM
 
isServerTrusted(X509Certificate[]) - Method in class com.vmware.samples.httpfileaccess.GetVMFiles.miTM
 

L

LicenseManager - Class in com.vmware.samples.general
Demonstrates uses of the Licensing API using License Managed Object Reference.
LicenseManager() - Constructor for class com.vmware.samples.general.LicenseManager
 
LicenseManagerV25 - Class in com.vmware.samples.general
 
LicenseManagerV25() - Constructor for class com.vmware.samples.general.LicenseManagerV25
 
licMngrObj - Variable in class com.vmware.samples.general.LicenseManagerV25
 
LineChart - Class in com.vmware.samples.performance.widgets
Draws a nice pretty chart given a set of data.
LineChart(int, long, String, String, int, boolean) - Constructor for class com.vmware.samples.performance.widgets.LineChart
 
loadSession() - Method in class com.vmware.apputils.AppUtil
 
loadSession(String, String, boolean) - Method in class com.vmware.apputils.vim.ServiceConnection
 
loadSession(String, String) - Method in class com.vmware.apputils.vim25.ServiceConnection
 
log - Variable in class com.vmware.apputils.AppUtil
 
Log - Class in com.vmware.apputils
Logger to file if possible or console.
Log() - Constructor for class com.vmware.apputils.Log
 
logException(Exception) - Method in class com.vmware.apputils.ClientUtil
Log the Exception - fault or otherwise TODO: Enhance to handle different detail contents.
logFault(MethodFault) - Method in class com.vmware.apputils.ClientUtil
Log a fault.
logLine(String) - Method in class com.vmware.apputils.Log
 

M

main(String[]) - Static method in class com.vmware.samples.alarms.VMPowerStateAlarm
 
main(String[]) - Static method in class com.vmware.samples.ciminfo.VIWrapper
 
main(String[]) - Static method in class com.vmware.samples.events.EventFormat
The main entry point for the application.
main(String[]) - Static method in class com.vmware.samples.events.EventHistoryCollectorMonitor
 
main(String[]) - Static method in class com.vmware.samples.events.VMEventHistoryCollectorMonitor
 
main(String[]) - Static method in class com.vmware.samples.general.Browser
 
main(String[]) - Static method in class com.vmware.samples.general.Connect
 
main(String[]) - Static method in class com.vmware.samples.general.Create
 
main(String[]) - Static method in class com.vmware.samples.general.Delete
 
main(String[]) - Static method in class com.vmware.samples.general.GetUpdates
 
main(String[]) - Static method in class com.vmware.samples.general.LicenseManager
 
main(String[]) - Static method in class com.vmware.samples.general.Move
 
main(String[]) - Static method in class com.vmware.samples.general.PropertyCollector
 
main(String[]) - Static method in class com.vmware.samples.general.RemoveManagedObject
 
main(String[]) - Static method in class com.vmware.samples.general.Rename
 
main(String[]) - Static method in class com.vmware.samples.general.SearchIndex
Excercise the SearchIndex API
main(String[]) - Static method in class com.vmware.samples.general.SimpleClient
 
main(String[]) - Static method in class com.vmware.samples.general.TaskList
 
main(String[]) - Static method in class com.vmware.samples.host.AddVirtualNic
 
main(String[]) - Static method in class com.vmware.samples.host.AddVirtualSwitch
 
main(String[]) - Static method in class com.vmware.samples.host.AddVirtualSwitchPortGroup
 
main(String[]) - Static method in class com.vmware.samples.host.RemoveVirtualNic
 
main(String[]) - Static method in class com.vmware.samples.host.RemoveVirtualSwitch
 
main(String[]) - Static method in class com.vmware.samples.host.RemoveVirtualSwitchPortGroup
 
main(String[]) - Static method in class com.vmware.samples.httpfileaccess.ColdMigration
 
main(String[]) - Static method in class com.vmware.samples.httpfileaccess.GetVMFiles
 
main(String[]) - Static method in class com.vmware.samples.performance.Basics
 
main(String[]) - Static method in class com.vmware.samples.performance.History
 
main(String[]) - Static method in class com.vmware.samples.performance.PrintCounters
 
main(String[]) - Static method in class com.vmware.samples.performance.Realtime
 
main(String[]) - Static method in class com.vmware.samples.performance.VITop
 
main(String[]) - Static method in class com.vmware.samples.performance.VIUsage
 
main(String[]) - Static method in class com.vmware.samples.scheduling.DeleteOneTimeScheduledTask
The main entry point for the application.
main(String[]) - Static method in class com.vmware.samples.scheduling.OneTimeScheduledTask
The main entry point for the application.
main(String[]) - Static method in class com.vmware.samples.scheduling.WeeklyRecurrenceScheduledTask
The main entry point for the application.
main(String[]) - Static method in class com.vmware.samples.scsilun.SCSILunName
 
main(String[]) - Static method in class com.vmware.samples.simpleagent.CreateUser
 
main(String[]) - Static method in class com.vmware.samples.simpleagent.SimpleAgent
 
main(String[]) - Static method in class com.vmware.samples.version.displaynewpropertieshost.DisplayNewPropertiesHost
 
main(String[]) - Static method in class com.vmware.samples.version.displaynewpropertiesvm.DisplayNewPropertiesVM
 
main(String[]) - Static method in class com.vmware.samples.version.getvirtualdiskfiles.GetVirtualDiskFiles
 
main(String[]) - Static method in class com.vmware.samples.version.hostpowerops.HostPowerOps
 
main(String[]) - Static method in class com.vmware.samples.version.installhostpatch.InstallHostPatch
 
main(String[]) - Static method in class com.vmware.samples.version.querymemoryoverhead.QueryMemoryOverhead
 
main(String[]) - Static method in class com.vmware.samples.version.recordsession.RecordSession
 
main(String[]) - Static method in class com.vmware.samples.vm.VMClone
 
main(String[]) - Static method in class com.vmware.samples.vm.VMCreate
 
main(String[]) - Static method in class com.vmware.samples.vm.VMDeltaDisk
 
main(String[]) - Static method in class com.vmware.samples.vm.VMLinkedClone
 
main(String[]) - Static method in class com.vmware.samples.vm.VMotion
 
main(String[]) - Static method in class com.vmware.samples.vm.VMpowerOps
The main entry point for the application.
main(String[]) - Static method in class com.vmware.samples.vm.VMPromoteDisks
 
main(String[]) - Static method in class com.vmware.samples.vm.VMReconfig
 
main(String[]) - Static method in class com.vmware.samples.vm.VMRelocate
 
main(String[]) - Static method in class com.vmware.samples.vm.VMSnapshot
 
main(String[]) - Static method in class com.vmware.security.credstore.CredentialStoreAdmin
 
migrate_or_relocate_VM() - Method in class com.vmware.samples.vm.VMotion
 
migrateVM(String, String, String, String) - Method in class com.vmware.samples.vm.VMotion
 
monitorTask(ManagedObjectReference) - Method in class com.vmware.samples.vm.VMotionV25
 
mouseClicked(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is clicked ont the component.
mouseDragged(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is dragged over the component.
mouseEntered(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is enters the component.
mouseExited(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is exits the component.
mouseMoved(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is moved over the component.
mousePressed(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is pressed ont the component.
mouseReleased(MouseEvent) - Method in class com.vmware.samples.performance.widgets.LineChart
Called when the mouse is released ont the component.
Move - Class in com.vmware.samples.general
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.samples.general.Move
 

O

OneTimeScheduledTask - Class in com.vmware.samples.scheduling
This is a simple standalone client whose purpose is to demonstrate the creation of a ScheduledTask using the ScheduledTaskManager To run this samples following parameters are used : taskname [required] : name of the task to be scheduled vmname [required] : name of the virtual machine Command Line: run.bat com.vmware.samples.vm.OneTimeScheduledTask --url [webserviceurl] --username [username] --password [password] --taskname [myTask]
OneTimeScheduledTask() - Constructor for class com.vmware.samples.scheduling.OneTimeScheduledTask
 
option_is_set(String) - Method in class com.vmware.apputils.AppUtil
 
OptionSpec - Class in com.vmware.apputils
The OptionSpec class is the basis for all command-line arguments that get passed to the sample applications.
OptionSpec(String, String, int, String, String) - Constructor for class com.vmware.apputils.OptionSpec
 

P

paintComponent(Graphics) - Method in class com.vmware.samples.performance.widgets.LineChart
Paints the component.
parseInput(String[]) - Method in class com.vmware.apputils.AppUtil
 
powerDownHost(ManagedObjectReference, String[], String) - Static method in class com.vmware.samples.version.hostpowerops.HostPowerOpsV25
 
printCimInstance(CIMInstance) - Method in class com.vmware.samples.ciminfo.CIMUtil
 
printCimObjectPath(CIMObjectPath) - Method in class com.vmware.samples.ciminfo.CIMUtil
CIMObjectPath, CIMInstance, pretty printing methods
printCimObjectPath(CIMInstance) - Method in class com.vmware.samples.ciminfo.CIMUtil
 
PrintCounters - Class in com.vmware.samples.performance
This sample writes the available counters of a managed entity into the specified file at the specified location.
PrintCounters() - Constructor for class com.vmware.samples.performance.PrintCounters
 
printUsage() - Method in class com.vmware.apputils.ClientUtil
 
PropertyCollector - Class in com.vmware.samples.general
This sample excercise the PropertyCollector API of all the managed entity To run this samples following parameters are used : dcName [required] : name of the datacenter.
PropertyCollector() - Constructor for class com.vmware.samples.general.PropertyCollector
 

Q

queryHostComponents(ManagedObjectReference, String[], String) - Static method in class com.vmware.samples.version.installhostpatch.InstallHostPatchV25
 
QueryMemoryOverhead - Class in com.vmware.samples.version.querymemoryoverhead
This sample Determines the amount of memory overhead necessary to power on a virtual machine with the specified characteristics.
QueryMemoryOverhead() - Constructor for class com.vmware.samples.version.querymemoryoverhead.QueryMemoryOverhead
 
queryMemoryOverhead(ManagedObjectReference, String[], String) - Static method in class com.vmware.samples.version.querymemoryoverhead.QueryMemoryOverheadV25
 
QueryMemoryOverheadV25 - Class in com.vmware.samples.version.querymemoryoverhead
 
QueryMemoryOverheadV25() - Constructor for class com.vmware.samples.version.querymemoryoverhead.QueryMemoryOverheadV25
 

R

Realtime - Class in com.vmware.samples.performance
This sample displays performance measurements from the current time at the console.
Realtime() - Constructor for class com.vmware.samples.performance.Realtime
 
RecordSession - Class in com.vmware.samples.version.recordsession
This samples demostrates the new functionality for session recording.
RecordSession() - Constructor for class com.vmware.samples.version.recordsession.RecordSession
 
recordSession(ManagedObjectReference, ArrayList, String[], String) - Static method in class com.vmware.samples.version.recordsession.RecordSessionV25
 
RecordSessionV25 - Class in com.vmware.samples.version.recordsession
 
RecordSessionV25() - Constructor for class com.vmware.samples.version.recordsession.RecordSessionV25
 
relocateVM(String, String, String, String, String) - Method in class com.vmware.samples.vm.VMotion
 
RemoveManagedObject - Class in com.vmware.samples.general
This sample is used to Destroy or Unregister Managed Inventory Object like a Host, VM, Folder, etc
RemoveManagedObject() - Constructor for class com.vmware.samples.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.samples.host
This sample is used to remove a Virtual Nic To run this samples following parameters are used: portgroupname [required]: Name of the port group from which the nic is to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Parameters: Command Line:to remove a Host VirtualNic from a PortGroup run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --datacenter [mydatacenter] --portgroupname [myportgroup]> --host [hostname] Command Line:to remove a Host VirtualNic from a PortGroup without specifying the host run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --datacenter [mydatacenter] --portgroupname [myportgroup] Command Line:to remove a Host VirtualNic from a PortGroup without specifying the datacenter run.bat com.vmware.samples.host.RemoveVirtualNic --url [webserviceurl] --username [username] --password [password] --portgroupname [myportgroup] --host [name of the host]
RemoveVirtualNic() - Constructor for class com.vmware.samples.host.RemoveVirtualNic
 
RemoveVirtualSwitch - Class in com.vmware.samples.host
This sample is used to remove a virtual switch To run this samples following parameters are used: vsiwtchid [required]: Name of the switch to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line: to remove the Virtual Switch from a virtual center run.bat com.vmware.samples.host.RemoveVirtualSwitch --url [webserviceurl] --username [username] --password *[password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] --host[hostname] Command Line:to remove a Virtual Switch from a virtual center without specifying the host run.bat com.vmware.samples.host.RemoveVirtualSwitch --url [webserviceurl] --username [username] --password *[password] --vsiwtchid [mySwitch] --datacenter [mydatacenter] Command Line:to remove a Virtual Switch from a virtual center without specifying the datacenter run.bat com.vmware.samples.host.RemoveVirtualSwitch --url [webserviceurl] --username [username] --password [password] --vsiwtchid [mySwitch] --host [host]
RemoveVirtualSwitch() - Constructor for class com.vmware.samples.host.RemoveVirtualSwitch
 
RemoveVirtualSwitchPortGroup - Class in com.vmware.samples.host
This sample is used to remove a Virtual Switch PortGroup To run this samples following parameters are used: Parameters: portgroupname [required]: Name of the port group to be removed host [optional]: Name of the host datacenter [optional]: Name of the datacenter Command Line: To remove a Virtual Switch Port Group run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --datacenter [mydatacenter] --portgroupname[ Command Line: To remove a Virtual Switch Port Group without specifying the host name run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --datacenter [mydatacenter] --portgroupname[Command Line: To remove a Virtual Switch Port Group without specifying the datacenter name run.bat com.vmware.samples.host.RemoveVirtualSwitchPortGroup --url [webserviceurl] --username [username] --password --portgroupname[
RemoveVirtualSwitchPortGroup() - Constructor for class com.vmware.samples.host.RemoveVirtualSwitchPortGroup
 
Rename - Class in com.vmware.samples.general
This sample renames a manged entity object.
Rename() - Constructor for class com.vmware.samples.general.Rename
 
resultClassFilter - Variable in class com.vmware.samples.ciminfo.CIMInfo.AssociationFilter
resultClassFilter Format : classname1,classname2
resultClassName - Variable in class com.vmware.samples.ciminfo.CIMInfo.AssociationFilter
 
retrieveCIMInstance(String) - Method in class com.vmware.samples.ciminfo.CIMInfo
retrieveCIMInstance retrieves instances of the CIM class specified, and prints them out.

S

saveSession(String) - Method in class com.vmware.apputils.AppUtil
 
saveSession(String) - Method in class com.vmware.apputils.vim.ServiceConnection
 
saveSession(String) - Method in class com.vmware.apputils.vim25.ServiceConnection
 
SCSILunName - Class in com.vmware.samples.scsilun
This sample displays the CanonicalName,Vendor,Model,Data,Namespace and NamespaceId of the host
SCSI LUN name.
SCSILunName() - Constructor for class com.vmware.samples.scsilun.SCSILunName
 
SearchIndex - Class in com.vmware.samples.general
This sample excercise the SearchIndex API To run this samples following parameters are used : dcName [required] : name of the datacenter.
SearchIndex() - Constructor for class com.vmware.samples.general.SearchIndex
 
ServiceConnection - Class in com.vmware.apputils.vim
Connection Handler for WebService
ServiceConnection(String) - Constructor for class com.vmware.apputils.vim.ServiceConnection
 
ServiceConnection - Class in com.vmware.apputils.vim25
Connection Handler for WebService
ServiceConnection(String) - Constructor for class com.vmware.apputils.vim25.ServiceConnection
 
ServiceState() - Method in class com.vmware.apputils.vim.ServiceConnection
 
ServiceState() - Method in class com.vmware.apputils.vim25.ServiceConnection
 
ServiceUtil - Class in com.vmware.apputils.vim
Utility wrapper methods for the vimService methods
ServiceUtil() - Constructor for class com.vmware.apputils.vim.ServiceUtil
 
ServiceUtil - Class in com.vmware.apputils.vim25
Utility wrapper methods for the vimService methods
ServiceUtil() - Constructor for class com.vmware.apputils.vim25.ServiceUtil
 
setAntialias(boolean) - Method in class com.vmware.samples.performance.widgets.LineChart
Sets the antialias flag to control whether or not antialiasing will be used when rendering the component.
setData(Calendar, long, String, Vector) - Method in class com.vmware.samples.performance.widgets.StatsTable
 
setup() - Method in class com.vmware.apputils.AppUtil
 
setup(String) - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
setValues(int[], long) - Method in class com.vmware.samples.performance.widgets.LineChart
Sets the data samples to be displayed by the line chart.
SimpleAgent - Class in com.vmware.samples.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.samples.simpleagent.SimpleAgent
 
SimpleClient - Class in com.vmware.samples.general
SimpleClient connects to the server, logs in, lists the inventory contents (managed entities) at the console, and logs out.
SimpleClient() - Constructor for class com.vmware.samples.general.SimpleClient
 
srcClassName - Variable in class com.vmware.samples.ciminfo.CIMInfo.AssociationFilter
 
srcPropertyFilter - Variable in class com.vmware.samples.ciminfo.CIMInfo.AssociationFilter
srcPropertyFilter Format : Tokens : Value ops : = (equals) * (partially equals one in set) ? (partially equals) Expression Ops : & (boolean and) | (boolean or) ! (negate) Examples : Property=value // property equals value Property?value // value is partially contained in retrieved value Property*value1,value2,value3 // one of the values is partially contained !Property*value,value2,value3 // value is not in the set of values Property1=value1&Property2=value2 // expression with 2 properties
StatsTable - Class in com.vmware.samples.performance.widgets
 
StatsTable(String[]) - Constructor for class com.vmware.samples.performance.widgets.StatsTable
 

T

TaskList - Class in com.vmware.samples.general
This sample dipslays a list of tasks performed on some managed object.
TaskList() - Constructor for class com.vmware.samples.general.TaskList
 

U

updateValues(String[], Object[], PropertyChange) - Method in class com.vmware.apputils.vim.ServiceUtil
 
updateValues(String[], Object[], PropertyChange) - Method in class com.vmware.apputils.vim25.ServiceUtil
 
useLicenseManager25(ArrayList, String[], String, LicenseManager) - Method in class com.vmware.samples.general.LicenseManagerV25
 
useVMotion25(String[], String, VMotion) - Method in class com.vmware.samples.vm.VMotionV25
 

V

validate() - Method in class com.vmware.apputils.AppUtil
 
validate(Object, String) - Method in class com.vmware.apputils.AppUtil
 
validate(Object, String) - Method in class com.vmware.apputils.version.ExtendedAppUtil
 
validate(String) - Method in class com.vmware.samples.general.LicenseManager
 
VersionUtil - Class in com.vmware.apputils.version
 
VersionUtil() - Constructor for class com.vmware.apputils.version.VersionUtil
 
VITop - Class in com.vmware.samples.performance
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.
VITop() - Constructor for class com.vmware.samples.performance.VITop
 
VIUsage - Class in com.vmware.samples.performance
This sample creates a GUI for graphical representation of the counters.
VIUsage() - Constructor for class com.vmware.samples.performance.VIUsage
 
VIWrapper - Class in com.vmware.samples.ciminfo
This sample shows how to write CIM client applications in Java, to connect to and retrieve different CIM instances from the Service, retrieve associated CIM instances and invoke operations like Clearing the RecordLog.
VIWrapper() - Constructor for class com.vmware.samples.ciminfo.VIWrapper
 
VMClone - Class in com.vmware.samples.vm
This sample implements a function that Locates a pre-existing virtual machine on the VirtualCenter server.
VMClone() - Constructor for class com.vmware.samples.vm.VMClone
 
VMCreate - Class in com.vmware.samples.vm
This sample creates a VM.
VMCreate() - Constructor for class com.vmware.samples.vm.VMCreate
 
VMDeltaDisk - Class in com.vmware.samples.vm
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.samples.vm.VMDeltaDisk
 
VMEventHistoryCollectorMonitor - Class in com.vmware.samples.events
This is a simple standalone client whose purpose is to demonstrate the process for Logging into the Webservice, Creating EventHistoryCollector filtered for a single VM and monitoring Events using the latestPage attribute of the EventHistoryCollector To run this samples following parameters are used : vmpath [required] : A VM Inventory Path Command Line: run.bat com.vmware.samples.vm.VMEventHistoryCollectorMonitor --url [webserviceurl] --username [username] --password [password] --vmPath [vm inventory Path]
VMEventHistoryCollectorMonitor() - Constructor for class com.vmware.samples.events.VMEventHistoryCollectorMonitor
 
VMLinkedClone - Class in com.vmware.samples.vm
This sample is used to create a linked clone from an existing snapshot.
VMLinkedClone() - Constructor for class com.vmware.samples.vm.VMLinkedClone
 
VMotion - Class in com.vmware.samples.vm
This sample is 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 To run this samples following parameters are used : vmname [required] : Name of the virtual machine targethost [required] : Name of the target host sourcehost [required] : Name of the host containg the virtual machine targetpool [required] : Name of the target resource pool targetdatastore [required] : Name of the target datastore priority [optional] : The priority of the migration task: defaultPriority, highPriority, lowPriority state [optional] : Command: Relocate or migrate a VM run.bat com.vmware.samples.version.VMotion --url [webserviceurl] --username [username] --password [password] --targetpool [tpool] --sourcehost [shost] --targethost [thost] --vmname [myVM] --targetdatastore [tDS] Validate the vmotion capability run.bat com.vmware.samples.version.VMotion --url [webserviceurl] --username [username] --password [password] --targetpool [tpool] --sourcehost [shost] --targethost [thost] --vmname [myVM] --targetdatastore [tDS] --validate
VMotion() - Constructor for class com.vmware.samples.vm.VMotion
 
vmotionObj - Variable in class com.vmware.samples.vm.VMotionV25
 
VMotionV25 - Class in com.vmware.samples.vm
 
VMotionV25() - Constructor for class com.vmware.samples.vm.VMotionV25
 
VMpowerOps - Class in com.vmware.samples.vm
This sample Performs powerops operations on the virtual machines To run this samples following parameters are used: vmname [optional] : Name of the virtual machine operation [optional] : Type of the operation folder [optional] : Name of the folder datacenter [optional] : Name of the datacenter pool [optional] : Name of the resource pool ipaddress [optional] : ipaddress of the virtual machine guestid [optional] : guestid of the virtual machine host [optional] : Name of the host operation [optional] : Name of the Operation Command Line: run.bat com.vmware.samples.vm.VMpowerOps --url --username --password --operation --folder --guestid --datacenter
VMpowerOps() - Constructor for class com.vmware.samples.vm.VMpowerOps
 
VMPowerStateAlarm - Class in com.vmware.samples.alarms
This is a sample which creates an Alarm to monitor the virtual machine's power state Parameters: vmname [required] Name of the virtual machine alarm [required] Name of the alarms Command Line to create an alarm "AlarmABC" on a virtual machine run.bat com.vmware.samples.vm.VMPowerStateAlarm --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --alarm [alarm]
VMPowerStateAlarm() - Constructor for class com.vmware.samples.alarms.VMPowerStateAlarm
 
VMPromoteDisks - Class in com.vmware.samples.vm
This sample is used to consolidate a linked clone by using promote API.
VMPromoteDisks() - Constructor for class com.vmware.samples.vm.VMPromoteDisks
 
VMReconfig - Class in com.vmware.samples.vm
This sample reconfigures a virtual machine which includes reconfiguring the disk size,disk mode etc.
VMReconfig() - Constructor for class com.vmware.samples.vm.VMReconfig
 
VMRelocate - Class in com.vmware.samples.vm
This sample is used to relocate a linked clone using disk move type.
VMRelocate() - Constructor for class com.vmware.samples.vm.VMRelocate
 
VMSnapshot - Class in com.vmware.samples.vm
This sample Performs virtual machine snapshot operations To run this samples following parameters are used: Parameters vmname [required]:Name of the virtual machine operation [required]:Type of the operation snapshotname [optional]:Name of the snapshot description [optional]:description of the sanpshot removechild [optional]:if children needs to be removed and 0 if children needn't be removed Command Line:To list the name of the snapshot run.bat com.vmware.samples.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation [list] Command Line: To create a snapshot of the virtual machine run.bat com.vmware.samples.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation [create] --description [Description of the snapshot] Command Line: To revert a snapshot of the virtual machine run.bat com.vmware.samples.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation [revert] --description [Description of the snapshot] Command Line: To remove a snapshot of the virtual machine run.bat com.vmware.samples.vm.VMSnapshot --url [webserviceurl] --username [username] --password [password] --vmname [vmname] --operation [remove] --removechild [0]
VMSnapshot() - Constructor for class com.vmware.samples.vm.VMSnapshot
 
VMUtils - Class in com.vmware.apputils.vim
 
VMUtils(AppUtil) - Constructor for class com.vmware.apputils.vim.VMUtils
 

W

waitForTask(ManagedObjectReference) - Method in class com.vmware.apputils.vim.ServiceUtil
 
waitForTask(ManagedObjectReference) - Method in class com.vmware.apputils.vim25.ServiceUtil
 
waitForValues(ManagedObjectReference, String[], String[], Object[][]) - Method in class com.vmware.apputils.vim.ServiceUtil
Handle Updates for a single object.
waitForValues(ManagedObjectReference, String[], String[], Object[][]) - Method in class com.vmware.apputils.vim25.ServiceUtil
Handle Updates for a single object.
WeeklyRecurrenceScheduledTask - Class in com.vmware.samples.scheduling
This is a simple standalone client whose purpose is to demonstrate the process of creation of a ScheduledTask using the ScheduledTaskManager To run this samples following parameters are used : taskname [required] : name of the task to be scheduled vmpath [required] :VM Inventory Path Command Line: run.bat com.vmware.samples.vm.WeeklyRecurrenceScheduledTask --url [webserviceurl] --username [username] --password [password] --vmpath ["/DatacenterName/vm/FolderName/myVM"] --taskname [Task1]
WeeklyRecurrenceScheduledTask() - Constructor for class com.vmware.samples.scheduling.WeeklyRecurrenceScheduledTask
 

_

_locator - Variable in class com.vmware.apputils.vim.ServiceConnection
 
_locator - Variable in class com.vmware.apputils.vim25.ServiceConnection
 
_service - Variable in class com.vmware.apputils.vim.ServiceConnection
 
_service - Variable in class com.vmware.apputils.vim25.ServiceConnection
 
_sic - Variable in class com.vmware.apputils.vim.ServiceConnection
 
_sic - Variable in class com.vmware.apputils.vim25.ServiceConnection
 
_svcRef - Variable in class com.vmware.apputils.vim.ServiceConnection
 
_svcRef - Variable in class com.vmware.apputils.vim25.ServiceConnection
 
_svcState - Variable in class com.vmware.apputils.vim.ServiceConnection
 
_svcState - Variable in class com.vmware.apputils.vim25.ServiceConnection
 

A B C D E F G H I L M O P Q R S T U V W _