import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Service Bus Disaster Recovery Config. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.servicebus.getNamespaceDisasterRecoveryConfig({ * name: "existing", * namespaceId: "example-namespace-id", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ServiceBus` - 2024-01-01 */ export declare function getNamespaceDisasterRecoveryConfig(args: GetNamespaceDisasterRecoveryConfigArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNamespaceDisasterRecoveryConfig. */ export interface GetNamespaceDisasterRecoveryConfigArgs { /** * The Shared access policies used to access the connection string for the alias. */ aliasAuthorizationRuleId?: string; /** * The name of this Service Bus Disaster Recovery Config. */ name: string; /** * The ID of the Service Bus Namespace. */ namespaceId?: string; /** * @deprecated `namespaceName` will be removed in favour of the property `namespaceId` in version 5.0 of the AzureRM Provider. */ namespaceName?: string; /** * @deprecated `resourceGroupName` will be removed in favour of the property `namespaceId` in version 5.0 of the AzureRM Provider. */ resourceGroupName?: string; } /** * A collection of values returned by getNamespaceDisasterRecoveryConfig. */ export interface GetNamespaceDisasterRecoveryConfigResult { readonly aliasAuthorizationRuleId?: string; /** * The primary access key for the authorization rule `RootManageSharedAccessKey`. */ readonly defaultPrimaryKey: string; /** * The secondary access key for the authorization rule `RootManageSharedAccessKey`. */ readonly defaultSecondaryKey: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly namespaceId: string; /** * @deprecated `namespaceName` will be removed in favour of the property `namespaceId` in version 5.0 of the AzureRM Provider. */ readonly namespaceName: string; /** * The ID of the Service Bus Namespace to replicate to. */ readonly partnerNamespaceId: string; /** * The alias Primary Connection String for the ServiceBus Namespace. */ readonly primaryConnectionStringAlias: string; /** * @deprecated `resourceGroupName` will be removed in favour of the property `namespaceId` in version 5.0 of the AzureRM Provider. */ readonly resourceGroupName: string; /** * The alias Secondary Connection String for the ServiceBus Namespace */ readonly secondaryConnectionStringAlias: string; } /** * Use this data source to access information about an existing Service Bus Disaster Recovery Config. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.servicebus.getNamespaceDisasterRecoveryConfig({ * name: "existing", * namespaceId: "example-namespace-id", * }); * export const id = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ServiceBus` - 2024-01-01 */ export declare function getNamespaceDisasterRecoveryConfigOutput(args: GetNamespaceDisasterRecoveryConfigOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNamespaceDisasterRecoveryConfig. */ export interface GetNamespaceDisasterRecoveryConfigOutputArgs { /** * The Shared access policies used to access the connection string for the alias. */ aliasAuthorizationRuleId?: pulumi.Input; /** * The name of this Service Bus Disaster Recovery Config. */ name: pulumi.Input; /** * The ID of the Service Bus Namespace. */ namespaceId?: pulumi.Input; /** * @deprecated `namespaceName` will be removed in favour of the property `namespaceId` in version 5.0 of the AzureRM Provider. */ namespaceName?: pulumi.Input; /** * @deprecated `resourceGroupName` will be removed in favour of the property `namespaceId` in version 5.0 of the AzureRM Provider. */ resourceGroupName?: pulumi.Input; }