DatabaseFleetHealthMetrics

class oci.database_management.models.DatabaseFleetHealthMetrics(**kwargs)

Bases: object

The details of the fleet health metrics.

Attributes

COMPARE_TYPE_DAY A constant which can be used with the compare_type property of a DatabaseFleetHealthMetrics.
COMPARE_TYPE_HOUR A constant which can be used with the compare_type property of a DatabaseFleetHealthMetrics.
COMPARE_TYPE_WEEK A constant which can be used with the compare_type property of a DatabaseFleetHealthMetrics.
compare_baseline_time [Required] Gets the compare_baseline_time of this DatabaseFleetHealthMetrics.
compare_target_time [Required] Gets the compare_target_time of this DatabaseFleetHealthMetrics.
compare_type Gets the compare_type of this DatabaseFleetHealthMetrics.
fleet_databases [Required] Gets the fleet_databases of this DatabaseFleetHealthMetrics.
fleet_summary Gets the fleet_summary of this DatabaseFleetHealthMetrics.

Methods

__init__(**kwargs) Initializes a new DatabaseFleetHealthMetrics object with values from keyword arguments.
COMPARE_TYPE_DAY = 'DAY'

A constant which can be used with the compare_type property of a DatabaseFleetHealthMetrics. This constant has a value of “DAY”

COMPARE_TYPE_HOUR = 'HOUR'

A constant which can be used with the compare_type property of a DatabaseFleetHealthMetrics. This constant has a value of “HOUR”

COMPARE_TYPE_WEEK = 'WEEK'

A constant which can be used with the compare_type property of a DatabaseFleetHealthMetrics. This constant has a value of “WEEK”

__init__(**kwargs)

Initializes a new DatabaseFleetHealthMetrics object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compare_baseline_time (str) – The value to assign to the compare_baseline_time property of this DatabaseFleetHealthMetrics.
  • compare_target_time (str) – The value to assign to the compare_target_time property of this DatabaseFleetHealthMetrics.
  • compare_type (str) – The value to assign to the compare_type property of this DatabaseFleetHealthMetrics. Allowed values for this property are: “HOUR”, “DAY”, “WEEK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • fleet_summary (oci.database_management.models.FleetSummary) – The value to assign to the fleet_summary property of this DatabaseFleetHealthMetrics.
  • fleet_databases (list[oci.database_management.models.DatabaseUsageMetrics]) – The value to assign to the fleet_databases property of this DatabaseFleetHealthMetrics.
compare_baseline_time

[Required] Gets the compare_baseline_time of this DatabaseFleetHealthMetrics. The baseline date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”. This is the date and time against which percentage change is calculated.

Returns:The compare_baseline_time of this DatabaseFleetHealthMetrics.
Return type:str
compare_target_time

[Required] Gets the compare_target_time of this DatabaseFleetHealthMetrics. The target date and time in UTC in ISO-8601 format, which is “yyyy-MM-dd’T’hh:mm:ss.sss’Z’”. All the metrics are returned for the target date and time and the percentage change is calculated against the baseline date and time.

Returns:The compare_target_time of this DatabaseFleetHealthMetrics.
Return type:str
compare_type

Gets the compare_type of this DatabaseFleetHealthMetrics. The time window used for metrics comparison.

Allowed values for this property are: “HOUR”, “DAY”, “WEEK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The compare_type of this DatabaseFleetHealthMetrics.
Return type:str
fleet_databases

[Required] Gets the fleet_databases of this DatabaseFleetHealthMetrics. A list of the databases present in the fleet and their usage metrics.

Returns:The fleet_databases of this DatabaseFleetHealthMetrics.
Return type:list[oci.database_management.models.DatabaseUsageMetrics]
fleet_summary

Gets the fleet_summary of this DatabaseFleetHealthMetrics.

Returns:The fleet_summary of this DatabaseFleetHealthMetrics.
Return type:oci.database_management.models.FleetSummary