alicloud_hbr_server_backup_plans

This data source provides the Hbr Server Backup Plans of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_instances" "default" {
  name_regex = "no-deleteing-hbr-ecs-server-backup-plan"
  status     = "Running"
}

data "alicloud_hbr_server_backup_plans" "ids" {
  filters {
    key    = "instanceId"
    values = [data.alicloud_instances.default.instances.0.id]
  }
}

output "hbr_server_backup_plan_id_1" {
  value = data.alicloud_hbr_server_backup_plans.ids.plans.0.id
}

Argument Reference

The following arguments are supported:

Block filter

More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:

Argument Reference

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