Files
deb-python-pyvmomi/docs/vim/HttpNfcLease/Info.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

1.8 KiB

vim.HttpNfcLease.Info

This class holds information about the lease, such as the entity covered by the lease, and HTTP URLs for up/downloading file backings.

extends

vmodl.DynamicData

since

vSphere API 4.0

Attributes:

lease (vim.HttpNfcLease):

The HttpNfcLease object this information belongs to.

entity (vim.ManagedEntity):

The VirtualMachine or VirtualApp this lease covers.

deviceUrl (vim.HttpNfcLease.DeviceUrl, optional):

The deviceUrl property contains a mapping from logical device keys to URLs.

totalDiskCapacityInKB (long):

Total capacity in kilobytes of all disks in all Virtual Machines covered by this lease. This can be used to track progress when transferring disks.

leaseTimeout (int):

Number of seconds before the lease times out. The client extends the lease by calling HttpNfcLeaseProgress before the timeout has expired.

hostMap (vim.HttpNfcLease.DatastoreLeaseInfo, optional):

Map of URLs for leased hosts for a given datastore. This is used to look up multi-POST-capable hosts for a datastore.