com.vmware.vim25.mo
Class GuestProcessManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.GuestProcessManager
public class GuestProcessManager
- extends ManagedObject
provides APIs to manipulate the guest operating system processes
- Since:
- SDK5.0
- Author:
- Steve Jin (http://www.doublecloud.org)
| 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 |
GuestProcessManager
public GuestProcessManager(ServerConnection sc,
ManagedObjectReference mor,
VirtualMachine vm)
getVM
public VirtualMachine getVM()
listProcessesInGuest
public GuestProcessInfo[] listProcessesInGuest(GuestAuthentication auth,
long[] pids)
throws GuestOperationsFault,
InvalidState,
TaskInProgress,
RuntimeFault,
RemoteException
- Throws:
GuestOperationsFault
InvalidState
TaskInProgress
RuntimeFault
RemoteException
readEnvironmentVariableInGuest
public String[] readEnvironmentVariableInGuest(GuestAuthentication auth,
String[] names)
throws GuestOperationsFault,
InvalidState,
TaskInProgress,
RuntimeFault,
RemoteException
- Throws:
GuestOperationsFault
InvalidState
TaskInProgress
RuntimeFault
RemoteException
startProgramInGuest
public long startProgramInGuest(GuestAuthentication auth,
GuestProgramSpec spec)
throws GuestOperationsFault,
InvalidState,
TaskInProgress,
FileFault,
RuntimeFault,
RemoteException
- Throws:
GuestOperationsFault
InvalidState
TaskInProgress
FileFault
RuntimeFault
RemoteException
terminateProcessInGuest
public void terminateProcessInGuest(GuestAuthentication auth,
long pid)
throws GuestOperationsFault,
InvalidState,
TaskInProgress,
RuntimeFault,
RemoteException
- Throws:
GuestOperationsFault
InvalidState
TaskInProgress
RuntimeFault
RemoteException
Copyright © 2011-2012. All Rights Reserved.