Http Nfc Lease Get Info

Http Nfc Lease Get Info

Provides information on the objects contained in this lease.

The info property is only valid when the lease is in the ready state.

Request
URI
GET
https://{vcenter-host}/sdk/vim25/{release}/HttpNfcLease/{moId}/info
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the property attaches; the serialized managed object reference for a request has the form moType/moId, in this case HttpNfcLease/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns HttpNfcLeaseInfo of type(s) application/json
This response body class contains all of the following: DataObject
{
    "_typeName": "string",
    "lease": {
        "type": "string",
        "value": "string"
    },
    "entity": {
        "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.