azurerm_servicebus_namespace_disaster_recovery_configNivis 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_idprimary_namespace_id
Optional arguments
alias_authorization_rule_id(defaults tonull)id(defaults tonull)cfg_name(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
default_primary_keydefault_secondary_keyprimary_connection_string_aliassecondary_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.