com.vmware.vim25.mo
Class ServiceInstance

java.lang.Object
  extended by com.vmware.vim25.mo.ManagedObject
      extended by com.vmware.vim25.mo.ServiceInstance

public class ServiceInstance
extends ManagedObject

The managed object class corresponding to the one defined in VI SDK API reference.

Author:
Steve JIN (sjin@vmware.com)

Field Summary
static String VIM20_NAMESPACE
           
static String VIM25_NAMESPACE
           
 
Constructor Summary
ServiceInstance(ServerConnection sc)
           
ServiceInstance(URL url, String sessionStr, boolean ignoreCert)
           
ServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace)
           
ServiceInstance(URL url, String username, String password)
           
ServiceInstance(URL url, String username, String password, boolean ignoreCert)
           
ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace)
           
 
Method Summary
 Calendar currentTime()
           
 AboutInfo getAboutInfo()
           
 HostLocalAccountManager getAccountManager()
           
 AlarmManager getAlarmManager()
           
 AuthorizationManager getAuthorizationManager()
           
 Capability getCapability()
           
 ClusterProfileManager getClusterProfileManager()
           
 CustomFieldsManager getCustomFieldsManager()
           
 CustomizationSpecManager getCustomizationSpecManager()
           
 DiagnosticManager getDiagnosticManager()
           
 DistributedVirtualSwitchManager getDistributedVirtualSwitchManager()
           
 EventManager getEventManager()
           
 ExtensionManager getExtensionManager()
           
 FileManager getFileManager()
           
 GuestOperationsManager getGuestOperationsManager()
           
 HostProfileManager getHostProfileManager()
           
 HostSnmpSystem getHostSnmpSystem()
           
 IpPoolManager getIpPoolManager()
           
 LicenseManager getLicenseManager()
           
 LocalizationManager getLocalizationManager()
           
 OptionManager getOptionManager()
           
 OvfManager getOvfManager()
           
 PerformanceManager getPerformanceManager()
           
 ProfileComplianceManager getProfileComplianceManager()
           
 PropertyCollector getPropertyCollector()
           
 Folder getRootFolder()
           
 ScheduledTaskManager getScheduledTaskManager()
           
 SearchIndex getSearchIndex()
           
 Calendar getServerClock()
           
 ServiceContent getServiceContent()
           
 SessionManager getSessionManager()
           
 TaskManager getTaskManager()
           
 UserDirectory getUserDirectory()
           
 ViewManager getViewManager()
           
 VirtualDiskManager getVirtualDiskManager()
           
 VirtualMachineCompatibilityChecker getVirtualMachineCompatibilityChecker()
           
 VirtualMachineProvisioningChecker getVirtualMachineProvisioningChecker()
           
 HostVMotionCompatibility[] queryVMotionCompatibility(VirtualMachine vm, HostSystem[] hosts, String[] compatibility)
           
 ProductComponentInfo[] retrieveProductComponents()
           
 Event[] validateMigration(VirtualMachine[] vms, VirtualMachinePowerState state, String[] testType, ResourcePool pool, HostSystem host)
           
 
Methods inherited from class com.vmware.vim25.mo.ManagedObject
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VIM25_NAMESPACE

public static final String VIM25_NAMESPACE
See Also:
Constant Field Values

VIM20_NAMESPACE

public static final String VIM20_NAMESPACE
See Also:
Constant Field Values
Constructor Detail

ServiceInstance

public ServiceInstance(URL url,
                       String username,
                       String password)
                throws RemoteException,
                       MalformedURLException
Throws:
RemoteException
MalformedURLException

ServiceInstance

public ServiceInstance(URL url,
                       String username,
                       String password,
                       boolean ignoreCert)
                throws RemoteException,
                       MalformedURLException
Throws:
RemoteException
MalformedURLException

ServiceInstance

public ServiceInstance(URL url,
                       String username,
                       String password,
                       boolean ignoreCert,
                       String namespace)
                throws RemoteException,
                       MalformedURLException
Throws:
RemoteException
MalformedURLException

ServiceInstance

public ServiceInstance(URL url,
                       String sessionStr,
                       boolean ignoreCert)
                throws RemoteException,
                       MalformedURLException
Throws:
RemoteException
MalformedURLException

ServiceInstance

public ServiceInstance(URL url,
                       String sessionStr,
                       boolean ignoreCert,
                       String namespace)
                throws RemoteException,
                       MalformedURLException
Throws:
RemoteException
MalformedURLException

ServiceInstance

public ServiceInstance(ServerConnection sc)
Method Detail

getServerClock

public Calendar getServerClock()

getCapability

public Capability getCapability()

getClusterProfileManager

public ClusterProfileManager getClusterProfileManager()

currentTime

public Calendar currentTime()
                     throws RuntimeFault,
                            RemoteException
Throws:
RuntimeFault
RemoteException

getRootFolder

public Folder getRootFolder()

queryVMotionCompatibility

public HostVMotionCompatibility[] queryVMotionCompatibility(VirtualMachine vm,
                                                            HostSystem[] hosts,
                                                            String[] compatibility)
                                                     throws RuntimeFault,
                                                            RemoteException
Throws:
RuntimeFault
RemoteException

retrieveProductComponents

public ProductComponentInfo[] retrieveProductComponents()
                                                 throws RuntimeFault,
                                                        RemoteException
Throws:
RuntimeFault
RemoteException

validateMigration

public Event[] validateMigration(VirtualMachine[] vms,
                                 VirtualMachinePowerState state,
                                 String[] testType,
                                 ResourcePool pool,
                                 HostSystem host)
                          throws InvalidState,
                                 RuntimeFault,
                                 RemoteException
Throws:
InvalidState
RuntimeFault
RemoteException

getServiceContent

public ServiceContent getServiceContent()

getAboutInfo

public AboutInfo getAboutInfo()

getAlarmManager

public AlarmManager getAlarmManager()

getAuthorizationManager

public AuthorizationManager getAuthorizationManager()

getCustomFieldsManager

public CustomFieldsManager getCustomFieldsManager()

getCustomizationSpecManager

public CustomizationSpecManager getCustomizationSpecManager()

getEventManager

public EventManager getEventManager()

getDiagnosticManager

public DiagnosticManager getDiagnosticManager()

getDistributedVirtualSwitchManager

public DistributedVirtualSwitchManager getDistributedVirtualSwitchManager()

getExtensionManager

public ExtensionManager getExtensionManager()

getFileManager

public FileManager getFileManager()

getGuestOperationsManager

public GuestOperationsManager getGuestOperationsManager()

getAccountManager

public HostLocalAccountManager getAccountManager()

getLicenseManager

public LicenseManager getLicenseManager()

getLocalizationManager

public LocalizationManager getLocalizationManager()

getPerformanceManager

public PerformanceManager getPerformanceManager()

getProfileComplianceManager

public ProfileComplianceManager getProfileComplianceManager()

getPropertyCollector

public PropertyCollector getPropertyCollector()

getScheduledTaskManager

public ScheduledTaskManager getScheduledTaskManager()

getSearchIndex

public SearchIndex getSearchIndex()

getSessionManager

public SessionManager getSessionManager()

getHostSnmpSystem

public HostSnmpSystem getHostSnmpSystem()

getHostProfileManager

public HostProfileManager getHostProfileManager()

getIpPoolManager

public IpPoolManager getIpPoolManager()

getVirtualMachineProvisioningChecker

public VirtualMachineProvisioningChecker getVirtualMachineProvisioningChecker()

getVirtualMachineCompatibilityChecker

public VirtualMachineCompatibilityChecker getVirtualMachineCompatibilityChecker()

getTaskManager

public TaskManager getTaskManager()

getUserDirectory

public UserDirectory getUserDirectory()

getViewManager

public ViewManager getViewManager()

getVirtualDiskManager

public VirtualDiskManager getVirtualDiskManager()

getOptionManager

public OptionManager getOptionManager()

getOvfManager

public OvfManager getOvfManager()


Copyright © 2011-2012. All Rights Reserved.