@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.57 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Primary and secondary connection strings to the namespace.
*
* Uses Azure REST API version 2024-01-01.
*
* Other available API versions: 2021-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native relay [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/Relay Connection String
*/
export interface ListNamespaceKeysResult {
/**
* 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 secondary key for signing and validating the SAS token.
*/
readonly secondaryKey?: string;
}
/**
* Primary and secondary connection strings to the namespace.
*
* Uses Azure REST API version 2024-01-01.
*
* Other available API versions: 2021-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native relay [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>;
}