OvaVmConfigOverrideSpec#

class OvaVmConfigOverrideSpec(name=None, num_sockets=None, num_cores_per_socket=None, num_threads_per_core=None, memory_size_bytes=None, nics=None, cd_roms=None, categories=None, *args, **kwargs)#

Bases: object

VM config override spec for OVA VM deploy endpoint.

Parameters:
  • name (max=80 chars) – (name) VM name.

  • num_sockets (min=1,) – (num_sockets) Number of vCPU sockets.

  • num_cores_per_socket (min=1,) – (num_cores_per_socket) Number of cores per socket.

  • num_threads_per_core (min=1,) – (num_threads_per_core) Number of threads per core.

  • memory_size_bytes (min=1,) – (memory_size_bytes) Memory size in bytes.

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

  • cd_roms – (cd_roms) CD-ROMs attached to the VM.

  • categories – (categories) Categories for the VM.

property categories#

Categories for the VM.

Type:

list[ CategoryReference ]

property cd_roms#

CD-ROMs attached to the VM.

Type:

list[ CdRom ]

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 threads per core.

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model