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:
cluster_name – (
cluster_name
) Name of the clusterexternal_ip – (
external_ip
)cvm_i_ps – (
cvm_i_ps
) CVM IPs of the nodes in the clustertotal_memory_size_bytes – (
total_memory_size_bytes
) Total memory size in bytes in the clustercurrent_memory_usage_size_bytes – (
current_memory_usage_size_bytes
) Total memory size in bytes currently being used by the active VMsprovisioned_memory_usage_bytes – (
provisioned_memory_usage_bytes
) Total memory size in bytes provisioned for all the VMsmax_vm_memory_size_bytes – (
max_vm_memory_size_bytes
) Largest possible memory size in bytes for the next VM that can be addedavailable_memory_size_bytes – (
available_memory_size_bytes
) Total amount of available memory in bytes for deploying new VMslargest_powered_off_vm_memory – (
largest_powered_off_vm_memory
) Powered OFF VM with the largest memory sizetotal_v_cpu_count – (
total_v_cpu_count
) Total number of vCPUs in the clustercurrent_used_v_cpu_count – (
current_used_v_cpu_count
) Total number of vCPUs currently being used by the active VMsprovisioned_v_cpu_count – (
provisioned_v_cpu_count
) Total number of vCPUs provisioned for all the VMsmax_vm_v_cpu_size – (
max_vm_v_cpu_size
) Largest possible VM size in vCPUs for the next VM that can be addedavailable_v_cpu_count – (
available_v_cpu_count
) Total number of available VMs for deploying new VMslargest_powered_off_vmv_cpu – (
largest_powered_off_vmv_cpu
) Largest powered OFF VM in terms of vCPU counttotal_cpu_hz – (
total_cpu_hz
) Total amount of CPU in hertz in the clustercurrent_used_cpu_hz – (
current_used_cpu_hz
) Total amount of CPU in hertz currently being used by the active VMsprovisioned_cpu_hz – (
provisioned_cpu_hz
) Total amount of CPU in hertz provisioned for all the VMstotal_storage_capacity_raw_bytes – (
total_storage_capacity_raw_bytes
) Total storage in bytes capacity in the clustertotal_storage_capacity_logical_bytes – (
total_storage_capacity_logical_bytes
) Total logical storage in bytes capacity after considering RFtotal_storage_capacity_logical_with_savings_bytes – (
total_storage_capacity_logical_with_savings_bytes
) Total logical storage capacity in bytes after accounting for savings from dedup, compressions,and erasure codingtotal_storage_usage_bytes – (
total_storage_usage_bytes
) Total raw storage usage by the clustertotal_storage_available_bytes – (
total_storage_available_bytes
) Total raw storage bytes still available in the clustertotal_storage_available_logical_bytes – (
total_storage_available_logical_bytes
) Total logical storage bytes still available in the cluster
- 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:
- 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