Host#

class Host(host_name=None, host_type=None, hypervisor=None, cluster=None, controller_vm=None, disk=None, is_degraded=None, is_secure_booted=None, is_hardware_virtualized=None, has_csr=None, key_management_device_to_cert_status=None, number_of_cpu_cores=None, number_of_cpu_threads=None, number_of_cpu_sockets=None, cpu_capacity_hz=None, cpu_frequency_hz=None, cpu_model=None, gpu_driver_version=None, gpu_list=None, default_vhd_location=None, default_vhd_container_uuid=None, default_vm_location=None, default_vm_container_uuid=None, reboot_pending=None, failover_cluster_fqdn=None, failover_cluster_node_status=None, boot_time_usecs=None, memory_size_bytes=None, block_serial=None, block_model=None, maintenance_state=None, node_status=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)[source]#

Bases: ExternalizableAbstractModel

Host entity with its attributes

Parameters:
property block_model#

Rackable unit model name

Type:

str

property block_serial#

Rackable unit serial name

Type:

str

property boot_time_usecs#

Boot time in secs

Type:

int

property cluster#
Type:

ClusterReference

property controller_vm#
Type:

ControllerVmReference

property cpu_capacity_hz#

CPU capacity in Hz

Type:

int

property cpu_frequency_hz#

CPU frequency in Hz

Type:

int

property cpu_model#

CPU model name

Type:

str

property default_vhd_container_uuid#

Default VHD container UUID

Type:

str

property default_vhd_location#

Default VHD location

Type:

str

property default_vm_container_uuid#

Default VM container UUID

Type:

str

property default_vm_location#

Default VM location

Type:

str

property disk#

Disks attached to host

Type:

list[ DiskReference ]

property failover_cluster_fqdn#

Failover cluster FQDN

Type:

str

property failover_cluster_node_status#

Failover cluster node status

Type:

str

property gpu_driver_version#

GPU driver version

Type:

str

property gpu_list#

GPU attached list

Type:

list[ str ]

property has_csr#

Certificate signing request status

Type:

bool

property host_name#

Name of the host

Type:

str

property host_type#
Type:

HostTypeEnum

property hypervisor#
Type:

HypervisorReference

property is_degraded#

Node degraded status

Type:

bool

property is_hardware_virtualized#

Indicates whether the hardware is virtualized or not

Type:

bool

property is_secure_booted#

Secure boot status

Type:

bool

property key_management_device_to_cert_status#

Mapping of key management device to certificate status list

Type:

list[ KeyManagementDeviceToCertStatusInfo ]

property maintenance_state#

Host Maintenance State

Type:

str

property memory_size_bytes#

Memory size in bytes

Type:

int

property node_status#
Type:

NodeStatus

property number_of_cpu_cores#

Number of CPU cores

Type:

int

property number_of_cpu_sockets#

Number of CPU sockets

Type:

int

property number_of_cpu_threads#

Number of CPU threads

Type:

int

property reboot_pending#

Reboot pending status

Type:

bool

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model