Package com.vmware.vim25.mo
Class ServiceInstance
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ServiceInstance
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceInstance(URL url, String sessionStr, boolean ignoreCert) ServiceInstance(URL url, String sessionStr, boolean ignoreCert, int connectTimeout, int readTimeout) ServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace) ServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout) 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, int connectTimeout, int readTimeout) ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace) ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout) ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, String locale) ServiceInstance(URL url, String username, String password, int connectTimeout, int readTimeout) ServiceInstance(URL url, String username, String password, TrustManager trustManager) ServiceInstance(URL url, String username, String password, TrustManager trustManager, int connectTimeout, int readTimeout) ServiceInstance(URL url, String username, String password, TrustManager trustManager, String namespace) ServiceInstance(URL url, String username, String password, TrustManager trustManager, String namespace, int connectTimeout, int readTimeout) ServiceInstance(URL url, String username, String password, TrustManager trustManager, String namespace, int connectTimeout, int readTimeout, String locale) ServiceInstance(URL url, String sessionStr, TrustManager trustManager) ServiceInstance(URL url, String sessionStr, TrustManager trustManager, int connectTimeout, int readTimeout) ServiceInstance(URL url, String sessionStr, TrustManager trustManager, String namespace) ServiceInstance(URL url, String sessionStr, TrustManager trustManager, String namespace, int connectTimeout, int readTimeout) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconstructServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, TrustManager trustManager) protected voidconstructServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, TrustManager trustManager) protected voidconstructServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, TrustManager trustManager, String locale) protected StringgetApiVersion(ServiceContent serviceContent) intprotected UserSessionintprotected UserSessionlogin(SessionManager sessionManager, String userName, String password, String locale) queryVMotionCompatibility(VirtualMachine vm, HostSystem[] hosts, String[] compatibility) protected ServiceContentprotected ServiceContentretrieveServiceContent(VimPortType vimService, ManagedObjectReference mor) 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, setCachedProperty, setMOR, setServerConnection, toString, waitForValues
-
Field Details
-
VIM25_NAMESPACE
- See Also:
-
VIM20_NAMESPACE
- See Also:
-
-
Constructor Details
-
ServiceInstance
-
ServiceInstance
public ServiceInstance(URL url, String username, String password) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, boolean ignoreCert) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, TrustManager trustManager) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, TrustManager trustManager, String namespace) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, boolean ignoreCert, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, TrustManager trustManager, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, TrustManager trustManager, String namespace, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, String locale) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String username, String password, TrustManager trustManager, String namespace, int connectTimeout, int readTimeout, String locale) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, boolean ignoreCert) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, TrustManager trustManager) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, boolean ignoreCert, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, TrustManager trustManager, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, TrustManager trustManager, String namespace) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
ServiceInstance
public ServiceInstance(URL url, String sessionStr, TrustManager trustManager, String namespace, int connectTimeout, int readTimeout) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
-
Method Details
-
getCapability
-
getContent
-
getServerClock
-
constructServiceInstance
protected void constructServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, TrustManager trustManager) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
constructServiceInstance
protected void constructServiceInstance(URL url, String username, String password, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, TrustManager trustManager, String locale) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
constructServiceInstance
protected void constructServiceInstance(URL url, String sessionStr, boolean ignoreCert, String namespace, int connectTimeout, int readTimeout, TrustManager trustManager) throws RemoteException, MalformedURLException - Throws:
RemoteExceptionMalformedURLException
-
getCurrentUserSession
-
getClusterProfileManager
-
currentTime
- Throws:
RuntimeFaultRemoteException
-
getRootFolder
-
queryVMotionCompatibility
public HostVMotionCompatibility[] queryVMotionCompatibility(VirtualMachine vm, HostSystem[] hosts, String[] compatibility) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
retrieveProductComponents
- Throws:
RuntimeFaultRemoteException
-
login
protected UserSession login(SessionManager sessionManager, String userName, String password, String locale) throws RemoteException - Throws:
RemoteException
-
retrieveServiceContent
protected ServiceContent retrieveServiceContent(VimPortType vimService, ManagedObjectReference mor) throws RemoteException - Throws:
RemoteException
-
retrieveServiceContent
- Throws:
RuntimeFaultRemoteException
-
validateMigration
public Event[] validateMigration(VirtualMachine[] vms, VirtualMachinePowerState state, String[] testType, ResourcePool pool, HostSystem host) throws InvalidState, RuntimeFault, RemoteException - Throws:
InvalidStateRuntimeFaultRemoteException
-
getServiceContent
-
getConnectTimeout
public int getConnectTimeout() -
getReadTimeout
public int getReadTimeout() -
getTrustManager
-
getApiVersion
-
getAboutInfo
-
getAlarmManager
-
getAuthorizationManager
-
getCustomFieldsManager
-
getCustomizationSpecManager
-
getEventManager
-
getDiagnosticManager
-
getDistributedVirtualSwitchManager
-
getExtensionManager
-
getFileManager
-
getGuestOperationsManager
-
getAccountManager
-
getLicenseManager
-
getLocalizationManager
-
getPerformanceManager
-
getProfileComplianceManager
-
getPropertyCollector
-
getScheduledTaskManager
-
getSearchIndex
-
getSessionManager
-
getHostSnmpSystem
-
getHostProfileManager
-
getIpPoolManager
-
getVirtualMachineProvisioningChecker
-
getVirtualMachineCompatibilityChecker
-
getTaskManager
-
getUserDirectory
-
getViewManager
-
getVirtualDiskManager
-
getOptionManager
-
getOvfManager
-
getIoFilterManager
-
getFailoverClusterConfigurator
-
getFailoverClusterManager
-