VAppCloneSpec

VAppCloneSpec
VAppCloneSpec

Specification for a vApp cloning operation.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "location": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "host": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "resourceSpec": {
        "_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"
    },
    "vmFolder": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "networkMapping": [
        {
            "_typeName": "string",
            "source": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "destination": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        }
    ],
    "property": [
        {
            "_typeName": "string",
            "key": "string",
            "value": "string"
        }
    ],
    "resourceMapping": [
        {
            "_typeName": "string",
            "source": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "parent": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "resourceSpec": {
                "_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"
            },
            "location": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        }
    ],
    "provisioning": "string"
}
location
Required

Location where the destination vApp must be stored

host
Optional

The target host for the virtual machines.

This is often not a required parameter. If not specified, the behavior is as follows:

  • If the target pool represents a stand-alone host, that host is used.
  • If the target pool represents a DRS-enabled cluster, a host selected by DRS is used.
  • If the target pool represents a cluster without DRS enabled or a DRS-enabled cluster in manual mode, an InvalidArgument exception is thrown.
resourceSpec
Optional

The resource configuration for the vApp.

vmFolder
Optional

The VM Folder to associate the vApp with

networkMapping
Optional

Network mappings.

See VAppCloneSpecNetworkMappingPair.

array of KeyValue
property
Optional

A set of property values to override.

resourceMapping
Optional

The resource configuration for the cloned vApp.

string
provisioning
Optional

Specify how the VMs in the vApp should be provisioned.