HostNetworkActivitySummary¶
-
class
oci.opsi.models.HostNetworkActivitySummary(**kwargs)¶ Bases:
oci.opsi.models.host_performance_metric_group.HostPerformanceMetricGroupNetwork Activity Summary metric for the host
Attributes
METRIC_NAME_HOST_CPU_USAGEstr(object=’’) -> str METRIC_NAME_HOST_FILESYSTEM_USAGEstr(object=’’) -> str METRIC_NAME_HOST_GPU_PROCESSESstr(object=’’) -> str METRIC_NAME_HOST_GPU_USAGEstr(object=’’) -> str METRIC_NAME_HOST_IO_USAGEstr(object=’’) -> str METRIC_NAME_HOST_MEMORY_USAGEstr(object=’’) -> str METRIC_NAME_HOST_NETWORK_ACTIVITY_SUMMARYstr(object=’’) -> str METRIC_NAME_HOST_TOP_PROCESSESstr(object=’’) -> str all_network_io_in_mbpsGets the all_network_io_in_mbps of this HostNetworkActivitySummary. all_network_read_in_mbpsGets the all_network_read_in_mbps of this HostNetworkActivitySummary. all_network_write_in_mbpsGets the all_network_write_in_mbps of this HostNetworkActivitySummary. interface_nameGets the interface_name of this HostNetworkActivitySummary. 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 HostNetworkActivitySummary 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'¶
-
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 HostNetworkActivitySummary object with values from keyword arguments. The default value of the
metric_nameattribute of this class isHOST_NETWORK_ACTIVITY_SUMMARYand 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 HostNetworkActivitySummary. 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 HostNetworkActivitySummary.
- interface_name (str) – The value to assign to the interface_name property of this HostNetworkActivitySummary.
- all_network_read_in_mbps (float) – The value to assign to the all_network_read_in_mbps property of this HostNetworkActivitySummary.
- all_network_write_in_mbps (float) – The value to assign to the all_network_write_in_mbps property of this HostNetworkActivitySummary.
- all_network_io_in_mbps (float) – The value to assign to the all_network_io_in_mbps property of this HostNetworkActivitySummary.
-
all_network_io_in_mbps¶ Gets the all_network_io_in_mbps of this HostNetworkActivitySummary. All network interfaces IO rate in Mbps
Returns: The all_network_io_in_mbps of this HostNetworkActivitySummary. Return type: float
-
all_network_read_in_mbps¶ Gets the all_network_read_in_mbps of this HostNetworkActivitySummary. All network interfaces read rate in Mbps
Returns: The all_network_read_in_mbps of this HostNetworkActivitySummary. Return type: float
-
all_network_write_in_mbps¶ Gets the all_network_write_in_mbps of this HostNetworkActivitySummary. All network interfaces write rate in Mbps
Returns: The all_network_write_in_mbps of this HostNetworkActivitySummary. 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.
-
interface_name¶ Gets the interface_name of this HostNetworkActivitySummary. Name of the network interface
Returns: The interface_name of this HostNetworkActivitySummary. Return type: str
-
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
-
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
-