AwrDatabaseSnapshotSummary

class oci.opsi.models.AwrDatabaseSnapshotSummary(**kwargs)

Bases: object

The AWR snapshot summary of one snapshot.

Methods

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

Attributes

awr_source_database_identifier [Required] Gets the awr_source_database_identifier of this AwrDatabaseSnapshotSummary.
error_count Gets the error_count of this AwrDatabaseSnapshotSummary.
instance_number Gets the instance_number of this AwrDatabaseSnapshotSummary.
snapshot_identifier [Required] Gets the snapshot_identifier of this AwrDatabaseSnapshotSummary.
time_begin Gets the time_begin of this AwrDatabaseSnapshotSummary.
time_db_startup Gets the time_db_startup of this AwrDatabaseSnapshotSummary.
time_end Gets the time_end of this AwrDatabaseSnapshotSummary.
__init__(**kwargs)

Initializes a new AwrDatabaseSnapshotSummary 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 AwrDatabaseSnapshotSummary.
  • instance_number (int) – The value to assign to the instance_number property of this AwrDatabaseSnapshotSummary.
  • time_db_startup (datetime) – The value to assign to the time_db_startup property of this AwrDatabaseSnapshotSummary.
  • time_begin (datetime) – The value to assign to the time_begin property of this AwrDatabaseSnapshotSummary.
  • time_end (datetime) – The value to assign to the time_end property of this AwrDatabaseSnapshotSummary.
  • snapshot_identifier (int) – The value to assign to the snapshot_identifier property of this AwrDatabaseSnapshotSummary.
  • error_count (int) – The value to assign to the error_count property of this AwrDatabaseSnapshotSummary.
awr_source_database_identifier

[Required] Gets the awr_source_database_identifier of this AwrDatabaseSnapshotSummary. 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 AwrDatabaseSnapshotSummary.
Return type:str
error_count

Gets the error_count of this AwrDatabaseSnapshotSummary. The total number of errors.

Returns:The error_count of this AwrDatabaseSnapshotSummary.
Return type:int
instance_number

Gets the instance_number of this AwrDatabaseSnapshotSummary. The database instance number.

Returns:The instance_number of this AwrDatabaseSnapshotSummary.
Return type:int
snapshot_identifier

[Required] Gets the snapshot_identifier of this AwrDatabaseSnapshotSummary. The ID of the snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDbSnapshots

Returns:The snapshot_identifier of this AwrDatabaseSnapshotSummary.
Return type:int
time_begin

Gets the time_begin of this AwrDatabaseSnapshotSummary. The start time of the snapshot.

Returns:The time_begin of this AwrDatabaseSnapshotSummary.
Return type:datetime
time_db_startup

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

Returns:The time_db_startup of this AwrDatabaseSnapshotSummary.
Return type:datetime
time_end

Gets the time_end of this AwrDatabaseSnapshotSummary. The end time of the snapshot.

Returns:The time_end of this AwrDatabaseSnapshotSummary.
Return type:datetime