esx settings depots offline: create spec

The create_spec structure defines the information used to create a depot.

Representation:

{
    "file_id""string",
    "description""string",
    "source_type""PULL",
    "location""http://myurl.com"
}

Attributes:

Name Type Description
Required
source_type string Type of the source from which offline bundle is obtained.

Defines possible values of sources for the offline depot. Value is one of:
PULL: Content is pulled from the URL location. The URL scheme of the value in {@link #pullLocation) 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.

Optional
description string Description of the depot.

Optional. If unset, the description will be empty.

location URI Location of the depot from which content should be retrieved.

Optional. It is only relevant when source_type has value [PULL]. This field is optional and it is only relevant when the value of source_type is PULL.

file_id string File identifier returned by the file upload endpoint after file is uploaded.

Optional. It is only relevant when source_type has value [PUSH]. This field is optional and it is only relevant when the value of source_type is PUSH.