SettingsDepotsOfflineCreateSpec

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


Properties

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.

Possible values are: PULLPUSH


string
description Optional

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


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 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
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.

JSON Example

{
	"source_type": "PULL"
}

Feedback

Was this page helpful?