azurerm_servicebus_namespace_disaster_recovery_config

Nivis Nix constructor for the azurerm_servicebus_namespace_disaster_recovery_config 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,
  partner_namespace_id,
  primary_namespace_id,
  alias_authorization_rule_id ? null,
  id ? null,
  cfg_name ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • partner_namespace_id
  • primary_namespace_id
Optional arguments
  • alias_authorization_rule_id (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • default_primary_key
  • default_secondary_key
  • primary_connection_string_alias
  • secondary_connection_string_alias
Example
azurerm_servicebus_namespace_disaster_recovery_config {
  name = "servicebus_namespace_disaster_recovery_config";
  partner_namespace_id = …;  # required
  primary_namespace_id = …;  # required
}

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