Use this data source to access information about an existing File Share Backup Policy.
data "azurerm_backup_policy_file_share" "policy" {
name = "policy"
recovery_vault_name = "recovery_vault"
resource_group_name = "resource_group"
}
The following arguments are supported:
name
- Specifies the name of the File Share 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 File Share Backup Policy resides.
The following attributes are exported:
id
- The ID of the File Share Backup Policy.The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Recovery Services File Share Protection Policy.