import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing ServiceBus Queue Authorisation Rule within a ServiceBus Queue. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.servicebus.getQueueAuthorizationRule({ * name: "example-tfex_name", * resourceGroupName: "example-resources", * queueName: "example-servicebus_queue", * namespaceName: "example-namespace", * }); * 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 getQueueAuthorizationRule(args: GetQueueAuthorizationRuleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getQueueAuthorizationRule. */ export interface GetQueueAuthorizationRuleArgs { /** * The name of this ServiceBus Queue Authorisation Rule. */ name: string; /** * The name of the ServiceBus Namespace. */ namespaceName?: string; queueId?: string; /** * The name of the ServiceBus Queue. */ queueName?: string; /** * The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists. */ resourceGroupName?: string; } /** * A collection of values returned by getQueueAuthorizationRule. */ export interface GetQueueAuthorizationRuleResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly listen: boolean; readonly manage: boolean; readonly name: string; readonly namespaceName?: string; /** * The Primary Connection String for the ServiceBus Queue authorization Rule. */ readonly primaryConnectionString: string; /** * The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. */ readonly primaryConnectionStringAlias: string; /** * The Primary Key for the ServiceBus Queue authorization Rule. */ readonly primaryKey: string; readonly queueId?: string; readonly queueName?: string; readonly resourceGroupName?: string; /** * The Secondary Connection String for the ServiceBus Queue authorization Rule. */ readonly secondaryConnectionString: string; /** * The alias Secondary Connection String for the ServiceBus Namespace */ readonly secondaryConnectionStringAlias: string; /** * The Secondary Key for the ServiceBus Queue authorization Rule. */ readonly secondaryKey: string; readonly send: boolean; } /** * Use this data source to access information about an existing ServiceBus Queue Authorisation Rule within a ServiceBus Queue. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.servicebus.getQueueAuthorizationRule({ * name: "example-tfex_name", * resourceGroupName: "example-resources", * queueName: "example-servicebus_queue", * namespaceName: "example-namespace", * }); * 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 getQueueAuthorizationRuleOutput(args: GetQueueAuthorizationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getQueueAuthorizationRule. */ export interface GetQueueAuthorizationRuleOutputArgs { /** * The name of this ServiceBus Queue Authorisation Rule. */ name: pulumi.Input; /** * The name of the ServiceBus Namespace. */ namespaceName?: pulumi.Input; queueId?: pulumi.Input; /** * The name of the ServiceBus Queue. */ queueName?: pulumi.Input; /** * The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists. */ resourceGroupName?: pulumi.Input; }