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

Provides a mapping from logical device IDs to upload/download URLs.For export, a single device id is returned based on the object identifiers for the objects.For import, two device ids are returned. One based on the object names used in the ImportSpec, and one based on the object identifiers for the created objects. This is immutable and would match the id if an ExportLease is latter created.

extends

vmodl.DynamicData

since

vSphere API 4.0

Attributes:

key (str):

The immutable identifier for the device. This is set for both import/export leases.

importKey (str):

Identifies the device based on the names in an ImportSpec. This is only set for import leases.

url (str):

sslThumbprint (str):

SSL thumbprint for the host the URL refers to. Empty if no SSL thumbprint is available or needed.

disk (bool, optional):

Optional value to specify if the attached file is a disk in vmdk format.

targetId (str, optional):

Id for this target. This only used for multi-POSTing, where a single HTTP POST is applied to multiple targets.

datastoreKey (str, optional):

Key for the datastore this disk is on. This is used to look up hosts which can be used to multi-POST disk contents, in the host map of the lease.

fileSize (long, optional):

Specifies the size of the file backing for this device. This property is only set for non-disk file backings.