Data Source: oci_opsi_awr_hub_source
This data source provides details about a specific Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
Gets the Awr Hub source object.
Example Usage
data "oci_opsi_awr_hub_source" "test_awr_hub_source" {
#Required
awr_hub_source_id = oci_opsi_awr_hub_source.test_awr_hub_source.id
}
Argument Reference
The following arguments are supported:
awr_hub_source_id
- (Required) Unique Awr Hub Source identifier
Attributes Reference
The following attributes are exported:
associated_opsi_id
- The OCID of the database id.associated_resource_id
- The OCID of the database id.awr_hub_id
- AWR Hub OCIDawr_hub_opsi_source_id
- The shorted string of the Awr Hub source database identifier.awr_source_database_id
- DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.compartment_id
- The OCID of the compartment.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}
freeform_tags
- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}
hours_since_last_import
- Number of hours since last AWR snapshots import happened from the Source database.id
- The OCID of the Awr Hub source database.is_registered_with_awr_hub
- This istrue
if the source databse is registered with a Awr Hub, otherwisefalse
max_snapshot_identifier
- The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.min_snapshot_identifier
- The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.name
- The name of the Awr Hub source database.source_mail_box_url
- Opsi Mailbox URL based on the Awr Hub and Awr Hub source.state
- the current state of the source databasestatus
- Indicates the status of a source database in Operations Insightssystem_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The time at which the resource was first created. An RFC3339 formatted datetime stringtime_first_snapshot_generated
- 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 stringtime_last_snapshot_generated
- 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 stringtime_updated
- The time at which the resource was last updated. An RFC3339 formatted datetime stringtype
- source type of the database