Microsoft.ServiceBus namespaces/disasterRecoveryConfigs template reference

Template format

To create a Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs",
  "apiVersion": "2017-04-01",
  "properties": {
    "partnerNamespace": "string",
    "alternateName": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs object

Name Type Required Value
name string Yes The Disaster Recovery configuration name
type enum Yes disasterRecoveryConfigs
-or-
Microsoft.ServiceBus/namespaces/disasterRecoveryConfigs

See Set name and type for child resources.
apiVersion enum Yes 2017-04-01
properties object Yes Properties required to the Create Or Update Alias(Disaster Recovery configurations) - ArmDisasterRecoveryProperties object

ArmDisasterRecoveryProperties object

Name Type Required Value
partnerNamespace string No ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing
alternateName string No Primary/Secondary eventhub namespace name, which is part of GEO DR pairing

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a Service Bus Geo-recovery

Deploy to Azure
This template allows you to configure Service Bus Geo-disaster recovery alias on premium SKU Namespaces.