SettingsClustersConfigurationDraftImportResult

The DraftImportResult structure contains fields that describe the result of importing the desired configuration for a cluster into a draft.


Properties

status Required

The DraftImportResult.Status enumerated type contains the possible status codes describing the result of importing desired configuration for a cluster.
RUNNING : The task is in-progress.
OK : Desired configuration imported successfully.
ERROR : Desired configuration import failed with error.
CANCELED :

Possible values are: RUNNINGOKERRORCANCELED


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 field is optional and it is only relevant when the value of DraftImportResult.status is OK. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.settings.draft. When operations return a value of this structure as a result, the field 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 field is optional and it is only relevant when the value of DraftImportResult.status is ERROR.


warnings Optional

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

JSON Example

{
	"status": "RUNNING"
}

Feedback

Was this page helpful?