azurerm_data_protection_backup_instance_disk

Nivis Nix constructor for the azurerm_data_protection_backup_instance_disk 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,
  backup_policy_id,
  disk_id,
  location,
  snapshot_resource_group_name,
  vault_id,
  id ? null,
  cfg_name ? null,
  snapshot_subscription_id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • backup_policy_id
  • disk_id
  • location
  • snapshot_resource_group_name
  • vault_id
Optional arguments
  • id (defaults to null)
  • cfg_name (defaults to null)
  • snapshot_subscription_id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • protection_state
Example
azurerm_data_protection_backup_instance_disk {
  name = "data_protection_backup_instance_disk";
  backup_policy_id = …;  # required
  disk_id = …;  # required
  location = …;  # required
  snapshot_resource_group_name = …;  # required
  vault_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.