OvfCreateImportSpecResult

OvfCreateImportSpecResult
OvfCreateImportSpecResult

The CreateImportSpecResult contains all information regarding the import that can be extracted from the OVF descriptor.

For example, this includes the list of items that the caller must upload in order to complete the import, but not the list of URLs to which the files must be uploaded. These paths are not known until the VMs have been created, ie. until ResourcePool.importVApp has been called.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "importSpec": {
        "_typeName": "string",
        "entityConfig": {
            "_typeName": "string",
            "key": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "tag": "string",
            "startOrder": 0,
            "startDelay": 0,
            "waitingForGuest": false,
            "startAction": "string",
            "stopDelay": 0,
            "stopAction": "string",
            "destroyWithParent": false
        },
        "instantiationOst": {
            "_typeName": "string",
            "id": "string",
            "type": "string",
            "section": [
                {
                    "_typeName": "string",
                    "lineNumber": 0,
                    "xml": "string"
                }
            ],
            "child": [
                "OvfConsumerOstNode Object"
            ],
            "entity": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        }
    },
    "fileItem": [
        {
            "_typeName": "string",
            "deviceId": "string",
            "path": "string",
            "compressionMethod": "string",
            "chunkSize": 0,
            "size": 0,
            "cimType": 0,
            "create": false
        }
    ],
    "warning": [
        {
            "_typeName": "string",
            "faultCause": "MethodFault Object",
            "faultMessage": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "arg": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ],
                    "message": "string"
                }
            ]
        }
    ],
    "error": [
        {
            "_typeName": "string",
            "faultCause": "MethodFault Object",
            "faultMessage": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "arg": [
                        {
                            "_typeName": "string",
                            "key": "string",
                            "value": {
                                "_typeName": "string"
                            }
                        }
                    ],
                    "message": "string"
                }
            ]
        }
    ]
}
importSpec
Optional

An ImportSpec is used when importing VMs or vApps.

It can be built from scratch, or it can be generated from an OVF descriptor using the service interface OvfManager.

This class is the abstract base for VirtualMachineImportSpec and VirtualAppImportSpec. These three classes form a composite structure that allows us to contain arbitrarily complex entitites in a single ImportSpec.

fileItem
Optional

The files that must be uploaded by the caller as part of importing the entity.

The files must be uploaded in order, because some of them may be delta files that patch already-uploaded files.

warning
Optional

Non-fatal warnings from the processing.

The ImportSpec will be valid, but the user may choose to reject it based on these warnings.

error
Optional

Errors that happened during processing.

Something will be wrong with the ImportSpec, or it is not present.