ImportSpec

ImportSpec
ImportSpec

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.

AllOf
This class requires all of the following:
JSON Example
{
    "_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"
        }
    }
}
entityConfig
Optional

Configuration of sub-entities (virtual machine or vApp).

This is used for sub-entities of a vApp that could be a virtual machine or a vApp.

instantiationOst
Optional

The instantiation OST (see OvfConsumer ) to be consumed by OVF consumers.