Package com.vmware.vim25.mo
Class VcenterVStorageObjectManager
java.lang.Object
com.vmware.vim25.mo.ManagedObject
com.vmware.vim25.mo.VStorageObjectManagerBase
com.vmware.vim25.mo.VcenterVStorageObjectManager
-
Constructor Summary
ConstructorsConstructorDescriptionVcenterVStorageObjectManager(ServerConnection serverConnection, ManagedObjectReference mor) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachTagToVStorageObject(ID id, String category, String tag) voidclearVStorageObjectControlFlags(ID id, Datastore datastore, String[] controlFlags) cloneVStorageObject(ID id, Datastore datastore, VslmCloneSpec spec) createDisk(VslmCreateSpec spec) createDiskFromSnapshot(ID id, Datastore datastore, ID snapshotId, String name, VirtualMachineProfileSpec[] profile, CryptoSpec crypto, String path) createSnapshot(ID id, Datastore datastore, String description) deleteSnapshot(ID id, Datastore datastore, ID snapshotId) deleteVStorageObject(ID id, Datastore datastore) deleteVStorageObjectEx(ID id, Datastore datastore) voiddetachTagFromVStorageObject(ID id, String category, String tag) extendDisk(ID id, Datastore datastore, long newCapacityInMB) inflateDisk(ID id, Datastore datastore) ID[]listVStorageObject(Datastore datastore) ID[]listVStorageObjectsAttachedToTag(String category, String tag) queryChangedDiskAreas(ID id, Datastore datastore, ID snapshotId, long startOffset, String changeId) queryVirtualDiskUuidEx(String name, Datacenter datacenter) reconcileDatastoreInventory(Datastore datastore, boolean deepCleansing) registerDisk(String path, String name) relocateVStorageObject(ID id, Datastore datastore, VslmRelocateSpec spec) voidrenameVStorageObject(ID id, Datastore datastore, String name) retrieveSnapshotDetails(ID id, Datastore datastore, ID snapshotId) retrieveSnapshotInfo(ID id, Datastore datastore) retrieveVStorageObject(ID id, Datastore datastore, String[] diskInfoFlags) retrieveVStorageObjectState(ID id, Datastore datastore) revertVStorageObject(ID id, Datastore datastore, ID snapshotId) voidscheduleReconcileDatastoreInventory(Datastore datastore, boolean deepCleansing) setVirtualDiskUuidEx(String name, Datacenter datacenter, String uuid) voidsetVStorageObjectControlFlags(ID id, Datastore datastore, String[] controlFlags) updateVStorageObjectCrypto(ID id, Datastore datastore, VirtualMachineProfileSpec[] profile, DiskCryptoSpec disksCrypto) updateVStorageObjectMetadataEx(ID id, Datastore datastore, KeyValue[] metadata, String[] deleteKeys) updateVStorageObjectPolicy(ID id, Datastore datastore, VirtualMachineProfileSpec[] profile) Methods inherited from class com.vmware.vim25.mo.VStorageObjectManagerBase
createSnapshotEx, deleteSnapshotEx, deleteSnapshotEx2, extendDiskEx, renameVStorageObjectEx, revertVStorageObjectExMethods 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
-
VcenterVStorageObjectManager
-
-
Method Details
-
attachTagToVStorageObject
public void attachTagToVStorageObject(ID id, String category, String tag) throws NotFound, RuntimeFault, RemoteException - Throws:
NotFoundRuntimeFaultRemoteException
-
clearVStorageObjectControlFlags
public void clearVStorageObjectControlFlags(ID id, Datastore datastore, String[] controlFlags) throws InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
cloneVStorageObject
public Task cloneVStorageObject(ID id, Datastore datastore, VslmCloneSpec spec) throws FileFault, InvalidDatastore, NotFound, RuntimeFault, RemoteException -
createDisk
public Task createDisk(VslmCreateSpec spec) throws FileFault, InvalidDatastore, RuntimeFault, RemoteException -
createDiskFromSnapshot
public Task createDiskFromSnapshot(ID id, Datastore datastore, ID snapshotId, String name, VirtualMachineProfileSpec[] profile, CryptoSpec crypto, String path) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
createSnapshot
public Task createSnapshot(ID id, Datastore datastore, String description) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
deleteSnapshot
public Task deleteSnapshot(ID id, Datastore datastore, ID snapshotId) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
deleteVStorageObject
public Task deleteVStorageObject(ID id, Datastore datastore) throws FileFault, InvalidDatastore, InvalidState, NotFound, TaskInProgress, RuntimeFault, RemoteException -
deleteVStorageObjectEx
public Task deleteVStorageObjectEx(ID id, Datastore datastore) throws FileFault, InvalidDatastore, InvalidState, NotFound, TaskInProgress, RuntimeFault, RemoteException -
detachTagFromVStorageObject
public void detachTagFromVStorageObject(ID id, String category, String tag) throws NotFound, RuntimeFault, RemoteException - Throws:
NotFoundRuntimeFaultRemoteException
-
extendDisk
public Task extendDisk(ID id, Datastore datastore, long newCapacityInMB) throws FileFault, InvalidDatastore, InvalidState, NotFound, TaskInProgress, RuntimeFault, RemoteException -
inflateDisk
public Task inflateDisk(ID id, Datastore datastore) throws FileFault, InvalidDatastore, InvalidState, NotFound, TaskInProgress, RuntimeFault, RemoteException -
listTagsAttachedToVStorageObject
public VslmTagEntry[] listTagsAttachedToVStorageObject(ID id) throws NotFound, RuntimeFault, RemoteException - Throws:
NotFoundRuntimeFaultRemoteException
-
listVStorageObject
public ID[] listVStorageObject(Datastore datastore) throws InvalidDatastore, RuntimeFault, RemoteException -
listVStorageObjectsAttachedToTag
public ID[] listVStorageObjectsAttachedToTag(String category, String tag) throws NotFound, RuntimeFault, RemoteException - Throws:
NotFoundRuntimeFaultRemoteException
-
queryChangedDiskAreas
public DiskChangeInfo queryChangedDiskAreas(ID id, Datastore datastore, ID snapshotId, long startOffset, String changeId) throws FileFault, InvalidArgument, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
queryVirtualDiskUuidEx
public String queryVirtualDiskUuidEx(String name, Datacenter datacenter) throws FileFault, InvalidDatastore, RuntimeFault, RemoteException -
reconcileDatastoreInventory
public Task reconcileDatastoreInventory(Datastore datastore, boolean deepCleansing) throws InvalidDatastore, NotFound, RuntimeFault, RemoteException -
reconcileDatastoreInventoryEx
public Task reconcileDatastoreInventoryEx(VStorageObjectReconcileSpec spec) throws FileFault, InvalidArgument, InvalidDatastore, InvalidState, RuntimeFault, RemoteException -
registerDisk
public VStorageObject registerDisk(String path, String name) throws AlreadyExists, FileFault, InvalidDatastore, RuntimeFault, RemoteException -
relocateVStorageObject
public Task relocateVStorageObject(ID id, Datastore datastore, VslmRelocateSpec spec) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
renameVStorageObject
public void renameVStorageObject(ID id, Datastore datastore, String name) throws FileFault, InvalidDatastore, NotFound, RuntimeFault, RemoteException -
retrieveSnapshotDetails
public VStorageObjectSnapshotDetails retrieveSnapshotDetails(ID id, Datastore datastore, ID snapshotId) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
retrieveSnapshotInfo
public VStorageObjectSnapshotInfo retrieveSnapshotInfo(ID id, Datastore datastore) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
retrieveVStorageInfrastructureObjectPolicy
public vslmInfrastructureObjectPolicy[] retrieveVStorageInfrastructureObjectPolicy(Datastore datastore) throws InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
retrieveVStorageObject
public VStorageObject retrieveVStorageObject(ID id, Datastore datastore, String[] diskInfoFlags) throws FileFault, InvalidDatastore, NotFound, RuntimeFault, RemoteException -
retrieveVStorageObjectAssociations
public VStorageObjectAssociations[] retrieveVStorageObjectAssociations(RetrieveVStorageObjSpec[] ids) throws RuntimeFault, RemoteException - Throws:
RuntimeFaultRemoteException
-
retrieveVStorageObjectState
public VStorageObjectStateInfo retrieveVStorageObjectState(ID id, Datastore datastore) throws FileFault, InvalidDatastore, NotFound, RuntimeFault, RemoteException -
revertVStorageObject
public Task revertVStorageObject(ID id, Datastore datastore, ID snapshotId) throws FileFault, InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
scheduleReconcileDatastoreInventory
public void scheduleReconcileDatastoreInventory(Datastore datastore, boolean deepCleansing) throws InvalidDatastore, NotFound, RuntimeFault, RemoteException -
setVStorageObjectControlFlags
public void setVStorageObjectControlFlags(ID id, Datastore datastore, String[] controlFlags) throws InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
setVirtualDiskUuidEx
public Task setVirtualDiskUuidEx(String name, Datacenter datacenter, String uuid) throws FileFault, InvalidDatastore, RuntimeFault, RemoteException -
updateVStorageInfrastructureObjectPolicy
public Task updateVStorageInfrastructureObjectPolicy(vslmInfrastructureObjectPolicySpec spec) throws InvalidDatastore, InvalidState, NotFound, TaskInProgress, RuntimeFault, RemoteException -
updateVStorageObjectCrypto
public Task updateVStorageObjectCrypto(ID id, Datastore datastore, VirtualMachineProfileSpec[] profile, DiskCryptoSpec disksCrypto) throws FileFault, InvalidDatastore, NotFound, TaskInProgress, RuntimeFault, RemoteException -
updateVStorageObjectMetadataEx
public Task updateVStorageObjectMetadataEx(ID id, Datastore datastore, KeyValue[] metadata, String[] deleteKeys) throws InvalidDatastore, InvalidState, NotFound, RuntimeFault, RemoteException -
updateVStorageObjectPolicy
public Task updateVStorageObjectPolicy(ID id, Datastore datastore, VirtualMachineProfileSpec[] profile) throws FileFault, InvalidDatastore, NotFound, TaskInProgress, RuntimeFault, RemoteException
-