Data Source: oci_recovery_protected_databases

This data source provides the list of Protected Databases in Oracle Cloud Infrastructure Recovery service.

Lists the protected databases based on the specified parameters.

Example Usage

data "oci_recovery_protected_databases" "test_protected_databases" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	display_name = var.protected_database_display_name
	id = var.protected_database_id
	protection_policy_id = oci_recovery_protection_policy.test_protection_policy.id
	recovery_service_subnet_id = oci_recovery_recovery_service_subnet.test_recovery_service_subnet.id
	state = var.protected_database_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ProtectedDatabase Reference

The following attributes are exported: