PoolMetrics¶
- class oci.data_flow.models.PoolMetrics(**kwargs)¶
Bases:
objectA collection of metrics related to a particular pool.
Methods:
__init__(**kwargs)Initializes a new PoolMetrics object with values from keyword arguments.
Attributes:
Gets the active_runs_count of this PoolMetrics.
Gets the actively_used_node_count of this PoolMetrics.
Gets the time_last_metrics_updated of this PoolMetrics.
Gets the time_last_started of this PoolMetrics.
Gets the time_last_stopped of this PoolMetrics.
Gets the time_last_used of this PoolMetrics.
- __init__(**kwargs)¶
Initializes a new PoolMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
time_last_started (datetime) – The value to assign to the time_last_started property of this PoolMetrics.
time_last_stopped (datetime) – The value to assign to the time_last_stopped property of this PoolMetrics.
time_last_used (datetime) – The value to assign to the time_last_used property of this PoolMetrics.
time_last_metrics_updated (datetime) – The value to assign to the time_last_metrics_updated property of this PoolMetrics.
active_runs_count (int) – The value to assign to the active_runs_count property of this PoolMetrics.
actively_used_node_count (list[oci.data_flow.models.NodeCount]) – The value to assign to the actively_used_node_count property of this PoolMetrics.
- property active_runs_count¶
Gets the active_runs_count of this PoolMetrics. The number of runs that are currently running that are using this pool.
- Returns
The active_runs_count of this PoolMetrics.
- Return type
int
- property actively_used_node_count¶
Gets the actively_used_node_count of this PoolMetrics. A count of the nodes that are currently being used for each shape in this pool.
- Returns
The actively_used_node_count of this PoolMetrics.
- Return type
- property time_last_metrics_updated¶
Gets the time_last_metrics_updated of this PoolMetrics. The last time the mertics were updated for this.
- Returns
The time_last_metrics_updated of this PoolMetrics.
- Return type
datetime
- property time_last_started¶
Gets the time_last_started of this PoolMetrics. The last time this pool was started.
- Returns
The time_last_started of this PoolMetrics.
- Return type
datetime
- property time_last_stopped¶
Gets the time_last_stopped of this PoolMetrics. The last time this pool was stopped.
- Returns
The time_last_stopped of this PoolMetrics.
- Return type
datetime
- property time_last_used¶
Gets the time_last_used of this PoolMetrics. The last time a run used this pool.
- Returns
The time_last_used of this PoolMetrics.
- Return type
datetime