alicloud_threat_detection_backup_policies

This data source provides the Threat Detection Backup Policies of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_threat_detection_backup_policies" "ids" {
  ids = ["example_id"]
}

output "threat_detection_backup_policies_id_1" {
  value = data.alicloud_threat_detection_backup_policies.ids.policies.0.id
}

data "alicloud_threat_detection_backup_policies" "nameRegex" {
  name_regex = "tf-example"
}

output "threat_detection_backup_policies_id_2" {
  value = data.alicloud_threat_detection_backup_policies.nameRegex.policies.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: