Data Source: oci_recovery_protection_policies

This data source provides the list of Protection Policies in Oracle Cloud Infrastructure Recovery service.

Gets a list of protection policies based on the specified parameters.

Example Usage

data "oci_recovery_protection_policies" "test_protection_policies" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	display_name = var.protection_policy_display_name
	owner = var.protection_policy_owner
	protection_policy_id = oci_recovery_protection_policy.test_protection_policy.id
	state = var.protection_policy_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ProtectionPolicy Reference

The following attributes are exported: