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:
host_name – (
host_name
) Name of the hosthost_type – (
host_type
)hypervisor – (
hypervisor
)cluster – (
cluster
)controller_vm – (
controller_vm
)disk – (
disk
) Disks attached to hostis_degraded – (
is_degraded
) Node degraded statusis_secure_booted – (
is_secure_booted
) Secure boot statusis_hardware_virtualized – (
is_hardware_virtualized
) Indicates whether the hardware is virtualized or nothas_csr – (
has_csr
) Certificate signing request statuskey_management_device_to_cert_status – (
key_management_device_to_cert_status
) Mapping of key management device to certificate status listnumber_of_cpu_cores – (
number_of_cpu_cores
) Number of CPU coresnumber_of_cpu_threads – (
number_of_cpu_threads
) Number of CPU threadsnumber_of_cpu_sockets – (
number_of_cpu_sockets
) Number of CPU socketscpu_capacity_hz – (
cpu_capacity_hz
) CPU capacity in Hzcpu_frequency_hz – (
cpu_frequency_hz
) CPU frequency in Hzcpu_model – (
cpu_model
) CPU model namegpu_driver_version – (
gpu_driver_version
) GPU driver versiongpu_list – (
gpu_list
) GPU attached listdefault_vhd_location – (
default_vhd_location
) Default VHD locationdefault_vhd_container_uuid – (
default_vhd_container_uuid
) Default VHD container UUIDdefault_vm_location – (
default_vm_location
) Default VM locationdefault_vm_container_uuid – (
default_vm_container_uuid
) Default VM container UUIDreboot_pending – (
reboot_pending
) Reboot pending statusfailover_cluster_fqdn – (
failover_cluster_fqdn
) Failover cluster FQDNfailover_cluster_node_status – (
failover_cluster_node_status
) Failover cluster node statusboot_time_usecs – (
boot_time_usecs
) Boot time in secsmemory_size_bytes – (
memory_size_bytes
) Memory size in bytesblock_serial – (
block_serial
) Rackable unit serial nameblock_model – (
block_model
) Rackable unit model namemaintenance_state – (
maintenance_state
) Host Maintenance Statenode_status – (
node_status
)
- 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:
- property controller_vm#
- Type:
- 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:
- property hypervisor#
- Type:
- 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:
- property maintenance_state#
Host Maintenance State
- Type:
str
- property memory_size_bytes#
Memory size in bytes
- Type:
int
- property node_status#
- Type:
- 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