azurerm_backup_protected_vmNivis 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_nameresource_group_name
Optional arguments
backup_policy_id(defaults tonull)exclude_disk_luns(defaults tonull)id(defaults tonull)include_disk_luns(defaults tonull)protection_state(defaults tonull)source_vm_id(defaults tonull)timeouts(defaults tonull)
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.