SettingsClustersSoftwareDraftsImportSpec

The Drafts.ImportSpec structure defines the information used to import the desired software specification.


Properties

source_type Required

Type of the source to import the desired software specification

Possible values are: PULLPUSHJSON_STRINGLATEST_RECOMMENDATIONCURRENT_SERIES_RECOMMENDATIONSPECIFIED_BASE_IMAGE_RECOMMENDATION


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 Drafts.ImportSpec.source-type is PUSH.


string as uri
location Optional

Location of the software specification file to be imported. This field is optional and it is only relevant when the value of Drafts.ImportSpec.source-type is PULL.


string
software_spec Optional

The JSON string representing the desired software specification. This field is optional and it is only relevant when the value of Drafts.ImportSpec.source-type is JSON_STRING.

JSON Example

{
    "source_type": "enum"
}
Feedback

Was this page helpful?