Ovf_LibraryItem_CreateResult

Ovf_LibraryItem_CreateResult
Ovf_LibraryItem_CreateResult

The LibraryItem.CreateResult structure defines the result of the LibraryItem.create operation. See LibraryItem.create.

JSON Example
{
    "succeeded": false,
    "ovf_library_item_id": "string",
    "error": {
        "errors": [
            {
                "category": "string",
                "issues": [
                    {
                        "category": "string",
                        "file": "string",
                        "line_number": 0,
                        "column_number": 0,
                        "message": {
                            "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"
                        }
                    }
                ],
                "name": "string",
                "value": "string",
                "message": {
                    "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"
                },
                "error": {}
            }
        ],
        "warnings": [
            {
                "category": "Ovf_OvfMessage_Category Object",
                "issues": [
                    "Ovf_ParseIssue Object"
                ],
                "name": "string",
                "value": "string",
                "message": "Std_LocalizableMessage Object",
                "error": {}
            }
        ],
        "information": [
            {
                "messages": [
                    "Std_LocalizableMessage Object"
                ]
            }
        ]
    }
}
boolean
succeeded
Required

Whether the LibraryItem.create operation completed successfully.

string
ovf_library_item_id
Optional

Identifier of the created or updated library item. If unset, the LibraryItem.create operation failed and LibraryItem.CreateResult.error will describe the error(s) that caused the failure. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.content.library.Item. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.content.library.Item.

error
Optional

The LibraryItem.ResultInfo structure defines the information returned along with the result of a LibraryItem.create or LibraryItem.deploy operation to describe errors, warnings, and informational messages produced by the server.