VirtualAppImportSpec

VirtualAppImportSpec
VirtualAppImportSpec

A VAppImportSpec is used by ResourcePool.importVApp when importing vApps (single VM or multi-VM).

It provides all information needed to import a VirtualApp.

See also 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"
        }
    },
    "name": "string",
    "vAppConfigSpec": {
        "_typeName": "string",
        "product": [
            {
                "_typeName": "string",
                "operation": "string",
                "removeKey": {
                    "_typeName": "string"
                },
                "info": {
                    "_typeName": "string",
                    "key": 0,
                    "classId": "string",
                    "instanceId": "string",
                    "name": "string",
                    "vendor": "string",
                    "version": "string",
                    "fullVersion": "string",
                    "vendorUrl": "string",
                    "productUrl": "string",
                    "appUrl": "string"
                }
            }
        ],
        "property": [
            {
                "_typeName": "string",
                "operation": "string",
                "removeKey": {
                    "_typeName": "string"
                },
                "info": {
                    "_typeName": "string",
                    "key": 0,
                    "classId": "string",
                    "instanceId": "string",
                    "id": "string",
                    "category": "string",
                    "label": "string",
                    "type": "string",
                    "typeReference": "string",
                    "userConfigurable": false,
                    "defaultValue": "string",
                    "value": "string",
                    "description": "string"
                }
            }
        ],
        "ipAssignment": {
            "_typeName": "string",
            "supportedAllocationScheme": [
                "string"
            ],
            "ipAllocationPolicy": "string",
            "supportedIpProtocol": [
                "string"
            ],
            "ipProtocol": "string"
        },
        "eula": [
            "string"
        ],
        "ovfSection": [
            {
                "_typeName": "string",
                "operation": "string",
                "removeKey": {
                    "_typeName": "string"
                },
                "info": {
                    "_typeName": "string",
                    "key": 0,
                    "namespace": "string",
                    "type": "string",
                    "atEnvelopeLevel": false,
                    "contents": "string"
                }
            }
        ],
        "ovfEnvironmentTransport": [
            "string"
        ],
        "installBootRequired": false,
        "installBootStopDelay": 0,
        "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
            }
        ],
        "annotation": "string",
        "instanceUuid": "string",
        "managedBy": {
            "_typeName": "string",
            "extensionKey": "string",
            "type": "string"
        }
    },
    "resourcePoolSpec": {
        "_typeName": "string",
        "entity": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "changeVersion": "string",
        "lastModified": "string",
        "cpuAllocation": {
            "_typeName": "string",
            "reservation": 0,
            "expandableReservation": false,
            "limit": 0,
            "shares": {
                "_typeName": "string",
                "shares": 0,
                "level": "string"
            },
            "overheadLimit": 0
        },
        "memoryAllocation": {
            "_typeName": "string",
            "reservation": 0,
            "expandableReservation": false,
            "limit": 0,
            "shares": {
                "_typeName": "string",
                "shares": 0,
                "level": "string"
            },
            "overheadLimit": 0
        },
        "scaleDescendantsShares": "string"
    },
    "child": [
        {
            "_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"
                }
            }
        }
    ]
}
string
name
Required

The name of the vApp

vAppConfigSpec
Required

vApp configuration

resourcePoolSpec
Required

Resource pool specification.

If resourcePoolSpec.entity is specified, that resource pool is used as the parent resource pool and the vApp will be made a linked child to the parent vApp. This field is ignored for the root node in an ImportSpec tree. Use of resourcePoolSpec.entity for creating linked children is deprecated as of vSphere API 5.1.

array of ImportSpec
child
Optional

Contains a list of children (VirtualMachines and VirtualApps).