Settings_Depots_Offline_CreateSpec
The Offline.CreateSpec structure defines the information used to create a depot.
{
"description": "string",
"source_type": "string",
"location": "string",
"file_id": "string",
"ownerdata": "string"
}
Description of the depot. If unset, the description will be empty.
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.
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.
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.
Private data saved by the Offline.Info.owner of the depot. It is opaque to vLCM. If unset, no ownerdata will be saved.