@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.23 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Primary and secondary connection strings to the queue.
*
* Uses Azure REST API version 2024-01-01.
*
* Other available API versions: 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview, 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview, 2025-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicebus [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listQueueKeys(args: ListQueueKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListQueueKeysResult>;
export interface ListQueueKeysArgs {
/**
* The authorization rule name.
*/
authorizationRuleName: string;
/**
* The namespace name
*/
namespaceName: string;
/**
* The queue name.
*/
queueName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Namespace/ServiceBus Connection String
*/
export interface ListQueueKeysResult {
/**
* Primary connection string of the alias if GEO DR is enabled
*/
readonly aliasPrimaryConnectionString: string;
/**
* Secondary connection string of the alias if GEO DR is enabled
*/
readonly aliasSecondaryConnectionString: string;
/**
* A string that describes the authorization rule.
*/
readonly keyName: string;
/**
* Primary connection string of the created namespace authorization rule.
*/
readonly primaryConnectionString: string;
/**
* A base64-encoded 256-bit primary key for signing and validating the SAS token.
*/
readonly primaryKey: string;
/**
* Secondary connection string of the created namespace authorization rule.
*/
readonly secondaryConnectionString: string;
/**
* A base64-encoded 256-bit primary key for signing and validating the SAS token.
*/
readonly secondaryKey: string;
}
/**
* Primary and secondary connection strings to the queue.
*
* Uses Azure REST API version 2024-01-01.
*
* Other available API versions: 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview, 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview, 2025-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicebus [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listQueueKeysOutput(args: ListQueueKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListQueueKeysResult>;
export interface ListQueueKeysOutputArgs {
/**
* The authorization rule name.
*/
authorizationRuleName: pulumi.Input<string>;
/**
* The namespace name
*/
namespaceName: pulumi.Input<string>;
/**
* The queue name.
*/
queueName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}