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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.cache.listDatabaseKeys
Explore with Pulumi AI
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.73.0 published on Wednesday, Nov 20, 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, 2024-10-01.
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:
- Cluster
Name string - The name of the RedisEnterprise cluster.
- Database
Name string - The name of the database.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Cluster
Name string - The name of the RedisEnterprise cluster.
- Database
Name string - The name of the database.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster
Name String - The name of the RedisEnterprise cluster.
- database
Name String - The name of the database.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- cluster
Name string - The name of the RedisEnterprise cluster.
- database
Name string - The name of the database.
- resource
Group stringName - 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_ strname - The name of the resource group. The name is case insensitive.
- cluster
Name String - The name of the RedisEnterprise cluster.
- database
Name String - The name of the database.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
listDatabaseKeys Result
The following output properties are available:
- Primary
Key string - The current primary key that clients can use to authenticate
- Secondary
Key string - The current secondary key that clients can use to authenticate
- Primary
Key string - The current primary key that clients can use to authenticate
- Secondary
Key string - The current secondary key that clients can use to authenticate
- primary
Key String - The current primary key that clients can use to authenticate
- secondary
Key String - The current secondary key that clients can use to authenticate
- primary
Key string - The current primary key that clients can use to authenticate
- secondary
Key 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
- primary
Key String - The current primary key that clients can use to authenticate
- secondary
Key String - The current secondary key that clients can use to authenticate
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 v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi