Data Source: oci_opsi_awr_hub_awr_snapshots

This data source provides the list of Awr Hub Awr Snapshots 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_snapshots" "test_awr_hub_awr_snapshots" {
	#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:

AwrHubAwrSnapshot Reference

The following attributes are exported: