import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing ServiceBus Namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.servicebus.getNamespace({ * name: "examplenamespace", * resourceGroupName: "example-resources", * }); * export const location = example.then(example => example.location); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ServiceBus` - 2024-01-01 */ /** @deprecated azure.eventhub.getServiceBusNamespace has been deprecated in favor of azure.servicebus.getNamespace */ export declare function getServiceBusNamespace(args: GetServiceBusNamespaceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getServiceBusNamespace. */ export interface GetServiceBusNamespaceArgs { /** * Specifies the name of the ServiceBus Namespace. */ name: string; /** * Specifies the name of the Resource Group where the ServiceBus Namespace exists. */ resourceGroupName: string; } /** * A collection of values returned by getServiceBusNamespace. */ export interface GetServiceBusNamespaceResult { /** * The capacity of the ServiceBus Namespace. */ readonly capacity: number; /** * The primary connection string for the authorization * rule `RootManageSharedAccessKey`. */ readonly defaultPrimaryConnectionString: string; /** * The primary access key for the authorization rule `RootManageSharedAccessKey`. */ readonly defaultPrimaryKey: string; /** * The secondary connection string for the * authorization rule `RootManageSharedAccessKey`. */ readonly defaultSecondaryConnectionString: string; /** * The secondary access key for the authorization rule `RootManageSharedAccessKey`. */ readonly defaultSecondaryKey: string; /** * The URL to access the ServiceBus Namespace. */ readonly endpoint: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The location of the Resource Group in which the ServiceBus Namespace exists. */ readonly location: string; readonly name: string; /** * The messaging partitions of the ServiceBus Namespace. */ readonly premiumMessagingPartitions: number; readonly resourceGroupName: string; /** * The Tier used for the ServiceBus Namespace. */ readonly sku: string; /** * A mapping of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; } /** * Use this data source to access information about an existing ServiceBus Namespace. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.servicebus.getNamespace({ * name: "examplenamespace", * resourceGroupName: "example-resources", * }); * export const location = example.then(example => example.location); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ServiceBus` - 2024-01-01 */ /** @deprecated azure.eventhub.getServiceBusNamespace has been deprecated in favor of azure.servicebus.getNamespace */ export declare function getServiceBusNamespaceOutput(args: GetServiceBusNamespaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getServiceBusNamespace. */ export interface GetServiceBusNamespaceOutputArgs { /** * Specifies the name of the ServiceBus Namespace. */ name: pulumi.Input; /** * Specifies the name of the Resource Group where the ServiceBus Namespace exists. */ resourceGroupName: pulumi.Input; }