1. Packages
  2. Packages
  3. Azure Classic
  4. API Docs
  5. redis
  6. EnterpriseDatabase

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Redis Enterprise Database.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleEnterpriseCluster = new Azure.Redis.EnterpriseCluster("exampleEnterpriseCluster", new Azure.Redis.EnterpriseClusterArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                SkuName = "Enterprise_E20-4",
            });
            var exampleEnterpriseDatabase = new Azure.Redis.EnterpriseDatabase("exampleEnterpriseDatabase", new Azure.Redis.EnterpriseDatabaseArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                ClusterId = exampleEnterpriseCluster.Id,
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/redis"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleEnterpriseCluster, err := redis.NewEnterpriseCluster(ctx, "exampleEnterpriseCluster", &redis.EnterpriseClusterArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			SkuName:           pulumi.String("Enterprise_E20-4"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = redis.NewEnterpriseDatabase(ctx, "exampleEnterpriseDatabase", &redis.EnterpriseDatabaseArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			ClusterId:         exampleEnterpriseCluster.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleEnterpriseCluster = new azure.redis.EnterpriseCluster("exampleEnterpriseCluster", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        skuName: "Enterprise_E20-4",
    });
    const exampleEnterpriseDatabase = new azure.redis.EnterpriseDatabase("exampleEnterpriseDatabase", {
        resourceGroupName: exampleResourceGroup.name,
        clusterId: exampleEnterpriseCluster.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_enterprise_cluster = azure.redis.EnterpriseCluster("exampleEnterpriseCluster",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        sku_name="Enterprise_E20-4")
    example_enterprise_database = azure.redis.EnterpriseDatabase("exampleEnterpriseDatabase",
        resource_group_name=example_resource_group.name,
        cluster_id=example_enterprise_cluster.id)
    

    Example coming soon!

    Create EnterpriseDatabase Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EnterpriseDatabase(name: string, args: EnterpriseDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def EnterpriseDatabase(resource_name: str,
                           args: EnterpriseDatabaseArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnterpriseDatabase(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           cluster_id: Optional[str] = None,
                           client_protocol: Optional[str] = None,
                           clustering_policy: Optional[str] = None,
                           eviction_policy: Optional[str] = None,
                           modules: Optional[Sequence[EnterpriseDatabaseModuleArgs]] = None,
                           name: Optional[str] = None,
                           port: Optional[int] = None,
                           resource_group_name: Optional[str] = None)
    func NewEnterpriseDatabase(ctx *Context, name string, args EnterpriseDatabaseArgs, opts ...ResourceOption) (*EnterpriseDatabase, error)
    public EnterpriseDatabase(string name, EnterpriseDatabaseArgs args, CustomResourceOptions? opts = null)
    public EnterpriseDatabase(String name, EnterpriseDatabaseArgs args)
    public EnterpriseDatabase(String name, EnterpriseDatabaseArgs args, CustomResourceOptions options)
    
    type: azure:redis:EnterpriseDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EnterpriseDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnterpriseDatabaseArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnterpriseDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnterpriseDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnterpriseDatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var enterpriseDatabaseResource = new Azure.Redis.EnterpriseDatabase("enterpriseDatabaseResource", new()
    {
        ClusterId = "string",
        ClientProtocol = "string",
        ClusteringPolicy = "string",
        EvictionPolicy = "string",
        Modules = new[]
        {
            new Azure.Redis.Inputs.EnterpriseDatabaseModuleArgs
            {
                Name = "string",
                Args = "string",
                Version = "string",
            },
        },
        Name = "string",
        Port = 0,
    });
    
    example, err := redis.NewEnterpriseDatabase(ctx, "enterpriseDatabaseResource", &redis.EnterpriseDatabaseArgs{
    	ClusterId:        pulumi.String("string"),
    	ClientProtocol:   pulumi.String("string"),
    	ClusteringPolicy: pulumi.String("string"),
    	EvictionPolicy:   pulumi.String("string"),
    	Modules: redis.EnterpriseDatabaseModuleArray{
    		&redis.EnterpriseDatabaseModuleArgs{
    			Name:    pulumi.String("string"),
    			Args:    pulumi.String("string"),
    			Version: pulumi.String("string"),
    		},
    	},
    	Name: pulumi.String("string"),
    	Port: pulumi.Int(0),
    })
    
    var enterpriseDatabaseResource = new EnterpriseDatabase("enterpriseDatabaseResource", EnterpriseDatabaseArgs.builder()
        .clusterId("string")
        .clientProtocol("string")
        .clusteringPolicy("string")
        .evictionPolicy("string")
        .modules(EnterpriseDatabaseModuleArgs.builder()
            .name("string")
            .args("string")
            .version("string")
            .build())
        .name("string")
        .port(0)
        .build());
    
    enterprise_database_resource = azure.redis.EnterpriseDatabase("enterpriseDatabaseResource",
        cluster_id="string",
        client_protocol="string",
        clustering_policy="string",
        eviction_policy="string",
        modules=[{
            "name": "string",
            "args": "string",
            "version": "string",
        }],
        name="string",
        port=0)
    
    const enterpriseDatabaseResource = new azure.redis.EnterpriseDatabase("enterpriseDatabaseResource", {
        clusterId: "string",
        clientProtocol: "string",
        clusteringPolicy: "string",
        evictionPolicy: "string",
        modules: [{
            name: "string",
            args: "string",
            version: "string",
        }],
        name: "string",
        port: 0,
    });
    
    type: azure:redis:EnterpriseDatabase
    properties:
        clientProtocol: string
        clusterId: string
        clusteringPolicy: string
        evictionPolicy: string
        modules:
            - args: string
              name: string
              version: string
        name: string
        port: 0
    

    EnterpriseDatabase Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The EnterpriseDatabase resource accepts the following input properties:

    ClusterId string
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    ClientProtocol string
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    ClusteringPolicy string
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    EvictionPolicy string
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    Modules List<EnterpriseDatabaseModule>
    A module block as defined below.
    Name string
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    Port int
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    ResourceGroupName string
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    ClusterId string
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    ClientProtocol string
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    ClusteringPolicy string
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    EvictionPolicy string
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    Modules []EnterpriseDatabaseModuleArgs
    A module block as defined below.
    Name string
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    Port int
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    ResourceGroupName string
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    clusterId String
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clientProtocol String
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clusteringPolicy String
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    evictionPolicy String
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules List<EnterpriseDatabaseModule>
    A module block as defined below.
    name String
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port Integer
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    resourceGroupName String
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    clusterId string
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clientProtocol string
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clusteringPolicy string
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    evictionPolicy string
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules EnterpriseDatabaseModule[]
    A module block as defined below.
    name string
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port number
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    resourceGroupName string
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    cluster_id str
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    client_protocol str
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clustering_policy str
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    eviction_policy str
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules Sequence[EnterpriseDatabaseModuleArgs]
    A module block as defined below.
    name str
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port int
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    resource_group_name str
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    clusterId String
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clientProtocol String
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clusteringPolicy String
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    evictionPolicy String
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules List<Property Map>
    A module block as defined below.
    name String
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port Number
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    resourceGroupName String
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnterpriseDatabase resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PrimaryAccessKey string
    The Primary Access Key for the Redis Enterprise Database Instance.
    SecondaryAccessKey string
    The Secondary Access Key for the Redis Enterprise Database Instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    PrimaryAccessKey string
    The Primary Access Key for the Redis Enterprise Database Instance.
    SecondaryAccessKey string
    The Secondary Access Key for the Redis Enterprise Database Instance.
    id String
    The provider-assigned unique ID for this managed resource.
    primaryAccessKey String
    The Primary Access Key for the Redis Enterprise Database Instance.
    secondaryAccessKey String
    The Secondary Access Key for the Redis Enterprise Database Instance.
    id string
    The provider-assigned unique ID for this managed resource.
    primaryAccessKey string
    The Primary Access Key for the Redis Enterprise Database Instance.
    secondaryAccessKey string
    The Secondary Access Key for the Redis Enterprise Database Instance.
    id str
    The provider-assigned unique ID for this managed resource.
    primary_access_key str
    The Primary Access Key for the Redis Enterprise Database Instance.
    secondary_access_key str
    The Secondary Access Key for the Redis Enterprise Database Instance.
    id String
    The provider-assigned unique ID for this managed resource.
    primaryAccessKey String
    The Primary Access Key for the Redis Enterprise Database Instance.
    secondaryAccessKey String
    The Secondary Access Key for the Redis Enterprise Database Instance.

    Look up Existing EnterpriseDatabase Resource

    Get an existing EnterpriseDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EnterpriseDatabaseState, opts?: CustomResourceOptions): EnterpriseDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_protocol: Optional[str] = None,
            cluster_id: Optional[str] = None,
            clustering_policy: Optional[str] = None,
            eviction_policy: Optional[str] = None,
            modules: Optional[Sequence[EnterpriseDatabaseModuleArgs]] = None,
            name: Optional[str] = None,
            port: Optional[int] = None,
            primary_access_key: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            secondary_access_key: Optional[str] = None) -> EnterpriseDatabase
    func GetEnterpriseDatabase(ctx *Context, name string, id IDInput, state *EnterpriseDatabaseState, opts ...ResourceOption) (*EnterpriseDatabase, error)
    public static EnterpriseDatabase Get(string name, Input<string> id, EnterpriseDatabaseState? state, CustomResourceOptions? opts = null)
    public static EnterpriseDatabase get(String name, Output<String> id, EnterpriseDatabaseState state, CustomResourceOptions options)
    resources:  _:    type: azure:redis:EnterpriseDatabase    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClientProtocol string
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    ClusterId string
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    ClusteringPolicy string
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    EvictionPolicy string
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    Modules List<EnterpriseDatabaseModule>
    A module block as defined below.
    Name string
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    Port int
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    PrimaryAccessKey string
    The Primary Access Key for the Redis Enterprise Database Instance.
    ResourceGroupName string
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    SecondaryAccessKey string
    The Secondary Access Key for the Redis Enterprise Database Instance.
    ClientProtocol string
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    ClusterId string
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    ClusteringPolicy string
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    EvictionPolicy string
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    Modules []EnterpriseDatabaseModuleArgs
    A module block as defined below.
    Name string
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    Port int
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    PrimaryAccessKey string
    The Primary Access Key for the Redis Enterprise Database Instance.
    ResourceGroupName string
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    SecondaryAccessKey string
    The Secondary Access Key for the Redis Enterprise Database Instance.
    clientProtocol String
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clusterId String
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clusteringPolicy String
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    evictionPolicy String
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules List<EnterpriseDatabaseModule>
    A module block as defined below.
    name String
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port Integer
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    primaryAccessKey String
    The Primary Access Key for the Redis Enterprise Database Instance.
    resourceGroupName String
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    secondaryAccessKey String
    The Secondary Access Key for the Redis Enterprise Database Instance.
    clientProtocol string
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clusterId string
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clusteringPolicy string
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    evictionPolicy string
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules EnterpriseDatabaseModule[]
    A module block as defined below.
    name string
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port number
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    primaryAccessKey string
    The Primary Access Key for the Redis Enterprise Database Instance.
    resourceGroupName string
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    secondaryAccessKey string
    The Secondary Access Key for the Redis Enterprise Database Instance.
    client_protocol str
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    cluster_id str
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clustering_policy str
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    eviction_policy str
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules Sequence[EnterpriseDatabaseModuleArgs]
    A module block as defined below.
    name str
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port int
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    primary_access_key str
    The Primary Access Key for the Redis Enterprise Database Instance.
    resource_group_name str
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    secondary_access_key str
    The Secondary Access Key for the Redis Enterprise Database Instance.
    clientProtocol String
    Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values are Encrypted and Plaintext. Defaults to Encrypted. Changing this forces a new Redis Enterprise Database to be created.
    clusterId String
    The resource id of the Redis Enterprise Cluster to deploy this Redis Enterprise Database. Changing this forces a new Redis Enterprise Database to be created.
    clusteringPolicy String
    Clustering policy - default is OSSCluster. Specified at create time. Possible values are EnterpriseCluster and OSSCluster. Defaults to OSSCluster. Changing this forces a new Redis Enterprise Database to be created.
    evictionPolicy String
    Redis eviction policy - default is VolatileLRU. Possible values are AllKeysLFU, AllKeysLRU, AllKeysRandom, VolatileLRU, VolatileLFU, VolatileTTL, VolatileRandom and NoEviction. Defaults to VolatileLRU. Changing this forces a new Redis Enterprise Database to be created.
    modules List<Property Map>
    A module block as defined below.
    name String
    The name which should be used for this Redis Enterprise Database. Currently the acceptable value for this argument is default. Defaults to default. Changing this forces a new Redis Enterprise Database to be created.
    port Number
    TCP port of the database endpoint. Specified at create time. Defaults to an available port. Changing this forces a new Redis Enterprise Database to be created.
    primaryAccessKey String
    The Primary Access Key for the Redis Enterprise Database Instance.
    resourceGroupName String
    The name of the Resource Group where the Redis Enterprise Database should exist. Changing this forces a new Redis Enterprise Database to be created.

    Deprecated: This field is no longer used and will be removed in the next major version of the Azure Provider

    secondaryAccessKey String
    The Secondary Access Key for the Redis Enterprise Database Instance.

    Supporting Types

    EnterpriseDatabaseModule, EnterpriseDatabaseModuleArgs

    Name string
    The name which should be used for this module. Possible values are RediSearch, RedisBloom and RedisTimeSeries. Changing this forces a new Redis Enterprise Database to be created.
    Args string
    Configuration options for the module (e.g. ERROR_RATE 0.00 INITIAL_SIZE 400).
    Version string
    Name string
    The name which should be used for this module. Possible values are RediSearch, RedisBloom and RedisTimeSeries. Changing this forces a new Redis Enterprise Database to be created.
    Args string
    Configuration options for the module (e.g. ERROR_RATE 0.00 INITIAL_SIZE 400).
    Version string
    name String
    The name which should be used for this module. Possible values are RediSearch, RedisBloom and RedisTimeSeries. Changing this forces a new Redis Enterprise Database to be created.
    args String
    Configuration options for the module (e.g. ERROR_RATE 0.00 INITIAL_SIZE 400).
    version String
    name string
    The name which should be used for this module. Possible values are RediSearch, RedisBloom and RedisTimeSeries. Changing this forces a new Redis Enterprise Database to be created.
    args string
    Configuration options for the module (e.g. ERROR_RATE 0.00 INITIAL_SIZE 400).
    version string
    name str
    The name which should be used for this module. Possible values are RediSearch, RedisBloom and RedisTimeSeries. Changing this forces a new Redis Enterprise Database to be created.
    args str
    Configuration options for the module (e.g. ERROR_RATE 0.00 INITIAL_SIZE 400).
    version str
    name String
    The name which should be used for this module. Possible values are RediSearch, RedisBloom and RedisTimeSeries. Changing this forces a new Redis Enterprise Database to be created.
    args String
    Configuration options for the module (e.g. ERROR_RATE 0.00 INITIAL_SIZE 400).
    version String

    Import

    Redis Enterprise Databases can be imported using the resource id, e.g.

     $ pulumi import azure:redis/enterpriseDatabase:EnterpriseDatabase example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redisEnterprise/cluster1/databases/database1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.