com.vmware.vim25.mo
Class Datastore
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.ExtensibleManagedObject
com.vmware.vim25.mo.ManagedEntity
com.vmware.vim25.mo.Datastore
public class Datastore
- extends ManagedEntity
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.ManagedEntity |
destroy_Task, getAlarmActionEabled, getConfigIssue, getConfigStatus, getCustomValue, getDeclaredAlarmState, getDisabledMethod, getEffectiveRole, getName, getOverallStatus, getParent, getPermission, getRecentTasks, getTag, getTriggeredAlarmState, reload, rename_Task |
| 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 |
Datastore
public Datastore(ServerConnection serverConnection,
ManagedObjectReference mor)
getBrowser
public HostDatastoreBrowser getBrowser()
getCapability
public DatastoreCapability getCapability()
getHost
public DatastoreHostMount[] getHost()
getInfo
public DatastoreInfo getInfo()
getIormConfiguration
public StorageIORMInfo getIormConfiguration()
- Since:
- SDK4.1
getSummary
public DatastoreSummary getSummary()
getVms
public VirtualMachine[] getVms()
datastoreEnterMaintenanceMode
public StoragePlacementResult datastoreEnterMaintenanceMode()
throws InvalidState,
RuntimeFault,
RemoteException
- Throws:
InvalidState
RuntimeFault
RemoteException- Since:
- SDK5.0
datastoreExitMaintenanceMode_Task
public Task datastoreExitMaintenanceMode_Task()
throws InvalidState,
RuntimeFault,
RemoteException
- Throws:
InvalidState
RuntimeFault
RemoteException- Since:
- SDK5.0
destroyDatastore
public void destroyDatastore()
throws ResourceInUse,
RuntimeFault,
RemoteException
- Throws:
ResourceInUse
RuntimeFault
RemoteException
refreshDatastore
public void refreshDatastore()
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException
refreshDatastoreStorageInfo
public void refreshDatastoreStorageInfo()
throws RuntimeFault,
RemoteException
- Throws:
RuntimeFault
RemoteException- Since:
- SDK4.0
renameDatastore
public void renameDatastore(String newName)
throws InvalidName,
DuplicateName,
RuntimeFault,
RemoteException
- Throws:
InvalidName
DuplicateName
RuntimeFault
RemoteException
updateVirtualMachineFiles_Task
public Task updateVirtualMachineFiles_Task(DatastoreMountPathDatastorePair[] mountPathDatastoreMapping)
throws PlatformConfigFault,
ResourceInUse,
TaskInProgress,
InvalidDatastore,
RuntimeFault,
RemoteException
- Throws:
PlatformConfigFault
ResourceInUse
TaskInProgress
InvalidDatastore
RuntimeFault
RemoteException- Since:
- SDK4.1
Copyright © 2011-2012. All Rights Reserved.