AwrDbSummary¶
- class oci.database_management.models.AwrDbSummary(**kwargs)¶
Bases:
objectThe AWR summary for a database.
Methods:
__init__(**kwargs)Initializes a new AwrDbSummary object with values from keyword arguments.
Attributes:
[Required] Gets the awr_db_id of this AwrDbSummary.
Gets the container_id of this AwrDbSummary.
[Required] Gets the db_name of this AwrDbSummary.
Gets the db_unique_name of this AwrDbSummary.
Gets the db_version of this AwrDbSummary.
Gets the first_snapshot_id of this AwrDbSummary.
Gets the instance_list of this AwrDbSummary.
Gets the latest_snapshot_id of this AwrDbSummary.
Gets the snapshot_count of this AwrDbSummary.
Gets the snapshot_interval_in_min of this AwrDbSummary.
Gets the snapshot_timezone of this AwrDbSummary.
Gets the src_db_id of this AwrDbSummary.
Gets the src_db_name of this AwrDbSummary.
Gets the time_db_startup of this AwrDbSummary.
Gets the time_first_snapshot_begin of this AwrDbSummary.
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.
db_unique_name (str) – The value to assign to the db_unique_name property of this AwrDbSummary.
src_db_id (str) – The value to assign to the src_db_id property of this AwrDbSummary.
src_db_name (str) – The value to assign to the src_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.
- property 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
- property 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
- property 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
- property db_unique_name¶
Gets the db_unique_name of this AwrDbSummary. The unique name of the database.
- Returns
The db_unique_name of this AwrDbSummary.
- Return type
str
- property db_version¶
Gets the db_version of this AwrDbSummary. The version of the database.
- Returns
The db_version of this AwrDbSummary.
- Return type
str
- property 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
- property instance_list¶
Gets the instance_list of this AwrDbSummary. The database instance numbers.
- Returns
The instance_list of this AwrDbSummary.
- Return type
list[int]
- property 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
- property snapshot_count¶
Gets the snapshot_count of this AwrDbSummary. The total number of snapshots.
- Returns
The snapshot_count of this AwrDbSummary.
- Return type
int
- property 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
- property 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
- property src_db_id¶
Gets the src_db_id of this AwrDbSummary. The internal ID of the database where the AWR snapshot data was collected.
- Returns
The src_db_id of this AwrDbSummary.
- Return type
str
- property src_db_name¶
Gets the src_db_name of this AwrDbSummary. The name of the database where the AWR snapshot data was collected.
- Returns
The src_db_name of this AwrDbSummary.
- Return type
str
- property 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
- property 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
- property 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