AwrSourceSummary¶
- class oci.opsi.models.AwrSourceSummary(**kwargs)¶
Bases:
objectSummary of an AwrSource.
Methods:
__init__(**kwargs)Initializes a new AwrSourceSummary object with values from keyword arguments.
Attributes:
[Required] Gets the awr_hub_id of this AwrSourceSummary.
[Required] Gets the awr_source_database_id of this AwrSourceSummary.
[Required] Gets the hours_since_last_import of this AwrSourceSummary.
[Required] Gets the max_snapshot_identifier of this AwrSourceSummary.
[Required] Gets the min_snapshot_identifier of this AwrSourceSummary.
[Required] Gets the name of this AwrSourceSummary.
[Required] Gets the snapshots_uploaded of this AwrSourceSummary.
[Required] Gets the time_first_snapshot_generated of this AwrSourceSummary.
[Required] Gets the time_last_snapshot_generated of this AwrSourceSummary.
- __init__(**kwargs)¶
Initializes a new AwrSourceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
awr_hub_id (str) – The value to assign to the awr_hub_id property of this AwrSourceSummary.
name (str) – The value to assign to the name property of this AwrSourceSummary.
awr_source_database_id (str) – The value to assign to the awr_source_database_id property of this AwrSourceSummary.
snapshots_uploaded (float) – The value to assign to the snapshots_uploaded property of this AwrSourceSummary.
min_snapshot_identifier (float) – The value to assign to the min_snapshot_identifier property of this AwrSourceSummary.
max_snapshot_identifier (float) – The value to assign to the max_snapshot_identifier property of this AwrSourceSummary.
time_first_snapshot_generated (datetime) – The value to assign to the time_first_snapshot_generated property of this AwrSourceSummary.
time_last_snapshot_generated (datetime) – The value to assign to the time_last_snapshot_generated property of this AwrSourceSummary.
hours_since_last_import (float) – The value to assign to the hours_since_last_import property of this AwrSourceSummary.
- property awr_hub_id¶
[Required] Gets the awr_hub_id of this AwrSourceSummary. AWR Hub OCID
- Returns
The awr_hub_id of this AwrSourceSummary.
- Return type
str
- property awr_source_database_id¶
[Required] Gets the awr_source_database_id of this AwrSourceSummary. DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
- Returns
The awr_source_database_id of this AwrSourceSummary.
- Return type
str
- property hours_since_last_import¶
[Required] Gets the hours_since_last_import of this AwrSourceSummary. Number of hours since last AWR snapshots import happened from the Source database.
- Returns
The hours_since_last_import of this AwrSourceSummary.
- Return type
float
- property max_snapshot_identifier¶
[Required] Gets the max_snapshot_identifier of this AwrSourceSummary. The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Returns
The max_snapshot_identifier of this AwrSourceSummary.
- Return type
float
- property min_snapshot_identifier¶
[Required] Gets the min_snapshot_identifier of this AwrSourceSummary. The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
- Returns
The min_snapshot_identifier of this AwrSourceSummary.
- Return type
float
- property name¶
[Required] Gets the name of this AwrSourceSummary. Database name of the Source database for which AWR Data will be uploaded to AWR Hub.
- Returns
The name of this AwrSourceSummary.
- Return type
str
- property snapshots_uploaded¶
[Required] Gets the snapshots_uploaded of this AwrSourceSummary. Number of AWR snapshots uploaded from the Source database.
- Returns
The snapshots_uploaded of this AwrSourceSummary.
- Return type
float
- property time_first_snapshot_generated¶
[Required] Gets the time_first_snapshot_generated of this AwrSourceSummary. The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
- Returns
The time_first_snapshot_generated of this AwrSourceSummary.
- Return type
datetime
- property time_last_snapshot_generated¶
[Required] Gets the time_last_snapshot_generated of this AwrSourceSummary. The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
- Returns
The time_last_snapshot_generated of this AwrSourceSummary.
- Return type
datetime