Test Search vSphere Web Services API


Data Object - HttpNfcLeaseDeviceUrl(vim.HttpNfcLease.DeviceUrl)

Property of
HttpNfcLeaseInfo
Extends
DynamicData
Since
vSphere API Release 4.0

Data Object Description

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.

Properties

Name Type Description
datastoreKey*xsd:string

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.

Since vSphere API Release 4.1
disk*xsd:boolean

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

Since vSphere API Release 4.1
fileSize*xsd:long

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

Since vSphere API Release 4.1
importKeyxsd:string

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

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

SSL thumbprint for the host the URL refers to. Empty if no SSL thumbprint is available or needed.
targetId*xsd:string

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

Since vSphere API Release 4.1
urlxsd:string

The URL to use to upload/download the device content.

The returned url contains either an IP address, a hostname or a "*". If a "*" is returned the client must substitutes the "*" with the hostname or IP address used when connecting to the server. For example if the client connected to "someHost" and the device url returned is:

 http:// *:somePort/somePath
 
the client must substitute the "*" with "someHost" before use. The resulting url would be:
 http://someHost:somePort/somePath
 
The server cannot return a valid hostname or IP address when the client connects via a NAT, a proxy, or when the server is multihomed.
Properties inherited from DynamicData
None
*Need not be set
Show WSDL type definition