Files
deb-python-pyvmomi/docs/vim/storageDrs/StorageMigrationAction.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
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
2014-06-17 14:07:42 -04:00

2.4 KiB

vim.storageDrs.StorageMigrationAction

Describes a single storage migration action. The storage migration action applies either to a virtual machine or a set of virtual disks.

extends

vim.cluster.Action

since

vSphere API 5.0

Attributes:

vm (vim.VirtualMachine):

Virtual machine reference.

relocateSpec (vim.vm.RelocateSpec):

Specification for moving a virtual machine or a set of virtual disks to a different datastore.

source (vim.Datastore):

Source datastore.

destination (vim.Datastore):

Destination datastore.

sizeTransferred (long):

The amount of data to be transferred. Unit: KB.

spaceUtilSrcBefore (float, optional):

Space utilization on the source datastore before storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

spaceUtilDstBefore (float, optional):

Space utilization on the destination datastore before storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

spaceUtilSrcAfter (float, optional):

Expected space utilization on the source datastore after storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

spaceUtilDstAfter (float, optional):

Expected space utilization on the destination datastore after storage migration. Unit: percentage. For example, if set to 70.0, space utilization is 70%. If not set, the value is not available.

ioLatencySrcBefore (float, optional):

I/O latency on the source datastore before storage migration. Unit: millisecond. If not set, the value is not available.

ioLatencyDstBefore (float, optional):

I/O latency on the destination datastore before storage migration. Unit: millisecond. If not set, the value is not available.