azurerm_site_recovery_replicated_vmNivis 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_idrecovery_vault_nameresource_group_namesource_recovery_fabric_namesource_recovery_protection_container_namesource_vm_idtarget_recovery_fabric_idtarget_recovery_protection_container_idtarget_resource_group_id
Optional arguments
id(defaults tonull)managed_disk(defaults tonull)multi_vm_group_name(defaults tonull)cfg_name(defaults tonull)network_interface(defaults tonull)target_availability_set_id(defaults tonull)target_boot_diagnostic_storage_account_id(defaults tonull)target_capacity_reservation_group_id(defaults tonull)target_edge_zone(defaults tonull)target_network_id(defaults tonull)target_proximity_placement_group_id(defaults tonull)target_virtual_machine_scale_set_id(defaults tonull)target_virtual_machine_size(defaults tonull)target_zone(defaults tonull)test_network_id(defaults tonull)unmanaged_disk(defaults tonull)timeouts(defaults tonull)
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.