HostFilesystemUsage

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

Bases: HostPerformanceMetricGroup

Filesystem Usage metric for the host.

Attributes:

METRIC_NAME_HOST_CPU_USAGE

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

METRIC_NAME_HOST_FILESYSTEM_USAGE

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

METRIC_NAME_HOST_GPU_PROCESSES

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

METRIC_NAME_HOST_GPU_USAGE

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

METRIC_NAME_HOST_IO_USAGE

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

METRIC_NAME_HOST_MEMORY_USAGE

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

METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY

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

METRIC_NAME_HOST_TOP_PROCESSES

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

file_system_avail_in_gbs

Gets the file_system_avail_in_gbs of this HostFilesystemUsage.

file_system_avail_in_percent

Gets the file_system_avail_in_percent of this HostFilesystemUsage.

file_system_usage_in_gb

Gets the file_system_usage_in_gb of this HostFilesystemUsage.

metric_name

[Required] Gets the metric_name of this HostPerformanceMetricGroup.

mount_point

Gets the mount_point of this HostFilesystemUsage.

time_collected

[Required] Gets the time_collected of this HostPerformanceMetricGroup.

Methods:

__init__(**kwargs)

Initializes a new HostFilesystemUsage 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_CPU_USAGE = 'HOST_CPU_USAGE'

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

METRIC_NAME_HOST_FILESYSTEM_USAGE = 'HOST_FILESYSTEM_USAGE'

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

METRIC_NAME_HOST_GPU_PROCESSES = 'HOST_GPU_PROCESSES'

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

METRIC_NAME_HOST_GPU_USAGE = 'HOST_GPU_USAGE'

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

METRIC_NAME_HOST_IO_USAGE = 'HOST_IO_USAGE'

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

METRIC_NAME_HOST_MEMORY_USAGE = 'HOST_MEMORY_USAGE'

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

METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY = 'HOST_NETWORK_ACTIVITY_SUMMARY'

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

METRIC_NAME_HOST_TOP_PROCESSES = 'HOST_TOP_PROCESSES'

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

__init__(**kwargs)

Initializes a new HostFilesystemUsage object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_FILESYSTEM_USAGE 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 HostFilesystemUsage. Allowed values for this property are: “HOST_CPU_USAGE”, “HOST_MEMORY_USAGE”, “HOST_NETWORK_ACTIVITY_SUMMARY”, “HOST_TOP_PROCESSES”, “HOST_FILESYSTEM_USAGE”, “HOST_GPU_USAGE”, “HOST_GPU_PROCESSES”, “HOST_IO_USAGE”

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

  • mount_point (str) – The value to assign to the mount_point property of this HostFilesystemUsage.

  • file_system_usage_in_gb (float) – The value to assign to the file_system_usage_in_gb property of this HostFilesystemUsage.

  • file_system_avail_in_percent (float) – The value to assign to the file_system_avail_in_percent property of this HostFilesystemUsage.

  • file_system_avail_in_gbs (float) – The value to assign to the file_system_avail_in_gbs property of this HostFilesystemUsage.

property file_system_avail_in_gbs

Gets the file_system_avail_in_gbs of this HostFilesystemUsage.

Returns

The file_system_avail_in_gbs of this HostFilesystemUsage.

Return type

float

property file_system_avail_in_percent

Gets the file_system_avail_in_percent of this HostFilesystemUsage.

Returns

The file_system_avail_in_percent of this HostFilesystemUsage.

Return type

float

property file_system_usage_in_gb

Gets the file_system_usage_in_gb of this HostFilesystemUsage.

Returns

The file_system_usage_in_gb of this HostFilesystemUsage.

Return type

float

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 metric_name

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

Allowed values for this property are: “HOST_CPU_USAGE”, “HOST_MEMORY_USAGE”, “HOST_NETWORK_ACTIVITY_SUMMARY”, “HOST_TOP_PROCESSES”, “HOST_FILESYSTEM_USAGE”, “HOST_GPU_USAGE”, “HOST_GPU_PROCESSES”, “HOST_IO_USAGE”

Returns

The metric_name of this HostPerformanceMetricGroup.

Return type

str

property mount_point

Gets the mount_point of this HostFilesystemUsage. Mount points are specialized NTFS filesystem objects

Returns

The mount_point of this HostFilesystemUsage.

Return type

str

property time_collected

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

Returns

The time_collected of this HostPerformanceMetricGroup.

Return type

datetime