azurerm_site_recovery_protection_container_mappingNivis Nix constructor for the azurerm_site_recovery_protection_container_mapping 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_fabric_name,
recovery_replication_policy_id,
recovery_source_protection_container_name,
recovery_target_protection_container_id,
recovery_vault_name,
resource_group_name,
id ? null,
cfg_name ? null,
automatic_update ? null,
timeouts ? null,
overrides ? {}
}Required arguments
recovery_fabric_namerecovery_replication_policy_idrecovery_source_protection_container_namerecovery_target_protection_container_idrecovery_vault_nameresource_group_name
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)automatic_update(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_site_recovery_protection_container_mapping {
name = "site_recovery_protection_container_mapping";
recovery_fabric_name = …; # required
recovery_replication_policy_id = …; # required
recovery_source_protection_container_name = …; # required
recovery_target_protection_container_id = …; # required
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.