Data Source: oci_opsi_awr_hub_awr_snapshot

This data source provides details about a specific Awr Hub Awr Snapshot resource in Oracle Cloud Infrastructure Opsi service.

Lists AWR snapshots for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not exceed an elapsed range of 1 day. The timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are optional. If these params are not provided, by default last 1 day snapshots will be returned.

Example Usage

data "oci_opsi_awr_hub_awr_snapshot" "test_awr_hub_awr_snapshot" {
	#Required
	awr_hub_id = oci_opsi_awr_hub.test_awr_hub.id
	awr_source_database_identifier = var.awr_hub_awr_snapshot_awr_source_database_identifier

	#Optional
	time_greater_than_or_equal_to = var.awr_hub_awr_snapshot_time_greater_than_or_equal_to
	time_less_than_or_equal_to = var.awr_hub_awr_snapshot_time_less_than_or_equal_to
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: