Esx.Settings.Clusters.Configuration.DraftImportResult

Esx.Settings.Clusters.Configuration.DraftImportResult
Esx.Settings.Clusters.Configuration.DraftImportResult

The Esx.Settings.Clusters.Configuration.DraftImportResult schema contains properties that describe the result of importing the desired configuration for a cluster into a draft.

JSON Example
{
    "status": "string",
    "draft": "string",
    "error": "Vapi.Std.LocalizableMessage Object",
    "warnings": [
        "Vapi.Std.LocalizableMessage Object"
    ]
}
string
status
Required

Status of importing desired configuration.

Possible values:

  • RUNNING: The task is in-progress.
  • OK: Desired configuration imported successfully.
  • ERROR: Desired configuration import failed with error.
  • CANCELED

For more information see: Esx.Settings.Clusters.Configuration.DraftImportResult.Status.

string
draft
Optional

This identifier refers to the commit action of importing the desired configuration document. This identifier can be used in the apply API.

This property is optional and it is only relevant when the value of status is Esx.Settings.Clusters.Configuration.DraftImportResult.Status.OK.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.esx.settings.draft. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.esx.settings.draft.

error
Optional

Localized message describing the error encountered while importing desired configuration. The import operation will fail if the configuration document is an invalid JSON.

This property is optional and it is only relevant when the value of status is Esx.Settings.Clusters.Configuration.DraftImportResult.Status.ERROR.

warnings
Optional

Any issues found during the import are reported in this list.