Esx.Settings.Clusters.Software.DraftsInternal.ImportSpec

Esx.Settings.Clusters.Software.DraftsInternal.ImportSpec
Esx.Settings.Clusters.Software.DraftsInternal.ImportSpec

The Esx.Settings.Clusters.Software.DraftsInternal.ImportSpec schema defines the information used to import the desired software specification.

This schema was added in vSphere API 7.0.0.0.

Note: this schema is restricted for VMware internal use only.

JSON Example
{
    "source_type": "string",
    "location": "string",
    "file_id": "string",
    "software_spec": "string",
    "display_name": "string"
}
string
source_type
Required

Type of the source to import the desired software specification

Possible values:

  • 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 endpoint present on vCenter appliance. This endpoint is present at https://VCENTERFQDN:9087/vum-fileupload URL.
  • JSON_STRING: The string representing the content of the software specification.

This constant was added in vSphere API 7.0.2.0.

For more information see: Esx.Settings.Clusters.Software.DraftsInternal.SourceType.

This property was added in vSphere API 7.0.0.0.

string As uri As uri
location
Optional

Location of the software specification file to be imported.

This property was added in vSphere API 7.0.0.0.

This property is optional and it is only relevant when the value of source_type is Esx.Settings.Clusters.Software.DraftsInternal.SourceType.PULL.

string
file_id
Optional

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

This property was added in vSphere API 7.0.0.0.

This property is optional and it is only relevant when the value of source_type is Esx.Settings.Clusters.Software.DraftsInternal.SourceType.PUSH.

string
software_spec
Optional

The JSON string representing the desired software specification.

This property was added in vSphere API 7.0.2.0.

This property is optional and it is only relevant when the value of source_type is Esx.Settings.Clusters.Software.DraftsInternal.SourceType.JSON_STRING.

string
display_name
Optional

Display name of the desired software specification.

Warning: this property is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

This property is optional because it was added in a newer version than its parent node.