Data Source: azurerm_data_protection_backup_vault

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

Example Usage

data "azurerm_data_protection_backup_vault" "example" {
  name                = "existing-backup-vault"
  resource_group_name = "existing-resource-group"
}

output "azurerm_data_protection_backup_vault_id" {
  value = data.azurerm_vpn_gateway.example.id
}

output "azurerm_data_protection_backup_vault_principal_id" {
  value = data.azurerm_data_protection_backup_vault.example.identity[0].principal_id
}

Arguments Reference

Attributes Reference


An identity block exports the following:

Timeouts

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