HostContainers

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

Bases: oci.opsi.models.host_performance_metric_group.HostPerformanceMetricGroup

Host Containers details

Attributes

METRIC_NAME_HOST_CONTAINERS str(object=’’) -> str
METRIC_NAME_HOST_CPU_USAGE str(object=’’) -> str
METRIC_NAME_HOST_FILESYSTEM_USAGE str(object=’’) -> str
METRIC_NAME_HOST_GPU_PROCESSES str(object=’’) -> str
METRIC_NAME_HOST_GPU_USAGE str(object=’’) -> str
METRIC_NAME_HOST_IO_USAGE str(object=’’) -> str
METRIC_NAME_HOST_MEMORY_USAGE str(object=’’) -> str
METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY str(object=’’) -> str
METRIC_NAME_HOST_TOP_PROCESSES str(object=’’) -> str
container_id Gets the container_id of this HostContainers.
container_image Gets the container_image of this HostContainers.
container_name Gets the container_name of this HostContainers.
container_ports Gets the container_ports of this HostContainers.
metric_name [Required] Gets the metric_name of this HostPerformanceMetricGroup.
time_collected [Required] Gets the time_collected of this HostPerformanceMetricGroup.

Methods

__init__(**kwargs) Initializes a new HostContainers 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'
METRIC_NAME_HOST_CPU_USAGE = 'HOST_CPU_USAGE'
METRIC_NAME_HOST_FILESYSTEM_USAGE = 'HOST_FILESYSTEM_USAGE'
METRIC_NAME_HOST_GPU_PROCESSES = 'HOST_GPU_PROCESSES'
METRIC_NAME_HOST_GPU_USAGE = 'HOST_GPU_USAGE'
METRIC_NAME_HOST_IO_USAGE = 'HOST_IO_USAGE'
METRIC_NAME_HOST_MEMORY_USAGE = 'HOST_MEMORY_USAGE'
METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARY = 'HOST_NETWORK_ACTIVITY_SUMMARY'
METRIC_NAME_HOST_TOP_PROCESSES = 'HOST_TOP_PROCESSES'
__init__(**kwargs)

Initializes a new HostContainers object with values from keyword arguments. The default value of the metric_name attribute of this class is HOST_CONTAINERS 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 HostContainers. 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”, “HOST_CONTAINERS”
  • time_collected (datetime) – The value to assign to the time_collected property of this HostContainers.
  • container_id (str) – The value to assign to the container_id property of this HostContainers.
  • container_name (str) – The value to assign to the container_name property of this HostContainers.
  • container_image (str) – The value to assign to the container_image property of this HostContainers.
  • container_ports (str) – The value to assign to the container_ports property of this HostContainers.
container_id

Gets the container_id of this HostContainers. Container Id (full)

Returns:The container_id of this HostContainers.
Return type:str
container_image

Gets the container_image of this HostContainers. Container Image (may include tag version)

Returns:The container_image of this HostContainers.
Return type:str
container_name

Gets the container_name of this HostContainers. Container Name

Returns:The container_name of this HostContainers.
Return type:str
container_ports

Gets the container_ports of this HostContainers. Container open ports

Returns:The container_ports of this HostContainers.
Return type:str
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.

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”, “HOST_CONTAINERS”

Returns:The metric_name of this HostPerformanceMetricGroup.
Return type:str
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