OvfResourceMap

OvfResourceMap
OvfResourceMap

Deprecated as of vSphere API 5.1.

Maps source child entities to destination resource pools and resource settings.

If a mapping is not specified, a child is copied as a direct child of the parent.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "source": "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"
    },
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
}
string
source
Required

Identifies a source VirtualSystem or VirtualSystemCollection in an OVF descriptor.

The source cannot be the root VirtualSystem or VirtualSystemCollection of the OVF. This is a path created by concatenating the OVF ids for each entity, e.g., "vm1", "WebTier/vm2", etc.

parent
Optional

Reference to an instance of the ResourcePool managed object.

resourceSpec
Optional

This data object type is a specification for a set of resources allocated to a virtual machine or a resource pool.

datastore
Optional

Reference to an instance of the Datastore managed object.