VmTemplate_LibraryItems_HardwareCustomizationSpec

VmTemplate_LibraryItems_HardwareCustomizationSpec
VmTemplate_LibraryItems_HardwareCustomizationSpec

The LibraryItems.HardwareCustomizationSpec structure defines the hardware customization options that are applied to the deployed virtual machine.

JSON Example
{
    "nics": {
        "nics": {
            "network": "string"
        }
    },
    "disks_to_remove": [
        "string"
    ],
    "disks_to_update": {
        "disks_to_update": {
            "capacity": 0
        }
    },
    "cpu_update": {
        "num_cpus": 0,
        "num_cores_per_socket": 0
    },
    "memory_update": {
        "memory": 0
    }
}
object
nics
Optional

Map of Ethernet network adapters to update. If unset, all Ethernet adapters will remain connected to the same network as they were in the source virtual machine template. An Ethernet adapter with a MacAddressType of MANUAL will not change. An Ethernet adapter with a MacAddressType of GENERATED or ASSIGNED will receive a new address. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet.

array of string
disks_to_remove
Optional

Idenfiers of disks to remove from the deployed virtual machine. If unset, all disks will be copied. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.vm.hardware.Disk.

object
disks_to_update
Optional

Disk update specification for individual disks in the deployed virtual machine. If unset, disks in the deployed virtual machine will have the same settings as the corresponding disks in the source virtual machine template contained in the library item. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.

cpu_update
Optional

The LibraryItems.CpuUpdateSpec structure describes updates to the CPU configuration of the deployed virtual machine.

memory_update
Optional

The LibraryItems.MemoryUpdateSpec structure describes updates to the memory configuration of the deployed virtual machine.