VmTemplateLibraryItemsHardwareCustomizationSpec

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


Properties

Required Property Name Type Description
optional cpu_update VmTemplateLibraryItemsCpuUpdateSpec

CPU update specification for the deployed virtual machine. If {@term.unset}, the deployed virtual machine has the same CPU settings as the source virtual machine template contained in the library item.

optional disks_to_remove array of string

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.

optional disks_to_update map of VmTemplateLibraryItemsDiskUpdateSpec

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.

optional memory_update VmTemplateLibraryItemsMemoryUpdateSpec

Memory update specification for the deployed virtual machine. If {@term.unset}, the deployed virtual machine has the same memory settings as the source virtual machine template contained in the library item.

optional nics map of VmTemplateLibraryItemsEthernetUpdateSpec

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.

JSON Example

{
    "cpu_update": {
        "num_cores_per_socket": 0,
        "num_cpus": 0
    },
    "disks_to_remove": [
        "string"
    ],
    "disks_to_update": {
        "key": {
            "capacity": 0
        }
    },
    "memory_update": {
        "memory": 0
    },
    "nics": {
        "key": {
            "network": "string"
        }
    }
}
Feedback

Was this page helpful?