AwrDatabaseSnapshotRangeSummary¶
-
class
oci.opsi.models.AwrDatabaseSnapshotRangeSummary(**kwargs)¶ Bases:
objectThe summary data for a range of AWR snapshots.
Methods
__init__(**kwargs)Initializes a new AwrDatabaseSnapshotRangeSummary object with values from keyword arguments. Attributes
awr_source_database_identifier[Required] Gets the awr_source_database_identifier of this AwrDatabaseSnapshotRangeSummary. db_name[Required] Gets the db_name of this AwrDatabaseSnapshotRangeSummary. db_versionGets the db_version of this AwrDatabaseSnapshotRangeSummary. first_snapshot_identifierGets the first_snapshot_identifier of this AwrDatabaseSnapshotRangeSummary. instance_listGets the instance_list of this AwrDatabaseSnapshotRangeSummary. latest_snapshot_identifierGets the latest_snapshot_identifier of this AwrDatabaseSnapshotRangeSummary. snapshot_countGets the snapshot_count of this AwrDatabaseSnapshotRangeSummary. snapshot_interval_in_minGets the snapshot_interval_in_min of this AwrDatabaseSnapshotRangeSummary. snapshot_timezoneGets the snapshot_timezone of this AwrDatabaseSnapshotRangeSummary. time_db_startupGets the time_db_startup of this AwrDatabaseSnapshotRangeSummary. time_first_snapshot_beginGets the time_first_snapshot_begin of this AwrDatabaseSnapshotRangeSummary. time_latest_snapshot_endGets the time_latest_snapshot_end of this AwrDatabaseSnapshotRangeSummary. -
__init__(**kwargs)¶ Initializes a new AwrDatabaseSnapshotRangeSummary 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 AwrDatabaseSnapshotRangeSummary.
- db_name (str) – The value to assign to the db_name property of this AwrDatabaseSnapshotRangeSummary.
- instance_list (list[int]) – The value to assign to the instance_list property of this AwrDatabaseSnapshotRangeSummary.
- time_db_startup (datetime) – The value to assign to the time_db_startup property of this AwrDatabaseSnapshotRangeSummary.
- time_first_snapshot_begin (datetime) – The value to assign to the time_first_snapshot_begin property of this AwrDatabaseSnapshotRangeSummary.
- time_latest_snapshot_end (datetime) – The value to assign to the time_latest_snapshot_end property of this AwrDatabaseSnapshotRangeSummary.
- first_snapshot_identifier (int) – The value to assign to the first_snapshot_identifier property of this AwrDatabaseSnapshotRangeSummary.
- latest_snapshot_identifier (int) – The value to assign to the latest_snapshot_identifier property of this AwrDatabaseSnapshotRangeSummary.
- snapshot_count (int) – The value to assign to the snapshot_count property of this AwrDatabaseSnapshotRangeSummary.
- snapshot_interval_in_min (int) – The value to assign to the snapshot_interval_in_min property of this AwrDatabaseSnapshotRangeSummary.
- db_version (str) – The value to assign to the db_version property of this AwrDatabaseSnapshotRangeSummary.
- snapshot_timezone (str) – The value to assign to the snapshot_timezone property of this AwrDatabaseSnapshotRangeSummary.
-
awr_source_database_identifier¶ [Required] Gets the awr_source_database_identifier of this AwrDatabaseSnapshotRangeSummary. The 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 AwrDatabaseSnapshotRangeSummary. Return type: str
-
db_name¶ [Required] Gets the db_name of this AwrDatabaseSnapshotRangeSummary. The name of the database.
Returns: The db_name of this AwrDatabaseSnapshotRangeSummary. Return type: str
-
db_version¶ Gets the db_version of this AwrDatabaseSnapshotRangeSummary. The version of the database.
Returns: The db_version of this AwrDatabaseSnapshotRangeSummary. Return type: str
-
first_snapshot_identifier¶ Gets the first_snapshot_identifier of this AwrDatabaseSnapshotRangeSummary. The ID of the earliest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
Returns: The first_snapshot_identifier of this AwrDatabaseSnapshotRangeSummary. Return type: int
-
instance_list¶ Gets the instance_list of this AwrDatabaseSnapshotRangeSummary. The database instance numbers.
Returns: The instance_list of this AwrDatabaseSnapshotRangeSummary. Return type: list[int]
-
latest_snapshot_identifier¶ Gets the latest_snapshot_identifier of this AwrDatabaseSnapshotRangeSummary. The ID of the latest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
Returns: The latest_snapshot_identifier of this AwrDatabaseSnapshotRangeSummary. Return type: int
-
snapshot_count¶ Gets the snapshot_count of this AwrDatabaseSnapshotRangeSummary. The total number of snapshots.
Returns: The snapshot_count of this AwrDatabaseSnapshotRangeSummary. Return type: int
-
snapshot_interval_in_min¶ Gets the snapshot_interval_in_min of this AwrDatabaseSnapshotRangeSummary. The interval time between snapshots (in minutes).
Returns: The snapshot_interval_in_min of this AwrDatabaseSnapshotRangeSummary. Return type: int
-
snapshot_timezone¶ Gets the snapshot_timezone of this AwrDatabaseSnapshotRangeSummary. The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
Returns: The snapshot_timezone of this AwrDatabaseSnapshotRangeSummary. Return type: str
-
time_db_startup¶ Gets the time_db_startup of this AwrDatabaseSnapshotRangeSummary. The timestamp of the database startup.
Returns: The time_db_startup of this AwrDatabaseSnapshotRangeSummary. Return type: datetime
-
time_first_snapshot_begin¶ Gets the time_first_snapshot_begin of this AwrDatabaseSnapshotRangeSummary. The start time of the earliest snapshot.
Returns: The time_first_snapshot_begin of this AwrDatabaseSnapshotRangeSummary. Return type: datetime
-
time_latest_snapshot_end¶ Gets the time_latest_snapshot_end of this AwrDatabaseSnapshotRangeSummary. The end time of the latest snapshot.
Returns: The time_latest_snapshot_end of this AwrDatabaseSnapshotRangeSummary. Return type: datetime
-