DatabaseHomeMetricDefinition¶
- class oci.database_management.models.DatabaseHomeMetricDefinition(**kwargs)¶
Bases:
objectThe response containing the CPU, Storage, Wait, DB Time, and Memory metrics for a specific Managed Database.
Methods:
__init__(**kwargs)Initializes a new DatabaseHomeMetricDefinition object with values from keyword arguments.
Attributes:
[Required] Gets the activity_time_series_metrics of this DatabaseHomeMetricDefinition.
Gets the cpu_utilization_aggregate_metrics of this DatabaseHomeMetricDefinition.
[Required] Gets the db_storage_aggregate_metrics of this DatabaseHomeMetricDefinition.
[Required] Gets the db_time_aggregate_metrics of this DatabaseHomeMetricDefinition.
Gets the failed_connections_aggregate_metrics of this DatabaseHomeMetricDefinition.
[Required] Gets the io_aggregate_metrics of this DatabaseHomeMetricDefinition.
[Required] Gets the memory_aggregate_metrics of this DatabaseHomeMetricDefinition.
Gets the statements_aggregate_metrics of this DatabaseHomeMetricDefinition.
- __init__(**kwargs)¶
Initializes a new DatabaseHomeMetricDefinition object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
activity_time_series_metrics (list[oci.database_management.models.ActivityTimeSeriesMetrics]) – The value to assign to the activity_time_series_metrics property of this DatabaseHomeMetricDefinition.
db_time_aggregate_metrics (oci.database_management.models.DatabaseTimeAggregateMetrics) – The value to assign to the db_time_aggregate_metrics property of this DatabaseHomeMetricDefinition.
io_aggregate_metrics (oci.database_management.models.DatabaseIOAggregateMetrics) – The value to assign to the io_aggregate_metrics property of this DatabaseHomeMetricDefinition.
memory_aggregate_metrics (oci.database_management.models.MemoryAggregateMetrics) – The value to assign to the memory_aggregate_metrics property of this DatabaseHomeMetricDefinition.
db_storage_aggregate_metrics (oci.database_management.models.DatabaseStorageAggregateMetrics) – The value to assign to the db_storage_aggregate_metrics property of this DatabaseHomeMetricDefinition.
cpu_utilization_aggregate_metrics (oci.database_management.models.CpuUtilizationAggregateMetrics) – The value to assign to the cpu_utilization_aggregate_metrics property of this DatabaseHomeMetricDefinition.
statements_aggregate_metrics (oci.database_management.models.StatementsAggregateMetrics) – The value to assign to the statements_aggregate_metrics property of this DatabaseHomeMetricDefinition.
failed_connections_aggregate_metrics (oci.database_management.models.FailedConnectionsAggregateMetrics) – The value to assign to the failed_connections_aggregate_metrics property of this DatabaseHomeMetricDefinition.
- property activity_time_series_metrics¶
[Required] Gets the activity_time_series_metrics of this DatabaseHomeMetricDefinition. A list of the active session metrics for CPU and Wait time for a specific Managed Database.
- Returns
The activity_time_series_metrics of this DatabaseHomeMetricDefinition.
- Return type
list[oci.database_management.models.ActivityTimeSeriesMetrics]
- property cpu_utilization_aggregate_metrics¶
Gets the cpu_utilization_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The cpu_utilization_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type
oci.database_management.models.CpuUtilizationAggregateMetrics
- property db_storage_aggregate_metrics¶
[Required] Gets the db_storage_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The db_storage_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type
oci.database_management.models.DatabaseStorageAggregateMetrics
- property db_time_aggregate_metrics¶
[Required] Gets the db_time_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The db_time_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type
- property failed_connections_aggregate_metrics¶
Gets the failed_connections_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The failed_connections_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type
oci.database_management.models.FailedConnectionsAggregateMetrics
- property io_aggregate_metrics¶
[Required] Gets the io_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The io_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type
- property memory_aggregate_metrics¶
[Required] Gets the memory_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The memory_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type
- property statements_aggregate_metrics¶
Gets the statements_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Returns
The statements_aggregate_metrics of this DatabaseHomeMetricDefinition.
- Return type