REST API - result_info
com.vmware.vcenter.ovf.library_item
result_info
The
result_info
structure defines the information returned along with the result of a create
or deploy
operation to describe errors, warnings, and informational messages produced by the server.- Representations:
-
{
"errors": [
{},
{}
],
"information": [
{
"messages": [
{
"args": [
"string",
"string"
],
"default_message": "string",
"id": "string"
},
{
"args": [
"string",
"string"
],
"default_message": "string",
"id": "string"
}
]
},
{
"messages": [
{
"args": [
"string",
"string"
],
"default_message": "string",
"id": "string"
},
{
"args": [
"string",
"string"
],
"default_message": "string",
"id": "string"
}
]
}
],
"warnings": [
{},
{}
]
}<?xml version="1.0" ?>
<ns0:ResultInfo xmlns:ns0="http://vmware.com/vcenter/ovf/library_item" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<information-array>
<array-item>
<messages-array>
<array-item>
<default_message>string</default_message>
<id>string</id>
<args-array>
<array-item>string</array-item>
<array-item>string</array-item>
</args-array>
</array-item>
<array-item>
<default_message>string</default_message>
<id>string</id>
<args-array>
<array-item>string</array-item>
<array-item>string</array-item>
</args-array>
</array-item>
</messages-array>
</array-item>
<array-item>
<messages-array>
<array-item>
<default_message>string</default_message>
<id>string</id>
<args-array>
<array-item>string</array-item>
<array-item>string</array-item>
</args-array>
</array-item>
<array-item>
<default_message>string</default_message>
<id>string</id>
<args-array>
<array-item>string</array-item>
<array-item>string</array-item>
</args-array>
</array-item>
</messages-array>
</array-item>
</information-array>
<errors-array>
<array-item>
</array-item>
<array-item>
</array-item>
</errors-array>
<warnings-array>
<array-item>
</array-item>
<array-item>
</array-item>
</warnings-array>
</ns0:ResultInfo> - Attributes:
-
Name Type Required Description errors *
List<ovf_error> Yes List of errors. Errors would have prevented the create
ordeploy
operation from completing successfully.warnings *
List<ovf_warning> Yes List of warnings. Warnings would not have prevented the create
ordeploy
operation from completing successfully. But there might be issues that warrant attention.information *
List<ovf_info> Yes List of information messages. For example, a non-required parameter was ignored.
Copyright © 2014. All Rights Reserved.