1. Packages
  2. Azure Native v2
  3. API Docs
  4. healthbot
  5. listBotSecrets
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.healthbot.listBotSecrets

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

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

Other available API versions: 2024-02-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>
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi