1. Packages
  2. Azure Native
  3. API Docs
  4. healthbot
  5. listBotSecrets
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

azure-native.healthbot.listBotSecrets

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

    List all secrets of a HealthBot. Azure REST API version: 2023-05-01.

    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>
    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]
    func ListBotSecrets(ctx *Context, args *ListBotSecretsArgs, opts ...InvokeOption) (*ListBotSecretsResult, error)
    func ListBotSecretsOutput(ctx *Context, args *ListBotSecretsOutputArgs, opts ...InvokeOption) ListBotSecretsResultOutput

    > 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)
    }
    public static CompletableFuture<ListBotSecretsResult> listBotSecrets(ListBotSecretsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:healthbot:listBotSecrets
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BotName string
    The name of the Bot resource.
    ResourceGroupName string
    The name of the Bot resource group in the user subscription.
    BotName string
    The name of the Bot resource.
    ResourceGroupName string
    The name of the Bot resource group in the user subscription.
    botName String
    The name of the Bot resource.
    resourceGroupName String
    The name of the Bot resource group in the user subscription.
    botName string
    The name of the Bot resource.
    resourceGroupName string
    The name of the Bot resource group in the user subscription.
    bot_name str
    The name of the Bot resource.
    resource_group_name str
    The name of the Bot resource group in the user subscription.
    botName String
    The name of the Bot resource.
    resourceGroupName 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi