azurerm_site_recovery_replication_policyNivis Nix constructor for the azurerm_site_recovery_replication_policy 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,
application_consistent_snapshot_frequency_in_minutes,
recovery_point_retention_in_minutes,
recovery_vault_name,
resource_group_name,
id ? null,
cfg_name ? null,
timeouts ? null,
overrides ? {}
}Required arguments
application_consistent_snapshot_frequency_in_minutesrecovery_point_retention_in_minutesrecovery_vault_nameresource_group_name
Optional arguments
id(defaults tonull)cfg_name(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_site_recovery_replication_policy {
name = "site_recovery_replication_policy";
application_consistent_snapshot_frequency_in_minutes = …; # required
recovery_point_retention_in_minutes = …; # 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.