Data Source: oci_data_safe_target_alert_policy_associations

This data source provides the list of Target Alert Policy Associations in Oracle Cloud Infrastructure Data Safe service.

Gets a list of all target-alert policy associations.

Example Usage

data "oci_data_safe_target_alert_policy_associations" "test_target_alert_policy_associations" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	access_level = var.target_alert_policy_association_access_level
	alert_policy_id = oci_data_safe_alert_policy.test_alert_policy.id
	compartment_id_in_subtree = var.target_alert_policy_association_compartment_id_in_subtree
	state = var.target_alert_policy_association_state
	target_alert_policy_association_id = oci_data_safe_target_alert_policy_association.test_target_alert_policy_association.id
	target_id = oci_cloud_guard_target.test_target.id
	time_created_greater_than_or_equal_to = var.target_alert_policy_association_time_created_greater_than_or_equal_to
	time_created_less_than = var.target_alert_policy_association_time_created_less_than
}

Argument Reference

The following arguments are supported:

Example: 2016-12-19T16:39:57.600Z * time_created_less_than - (Optional) Search for resources that were created before a specific date. Specifying this parameter corresponding timeCreatedLessThan parameter will retrieve all resources created before the specified created date, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.

Example: 2016-12-19T16:39:57.600Z

Attributes Reference

The following attributes are exported:

TargetAlertPolicyAssociation Reference

The following attributes are exported: