AwrDbSnapshotRangeSummary

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

Bases: object

The summary data for a range of AWR snapshots.

Methods

__init__(**kwargs) Initializes a new AwrDbSnapshotRangeSummary object with values from keyword arguments.

Attributes

awr_db_id [Required] Gets the awr_db_id of this AwrDbSnapshotRangeSummary.
container_id Gets the container_id of this AwrDbSnapshotRangeSummary.
db_name [Required] Gets the db_name of this AwrDbSnapshotRangeSummary.
db_version Gets the db_version of this AwrDbSnapshotRangeSummary.
first_snapshot_id Gets the first_snapshot_id of this AwrDbSnapshotRangeSummary.
instance_list Gets the instance_list of this AwrDbSnapshotRangeSummary.
latest_snapshot_id Gets the latest_snapshot_id of this AwrDbSnapshotRangeSummary.
snapshot_count Gets the snapshot_count of this AwrDbSnapshotRangeSummary.
snapshot_interval_in_min Gets the snapshot_interval_in_min of this AwrDbSnapshotRangeSummary.
snapshot_timezone Gets the snapshot_timezone of this AwrDbSnapshotRangeSummary.
time_db_startup Gets the time_db_startup of this AwrDbSnapshotRangeSummary.
time_first_snapshot_begin Gets the time_first_snapshot_begin of this AwrDbSnapshotRangeSummary.
time_latest_snapshot_end Gets the time_latest_snapshot_end of this AwrDbSnapshotRangeSummary.
__init__(**kwargs)

Initializes a new AwrDbSnapshotRangeSummary 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 AwrDbSnapshotRangeSummary.
  • db_name (str) – The value to assign to the db_name property of this AwrDbSnapshotRangeSummary.
  • instance_list (list[int]) – The value to assign to the instance_list property of this AwrDbSnapshotRangeSummary.
  • time_db_startup (datetime) – The value to assign to the time_db_startup property of this AwrDbSnapshotRangeSummary.
  • time_first_snapshot_begin (datetime) – The value to assign to the time_first_snapshot_begin property of this AwrDbSnapshotRangeSummary.
  • time_latest_snapshot_end (datetime) – The value to assign to the time_latest_snapshot_end property of this AwrDbSnapshotRangeSummary.
  • first_snapshot_id (int) – The value to assign to the first_snapshot_id property of this AwrDbSnapshotRangeSummary.
  • latest_snapshot_id (int) – The value to assign to the latest_snapshot_id property of this AwrDbSnapshotRangeSummary.
  • snapshot_count (int) – The value to assign to the snapshot_count property of this AwrDbSnapshotRangeSummary.
  • snapshot_interval_in_min (int) – The value to assign to the snapshot_interval_in_min property of this AwrDbSnapshotRangeSummary.
  • container_id (int) – The value to assign to the container_id property of this AwrDbSnapshotRangeSummary.
  • db_version (str) – The value to assign to the db_version property of this AwrDbSnapshotRangeSummary.
  • snapshot_timezone (str) – The value to assign to the snapshot_timezone property of this AwrDbSnapshotRangeSummary.
awr_db_id

[Required] Gets the awr_db_id of this AwrDbSnapshotRangeSummary. 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 AwrDbSnapshotRangeSummary.
Return type:str
container_id

Gets the container_id of this AwrDbSnapshotRangeSummary. 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 AwrDbSnapshotRangeSummary.
Return type:int
db_name

[Required] Gets the db_name of this AwrDbSnapshotRangeSummary. The name of the database.

Returns:The db_name of this AwrDbSnapshotRangeSummary.
Return type:str
db_version

Gets the db_version of this AwrDbSnapshotRangeSummary. The version of the database.

Returns:The db_version of this AwrDbSnapshotRangeSummary.
Return type:str
first_snapshot_id

Gets the first_snapshot_id of this AwrDbSnapshotRangeSummary. 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 AwrDbSnapshotRangeSummary.
Return type:int
instance_list

Gets the instance_list of this AwrDbSnapshotRangeSummary. The database instance numbers.

Returns:The instance_list of this AwrDbSnapshotRangeSummary.
Return type:list[int]
latest_snapshot_id

Gets the latest_snapshot_id of this AwrDbSnapshotRangeSummary. 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 AwrDbSnapshotRangeSummary.
Return type:int
snapshot_count

Gets the snapshot_count of this AwrDbSnapshotRangeSummary. The total number of snapshots.

Returns:The snapshot_count of this AwrDbSnapshotRangeSummary.
Return type:int
snapshot_interval_in_min

Gets the snapshot_interval_in_min of this AwrDbSnapshotRangeSummary. The interval time between snapshots (in minutes).

Returns:The snapshot_interval_in_min of this AwrDbSnapshotRangeSummary.
Return type:int
snapshot_timezone

Gets the snapshot_timezone of this AwrDbSnapshotRangeSummary. The time zone of the snapshot.

Returns:The snapshot_timezone of this AwrDbSnapshotRangeSummary.
Return type:str
time_db_startup

Gets the time_db_startup of this AwrDbSnapshotRangeSummary. The timestamp of the database startup.

Returns:The time_db_startup of this AwrDbSnapshotRangeSummary.
Return type:datetime
time_first_snapshot_begin

Gets the time_first_snapshot_begin of this AwrDbSnapshotRangeSummary. The start time of the earliest snapshot.

Returns:The time_first_snapshot_begin of this AwrDbSnapshotRangeSummary.
Return type:datetime
time_latest_snapshot_end

Gets the time_latest_snapshot_end of this AwrDbSnapshotRangeSummary. The end time of the latest snapshot.

Returns:The time_latest_snapshot_end of this AwrDbSnapshotRangeSummary.
Return type:datetime