| Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |
Properties
Name | Type | Description |
---|---|---|
None |
Methods
VslmSyncFault will set in the task error if the the FCD was attached successfully in the backend, however, there was a failure in syncing the datastore or FCD. The attach disk operation is not idempotent, implying, any attempt to re-attach the FCD to the same VM would cause an error. The sync fault can be ignored safely as Pandora DB does not track FCDs attached to VMs as of vSphere 7.0.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual disk to be operated. See
ID
Since VSLM API 6.7.2 |
vm P | ManagedObjectReference
to a VirtualMachine |
The virtual machine where the virtual disk is to be attached.
Since VSLM API 6.7.2 |
controllerKey* P | xsd:int |
Key of the controller the disk will connect to.
It can be unset if there is only one controller
(SCSI or SATA) with the available slot in the
virtual machine. If there are multiple SCSI or
SATA controllers available, user must specify
the controller; if there is no available
controllers, a MissingController
fault will be thrown.
Since VSLM API 6.7.2 |
unitNumber* P | xsd:int |
The unit number of the attached disk on its controller.
If unset, the next available slot on the specified
controller or the only available controller will be
assigned to the attached disk.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
DeviceUnsupportedForVmVersion | Thrown if the virtual machine's version is incompatible for the given device. |
FileFault | Thrown if there is a problem creating or accessing the virtual machine's files for this operation. |
InvalidController | Thrown if the specified controller cannot be found or the specified unitNumber is already taken, or the controller has no free slots. |
InvalidDatastore | Thrown if the datastore cannot be found or inaccessible. |
InvalidState | Thrown if the operation cannot be performed in the current state of the virtual machine. For example, because the virtual machine's configuration is not available. |
MissingController | Thrown if the virtual machine has no or more than one available controllers when controllerKey is unset. |
NotFound | Thrown if the disk object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VmConfigFault | Thrown if the virtual machine's configuration is invalid. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires privilege InventoryService.Tagging.AttachTag on root folder
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The identifier(ID) of the virtual storage object.
Since VSLM API 6.7.2 |
category P | xsd:string |
The category to which the tag belongs.
Since VSLM API 6.7.2 |
tag P | xsd:string |
The tag which has to be associated with the virtual storage
object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
NotFound | Thrown if the specified category or tag cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on both source and destination datastore.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
controlFlags* P | xsd:string[] |
control flags enum array to be cleared on the
VStorageObject. All control flags not included
in the array remain intact.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. The disk may be consumed. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on both source and destination datastore.
VslmSyncFault will set in the task error if the cloneVStorageObject completed successfully but the datastore synchronization failed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
spec P | VslmCloneSpec |
The specification for cloning the virtual storage
object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while cloning the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual disk object is created.
VslmSyncFault will set in the task error if the createDisk completed successfully in the backed but the datastore synchronization or FCD retrieval failed. The sync fault can be ignored with the risk of Pandora not recognizing the FCD or Pandora DB missing the FCD, consequently, affecting the return of VslmListVStorageObjectForSpec and VslmRetrieveVStorageObjects APIs.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
spec P | VslmCreateSpec |
The specification of the virtual storage object
to be created.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor monitor the operation. The result property in the Task contains the newly created VStorageObject upon success. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs when creating the virtual disk. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege.
VslmSyncFault will set in the task error if the createDiskFromSnapshot completed successfully but the datastore synchronization failed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId P | ID |
The ID of the snapshot of the virtual storage object.
Since VSLM API 6.7.2 |
name P | xsd:string |
A user friendly name to be associated with the new disk.
Since VSLM API 6.7.2 |
profile* P | VirtualMachineProfileSpec[] |
SPBM Profile requirement on the new virtual storage object.
If not specified datastore default policy would be
assigned.
Since VSLM API 6.7.2 |
crypto* P | CryptoSpec |
Crypto information of the new disk.
Since VSLM API 6.7.2 |
path* P | xsd:string |
Relative location in the specified datastore where disk needs
to be created. If not specified disk gets created at the
defualt VStorageObject location on the specified datastore.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while snapshotting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
description P | xsd:string |
A short description to be associated with the snapshot.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while snapshotting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId P | ID |
The ID of the snapshot of a virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while snapshotting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
VslmSyncFault will set in the task error if the delete of the FCD succeeded in the backend, however, there was a issue with syncing the datastore. The error can be ignored with the anticipation of Pandora resolving this automatically and the risk of Pandora DB having stale FCDs consequently affecting the return of VslmListVStorageObjectForSpec and VslmRetrieveVStorageObjects APIs. Any subsequent operation on the FCD is guranteed to fail.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object to be deleted.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs when deleting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. The disk may be consumed and cannot be deleted. |
NotFound | Thrown if the specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
TaskInProgress | Thrown if the virtual storage object is busy. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires privilege InventoryService.Tagging.AttachTag on root folder
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The identifier(ID) of the virtual storage object.
Since VSLM API 6.7.2 |
category P | xsd:string |
The category to which the tag belongs.
Since VSLM API 6.7.2 |
tag P | xsd:string |
The tag which has to be disassociated with the virtual storage
object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
NotFound | Thrown if the specified category or tag cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
VslmSyncFault will set in the task error if the extendDisk completed successfully but the datastore synchronization failed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual disk to be extended.
Since VSLM API 6.7.2 |
newCapacityInMB P | xsd:long |
The new capacity of the virtual disk in MB.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while extending the virtual disk. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. The disk may be consumed and cannot be extended. |
NotFound | Thrown if the specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
TaskInProgress | Thrown if the virtual storage object is busy. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Currently inflateDisk API only supports the following combinations: Valid provisioning type: THIN; Valid Datastore: VMFS, NFS. Inflating a disk is not applicable for VVol/VSAN datastore.
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual disk to be inflated.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while inflating the virtual disk. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. The disk may be consumed and cannot be extended. |
NotFound | Thrown if the specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
TaskInProgress | Thrown if the virtual storage object is busy. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VslmTagEntry[] | The list of Tag-association tuples associated with the virtual storage object. |
Faults
Type | Description |
---|---|
NotFound | Thrown if the specified category or tag cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
query* P | VslmVsoVStorageObjectQuerySpec[] |
Query defined using array of
VslmVsoVStorageObjectQuerySpec objects.
Since VSLM API 6.7.2 |
maxResult P | xsd:int |
Maximum number of virtual storage object IDs to return.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VslmVsoVStorageObjectQueryResult | VslmVsoVStorageObjectQueryResult array containing the list of IDs of the virtual storage objects sorted in ascending order and matching the query. |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
category P | xsd:string |
The category to which the tag belongs.
Since VSLM API 6.7.2 |
tag P | xsd:string |
The tag to be queried.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ID[] | The list of IDs of the virtual storage objects. |
Faults
Type | Description |
---|---|
NotFound | Thrown if the specified category or tag cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Note that the result of this function may contain "false positives" (i.e: flag areas of the disk as modified that are not). However, it is guaranteed that no changes will be missed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId P | ID |
The ID of the snapshot of a virtual storage object for
which changes that have been made since "changeId"
should be computed.
Since VSLM API 6.7.2 |
startOffset P | xsd:long |
Start Offset in bytes at which to start computing
changes. Typically, callers will make multiple calls
to this function, starting with startOffset 0 and then
examine the "length" property in the returned
DiskChangeInfo structure, repeatedly calling
queryChangedDiskAreas until a map for the entire
virtual disk has been obtained.
Since VSLM API 6.7.2 |
changeId P | xsd:string |
Identifier referring to a point in the past that should
be used as the point in time at which to begin including
changes to the disk in the result. A typical use case
would be a backup application obtaining a changeId from
a virtual disk's backing info when performing a backup.
When a subsequent incremental backup is to be performed,
this change Id can be used to obtain a list of changed
areas on disk.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
DiskChangeInfo | Returns a data structure specifying extents of the virtual disk that have changed since the thime the changeId string was obtained. |
Faults
Type | Description |
---|---|
FileFault | Thrown if the virtual disk files cannot be accessed/queried. |
InvalidArgument | Thrown if startOffset is beyond the end of the virtual disk or changeId is invalid. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if change tracking is not supported for this particular disk. |
NotFound | Thrown if specified virtual storage object or snapshot cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
Return Value
Type | Description |
---|---|
VslmDatastoreSyncStatus[] | s Returns an array of DatastoreSyncStatus, one for each datastore tracked by the global catalog |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
datastoreURL P | xsd:string |
URL of the datastore to check synchronization status for
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VslmDatastoreSyncStatus | The sync status of the datastore |
Faults
Type | Description |
---|---|
NotFound | Thrown if the specified datastore cannot be found |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
datastore P | ManagedObjectReference
to a Datastore |
The datastore that needs to be reconciled.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual disk resides.
See vim.vslm.BaseConfigInfo.name
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
path P | xsd:string |
URL path to the virtual disk. See vim.vslm.BaseConfigInfo.name Since VSLM API 6.7.2 |
name* P | xsd:string |
The descriptive name of the disk object. If
unset the name will be automatically determined
from the path. See vim.vslm.BaseConfigInfo.name Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VStorageObject | The registered virtual storage object for the disk. |
Faults
Type | Description |
---|---|
AlreadyExists | Thrown if disk is already registered as a virtual storage object. See vim.vslm.BaseConfigInfo.name |
FileFault | Thrown if an error occurs while registering the virtual disk. See vim.vslm.BaseConfigInfo.name |
InvalidDatastore | Thrown if datastore cannot be found or the operation cannot be performed on the datastore. See vim.vslm.BaseConfigInfo.name |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. See vim.vslm.BaseConfigInfo.name |
VslmSyncFault | Thrown if an error occurs during datastore synchornization, implies the registerDisk completed successfully, however, there was an exception during datastore synchornization. See vim.vslm.BaseConfigInfo.name |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on both source and destination datastore.
VslmSyncFault will set in the task error if the relocateVStorageObject completed successfully but the datastore synchronization failed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
spec P | VslmRelocateSpec |
The specification for relocation of the virtual
storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while relocating the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. The disk may be consumed and cannot be relocated. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
VslmSyncFault is thrown when the underlying rename operation of the FCD succeeded, however, there was a issue with syncing the datastore or FCD. Rename operation of the FCD is not idempotent, implying, any attempt to rename the FCD with it's current name would result in a error. The sync fault can be ignored with the risk of Pandora DB having stale name, consequently, affecting the return of VslmListVStorageObjectForSpec and VslmRetrieveVStorageObjects APIs.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object to be renamed.
Since VSLM API 6.7.2 |
name P | xsd:string |
The new name for the virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while renaming the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | Thrown if the specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
VslmSyncFault | Thrown if an error occurs during datastore synchornization, implies the renameVStorageObject completed successfully, however, there was an exception during datastore synchornization. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId P | ID |
The ID of the snapshot of a virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VStorageObjectSnapshotDetails |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while snapshotting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VStorageObjectSnapshotInfo |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while snapshotting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage infrastructure object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
datastore P | ManagedObjectReference
to a Datastore |
Datastore on which policy needs to be retrieved.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
vslmInfrastructureObjectPolicy[] | The policy object of virtual storage object. |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object to be retrieved.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VStorageObject | The required virtual storage object. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs when retrieving the virtual object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
ids* P | ID[] |
The IDs of the virtual storage objects of the query.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VslmVsoVStorageObjectAssociations[] | The list of VStorageObjectVmAssociations which provides FCD id to vm associations mapping. |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId* P | ID |
The ID of the snapshot of virtual storage object.
Since VSLM API 6.7.2 |
prefix* P | xsd:string |
The prefix of the metadata key that needs to be retrieved
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
KeyValue[] | returns the array of key value pair |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore, such as datastore cannot be found or inaccessible. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId* P | ID |
The ID of the snapshot of virtual storage object.
Since VSLM API 6.7.2 |
key P | xsd:string |
The key for the the virtual storage object
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
xsd:string | returns the value for the key |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore, such as datastore cannot be found or inaccessible. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
KeyNotFound | Thrown if specified key cannot be found. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
ids* P | ID[] |
The array of IDs of the virtual storage object to be
retrieved.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VslmVsoVStorageObjectResult[] | The array of vim.vslm.VStorageObjectResult virtual storage objects corresponding to the input. |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object the state to be retrieved.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
VStorageObjectStateInfo | The required virtual storage object state. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs when retrieving the virtual object state. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
E.g. Consider Disk with 4 snapshots
BaseDisk -> Snap-2 -> Snap-3 -> Snap-4 -> Running-Point
If user chooses to revert to snap-2 then snap-4 and snap-3 would also be deleted. After revert operation disk would have below configuration:
BaseDisk -> Snap-2 -> Running-Point
Requires Datastore.FileManagement privilege.
VslmSyncFault will set in the task error if the revertVStorageObject completed successfully but the datastore synchronization failed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
snapshotId P | ID |
The ID of the snapshot of a virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while snapshotting the virtual storage object. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
datastore P | ManagedObjectReference
to a Datastore |
The datastore that needs to be reconciled.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on both source and destination datastore.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
controlFlags* P | xsd:string[] |
control flags enum array to be set on the
VStorageObject. All control flags not included
in the array remain intact.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if the operation cannot be performed on the disk. The disk may be consumed. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage infrastructure object is located.
VslmSyncFault will set in the task error if the updateVStorageInfrastructureObjectPolicy completed successfully but the datastore synchronization failed.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
spec P | vslmInfrastructureObjectPolicySpec |
specification to assign a SPBM policy to FCD infrastructure
object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
InvalidState | Thrown if there is issue with profile spec. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
TaskInProgress | |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 7.0 |
profile* P | VirtualMachineProfileSpec[] |
New profile requirement on the virtual storage object.
Since VSLM API 7.0 |
disksCrypto* P | DiskCryptoSpec |
The crypto information of each disk on the chain.
Since VSLM API 7.0 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while updating the virtual storage object policy. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | Thrown if the specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
TaskInProgress | Thrown if the virtual storage object is busy. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
VslmSyncFault will set in the task error if the updateVStorageObjectMetadata completed successfully but the datastore synchronization or FCD retrieval failed. The sync fault can be ignored with the risk of Pandora DB having stale metadata information consequently affecting the return of VslmListVStorageObjectForSpec and VslmRetrieveVStorageObjects APIs.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
metadata* P | KeyValue[] |
array of key/value strings. (keys must be unique
within the list)
Since VSLM API 6.7.2 |
deleteKeys* P | xsd:string[] |
array of keys need to be deleted
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
InvalidDatastore | Thrown if the operation cannot be performed on the datastore, such as datastore cannot be found or inaccessible. |
InvalidState | Thrown if the operation cannot be performed on the disk. |
NotFound | Thrown if specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Requires Datastore.FileManagement privilege on the datastore where the virtual storage object is located.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the VslmVStorageObjectManager used to make the method call. |
id P | ID |
The ID of the virtual storage object.
Since VSLM API 6.7.2 |
profile* P | VirtualMachineProfileSpec[] |
New profile requirement on the virtual storage object.
Since VSLM API 6.7.2 |
Return Value
Type | Description |
---|---|
ManagedObjectReference
to a VslmTask | This method returns a Task object with which to monitor the operation. |
Faults
Type | Description |
---|---|
FileFault | Thrown if an error occurs while updating the virtual storage object policy. |
InvalidDatastore | Thrown if the operation cannot be performed on the datastore. |
NotFound | Thrown if the specified virtual storage object cannot be found. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
TaskInProgress | Thrown if the virtual storage object is busy. |
VslmFault | Thrown if a VSLM internal server error occurred. |
Events
Type | |
---|---|
None |
Top of page | Local Methods | ||
Managed Object Types | Data Object Types | All Properties | All Methods |