HttpNfcLeaseInfo

HttpNfcLeaseInfo
HttpNfcLeaseInfo

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

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "lease": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "entity": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "deviceUrl": [
        {
            "_typeName": "string",
            "key": "string",
            "importKey": "string",
            "url": "string",
            "sslThumbprint": "string",
            "disk": false,
            "targetId": "string",
            "datastoreKey": "string",
            "fileSize": 0
        }
    ],
    "totalDiskCapacityInKB": 0,
    "leaseTimeout": 0,
    "hostMap": [
        {
            "_typeName": "string",
            "datastoreKey": "string",
            "hosts": [
                {
                    "_typeName": "string",
                    "url": "string",
                    "sslThumbprint": "string"
                }
            ]
        }
    ]
}
lease
Required

Reference to an instance of the HttpNfcLease managed object.

entity
Required

Reference to an instance of the ManagedEntity managed object.

deviceUrl
Optional

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

integer As int64 As int64
totalDiskCapacityInKB
Required

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.

integer As int32 As int32
leaseTimeout
Required

Number of seconds before the lease times out.

The client extends the lease by calling HttpNfcLease.HttpNfcLeaseProgress before the timeout has expired.

hostMap
Optional

Map of URLs for leased hosts for a given datastore.

This is used to look up multi-POST-capable hosts for a datastore.