azurerm_storage_object_replication

Nivis Nix constructor for the azurerm_storage_object_replication 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,
  destination_storage_account_id,
  source_storage_account_id,
  id ? null,
  metrics_enabled ? null,
  rules ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • destination_storage_account_id
  • source_storage_account_id
Optional arguments
  • id (defaults to null)
  • metrics_enabled (defaults to null)
  • rules (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • destination_object_replication_id
  • source_object_replication_id
Example
azurerm_storage_object_replication {
  name = "storage_object_replication";
  destination_storage_account_id = …;  # required
  source_storage_account_id = …;  # required
}

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