ClusterMetrics#

class ClusterMetrics(cluster_name=None, external_ip=None, cvm_i_ps=None, total_memory_size_bytes=None, current_memory_usage_size_bytes=None, provisioned_memory_usage_bytes=None, max_vm_memory_size_bytes=None, available_memory_size_bytes=None, largest_powered_off_vm_memory=None, total_v_cpu_count=None, current_used_v_cpu_count=None, provisioned_v_cpu_count=None, max_vm_v_cpu_size=None, available_v_cpu_count=None, largest_powered_off_vmv_cpu=None, total_cpu_hz=None, current_used_cpu_hz=None, provisioned_cpu_hz=None, total_storage_capacity_raw_bytes=None, total_storage_capacity_logical_bytes=None, total_storage_capacity_logical_with_savings_bytes=None, total_storage_usage_bytes=None, total_storage_available_bytes=None, total_storage_available_logical_bytes=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Parameters:
property available_memory_size_bytes#

Total amount of available memory in bytes for deploying new VMs

Type:

int

property available_v_cpu_count#

Total number of available VMs for deploying new VMs

Type:

int

property cluster_name#

Name of the cluster

Type:

str

property current_memory_usage_size_bytes#

Total memory size in bytes currently being used by the active VMs

Type:

int

property current_used_cpu_hz#

Total amount of CPU in hertz currently being used by the active VMs

Type:

int

property current_used_v_cpu_count#

Total number of vCPUs currently being used by the active VMs

Type:

int

property cvm_i_ps#

CVM IPs of the nodes in the cluster

Type:

list[ IPv4Address ]

property external_ip#
Type:

IPv4Address

property largest_powered_off_vm_memory#

Powered OFF VM with the largest memory size

Type:

int

property largest_powered_off_vmv_cpu#

Largest powered OFF VM in terms of vCPU count

Type:

int

property max_vm_memory_size_bytes#

Largest possible memory size in bytes for the next VM that can be added

Type:

int

property max_vm_v_cpu_size#

Largest possible VM size in vCPUs for the next VM that can be added

Type:

int

property provisioned_cpu_hz#

Total amount of CPU in hertz provisioned for all the VMs

Type:

int

property provisioned_memory_usage_bytes#

Total memory size in bytes provisioned for all the VMs

Type:

int

property provisioned_v_cpu_count#

Total number of vCPUs provisioned for all the VMs

Type:

int

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property total_cpu_hz#

Total amount of CPU in hertz in the cluster

Type:

int

property total_memory_size_bytes#

Total memory size in bytes in the cluster

Type:

int

property total_storage_available_bytes#

Total raw storage bytes still available in the cluster

Type:

int

property total_storage_available_logical_bytes#

Total logical storage bytes still available in the cluster

Type:

int

property total_storage_capacity_logical_bytes#

Total logical storage in bytes capacity after considering RF

Type:

int

property total_storage_capacity_logical_with_savings_bytes#

Total logical storage capacity in bytes after accounting for savings from dedup, compressions,and erasure coding

Type:

int

property total_storage_capacity_raw_bytes#

Total storage in bytes capacity in the cluster

Type:

int

property total_storage_usage_bytes#

Total raw storage usage by the cluster

Type:

int

property total_v_cpu_count#

Total number of vCPUs in the cluster

Type:

int