» Data Source: azurerm_backup_policy_vm

Use this data source to access information about an existing VM Backup Policy.

» Example Usage

data "azurerm_backup_policy_vm" "policy" {
  name                = "policy"
  recovery_vault_name = "recovery_vault"
  resource_group_name = "resource_group"

» Argument Reference

The following arguments are supported:

  • name - Specifies the name of the VM Backup Policy.

  • recovery_vault_name - Specifies the name of the Recovery Services Vault.

  • resource_group_name - The name of the resource group in which the VM Backup Policy resides.

» Attributes Reference

The following attributes are exported:

  • id - The ID of the Backup VM Protection Policy.

  • tags - A mapping of tags assigned to the resource.

» Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Recovery Services VM Protection Policy.