HttpNfcLeaseSourceFile

HttpNfcLeaseSourceFile
HttpNfcLeaseSourceFile

Descriptor of the remote source file used in pull scenario.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "targetDeviceId": "string",
    "url": "string",
    "memberName": "string",
    "create": false,
    "sslThumbprint": "string",
    "httpHeaders": [
        {
            "_typeName": "string",
            "key": "string",
            "value": "string"
        }
    ],
    "size": 0
}
string
targetDeviceId
Required

Target device id that will be used to store remote file.

Uniquely identifies host, vm and device. Given by this lease in importKey.

string
url
Required

Full url of the source file, for example https://server/path/disk-1.vmdk.

Or url to OVA, in that case memberName should be specified.

string
memberName
Optional

Used only when OVA is specified in url.

Should contain file name to extract from OVA.

boolean
create
Required

True if PUT should be used for upload, otherwise POST.

Same as create

string
sslThumbprint
Optional

Esx has no CA database for checking arbitrary certificates.

Client should verify the server certificate and provide certificate thumbprint here.

array of KeyValue
httpHeaders
Optional

For the case when remote server requires authentication or any other type of custom HTTP headers be provided with the request.

integer As int64 As int64
size
Optional

Size of the file, if known.

Otherwise it will be determined by a HEAD request. Not used for OVA members.