Data Source: oci_data_safe_alert_policies

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

Gets a list of all alert policies.

Example Usage

data "oci_data_safe_alert_policies" "test_alert_policies" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	access_level = var.alert_policy_access_level
	alert_policy_id = oci_data_safe_alert_policy.test_alert_policy.id
	compartment_id_in_subtree = var.alert_policy_compartment_id_in_subtree
	display_name = var.alert_policy_display_name
	is_user_defined = var.alert_policy_is_user_defined
	state = var.alert_policy_state
	time_created_greater_than_or_equal_to = var.alert_policy_time_created_greater_than_or_equal_to
	time_created_less_than = var.alert_policy_time_created_less_than
	type = var.alert_policy_type
}

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 * type - (Optional) An optional filter to return only alert policies of a certain type.

Attributes Reference

The following attributes are exported:

AlertPolicy Reference

The following attributes are exported: