AwrDbSummary¶
-
class
oci.database_management.models.
AwrDbSummary
(**kwargs)¶ Bases:
object
The AWR summary for a database.
Methods
__init__
(**kwargs)Initializes a new AwrDbSummary object with values from keyword arguments. Attributes
awr_db_id
[Required] Gets the awr_db_id of this AwrDbSummary. container_id
Gets the container_id of this AwrDbSummary. db_name
[Required] Gets the db_name of this AwrDbSummary. db_version
Gets the db_version of this AwrDbSummary. first_snapshot_id
Gets the first_snapshot_id of this AwrDbSummary. instance_list
Gets the instance_list of this AwrDbSummary. latest_snapshot_id
Gets the latest_snapshot_id of this AwrDbSummary. snapshot_count
Gets the snapshot_count of this AwrDbSummary. snapshot_interval_in_min
Gets the snapshot_interval_in_min of this AwrDbSummary. snapshot_timezone
Gets the snapshot_timezone of this AwrDbSummary. time_db_startup
Gets the time_db_startup of this AwrDbSummary. time_first_snapshot_begin
Gets the time_first_snapshot_begin of this AwrDbSummary. time_latest_snapshot_end
Gets the time_latest_snapshot_end of this AwrDbSummary. -
__init__
(**kwargs)¶ Initializes a new AwrDbSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - awr_db_id (str) – The value to assign to the awr_db_id property of this AwrDbSummary.
- db_name (str) – The value to assign to the db_name property of this AwrDbSummary.
- instance_list (list[int]) – The value to assign to the instance_list property of this AwrDbSummary.
- time_db_startup (datetime) – The value to assign to the time_db_startup property of this AwrDbSummary.
- time_first_snapshot_begin (datetime) – The value to assign to the time_first_snapshot_begin property of this AwrDbSummary.
- time_latest_snapshot_end (datetime) – The value to assign to the time_latest_snapshot_end property of this AwrDbSummary.
- first_snapshot_id (int) – The value to assign to the first_snapshot_id property of this AwrDbSummary.
- latest_snapshot_id (int) – The value to assign to the latest_snapshot_id property of this AwrDbSummary.
- snapshot_count (int) – The value to assign to the snapshot_count property of this AwrDbSummary.
- snapshot_interval_in_min (int) – The value to assign to the snapshot_interval_in_min property of this AwrDbSummary.
- container_id (int) – The value to assign to the container_id property of this AwrDbSummary.
- db_version (str) – The value to assign to the db_version property of this AwrDbSummary.
- snapshot_timezone (str) – The value to assign to the snapshot_timezone property of this AwrDbSummary.
-
awr_db_id
¶ [Required] Gets the awr_db_id of this AwrDbSummary. The internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs
Returns: The awr_db_id of this AwrDbSummary. Return type: str
-
container_id
¶ Gets the container_id of this AwrDbSummary. ID of the database container. The database container ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges
Returns: The container_id of this AwrDbSummary. Return type: int
-
db_name
¶ [Required] Gets the db_name of this AwrDbSummary. The name of the database.
Returns: The db_name of this AwrDbSummary. Return type: str
-
db_version
¶ Gets the db_version of this AwrDbSummary. The version of the database.
Returns: The db_version of this AwrDbSummary. Return type: str
-
first_snapshot_id
¶ Gets the first_snapshot_id of this AwrDbSummary. The ID of the earliest snapshot. The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
Returns: The first_snapshot_id of this AwrDbSummary. Return type: int
-
instance_list
¶ Gets the instance_list of this AwrDbSummary. The database instance numbers.
Returns: The instance_list of this AwrDbSummary. Return type: list[int]
-
latest_snapshot_id
¶ Gets the latest_snapshot_id of this AwrDbSummary. The ID of the latest snapshot. The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
Returns: The latest_snapshot_id of this AwrDbSummary. Return type: int
-
snapshot_count
¶ Gets the snapshot_count of this AwrDbSummary. The total number of snapshots.
Returns: The snapshot_count of this AwrDbSummary. Return type: int
-
snapshot_interval_in_min
¶ Gets the snapshot_interval_in_min of this AwrDbSummary. The interval time between snapshots (in minutes).
Returns: The snapshot_interval_in_min of this AwrDbSummary. Return type: int
-
snapshot_timezone
¶ Gets the snapshot_timezone of this AwrDbSummary. The time zone of the snapshot.
Returns: The snapshot_timezone of this AwrDbSummary. Return type: str
-
time_db_startup
¶ Gets the time_db_startup of this AwrDbSummary. The timestamp of the database startup.
Returns: The time_db_startup of this AwrDbSummary. Return type: datetime
-
time_first_snapshot_begin
¶ Gets the time_first_snapshot_begin of this AwrDbSummary. The start time of the earliest snapshot.
Returns: The time_first_snapshot_begin of this AwrDbSummary. Return type: datetime
-
time_latest_snapshot_end
¶ Gets the time_latest_snapshot_end of this AwrDbSummary. The end time of the latest snapshot.
Returns: The time_latest_snapshot_end of this AwrDbSummary. Return type: datetime
-