Settings_Clusters_Configuration_DraftImportResult

Settings_Clusters_Configuration_DraftImportResult
Settings_Clusters_Configuration_DraftImportResult

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

JSON Example
{
    "status": "string",
    "draft": "string",
    "error": {
        "id": "string",
        "default_message": "string",
        "args": [
            "string"
        ],
        "params": {
            "params": {
                "s": "string",
                "dt": "string",
                "i": 0,
                "d": "number",
                "l": {
                    "id": "string",
                    "params": {
                        "params": "Std_LocalizationParam Object"
                    }
                },
                "format": "string",
                "precision": 0
            }
        },
        "localized": "string"
    },
    "warnings": [
        {
            "id": "string",
            "default_message": "string",
            "args": [
                "string"
            ],
            "params": {
                "params": {
                    "s": "string",
                    "dt": "string",
                    "i": 0,
                    "d": "number",
                    "l": {
                        "id": "string",
                        "params": {
                            "params": "Std_LocalizationParam Object"
                        }
                    },
                    "format": "string",
                    "precision": 0
                }
            },
            "localized": "string"
        }
    ]
}
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 :

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

The LocalizableMessage structure represents localizable string and message template. Services include one or more localizable message templates in the errors they report so that clients can display diagnostic messages in the native language of the user. Services can include localizable strings in the data returned from operations to allow clients to display localized status information in the native language of the user.

warnings
Optional

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