Package com.vmware.vim25.mo
Class GuestFileManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.GuestFileManager
-
Constructor Summary
ConstructorsConstructorDescriptionGuestFileManager(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeFileAttributesInGuest(VirtualMachine vm, GuestAuthentication auth, String guestFilePath, GuestFileAttributes fileAttributes) createTemporaryDirectoryInGuest(GuestAuthentication auth, String prefix, String suffix, String directoryPath) createTemporaryFileInGuest(GuestAuthentication auth, String prefix, String suffix, String directoryPath) voiddeleteDirectoryInGuest(VirtualMachine vm, GuestAuthentication auth, String directoryPath, boolean recursive) voiddeleteFileInGuest(VirtualMachine vm, GuestAuthentication auth, String filePath) getVM()initiateFileTransferFromGuest(GuestAuthentication auth, String guestFilePath) initiateFileTransferFromGuest(VirtualMachine vm, GuestAuthentication auth, String guestFilePath) initiateFileTransferToGuest(GuestAuthentication auth, String guestFilePath, GuestFileAttributes fileAttributes, long fileSize, boolean overwrite) initiateFileTransferToGuest(VirtualMachine vm, GuestAuthentication auth, String guestFilePath, GuestFileAttributes fileAttributes, long fileSize, boolean overwrite) listFilesInGuest(GuestAuthentication auth, String filePath, int index, int maxResults, String matchPattern) voidmakeDirectoryInGuest(VirtualMachine vm, GuestAuthentication auth, String directoryPath, boolean createParentDirectories) voidmoveDirectoryInGuest(VirtualMachine vm, GuestAuthentication auth, String srcDirectoryPath, String dstDirectoryPath) voidmoveFileInGuest(VirtualMachine vm, GuestAuthentication auth, String srcFilePath, String dstFilePath, boolean overwrite) voidsetVM(VirtualMachine vm) 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
-
Constructor Details
-
GuestFileManager
-
-
Method Details
-
changeFileAttributesInGuest
public void changeFileAttributesInGuest(VirtualMachine vm, GuestAuthentication auth, String guestFilePath, GuestFileAttributes fileAttributes) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
deleteDirectoryInGuest
public void deleteDirectoryInGuest(VirtualMachine vm, GuestAuthentication auth, String directoryPath, boolean recursive) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
deleteFileInGuest
public void deleteFileInGuest(VirtualMachine vm, GuestAuthentication auth, String filePath) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
initiateFileTransferFromGuest
public FileTransferInformation initiateFileTransferFromGuest(VirtualMachine vm, GuestAuthentication auth, String guestFilePath) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
initiateFileTransferToGuest
public String initiateFileTransferToGuest(VirtualMachine vm, GuestAuthentication auth, String guestFilePath, GuestFileAttributes fileAttributes, long fileSize, boolean overwrite) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
makeDirectoryInGuest
public void makeDirectoryInGuest(VirtualMachine vm, GuestAuthentication auth, String directoryPath, boolean createParentDirectories) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
moveDirectoryInGuest
public void moveDirectoryInGuest(VirtualMachine vm, GuestAuthentication auth, String srcDirectoryPath, String dstDirectoryPath) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
moveFileInGuest
public void moveFileInGuest(VirtualMachine vm, GuestAuthentication auth, String srcFilePath, String dstFilePath, boolean overwrite) throws FileFault, GuestOperationsFault, InvalidState, TaskInProgress, RuntimeFault, RemoteException -
getVM
-
setVM
-
createTemporaryDirectoryInGuest
public String createTemporaryDirectoryInGuest(GuestAuthentication auth, String prefix, String suffix, String directoryPath) throws GuestOperationsFault, InvalidState, TaskInProgress, FileFault, RuntimeFault, RemoteException -
createTemporaryFileInGuest
public String createTemporaryFileInGuest(GuestAuthentication auth, String prefix, String suffix, String directoryPath) throws GuestOperationsFault, InvalidState, TaskInProgress, FileFault, RuntimeFault, RemoteException -
initiateFileTransferFromGuest
public FileTransferInformation initiateFileTransferFromGuest(GuestAuthentication auth, String guestFilePath) throws GuestOperationsFault, InvalidState, TaskInProgress, FileFault, RuntimeFault, RemoteException -
initiateFileTransferToGuest
public String initiateFileTransferToGuest(GuestAuthentication auth, String guestFilePath, GuestFileAttributes fileAttributes, long fileSize, boolean overwrite) throws GuestOperationsFault, InvalidState, TaskInProgress, FileFault, RuntimeFault, RemoteException -
listFilesInGuest
public GuestListFileInfo listFilesInGuest(GuestAuthentication auth, String filePath, int index, int maxResults, String matchPattern) throws GuestOperationsFault, InvalidState, TaskInProgress, FileFault, RuntimeFault, RemoteException
-