UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

87 lines (86 loc) 3.25 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the primary and secondary connection strings for the topic. * * 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 listTopicKeys(args: ListTopicKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListTopicKeysResult>; export interface ListTopicKeysArgs { /** * The authorization rule name. */ authorizationRuleName: string; /** * The namespace name */ namespaceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The topic name. */ topicName: string; } /** * Namespace/ServiceBus Connection String */ export interface ListTopicKeysResult { /** * 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; } /** * Gets the primary and secondary connection strings for the topic. * * 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 listTopicKeysOutput(args: ListTopicKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListTopicKeysResult>; export interface ListTopicKeysOutputArgs { /** * The authorization rule name. */ authorizationRuleName: pulumi.Input<string>; /** * The namespace name */ namespaceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The topic name. */ topicName: pulumi.Input<string>; }