CloneOverrideParams#

class CloneOverrideParams(name=None, num_sockets=None, num_cores_per_socket=None, num_threads_per_core=None, memory_size_bytes=None, nics=None, boot_config=None, guest_customization=None, *args, **kwargs)[source]#

Bases: object

VM clone override specification.

Parameters:
  • name – (name) VM name.

  • num_sockets – (num_sockets) Number of vCPU sockets.

  • num_cores_per_socket – (num_cores_per_socket) Number of cores per socket.

  • num_threads_per_core – (num_threads_per_core) Number of cores per socket.

  • memory_size_bytes – (memory_size_bytes) Memory size in bytes.

  • nics – (nics) NICs attached to the VM.

  • boot_config – (boot_config) Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

  • guest_customization – (guest_customization)

property boot_config#

Indicates the order of device types in which the VM should try to boot from. If the boot device order is not provided the system will decide an appropriate boot device order.

Type:

LegacyBoot | UefiBoot

property guest_customization#
Type:

GuestCustomizationParams

property memory_size_bytes#

Memory size in bytes.

Type:

int

property name#

VM name.

Type:

str

property nics#

NICs attached to the VM.

Type:

list[ Nic ]

property num_cores_per_socket#

Number of cores per socket.

Type:

int

property num_sockets#

Number of vCPU sockets.

Type:

int

property num_threads_per_core#

Number of cores per socket.

Type:

int

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model