Class VcVirtualDiskManager

Extends com.vmware.vmo.plugin.vi4.model.VimContentManagedObject
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 is http or https.
  • 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
  • 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 VcHostDatastoreBrowser


    Name Type Description
    id String returns the id of this ManagedObject
    reference VcManagedObjectReference returns the ManagedObjectReference of this ManagedObject
    sdkConnection VcSdkConnection returns the parent SdkConnection
    vimHost VcSdkConnection returns the parent SdkConnection (deprecated)
    vimType String returns the type of this ManagedObject


    Name Returns
    copyVirtualDisk_Task(String sourceName, VcDatacenter sourceDatacenter, String destName, VcDatacenter destDatacenter, VcVirtualDiskSpec destSpec, boolean force) VcTask
    createTrigger(Number timeout, String filter, String condition, String filterToSync) Trigger
    createVirtualDisk_Task(String name, VcDatacenter datacenter, VcVirtualDiskSpec spec) VcTask
    defragmentVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
    deleteVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
    eagerZeroVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
    extendVirtualDisk_Task(String name, VcDatacenter datacenter, Number newCapacityKb, boolean eagerZero) VcTask
    importUnmanagedSnapshot(String vdisk, VcDatacenter datacenter, String vvolId) void
    inflateVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask
    moveVirtualDisk_Task(String sourceName, VcDatacenter sourceDatacenter, String destName, VcDatacenter destDatacenter, boolean force, VcVirtualMachineProfileSpec[] profile) VcTask
    queryVirtualDiskFragmentation(String name, VcDatacenter datacenter) Number
    queryVirtualDiskGeometry(String name, VcDatacenter datacenter) VcHostDiskDimensionsChs
    queryVirtualDiskUuid(String name, VcDatacenter datacenter) String
    setVirtualDiskUuid(String name, VcDatacenter datacenter, String uuid) void
    shrinkVirtualDisk_Task(String name, VcDatacenter datacenter, boolean copy) VcTask
    zeroFillVirtualDisk_Task(String name, VcDatacenter datacenter) VcTask

    Returned by


    Referenced in