» Data Source: flexibleengine_vbs_backup_policy_v2

The VBS Backup Policy data source provides details about a specific VBS backup policy.

» Example Usage


 variable "policy_name" { }

 variable "policy_id" { }

data "flexibleengine_vbs_backup_policy_v2" "policies" {
  name = "${var.policy_name}"
  id = "${var.policy_id}"
}

» Argument Reference

The arguments of this data source act as filters for querying the available VBS backup policy. The given filters must match exactly one VBS backup policy whose data will be exported as attributes.

  • id (Optional) - The ID of the specific VBS backup policy to retrieve.

  • name (Optional) - The name of the specific VBS backup policy to retrieve.

  • status (Optional) - The status of the specific VBS backup policy to retrieve. The values can be ON or OFF

» Attributes Reference

The following attributes are exported:

  • id - See Argument Reference above.

  • name - See Argument Reference above.

  • status - See Argument Reference above.

  • start_time - Specifies the start time of the backup job.The value is in the HH:mm format.

  • retain_first_backup - Specifies whether to retain the first backup in the current month.

  • rentention_num - Specifies number of retained backups.

  • frequency - Specifies the backup interval. The value is in the range of 1 to 14 days.

  • policy_resource_count - Specifies the number of volumes associated with the backup policy.