Virtual Infrastructure Virtual Disk Manager APIs
Most VirtualDiskManager APIs will be DEPRECATED as of vSphere 6.5. Please use VStorageObjectManager APIs to manage Virtual disks.
This managed object type provides a way to manage and manipulate virtual disks on datastores. The source and the destination names are in the form of a URL or a datastore path.
A URL has the form
scheme://authority/folder/path?dcPath=dcPath&dsName=dsName
where
- scheme is
http
orhttps
. - authority specifies the hostname or IP address of the VirtualCenter or ESX server and optionally the port.
- dcPath is the inventory path to the Datacenter containing the Datastore.
- dsName is the name of the Datastore.
- path is a slash-delimited path from the root of the datastore.
A datastore path has the form
[datastore] path
where
- datastore is the datastore name.
- path is a slash-delimited path from the root of the datastore.
An example datastore path is "[storage] path/to/file.extension". A listing of all the files, disks and folders on a datastore can be obtained from the datastore browser.
See also HostDatastoreBrowser.