1. Packages
  2. Azure Native v1
  3. API Docs
  4. cognitiveservices
  5. listAccountKeys
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.cognitiveservices.listAccountKeys

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Lists the account keys for the specified Cognitive Services account. API Version: 2017-04-18.

    Using listAccountKeys

    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 listAccountKeys(args: ListAccountKeysArgs, opts?: InvokeOptions): Promise<ListAccountKeysResult>
    function listAccountKeysOutput(args: ListAccountKeysOutputArgs, opts?: InvokeOptions): Output<ListAccountKeysResult>
    def list_account_keys(account_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> ListAccountKeysResult
    def list_account_keys_output(account_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[ListAccountKeysResult]
    func ListAccountKeys(ctx *Context, args *ListAccountKeysArgs, opts ...InvokeOption) (*ListAccountKeysResult, error)
    func ListAccountKeysOutput(ctx *Context, args *ListAccountKeysOutputArgs, opts ...InvokeOption) ListAccountKeysResultOutput

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

    public static class ListAccountKeys 
    {
        public static Task<ListAccountKeysResult> InvokeAsync(ListAccountKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListAccountKeysResult> Invoke(ListAccountKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListAccountKeysResult> listAccountKeys(ListAccountKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:cognitiveservices:listAccountKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    The name of Cognitive Services account.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AccountName string
    The name of Cognitive Services account.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    accountName String
    The name of Cognitive Services account.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    accountName string
    The name of Cognitive Services account.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    account_name str
    The name of Cognitive Services account.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    accountName String
    The name of Cognitive Services account.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listAccountKeys Result

    The following output properties are available:

    Key1 string
    Gets the value of key 1.
    Key2 string
    Gets the value of key 2.
    Key1 string
    Gets the value of key 1.
    Key2 string
    Gets the value of key 2.
    key1 String
    Gets the value of key 1.
    key2 String
    Gets the value of key 2.
    key1 string
    Gets the value of key 1.
    key2 string
    Gets the value of key 2.
    key1 str
    Gets the value of key 1.
    key2 str
    Gets the value of key 2.
    key1 String
    Gets the value of key 1.
    key2 String
    Gets the value of key 2.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi