com.vmware.vim25.mo
Class HostServiceSystem
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.HostServiceSystem
public class HostServiceSystem
- extends ExtensibleManagedObject
The managed object class corresponding to the one defined in VI SDK API reference.
- Author:
- Steve JIN (sjin@vmware.com)
| 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 |
HostServiceSystem
public HostServiceSystem(ServerConnection serverConnection,
ManagedObjectReference mor)
getServiceInfo
public HostServiceInfo getServiceInfo()
refreshServices
public void refreshServices()
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
restartService
public void restartService(String id)
throws HostConfigFault,
InvalidState,
NotFound,
RuntimeFault,
RemoteException
- Throws:
HostConfigFault
InvalidState
NotFound
RuntimeFault
RemoteException
startService
public void startService(String id)
throws HostConfigFault,
InvalidState,
NotFound,
RuntimeFault,
RemoteException
- Throws:
HostConfigFault
InvalidState
NotFound
RuntimeFault
RemoteException
stopService
public void stopService(String id)
throws HostConfigFault,
InvalidState,
NotFound,
RuntimeFault,
RemoteException
- Throws:
HostConfigFault
InvalidState
NotFound
RuntimeFault
RemoteException
uninstallService
public void uninstallService(String id)
throws HostConfigFault,
NotFound,
RuntimeFault,
RemoteException
- Throws:
HostConfigFault
NotFound
RuntimeFault
RemoteException
updateServicePolicy
public void updateServicePolicy(String id,
String policy)
throws HostConfigFault,
NotFound,
RuntimeFault,
RemoteException
- Throws:
HostConfigFault
NotFound
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.