Settings_Depots_Offline_CreateSpec

Settings_Depots_Offline_CreateSpec
Settings_Depots_Offline_CreateSpec

The Offline.CreateSpec structure defines the information used to create a depot.

JSON Example
{
    "description": "string",
    "source_type": "string",
    "location": "string",
    "file_id": "string",
    "ownerdata": "string"
}
string
description
Optional

Description of the depot. If unset, the description will be empty.

source_type
Required

The Offline.SourceType enumerated type defines possible values of sources for the offline depot.
PULL : Content is pulled from the URL location. The URL scheme of the value in {@link CreateSpec#location) can be http, https or file.
PUSH : Content was previously uploaded using the file upload enpoint present on vCenter appliance. This endpoint is present at https://VCENTERFQDN:9087/vum-fileupload URL.

string As uri
location
Optional

Location of the depot from which content should be retrieved. This field is optional and it is only relevant when the value of Offline.CreateSpec.source-type is PULL.

string
file_id
Optional

File identifier returned by the file upload endpoint after file is uploaded. This field is optional and it is only relevant when the value of Offline.CreateSpec.source-type is PUSH.

string
ownerdata
Optional

Private data saved by the Offline.Info.owner of the depot. It is opaque to vLCM. If unset, no ownerdata will be saved.