AwrDatabaseSummary¶
-
class
oci.opsi.models.AwrDatabaseSummary(**kwargs)¶ Bases:
objectThe AWR summary for a database.
Methods
__init__(**kwargs)Initializes a new AwrDatabaseSummary object with values from keyword arguments. Attributes
awr_source_database_identifier[Required] Gets the awr_source_database_identifier of this AwrDatabaseSummary. db_name[Required] Gets the db_name of this AwrDatabaseSummary. db_versionGets the db_version of this AwrDatabaseSummary. first_snapshot_identifierGets the first_snapshot_identifier of this AwrDatabaseSummary. instance_listGets the instance_list of this AwrDatabaseSummary. latest_snapshot_identifierGets the latest_snapshot_identifier of this AwrDatabaseSummary. snapshot_countGets the snapshot_count of this AwrDatabaseSummary. snapshot_interval_in_minGets the snapshot_interval_in_min of this AwrDatabaseSummary. snapshot_timezoneGets the snapshot_timezone of this AwrDatabaseSummary. time_db_startupGets the time_db_startup of this AwrDatabaseSummary. time_first_snapshot_beginGets the time_first_snapshot_begin of this AwrDatabaseSummary. time_latest_snapshot_endGets the time_latest_snapshot_end of this AwrDatabaseSummary. -
__init__(**kwargs)¶ Initializes a new AwrDatabaseSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - awr_source_database_identifier (str) – The value to assign to the awr_source_database_identifier property of this AwrDatabaseSummary.
- db_name (str) – The value to assign to the db_name property of this AwrDatabaseSummary.
- instance_list (list[int]) – The value to assign to the instance_list property of this AwrDatabaseSummary.
- time_db_startup (datetime) – The value to assign to the time_db_startup property of this AwrDatabaseSummary.
- time_first_snapshot_begin (datetime) – The value to assign to the time_first_snapshot_begin property of this AwrDatabaseSummary.
- time_latest_snapshot_end (datetime) – The value to assign to the time_latest_snapshot_end property of this AwrDatabaseSummary.
- first_snapshot_identifier (int) – The value to assign to the first_snapshot_identifier property of this AwrDatabaseSummary.
- latest_snapshot_identifier (int) – The value to assign to the latest_snapshot_identifier property of this AwrDatabaseSummary.
- snapshot_count (int) – The value to assign to the snapshot_count property of this AwrDatabaseSummary.
- snapshot_interval_in_min (int) – The value to assign to the snapshot_interval_in_min property of this AwrDatabaseSummary.
- db_version (str) – The value to assign to the db_version property of this AwrDatabaseSummary.
- snapshot_timezone (str) – The value to assign to the snapshot_timezone property of this AwrDatabaseSummary.
-
awr_source_database_identifier¶ [Required] Gets the awr_source_database_identifier of this AwrDatabaseSummary. The internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases
Returns: The awr_source_database_identifier of this AwrDatabaseSummary. Return type: str
-
db_name¶ [Required] Gets the db_name of this AwrDatabaseSummary. The name of the database.
Returns: The db_name of this AwrDatabaseSummary. Return type: str
-
db_version¶ Gets the db_version of this AwrDatabaseSummary. The version of the database.
Returns: The db_version of this AwrDatabaseSummary. Return type: str
-
first_snapshot_identifier¶ Gets the first_snapshot_identifier of this AwrDatabaseSummary. The ID of the earliest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
Returns: The first_snapshot_identifier of this AwrDatabaseSummary. Return type: int
-
instance_list¶ Gets the instance_list of this AwrDatabaseSummary. The database instance numbers.
Returns: The instance_list of this AwrDatabaseSummary. Return type: list[int]
-
latest_snapshot_identifier¶ Gets the latest_snapshot_identifier of this AwrDatabaseSummary. The ID of the latest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
Returns: The latest_snapshot_identifier of this AwrDatabaseSummary. Return type: int
-
snapshot_count¶ Gets the snapshot_count of this AwrDatabaseSummary. The total number of snapshots.
Returns: The snapshot_count of this AwrDatabaseSummary. Return type: int
-
snapshot_interval_in_min¶ Gets the snapshot_interval_in_min of this AwrDatabaseSummary. The interval time between snapshots (in minutes).
Returns: The snapshot_interval_in_min of this AwrDatabaseSummary. Return type: int
-
snapshot_timezone¶ Gets the snapshot_timezone of this AwrDatabaseSummary. The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
Returns: The snapshot_timezone of this AwrDatabaseSummary. Return type: str
-
time_db_startup¶ Gets the time_db_startup of this AwrDatabaseSummary. The timestamp of the database startup.
Returns: The time_db_startup of this AwrDatabaseSummary. Return type: datetime
-
time_first_snapshot_begin¶ Gets the time_first_snapshot_begin of this AwrDatabaseSummary. The start time of the earliest snapshot.
Returns: The time_first_snapshot_begin of this AwrDatabaseSummary. Return type: datetime
-
time_latest_snapshot_end¶ Gets the time_latest_snapshot_end of this AwrDatabaseSummary. The end time of the latest snapshot.
Returns: The time_latest_snapshot_end of this AwrDatabaseSummary. Return type: datetime
-