HostMemoryConfiguration

class oci.opsi.models.HostMemoryConfiguration(**kwargs)

Bases: HostConfigurationMetricGroup

Memory Configuration metric for the host

Attributes:

METRIC_NAME_HOST_CONTAINERS

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_ENTITES

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_GPU_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_HARDWARE_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_MEMORY_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_NETWORK_CONFIGURATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_PRODUCT

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

METRIC_NAME_HOST_RESOURCE_ALLOCATION

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup.

huge_page_size_in_kb

Gets the huge_page_size_in_kb of this HostMemoryConfiguration.

huge_pages_total

Gets the huge_pages_total of this HostMemoryConfiguration.

metric_name

[Required] Gets the metric_name of this HostConfigurationMetricGroup.

page_size_in_kb

Gets the page_size_in_kb of this HostMemoryConfiguration.

page_tables_in_kb

Gets the page_tables_in_kb of this HostMemoryConfiguration.

swap_total_in_kb

Gets the swap_total_in_kb of this HostMemoryConfiguration.

time_collected

[Required] Gets the time_collected of this HostConfigurationMetricGroup.

Methods:

__init__(**kwargs)

Initializes a new HostMemoryConfiguration object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

METRIC_NAME_HOST_CONTAINERS = 'HOST_CONTAINERS'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_CONTAINERS”

METRIC_NAME_HOST_CPU_HARDWARE_CONFIGURATION = 'HOST_CPU_HARDWARE_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_CPU_HARDWARE_CONFIGURATION”

METRIC_NAME_HOST_ENTITES = 'HOST_ENTITES'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_ENTITES”

METRIC_NAME_HOST_FILESYSTEM_CONFIGURATION = 'HOST_FILESYSTEM_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_FILESYSTEM_CONFIGURATION”

METRIC_NAME_HOST_GPU_CONFIGURATION = 'HOST_GPU_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_GPU_CONFIGURATION”

METRIC_NAME_HOST_HARDWARE_CONFIGURATION = 'HOST_HARDWARE_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_HARDWARE_CONFIGURATION”

METRIC_NAME_HOST_MEMORY_CONFIGURATION = 'HOST_MEMORY_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_MEMORY_CONFIGURATION”

METRIC_NAME_HOST_NETWORK_CONFIGURATION = 'HOST_NETWORK_CONFIGURATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_NETWORK_CONFIGURATION”

METRIC_NAME_HOST_PRODUCT = 'HOST_PRODUCT'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_PRODUCT”

METRIC_NAME_HOST_RESOURCE_ALLOCATION = 'HOST_RESOURCE_ALLOCATION'

A constant which can be used with the metric_name property of a HostConfigurationMetricGroup. This constant has a value of “HOST_RESOURCE_ALLOCATION”

__init__(**kwargs)

Initializes a new HostMemoryConfiguration object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_MEMORY_CONFIGURATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • metric_name (str) – The value to assign to the metric_name property of this HostMemoryConfiguration. Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”, “HOST_CONTAINERS”

  • time_collected (datetime) – The value to assign to the time_collected property of this HostMemoryConfiguration.

  • page_size_in_kb (float) – The value to assign to the page_size_in_kb property of this HostMemoryConfiguration.

  • page_tables_in_kb (float) – The value to assign to the page_tables_in_kb property of this HostMemoryConfiguration.

  • swap_total_in_kb (float) – The value to assign to the swap_total_in_kb property of this HostMemoryConfiguration.

  • huge_page_size_in_kb (float) – The value to assign to the huge_page_size_in_kb property of this HostMemoryConfiguration.

  • huge_pages_total (int) – The value to assign to the huge_pages_total property of this HostMemoryConfiguration.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property huge_page_size_in_kb

Gets the huge_page_size_in_kb of this HostMemoryConfiguration. Size of huge pages in kilobytes

Returns

The huge_page_size_in_kb of this HostMemoryConfiguration.

Return type

float

property huge_pages_total

Gets the huge_pages_total of this HostMemoryConfiguration. Total number of huge pages

Returns

The huge_pages_total of this HostMemoryConfiguration.

Return type

int

property metric_name

[Required] Gets the metric_name of this HostConfigurationMetricGroup. Name of the metric group

Allowed values for this property are: “HOST_PRODUCT”, “HOST_RESOURCE_ALLOCATION”, “HOST_MEMORY_CONFIGURATION”, “HOST_HARDWARE_CONFIGURATION”, “HOST_CPU_HARDWARE_CONFIGURATION”, “HOST_NETWORK_CONFIGURATION”, “HOST_ENTITES”, “HOST_FILESYSTEM_CONFIGURATION”, “HOST_GPU_CONFIGURATION”, “HOST_CONTAINERS”

Returns

The metric_name of this HostConfigurationMetricGroup.

Return type

str

property page_size_in_kb

Gets the page_size_in_kb of this HostMemoryConfiguration. Page size in kilobytes

Returns

The page_size_in_kb of this HostMemoryConfiguration.

Return type

float

property page_tables_in_kb

Gets the page_tables_in_kb of this HostMemoryConfiguration. Amount of memory used for page tables in kilobytes

Returns

The page_tables_in_kb of this HostMemoryConfiguration.

Return type

float

property swap_total_in_kb

Gets the swap_total_in_kb of this HostMemoryConfiguration. Amount of total swap space in kilobytes

Returns

The swap_total_in_kb of this HostMemoryConfiguration.

Return type

float

property time_collected

[Required] Gets the time_collected of this HostConfigurationMetricGroup. Collection timestamp Example: “2020-05-06T00:00:00.000Z”

Returns

The time_collected of this HostConfigurationMetricGroup.

Return type

datetime