Data Source: oci_database_database_snapshots

This data source provides the list of Database Snapshots in Oracle Cloud Infrastructure Database service.

Gets a list of the Exadata Database Snapshots in the specified compartment.

Example Usage

data "oci_database_database_snapshots" "test_database_snapshots" {

	#Optional
	cluster_id = oci_containerengine_cluster.test_cluster.id
	compartment_id = var.compartment_id
	database_id = oci_database_database.test_database.id
	name = var.database_snapshot_name
	state = var.database_snapshot_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

DatabaseSnapshot Reference

The following attributes are exported: