azurerm_site_recovery_replicated_vm

Nivis Nix constructor for the azurerm_site_recovery_replicated_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_replication_policy_id,
  recovery_vault_name,
  resource_group_name,
  source_recovery_fabric_name,
  source_recovery_protection_container_name,
  source_vm_id,
  target_recovery_fabric_id,
  target_recovery_protection_container_id,
  target_resource_group_id,
  id ? null,
  managed_disk ? null,
  multi_vm_group_name ? null,
  cfg_name ? null,
  network_interface ? null,
  target_availability_set_id ? null,
  target_boot_diagnostic_storage_account_id ? null,
  target_capacity_reservation_group_id ? null,
  target_edge_zone ? null,
  target_network_id ? null,
  target_proximity_placement_group_id ? null,
  target_virtual_machine_scale_set_id ? null,
  target_virtual_machine_size ? null,
  target_zone ? null,
  test_network_id ? null,
  unmanaged_disk ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • recovery_replication_policy_id
  • recovery_vault_name
  • resource_group_name
  • source_recovery_fabric_name
  • source_recovery_protection_container_name
  • source_vm_id
  • target_recovery_fabric_id
  • target_recovery_protection_container_id
  • target_resource_group_id
Optional arguments
  • id (defaults to null)
  • managed_disk (defaults to null)
  • multi_vm_group_name (defaults to null)
  • cfg_name (defaults to null)
  • network_interface (defaults to null)
  • target_availability_set_id (defaults to null)
  • target_boot_diagnostic_storage_account_id (defaults to null)
  • target_capacity_reservation_group_id (defaults to null)
  • target_edge_zone (defaults to null)
  • target_network_id (defaults to null)
  • target_proximity_placement_group_id (defaults to null)
  • target_virtual_machine_scale_set_id (defaults to null)
  • target_virtual_machine_size (defaults to null)
  • target_zone (defaults to null)
  • test_network_id (defaults to null)
  • unmanaged_disk (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_site_recovery_replicated_vm {
  name = "site_recovery_replicated_vm";
  recovery_replication_policy_id = …;  # required
  recovery_vault_name = …;  # required
  resource_group_name = …;  # required
  source_recovery_fabric_name = …;  # required
  source_recovery_protection_container_name = …;  # required
  source_vm_id = …;  # required
  target_recovery_fabric_id = …;  # required
  target_recovery_protection_container_id = …;  # required
  target_resource_group_id = …;  # required
}

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