com.vmware.vim25.mo
Class HostDatastoreBrowser

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

public class HostDatastoreBrowser
extends ManagedObject

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

Author:
Steve JIN (sjin@vmware.com)

Constructor Summary
HostDatastoreBrowser(ServerConnection serverConnection, ManagedObjectReference mor)
           
 
Method Summary
 void deleteFile(String datastorePath)
           
 Datastore[] getDatastores()
           
 FileQuery[] getSupportedType()
           
 Task searchDatastore_Task(String datastorePath, HostDatastoreBrowserSearchSpec searchSpec)
           
 Task searchDatastoreSubFolders_Task(String datastorePath, HostDatastoreBrowserSearchSpec searchSpec)
           
 
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
 

Constructor Detail

HostDatastoreBrowser

public HostDatastoreBrowser(ServerConnection serverConnection,
                            ManagedObjectReference mor)
Method Detail

getDatastores

public Datastore[] getDatastores()

getSupportedType

public FileQuery[] getSupportedType()

deleteFile

public void deleteFile(String datastorePath)
                throws FileFault,
                       InvalidDatastore,
                       RuntimeFault,
                       RemoteException
Throws:
RemoteException
RuntimeFault
InvalidDatastore
FileFault

searchDatastore_Task

public Task searchDatastore_Task(String datastorePath,
                                 HostDatastoreBrowserSearchSpec searchSpec)
                          throws FileFault,
                                 InvalidDatastore,
                                 RuntimeFault,
                                 RemoteException
Throws:
FileFault
InvalidDatastore
RuntimeFault
RemoteException

searchDatastoreSubFolders_Task

public Task searchDatastoreSubFolders_Task(String datastorePath,
                                           HostDatastoreBrowserSearchSpec searchSpec)
                                    throws FileFault,
                                           InvalidDatastore,
                                           RuntimeFault,
                                           RemoteException
Throws:
FileFault
InvalidDatastore
RuntimeFault
RemoteException


Copyright © 2011-2012. All Rights Reserved.