1. Packages
  2. Azure Classic
  3. API Docs
  4. servicebus
  5. getNamespaceDisasterRecoveryConfig

We recommend using Azure Native.

Viewing docs for Azure v5.89.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v5.89.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Using getNamespaceDisasterRecoveryConfig

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getNamespaceDisasterRecoveryConfig(args: GetNamespaceDisasterRecoveryConfigArgs, opts?: InvokeOptions): Promise<GetNamespaceDisasterRecoveryConfigResult>
    function getNamespaceDisasterRecoveryConfigOutput(args: GetNamespaceDisasterRecoveryConfigOutputArgs, opts?: InvokeOptions): Output<GetNamespaceDisasterRecoveryConfigResult>
    def get_namespace_disaster_recovery_config(alias_authorization_rule_id: Optional[str] = None,
                                               name: Optional[str] = None,
                                               namespace_id: Optional[str] = None,
                                               namespace_name: Optional[str] = None,
                                               resource_group_name: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetNamespaceDisasterRecoveryConfigResult
    def get_namespace_disaster_recovery_config_output(alias_authorization_rule_id: Optional[pulumi.Input[str]] = None,
                                               name: Optional[pulumi.Input[str]] = None,
                                               namespace_id: Optional[pulumi.Input[str]] = None,
                                               namespace_name: Optional[pulumi.Input[str]] = None,
                                               resource_group_name: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceDisasterRecoveryConfigResult]
    func LookupNamespaceDisasterRecoveryConfig(ctx *Context, args *LookupNamespaceDisasterRecoveryConfigArgs, opts ...InvokeOption) (*LookupNamespaceDisasterRecoveryConfigResult, error)
    func LookupNamespaceDisasterRecoveryConfigOutput(ctx *Context, args *LookupNamespaceDisasterRecoveryConfigOutputArgs, opts ...InvokeOption) LookupNamespaceDisasterRecoveryConfigResultOutput

    > Note: This function is named LookupNamespaceDisasterRecoveryConfig in the Go SDK.

    public static class GetNamespaceDisasterRecoveryConfig 
    {
        public static Task<GetNamespaceDisasterRecoveryConfigResult> InvokeAsync(GetNamespaceDisasterRecoveryConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceDisasterRecoveryConfigResult> Invoke(GetNamespaceDisasterRecoveryConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceDisasterRecoveryConfigResult> getNamespaceDisasterRecoveryConfig(GetNamespaceDisasterRecoveryConfigArgs args, InvokeOptions options)
    public static Output<GetNamespaceDisasterRecoveryConfigResult> getNamespaceDisasterRecoveryConfig(GetNamespaceDisasterRecoveryConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure:servicebus/getNamespaceDisasterRecoveryConfig:getNamespaceDisasterRecoveryConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    AliasAuthorizationRuleId string
    NamespaceId string
    NamespaceName string

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    ResourceGroupName string

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    Name string
    AliasAuthorizationRuleId string
    NamespaceId string
    NamespaceName string

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    ResourceGroupName string

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    name String
    aliasAuthorizationRuleId String
    namespaceId String
    namespaceName String

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resourceGroupName String

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    name string
    aliasAuthorizationRuleId string
    namespaceId string
    namespaceName string

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resourceGroupName string

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    name str
    alias_authorization_rule_id str
    namespace_id str
    namespace_name str

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resource_group_name str

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    name String
    aliasAuthorizationRuleId String
    namespaceId String
    namespaceName String

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resourceGroupName String

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    getNamespaceDisasterRecoveryConfig Result

    The following output properties are available:

    DefaultPrimaryKey string
    DefaultSecondaryKey string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    PartnerNamespaceId string
    PrimaryConnectionStringAlias string
    SecondaryConnectionStringAlias string
    AliasAuthorizationRuleId string
    NamespaceId string
    NamespaceName string

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    ResourceGroupName string

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    DefaultPrimaryKey string
    DefaultSecondaryKey string
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    PartnerNamespaceId string
    PrimaryConnectionStringAlias string
    SecondaryConnectionStringAlias string
    AliasAuthorizationRuleId string
    NamespaceId string
    NamespaceName string

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    ResourceGroupName string

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    defaultPrimaryKey String
    defaultSecondaryKey String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    partnerNamespaceId String
    primaryConnectionStringAlias String
    secondaryConnectionStringAlias String
    aliasAuthorizationRuleId String
    namespaceId String
    namespaceName String

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resourceGroupName String

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    defaultPrimaryKey string
    defaultSecondaryKey string
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    partnerNamespaceId string
    primaryConnectionStringAlias string
    secondaryConnectionStringAlias string
    aliasAuthorizationRuleId string
    namespaceId string
    namespaceName string

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resourceGroupName string

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    default_primary_key str
    default_secondary_key str
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    partner_namespace_id str
    primary_connection_string_alias str
    secondary_connection_string_alias str
    alias_authorization_rule_id str
    namespace_id str
    namespace_name str

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resource_group_name str

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    defaultPrimaryKey String
    defaultSecondaryKey String
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    partnerNamespaceId String
    primaryConnectionStringAlias String
    secondaryConnectionStringAlias String
    aliasAuthorizationRuleId String
    namespaceId String
    namespaceName String

    Deprecated: namespace_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    resourceGroupName String

    Deprecated: resource_group_name will be removed in favour of the property namespace_id in version 4.0 of the AzureRM Provider.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v5.89.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.