Ovf Manager Validate Host
Validate that the given OVF can be imported on the host.
More specifically, this means whether or not the host supports the virtual hardware required by the OVF descriptor.
Required privileges: System.View
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case OvfManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"ovfDescriptor": "string",
"host": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"vhp": {
"_typeName": "string",
"locale": "string",
"deploymentOption": "string",
"msgBundle": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
],
"importOption": [
"string"
]
}
}
The OVF descriptor to examine.
Additional parameters for validateHost, wrapped in a ValidateHostParams instance.
A ValidateResult instance containing any warnings and/or errors from the validation.
{
"_typeName": "string",
"downloadSize": 0,
"flatDeploymentSize": 0,
"sparseDeploymentSize": 0,
"error": [
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
],
"warning": [
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}
],
"supportedDiskProvisioning": [
"string"
]
}
The total amount of data that must be transferred to download the entity.
This may be inaccurate due to disk compression etc.
The total amount of space required to deploy the entity if using flat disks.
The total amount of space required to deploy the entity using sparse disks, if known.
Errors that happened during validation.
The presence of faults in this list indicates that the validation failed.
An array of the disk provisioning type supported by the target host system.
TaskInProgress: if a required managed entity is busy.
ConcurrentAccess: if a concurrency issue prevents the operation from succeeding.
FileFault: if there is a generic file error
InvalidState: if the operation failed due to the current state of the system.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}