AwrDbSnapshotSummary

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

Bases: object

The AWR snapshot summary of one snapshot.

Methods:

__init__(**kwargs)

Initializes a new AwrDbSnapshotSummary object with values from keyword arguments.

Attributes:

awr_db_id

[Required] Gets the awr_db_id of this AwrDbSnapshotSummary.

error_count

Gets the error_count of this AwrDbSnapshotSummary.

instance_number

Gets the instance_number of this AwrDbSnapshotSummary.

snapshot_id

[Required] Gets the snapshot_id of this AwrDbSnapshotSummary.

time_begin

Gets the time_begin of this AwrDbSnapshotSummary.

time_db_startup

Gets the time_db_startup of this AwrDbSnapshotSummary.

time_end

Gets the time_end of this AwrDbSnapshotSummary.

__init__(**kwargs)

Initializes a new AwrDbSnapshotSummary 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 AwrDbSnapshotSummary.

  • instance_number (int) – The value to assign to the instance_number property of this AwrDbSnapshotSummary.

  • time_db_startup (datetime) – The value to assign to the time_db_startup property of this AwrDbSnapshotSummary.

  • time_begin (datetime) – The value to assign to the time_begin property of this AwrDbSnapshotSummary.

  • time_end (datetime) – The value to assign to the time_end property of this AwrDbSnapshotSummary.

  • snapshot_id (int) – The value to assign to the snapshot_id property of this AwrDbSnapshotSummary.

  • error_count (int) – The value to assign to the error_count property of this AwrDbSnapshotSummary.

property awr_db_id

[Required] Gets the awr_db_id of this AwrDbSnapshotSummary. 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 AwrDbSnapshotSummary.

Return type

str

property error_count

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

Returns

The error_count of this AwrDbSnapshotSummary.

Return type

int

property instance_number

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

Returns

The instance_number of this AwrDbSnapshotSummary.

Return type

int

property snapshot_id

[Required] Gets the snapshot_id of this AwrDbSnapshotSummary. The ID of the snapshot. The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots

Returns

The snapshot_id of this AwrDbSnapshotSummary.

Return type

int

property time_begin

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

Returns

The time_begin of this AwrDbSnapshotSummary.

Return type

datetime

property time_db_startup

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

Returns

The time_db_startup of this AwrDbSnapshotSummary.

Return type

datetime

property time_end

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

Returns

The time_end of this AwrDbSnapshotSummary.

Return type

datetime