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

79 lines (78 loc) 3.18 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the primary and secondary connection strings for the Namespace. * * 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, 2024-05-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 eventhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listNamespaceKeys(args: ListNamespaceKeysArgs, opts?: pulumi.InvokeOptions): Promise<ListNamespaceKeysResult>; export interface ListNamespaceKeysArgs { /** * The authorization rule name. */ authorizationRuleName: string; /** * The Namespace name */ namespaceName: string; /** * Name of the resource group within the azure subscription. */ resourceGroupName: string; } /** * Namespace/EventHub Connection String */ export interface ListNamespaceKeysResult { /** * 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 AuthorizationRule. */ readonly keyName: string; /** * Primary connection string of the created namespace AuthorizationRule. */ 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 AuthorizationRule. */ 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 Namespace. * * 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, 2024-05-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 eventhub [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listNamespaceKeysOutput(args: ListNamespaceKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListNamespaceKeysResult>; export interface ListNamespaceKeysOutputArgs { /** * The authorization rule name. */ authorizationRuleName: pulumi.Input<string>; /** * The Namespace name */ namespaceName: pulumi.Input<string>; /** * Name of the resource group within the azure subscription. */ resourceGroupName: pulumi.Input<string>; }