1. Packages
  2. Azure Native
  3. API Docs
  4. cache
  5. listDatabaseKeys
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.cache.listDatabaseKeys

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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Retrieves the access keys for the RedisEnterprise database. Azure REST API version: 2023-03-01-preview.

    Other available API versions: 2023-07-01, 2023-08-01-preview, 2023-10-01-preview, 2023-11-01, 2024-02-01, 2024-03-01-preview, 2024-06-01-preview, 2024-09-01-preview.

    Using listDatabaseKeys

    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 listDatabaseKeys(args: ListDatabaseKeysArgs, opts?: InvokeOptions): Promise<ListDatabaseKeysResult>
    function listDatabaseKeysOutput(args: ListDatabaseKeysOutputArgs, opts?: InvokeOptions): Output<ListDatabaseKeysResult>
    def list_database_keys(cluster_name: Optional[str] = None,
                           database_name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> ListDatabaseKeysResult
    def list_database_keys_output(cluster_name: Optional[pulumi.Input[str]] = None,
                           database_name: Optional[pulumi.Input[str]] = None,
                           resource_group_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[ListDatabaseKeysResult]
    func ListDatabaseKeys(ctx *Context, args *ListDatabaseKeysArgs, opts ...InvokeOption) (*ListDatabaseKeysResult, error)
    func ListDatabaseKeysOutput(ctx *Context, args *ListDatabaseKeysOutputArgs, opts ...InvokeOption) ListDatabaseKeysResultOutput

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

    public static class ListDatabaseKeys 
    {
        public static Task<ListDatabaseKeysResult> InvokeAsync(ListDatabaseKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListDatabaseKeysResult> Invoke(ListDatabaseKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListDatabaseKeysResult> listDatabaseKeys(ListDatabaseKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:cache:listDatabaseKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ClusterName string
    The name of the RedisEnterprise cluster.
    DatabaseName string
    The name of the database.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ClusterName string
    The name of the RedisEnterprise cluster.
    DatabaseName string
    The name of the database.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    clusterName String
    The name of the RedisEnterprise cluster.
    databaseName String
    The name of the database.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    clusterName string
    The name of the RedisEnterprise cluster.
    databaseName string
    The name of the database.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    cluster_name str
    The name of the RedisEnterprise cluster.
    database_name str
    The name of the database.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    clusterName String
    The name of the RedisEnterprise cluster.
    databaseName String
    The name of the database.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listDatabaseKeys Result

    The following output properties are available:

    PrimaryKey string
    The current primary key that clients can use to authenticate
    SecondaryKey string
    The current secondary key that clients can use to authenticate
    PrimaryKey string
    The current primary key that clients can use to authenticate
    SecondaryKey string
    The current secondary key that clients can use to authenticate
    primaryKey String
    The current primary key that clients can use to authenticate
    secondaryKey String
    The current secondary key that clients can use to authenticate
    primaryKey string
    The current primary key that clients can use to authenticate
    secondaryKey string
    The current secondary key that clients can use to authenticate
    primary_key str
    The current primary key that clients can use to authenticate
    secondary_key str
    The current secondary key that clients can use to authenticate
    primaryKey String
    The current primary key that clients can use to authenticate
    secondaryKey String
    The current secondary key that clients can use to authenticate

    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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi