Azure Messaging Namespace Disaster Recovery Config
This page shows how to write Terraform and Azure Resource Manager for Messaging Namespace Disaster Recovery Config and write them securely.
azurerm_eventhub_namespace_disaster_recovery_config (Terraform)
The Namespace Disaster Recovery Config in Messaging can be configured in Terraform with the resource name azurerm_eventhub_namespace_disaster_recovery_config
. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_eventhub_namespace_disaster_recovery_config" "this" {
alternate_name = var.alternate_name
name = var.name
namespace_name = var.namespace_name
partner_namespace_id = var.partner_namespace_id
resource_group_name = var.resource_group_name
Parameters
-
alternate_name
optional - string -
id
optional computed - string -
name
required - string -
namespace_name
required - string -
partner_namespace_id
required - string -
resource_group_name
required - string -
timeouts
single block
Explanation in Terraform Registry
Manages an Disaster Recovery Config for an Event Hub Namespace.
Microsoft.EventHub/namespaces/disasterRecoveryConfigs (Azure Resource Manager)
The namespaces/disasterRecoveryConfigs in Microsoft.EventHub can be configured in Azure Resource Manager with the resource name Microsoft.EventHub/namespaces/disasterRecoveryConfigs
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
apiVersion
required - stringname
required - stringThe Disaster Recovery configuration name
properties
requiredalternateName
optional - stringAlternate name specified when alias and namespace names are same.
partnerNamespace
optional - stringARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
type
required - string
Frequently asked questions
What is Azure Messaging Namespace Disaster Recovery Config?
Azure Messaging Namespace Disaster Recovery Config is a resource for Messaging of Microsoft Azure. Settings can be wrote in Terraform.
Where can I find the example code for the Azure Messaging Namespace Disaster Recovery Config?
For Terraform, the kevinhead/azurerm source code example is useful. See the Terraform Example section for further details.