azurerm_backup_policy_vm

Nivis 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_name
  • resource_group_name
Optional arguments
  • consistency_type (defaults to null)
  • id (defaults to null)
  • instant_restore_retention_days (defaults to null)
  • cfg_name (defaults to null)
  • policy_type (defaults to null)
  • timezone (defaults to null)
  • backup (defaults to null)
  • instant_restore_resource_group (defaults to null)
  • retention_daily (defaults to null)
  • retention_monthly (defaults to null)
  • retention_weekly (defaults to null)
  • retention_yearly (defaults to null)
  • tiering_policy (defaults to null)
  • timeouts (defaults to null)
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.