OvfCreateImportSpecParams
Parameters for deploying an OVF.
{
"_typeName": "string",
"locale": "string",
"deploymentOption": "string",
"msgBundle": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
],
"importOption": [
"string"
],
"entityName": "string",
"hostSystem": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"networkMapping": [
{
"_typeName": "string",
"name": "string",
"network": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
],
"ipAllocationPolicy": "string",
"ipProtocol": "string",
"propertyMapping": [
{
"_typeName": "string",
"key": "string",
"value": "string"
}
],
"resourceMapping": [
{
"_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"
}
}
],
"diskProvisioning": "string",
"instantiationOst": {
"_typeName": "string",
"id": "string",
"type": "string",
"section": [
{
"_typeName": "string",
"lineNumber": 0,
"xml": "string"
}
],
"child": [
"OvfConsumerOstNode Object"
],
"entity": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
}
The name to set on the entity (more precisely, on the top-level vApp or VM of the entity) as it appears in VI.
If empty, the product name is obtained from the ProductSection of the descriptor. If that name is not specified, the ovf:id of the top-level entity is used.
The mapping of network identifiers from the descriptor to networks in the VI infrastructure.
The privilege Network.Assign is required on all networks in the list.
The IP allocation policy chosen by the caller.
See VAppIPAssignmentInfo.
The assignment of values to the properties found in the descriptor.
If no value is specified for an option, the default value from the descriptor is used.
Deprecated as of vSphere API 5.1.
The resource configuration for the created vApp.
This can be used to distribute a vApp across multiple resource pools (and create linked children).
An optional disk provisioning.
If set, all the disks in the deployed OVF will have get the same specified disk type (e.g., thin provisioned). The valide values for disk provisioning are:
- monolithicSparse
- monolithicFlat
- twoGbMaxExtentSparse
- twoGbMaxExtentFlat
- thin
- thick
- sparse
- flat
- seSparse
See also VirtualDiskModeEnum.
A node in the OVF section tree.
This class represents a node on which OVF sections can be defined. The possible node types are OstNodeType.envelope, OstNodeType.virtualSystem or OstNodeType.virtualSystemCollection, corresponding to the identically named OVF element types.
Since the node contains a list of children, it can also be regarded as a tree. This tree mirrors the structure of the OVF descriptor. It is provided to OVF consumers as a more convenient way to navigate and modify the OVF than by working directly on the XML.