We recommend using Azure Native.
Azure v6.30.0 published on Thursday, Nov 20, 2025 by Pulumi
Use this data source to access information about an existing Redis Enterprise Database
Note: This data source has been deprecated in favor of azurerm_managed_redis.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: azure:redis:getEnterpriseDatabase
arguments:
name: default
resourceGroupName: ${exampleAzurermResourceGroup.name}
clusterId: ${exampleAzurermRedisEnterpriseCluster.id}
outputs:
redisEnterpriseDatabasePrimaryKey: ${example.primaryAccessKey}
redisEnterpriseDatabaseSecondaryKey: ${example.secondaryAccessKey}
API Providers
This data source uses the following Azure API Providers:
Microsoft.Cache- 2024-10-01
Using getEnterpriseDatabase
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 getEnterpriseDatabase(args: GetEnterpriseDatabaseArgs, opts?: InvokeOptions): Promise<GetEnterpriseDatabaseResult>
function getEnterpriseDatabaseOutput(args: GetEnterpriseDatabaseOutputArgs, opts?: InvokeOptions): Output<GetEnterpriseDatabaseResult>def get_enterprise_database(cluster_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnterpriseDatabaseResult
def get_enterprise_database_output(cluster_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnterpriseDatabaseResult]func LookupEnterpriseDatabase(ctx *Context, args *LookupEnterpriseDatabaseArgs, opts ...InvokeOption) (*LookupEnterpriseDatabaseResult, error)
func LookupEnterpriseDatabaseOutput(ctx *Context, args *LookupEnterpriseDatabaseOutputArgs, opts ...InvokeOption) LookupEnterpriseDatabaseResultOutput> Note: This function is named LookupEnterpriseDatabase in the Go SDK.
public static class GetEnterpriseDatabase
{
public static Task<GetEnterpriseDatabaseResult> InvokeAsync(GetEnterpriseDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetEnterpriseDatabaseResult> Invoke(GetEnterpriseDatabaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEnterpriseDatabaseResult> getEnterpriseDatabase(GetEnterpriseDatabaseArgs args, InvokeOptions options)
public static Output<GetEnterpriseDatabaseResult> getEnterpriseDatabase(GetEnterpriseDatabaseArgs args, InvokeOptions options)
fn::invoke:
function: azure:redis/getEnterpriseDatabase:getEnterpriseDatabase
arguments:
# arguments dictionaryThe following arguments are supported:
- cluster_
id str - The resource ID of Redis Enterprise Cluster which hosts the Redis Enterprise Database instance.
- name str
- The name of the Redis Enterprise Database.
getEnterpriseDatabase Result
The following output properties are available:
- Cluster
Id string - The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Linked
Database stringGroup Nickname - The Linked Database Group Nickname for the Redis Enterprise Database instance.
- Linked
Database List<string>Ids - The Linked Database list for the Redis Enterprise Database instance.
- Name string
- The Redis Enterprise Database name.
- Primary
Access stringKey - The Primary Access Key for the Redis Enterprise Database instance.
- Secondary
Access stringKey - The Secondary Access Key for the Redis Enterprise Database instance.
- Cluster
Id string - The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Linked
Database stringGroup Nickname - The Linked Database Group Nickname for the Redis Enterprise Database instance.
- Linked
Database []stringIds - The Linked Database list for the Redis Enterprise Database instance.
- Name string
- The Redis Enterprise Database name.
- Primary
Access stringKey - The Primary Access Key for the Redis Enterprise Database instance.
- Secondary
Access stringKey - The Secondary Access Key for the Redis Enterprise Database instance.
- cluster
Id String - The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
- id String
- The provider-assigned unique ID for this managed resource.
- linked
Database StringGroup Nickname - The Linked Database Group Nickname for the Redis Enterprise Database instance.
- linked
Database List<String>Ids - The Linked Database list for the Redis Enterprise Database instance.
- name String
- The Redis Enterprise Database name.
- primary
Access StringKey - The Primary Access Key for the Redis Enterprise Database instance.
- secondary
Access StringKey - The Secondary Access Key for the Redis Enterprise Database instance.
- cluster
Id string - The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
- id string
- The provider-assigned unique ID for this managed resource.
- linked
Database stringGroup Nickname - The Linked Database Group Nickname for the Redis Enterprise Database instance.
- linked
Database string[]Ids - The Linked Database list for the Redis Enterprise Database instance.
- name string
- The Redis Enterprise Database name.
- primary
Access stringKey - The Primary Access Key for the Redis Enterprise Database instance.
- secondary
Access stringKey - The Secondary Access Key for the Redis Enterprise Database instance.
- cluster_
id str - The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
- id str
- The provider-assigned unique ID for this managed resource.
- linked_
database_ strgroup_ nickname - The Linked Database Group Nickname for the Redis Enterprise Database instance.
- linked_
database_ Sequence[str]ids - The Linked Database list for the Redis Enterprise Database instance.
- name str
- The Redis Enterprise Database name.
- primary_
access_ strkey - The Primary Access Key for the Redis Enterprise Database instance.
- secondary_
access_ strkey - The Secondary Access Key for the Redis Enterprise Database instance.
- cluster
Id String - The Redis Enterprise Cluster ID that is hosting the Redis Enterprise Database.
- id String
- The provider-assigned unique ID for this managed resource.
- linked
Database StringGroup Nickname - The Linked Database Group Nickname for the Redis Enterprise Database instance.
- linked
Database List<String>Ids - The Linked Database list for the Redis Enterprise Database instance.
- name String
- The Redis Enterprise Database name.
- primary
Access StringKey - The Primary Access Key for the Redis Enterprise Database instance.
- secondary
Access StringKey - The Secondary Access Key for the Redis Enterprise Database instance.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
