OvfParseIssue

The ParseIssue structure contains the information about the issue found when parsing an OVF package during deployment or exporting an OVF package including: - Parsing and validation error on OVF descriptor (which is an XML document), manifest and certificate files. - OVF descriptor generating and device error. - Unexpected server error.


Properties

category Required

The ParseIssue.Category enumerated type defines the categories of issues that can be found when parsing files inside an OVF package (see ParseIssue) including OVF descriptor (which is an XML document), manifest and certificate files, or exporting an OVF package.
VALUE_ILLEGAL : Illegal value error. For example, the value is malformed, not a number, or outside of the given range, and so on.
ATTRIBUTE_REQUIRED : Required attribute error. It indicates that a required attribute is missing from an element in the OVF descriptor.
ATTRIBUTE_ILLEGAL : Illegal attribute error. It indicates that an illegal attribute is set for an element in the OVF descriptor. For example, empty disks do not use format, parentRef, and populatedSize attributes, if these attributes are present in an empty disk element then will get this pasrse issue.
ELEMENT_REQUIRED : Required element error. It indicates that a required element is missing from the OVF descriptor.
ELEMENT_ILLEGAL : Illegal element error. It indicates that an element is present in a location which is not allowed, or found multiple elements but only one is allowed at the location in the OVF descriptor.
ELEMENT_UNKNOWN : Unknown element error. It indicates that an element is unsupported when parsing an OVF descriptor.
SECTION_UNKNOWN : Section unknown error. It indicates that a section is unsupported when parsing an OVF descriptor.
SECTION_RESTRICTION : Section restriction error. It indicates that a section appears in place in the OVF descriptor where it is not allowed, a section appears fewer times than is required, or a section appears more times than is allowed.
PARSE_ERROR : OVF package parsing error, including: - OVF descriptor parsing errors, for example, syntax errors or schema errors. - Manifest file parsing and verification errors. - Certificate file parsing and verification errors.
GENERATE_ERROR : OVF descriptor (which is an XML document) generating error, for example, well-formedness errors as well as unexpected processing conditions.
VALIDATION_ERROR : An issue with the manifest and signing.
EXPORT_ERROR : Issue during OVF export, for example, malformed deviceId, controller not found, or file backing for a device not found.
INTERNAL_ERROR : Server encountered an unexpected error which prevented it from fulfilling the request.

Possible values are: VALUE_ILLEGALATTRIBUTE_REQUIREDATTRIBUTE_ILLEGALELEMENT_REQUIREDELEMENT_ILLEGALELEMENT_UNKNOWNSECTION_UNKNOWNSECTION_RESTRICTIONPARSE_ERRORGENERATE_ERRORVALIDATION_ERROREXPORT_ERRORINTERNAL_ERROR


integer as int64
column_number Required

The position in the line (see ParseIssue.line-number) (or -1 if not applicable).


string
file Required

The name of the file in which the parse issue was found.


integer as int64
line_number Required

The line number of the line in the file (see ParseIssue.file) where the parse issue was found (or -1 if not applicable).


message Required

A localizable message describing the parse issue.

JSON Example

{
	"category": "VALUE_ILLEGAL",
	"column_number": 0,
	"file": "string",
	"line_number": 0,
	"message": {
		"args": [
			"string"
		],
		"default_message": "string",
		"id": "string"
	}
}

Feedback

Was this page helpful?