@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.84 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* List all secrets of a HealthBot.
*
* Uses Azure REST API version 2024-02-01.
*
* Other available API versions: 2023-05-01, 2025-05-25. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthbot [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listBotSecrets(args: ListBotSecretsArgs, opts?: pulumi.InvokeOptions): Promise<ListBotSecretsResult>;
export interface ListBotSecretsArgs {
/**
* The name of the Bot resource.
*/
botName: string;
/**
* The name of the Bot resource group in the user subscription.
*/
resourceGroupName: string;
}
/**
* Health Bot Keys Response.
*/
export interface ListBotSecretsResult {
/**
* Array of Azure Health Bot Secrets.
*/
readonly secrets?: outputs.healthbot.HealthBotKeyResponse[];
}
/**
* List all secrets of a HealthBot.
*
* Uses Azure REST API version 2024-02-01.
*
* Other available API versions: 2023-05-01, 2025-05-25. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native healthbot [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function listBotSecretsOutput(args: ListBotSecretsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListBotSecretsResult>;
export interface ListBotSecretsOutputArgs {
/**
* The name of the Bot resource.
*/
botName: pulumi.Input<string>;
/**
* The name of the Bot resource group in the user subscription.
*/
resourceGroupName: pulumi.Input<string>;
}