Package com.vmware.vim25.mo
Class HostDatastoreSystem
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.HostDatastoreSystem
-
Constructor Summary
ConstructorsConstructorDescriptionHostDatastoreSystem(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureDatastorePrincipal(String userName, String password) createLocalDatastore(String name, String path) voiddisableClusteredVmdkSupport(Datastore datastore) voidenableClusteredVmdkSupport(Datastore datastore) expandVmfsDatastore(Datastore datastore, VmfsDatastoreExpandSpec spec) extendVmfsDatastore(Datastore datastore, VmfsDatastoreExtendSpec spec) queryAvailableDisksForVmfs(Datastore datastore) longqueryMaxQueueDepth(Datastore datastore) queryVmfsDatastoreCreateOptions(String devicePath, int vmfsMajorVersion) queryVmfsDatastoreExpandOptions(Datastore datastore) queryVmfsDatastoreExtendOptions(Datastore datastore, String devicePath) queryVmfsDatastoreExtendOptions(Datastore datastore, String devicePath, boolean suppressExpandCandidates) queryVmfsDatastoreExtendOptions(Datastore datastore, String devicePath, Boolean suppressExpandCandidates) voidremoveDatastore(Datastore datastore) removeDatastoreEx_Task(Datastore[] datastore) voidsetMaxQueueDepth(Datastore datastore, long maxQdepth) voidupdateLocalSwapDatastore(Datastore datastore) 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
-
HostDatastoreSystem
-
-
Method Details
-
getCapabilities
-
getDatastore
-
configureDatastorePrincipal
public void configureDatastorePrincipal(String userName, String password) throws HostConfigFault, InvalidState, RuntimeFault, RemoteException -
createLocalDatastore
public Datastore createLocalDatastore(String name, String path) throws DuplicateName, FileNotFound, HostConfigFault, InvalidName, RuntimeFault, RemoteException -
createNasDatastore
public Datastore createNasDatastore(HostNasVolumeSpec spec) throws AlreadyExists, DuplicateName, HostConfigFault, RuntimeFault, RemoteException -
createVmfsDatastore
public Datastore createVmfsDatastore(VmfsDatastoreCreateSpec spec) throws DuplicateName, HostConfigFault, RuntimeFault, RemoteException -
createVvolDatastore
public Datastore createVvolDatastore(HostDatastoreSystemVvolDatastoreSpec spec) throws DuplicateName, HostConfigFault, InvalidName, NotFound, RuntimeFault, RemoteException -
disableClusteredVmdkSupport
public void disableClusteredVmdkSupport(Datastore datastore) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
enableClusteredVmdkSupport
public void enableClusteredVmdkSupport(Datastore datastore) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
expandVmfsDatastore
public Datastore expandVmfsDatastore(Datastore datastore, VmfsDatastoreExpandSpec spec) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
queryMaxQueueDepth
- Throws:
NotFoundRuntimeFaultRemoteException
-
queryVmfsDatastoreExtendOptions
public VmfsDatastoreOption[] queryVmfsDatastoreExtendOptions(Datastore datastore, String devicePath, boolean suppressExpandCandidates) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
removeDatastoreEx_Task
public Task removeDatastoreEx_Task(Datastore[] datastore) throws HostConfigFault, RuntimeFault, RemoteException -
resignatureUnresolvedVmfsVolume_Task
public Task resignatureUnresolvedVmfsVolume_Task(HostUnresolvedVmfsResignatureSpec resolutionSpec) throws HostConfigFault, VmfsAmbiguousMount, RuntimeFault, RemoteException -
setMaxQueueDepth
public void setMaxQueueDepth(Datastore datastore, long maxQdepth) throws NotFound, RuntimeFault, RemoteException - Throws:
NotFoundRuntimeFaultRemoteException
-
updateLocalSwapDatastore
public void updateLocalSwapDatastore(Datastore datastore) throws DatastoreNotWritableOnHost, InaccessibleDatastore, RuntimeFault, RemoteException -
extendVmfsDatastore
public Datastore extendVmfsDatastore(Datastore datastore, VmfsDatastoreExtendSpec spec) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
queryAvailableDisksForVmfs
public HostScsiDisk[] queryAvailableDisksForVmfs(Datastore datastore) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
queryVmfsDatastoreCreateOptions
public VmfsDatastoreOption[] queryVmfsDatastoreCreateOptions(String devicePath, int vmfsMajorVersion) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
queryVmfsDatastoreExtendOptions
public VmfsDatastoreOption[] queryVmfsDatastoreExtendOptions(Datastore datastore, String devicePath) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
queryVmfsDatastoreExtendOptions
public VmfsDatastoreOption[] queryVmfsDatastoreExtendOptions(Datastore datastore, String devicePath, Boolean suppressExpandCandidates) throws HostConfigFault, NotFound, RuntimeFault, RemoteException -
queryVmfsDatastoreExpandOptions
public VmfsDatastoreOption[] queryVmfsDatastoreExpandOptions(Datastore datastore) throws NotFound, HostConfigFault, RuntimeFault, RemoteException - Throws:
NotFoundHostConfigFaultRuntimeFaultRemoteException- Since:
- 4.0
-
queryUnresolvedVmfsVolumes
- Throws:
RuntimeFaultRemoteException- Since:
- 4.0
-
removeDatastore
public void removeDatastore(Datastore datastore) throws HostConfigFault, ResourceInUse, NotFound, RuntimeFault, RemoteException
-