
This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
2.7 KiB
vim.vm.RelocateSpec.DiskLocator
The DiskLocator data object type specifies a virtual disk device (by ID) and a datastore locator for the disk's storage.
- extends
- Attributes:
-
diskId (int):
Device ID of the virtual disk.
datastore (vim.Datastore):
Target datastore.
diskMoveType (str, optional):
Manner in which to move the virtual disk to the target datastore . The set of possible values is described in VirtualMachineRelocateDiskMoveOptions .This property can only be set if deltaDiskBackingsSupported is true.If left unset then moveAllDiskBackingsAndDisallowSharing is assumed.
diskBackingInfo (vim.vm.device.VirtualDevice.BackingInfo, optional):
- Backing information for the virtual disk at the destination. This can be used, for instance, to change the format of the virtual disk. If the specified backing is invalid or not supported at the destination, InvalidDeviceBacking is thrown. Specific property changes may be ignored if they are not supported.Supported BackingInfo types and properties:
-
- VirtualDiskFlatVer2BackingInfo
- thinProvisioned
- eagerlyScrub
- VirtualDiskSeSparseBackingInfo
- (ESX 5.1 or later)
profile (vim.vm.ProfileSpec, optional):
Virtual Disk Profile requirement. Profiles are solution specific. Profile Based Storage Management is a vSphere server extension. The API users who want to provision VMs using Storage Profiles, need to interact with it. This is an optional parameter and if user doesn't specify profile, the default behavior will apply.