azurerm_backup_protected_vm

Nivis Nix constructor for the azurerm_backup_protected_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,
  backup_policy_id ? null,
  exclude_disk_luns ? null,
  id ? null,
  include_disk_luns ? null,
  protection_state ? null,
  source_vm_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • recovery_vault_name
  • resource_group_name
Optional arguments
  • backup_policy_id (defaults to null)
  • exclude_disk_luns (defaults to null)
  • id (defaults to null)
  • include_disk_luns (defaults to null)
  • protection_state (defaults to null)
  • source_vm_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_backup_protected_vm {
  name = "backup_protected_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.