vcenter vm template library items: hardware customization spec

The hardware_customization_spec structure defines the hardware customization options that are applied to the deployed virtual machine. Warning: This structure is available as technical preview. It may be changed in a future release.

Representation:

{
    "cpu_update"{
        "num_cores_per_socket"1,
        "num_cpus"1
    },
    "disks_to_remove"[
        "obj-103",
        "obj-103"
    ],
    "disks_to_update"[
        {
            "key""obj-103",
            "value"{
                "capacity"1
            }
        }
    ],
    "memory_update"{
        "memory"1
    },
    "nics"[
        {
            "key""obj-103",
            "value"{
                "network""obj-103"
            }
        }
    ]
}

Attributes:

Name Type Description
Optional
nics list Map of Ethernet network adapters to update. Warning: This attribute is available as technical preview. It may be changed in a future release.

Optional. 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 key/value pairs 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 key/value pairs will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Ethernet.

disks_to_remove string[] Idenfiers of disks to remove from the deployed virtual machine. Warning: This attribute is available as technical preview. It may be changed in a future release.

Optional. 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.

disks_to_update list Disk update specification for individual disks in the deployed virtual machine. Warning: This attribute is available as technical preview. It may be changed in a future release.

Optional. 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 key/value pairs 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 key/value pairs will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.

cpu_update cpu_update_spec CPU update specification for the deployed virtual machine. Warning: This attribute is available as technical preview. It may be changed in a future release.

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

memory_update memory_update_spec Memory update specification for the deployed virtual machine. Warning: This attribute is available as technical preview. It may be changed in a future release.

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