1. Packages
  2. Azure Native
  3. API Docs
  4. healthbot
  5. listBotSecrets
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.healthbot.listBotSecrets

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

List all secrets of a HealthBot.

Uses Azure REST API version 2024-02-01.

Other available API versions: 2023-05-01. 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 for details.

Using listBotSecrets

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function listBotSecrets(args: ListBotSecretsArgs, opts?: InvokeOptions): Promise<ListBotSecretsResult>
function listBotSecretsOutput(args: ListBotSecretsOutputArgs, opts?: InvokeOptions): Output<ListBotSecretsResult>
Copy
def list_bot_secrets(bot_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> ListBotSecretsResult
def list_bot_secrets_output(bot_name: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[ListBotSecretsResult]
Copy
func ListBotSecrets(ctx *Context, args *ListBotSecretsArgs, opts ...InvokeOption) (*ListBotSecretsResult, error)
func ListBotSecretsOutput(ctx *Context, args *ListBotSecretsOutputArgs, opts ...InvokeOption) ListBotSecretsResultOutput
Copy

> Note: This function is named ListBotSecrets in the Go SDK.

public static class ListBotSecrets 
{
    public static Task<ListBotSecretsResult> InvokeAsync(ListBotSecretsArgs args, InvokeOptions? opts = null)
    public static Output<ListBotSecretsResult> Invoke(ListBotSecretsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListBotSecretsResult> listBotSecrets(ListBotSecretsArgs args, InvokeOptions options)
public static Output<ListBotSecretsResult> listBotSecrets(ListBotSecretsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:healthbot:listBotSecrets
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BotName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Bot resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Bot resource group in the user subscription.
BotName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Bot resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Bot resource group in the user subscription.
botName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Bot resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Bot resource group in the user subscription.
botName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Bot resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Bot resource group in the user subscription.
bot_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Bot resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Bot resource group in the user subscription.
botName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Bot resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Bot resource group in the user subscription.

listBotSecrets Result

The following output properties are available:

Secrets []HealthBotKeyResponse
Array of Azure Health Bot Secrets.
secrets List<HealthBotKeyResponse>
Array of Azure Health Bot Secrets.
secrets HealthBotKeyResponse[]
Array of Azure Health Bot Secrets.
secrets Sequence[HealthBotKeyResponse]
Array of Azure Health Bot Secrets.
secrets List<Property Map>
Array of Azure Health Bot Secrets.

Supporting Types

HealthBotKeyResponse

KeyName string
The name of the key.
Value string
The value of the key.
KeyName string
The name of the key.
Value string
The value of the key.
keyName String
The name of the key.
value String
The value of the key.
keyName string
The name of the key.
value string
The value of the key.
key_name str
The name of the key.
value str
The value of the key.
keyName String
The name of the key.
value String
The value of the key.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi