azurerm_backup_policy_vmNivis Nix constructor for the azurerm_backup_policy_vm resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
recovery_vault_name,
resource_group_name,
consistency_type ? null,
id ? null,
instant_restore_retention_days ? null,
cfg_name ? null,
policy_type ? null,
timezone ? null,
backup ? null,
instant_restore_resource_group ? null,
retention_daily ? null,
retention_monthly ? null,
retention_weekly ? null,
retention_yearly ? null,
tiering_policy ? null,
timeouts ? null,
overrides ? {}
}Required arguments
recovery_vault_nameresource_group_name
Optional arguments
consistency_type(defaults tonull)id(defaults tonull)instant_restore_retention_days(defaults tonull)cfg_name(defaults tonull)policy_type(defaults tonull)timezone(defaults tonull)backup(defaults tonull)instant_restore_resource_group(defaults tonull)retention_daily(defaults tonull)retention_monthly(defaults tonull)retention_weekly(defaults tonull)retention_yearly(defaults tonull)tiering_policy(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_backup_policy_vm {
name = "backup_policy_vm";
recovery_vault_name = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.