1. Packages
  2. Azure Native v1
  3. API Docs
  4. cache
  5. Redis
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.cache.Redis

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

    A single Redis item in List or Get Operation. API Version: 2020-06-01.

    Example Usage

    RedisCacheCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var redis = new AzureNative.Cache.Redis("redis", new()
        {
            EnableNonSslPort = true,
            Location = "West US",
            MinimumTlsVersion = "1.2",
            Name = "cache1",
            RedisConfiguration = new AzureNative.Cache.Inputs.RedisCommonPropertiesRedisConfigurationArgs
            {
                MaxmemoryPolicy = "allkeys-lru",
            },
            ReplicasPerMaster = 2,
            ResourceGroupName = "rg1",
            ShardCount = 2,
            Sku = new AzureNative.Cache.Inputs.SkuArgs
            {
                Capacity = 1,
                Family = "P",
                Name = "Premium",
            },
            StaticIP = "192.168.0.5",
            SubnetId = "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
            Zones = new[]
            {
                "1",
            },
        });
    
    });
    
    package main
    
    import (
    	cache "github.com/pulumi/pulumi-azure-native-sdk/cache"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cache.NewRedis(ctx, "redis", &cache.RedisArgs{
    			EnableNonSslPort:  pulumi.Bool(true),
    			Location:          pulumi.String("West US"),
    			MinimumTlsVersion: pulumi.String("1.2"),
    			Name:              pulumi.String("cache1"),
    			RedisConfiguration: &cache.RedisCommonPropertiesRedisConfigurationArgs{
    				MaxmemoryPolicy: pulumi.String("allkeys-lru"),
    			},
    			ReplicasPerMaster: pulumi.Int(2),
    			ResourceGroupName: pulumi.String("rg1"),
    			ShardCount:        pulumi.Int(2),
    			Sku: &cache.SkuArgs{
    				Capacity: pulumi.Int(1),
    				Family:   pulumi.String("P"),
    				Name:     pulumi.String("Premium"),
    			},
    			StaticIP: pulumi.String("192.168.0.5"),
    			SubnetId: pulumi.String("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1"),
    			Zones: pulumi.StringArray{
    				pulumi.String("1"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.cache.Redis;
    import com.pulumi.azurenative.cache.RedisArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var redis = new Redis("redis", RedisArgs.builder()        
                .enableNonSslPort(true)
                .location("West US")
                .minimumTlsVersion("1.2")
                .name("cache1")
                .redisConfiguration(Map.of("maxmemoryPolicy", "allkeys-lru"))
                .replicasPerMaster(2)
                .resourceGroupName("rg1")
                .shardCount(2)
                .sku(Map.ofEntries(
                    Map.entry("capacity", 1),
                    Map.entry("family", "P"),
                    Map.entry("name", "Premium")
                ))
                .staticIP("192.168.0.5")
                .subnetId("/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1")
                .zones("1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    redis = azure_native.cache.Redis("redis",
        enable_non_ssl_port=True,
        location="West US",
        minimum_tls_version="1.2",
        name="cache1",
        redis_configuration=azure_native.cache.RedisCommonPropertiesRedisConfigurationArgs(
            maxmemory_policy="allkeys-lru",
        ),
        replicas_per_master=2,
        resource_group_name="rg1",
        shard_count=2,
        sku=azure_native.cache.SkuArgs(
            capacity=1,
            family="P",
            name="Premium",
        ),
        static_ip="192.168.0.5",
        subnet_id="/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
        zones=["1"])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const redis = new azure_native.cache.Redis("redis", {
        enableNonSslPort: true,
        location: "West US",
        minimumTlsVersion: "1.2",
        name: "cache1",
        redisConfiguration: {
            maxmemoryPolicy: "allkeys-lru",
        },
        replicasPerMaster: 2,
        resourceGroupName: "rg1",
        shardCount: 2,
        sku: {
            capacity: 1,
            family: "P",
            name: "Premium",
        },
        staticIP: "192.168.0.5",
        subnetId: "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1",
        zones: ["1"],
    });
    
    resources:
      redis:
        type: azure-native:cache:Redis
        properties:
          enableNonSslPort: true
          location: West US
          minimumTlsVersion: '1.2'
          name: cache1
          redisConfiguration:
            maxmemoryPolicy: allkeys-lru
          replicasPerMaster: 2
          resourceGroupName: rg1
          shardCount: 2
          sku:
            capacity: 1
            family: P
            name: Premium
          staticIP: 192.168.0.5
          subnetId: /subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/network1/subnets/subnet1
          zones:
            - '1'
    

    Create Redis Resource

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

    Constructor syntax

    new Redis(name: string, args: RedisArgs, opts?: CustomResourceOptions);
    @overload
    def Redis(resource_name: str,
              args: RedisArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Redis(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              sku: Optional[SkuArgs] = None,
              name: Optional[str] = None,
              enable_non_ssl_port: Optional[bool] = None,
              public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
              redis_configuration: Optional[RedisCommonPropertiesRedisConfigurationArgs] = None,
              replicas_per_master: Optional[int] = None,
              minimum_tls_version: Optional[Union[str, TlsVersion]] = None,
              shard_count: Optional[int] = None,
              location: Optional[str] = None,
              static_ip: Optional[str] = None,
              subnet_id: Optional[str] = None,
              tags: Optional[Mapping[str, str]] = None,
              tenant_settings: Optional[Mapping[str, str]] = None,
              zones: Optional[Sequence[str]] = None)
    func NewRedis(ctx *Context, name string, args RedisArgs, opts ...ResourceOption) (*Redis, error)
    public Redis(string name, RedisArgs args, CustomResourceOptions? opts = null)
    public Redis(String name, RedisArgs args)
    public Redis(String name, RedisArgs args, CustomResourceOptions options)
    
    type: azure-native:cache:Redis
    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 RedisArgs
    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 RedisArgs
    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 RedisArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RedisArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RedisArgs
    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 redisResource = new AzureNative.Cache.Redis("redisResource", new()
    {
        ResourceGroupName = "string",
        Sku = 
        {
            { "capacity", 0 },
            { "family", "string" },
            { "name", "string" },
        },
        Name = "string",
        EnableNonSslPort = false,
        PublicNetworkAccess = "string",
        RedisConfiguration = 
        {
            { "aofStorageConnectionString0", "string" },
            { "aofStorageConnectionString1", "string" },
            { "maxfragmentationmemoryReserved", "string" },
            { "maxmemoryDelta", "string" },
            { "maxmemoryPolicy", "string" },
            { "maxmemoryReserved", "string" },
            { "rdbBackupEnabled", "string" },
            { "rdbBackupFrequency", "string" },
            { "rdbBackupMaxSnapshotCount", "string" },
            { "rdbStorageConnectionString", "string" },
        },
        ReplicasPerMaster = 0,
        MinimumTlsVersion = "string",
        ShardCount = 0,
        Location = "string",
        StaticIP = "string",
        SubnetId = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TenantSettings = 
        {
            { "string", "string" },
        },
        Zones = new[]
        {
            "string",
        },
    });
    
    example, err := cache.NewRedis(ctx, "redisResource", &cache.RedisArgs{
    	ResourceGroupName: "string",
    	Sku: map[string]interface{}{
    		"capacity": 0,
    		"family":   "string",
    		"name":     "string",
    	},
    	Name:                "string",
    	EnableNonSslPort:    false,
    	PublicNetworkAccess: "string",
    	RedisConfiguration: map[string]interface{}{
    		"aofStorageConnectionString0":    "string",
    		"aofStorageConnectionString1":    "string",
    		"maxfragmentationmemoryReserved": "string",
    		"maxmemoryDelta":                 "string",
    		"maxmemoryPolicy":                "string",
    		"maxmemoryReserved":              "string",
    		"rdbBackupEnabled":               "string",
    		"rdbBackupFrequency":             "string",
    		"rdbBackupMaxSnapshotCount":      "string",
    		"rdbStorageConnectionString":     "string",
    	},
    	ReplicasPerMaster: 0,
    	MinimumTlsVersion: "string",
    	ShardCount:        0,
    	Location:          "string",
    	StaticIP:          "string",
    	SubnetId:          "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	TenantSettings: map[string]interface{}{
    		"string": "string",
    	},
    	Zones: []string{
    		"string",
    	},
    })
    
    var redisResource = new Redis("redisResource", RedisArgs.builder()
        .resourceGroupName("string")
        .sku(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .name("string")
        .enableNonSslPort(false)
        .publicNetworkAccess("string")
        .redisConfiguration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .replicasPerMaster(0)
        .minimumTlsVersion("string")
        .shardCount(0)
        .location("string")
        .staticIP("string")
        .subnetId("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tenantSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .zones("string")
        .build());
    
    redis_resource = azure_native.cache.Redis("redisResource",
        resource_group_name=string,
        sku={
            capacity: 0,
            family: string,
            name: string,
        },
        name=string,
        enable_non_ssl_port=False,
        public_network_access=string,
        redis_configuration={
            aofStorageConnectionString0: string,
            aofStorageConnectionString1: string,
            maxfragmentationmemoryReserved: string,
            maxmemoryDelta: string,
            maxmemoryPolicy: string,
            maxmemoryReserved: string,
            rdbBackupEnabled: string,
            rdbBackupFrequency: string,
            rdbBackupMaxSnapshotCount: string,
            rdbStorageConnectionString: string,
        },
        replicas_per_master=0,
        minimum_tls_version=string,
        shard_count=0,
        location=string,
        static_ip=string,
        subnet_id=string,
        tags={
            string: string,
        },
        tenant_settings={
            string: string,
        },
        zones=[string])
    
    const redisResource = new azure_native.cache.Redis("redisResource", {
        resourceGroupName: "string",
        sku: {
            capacity: 0,
            family: "string",
            name: "string",
        },
        name: "string",
        enableNonSslPort: false,
        publicNetworkAccess: "string",
        redisConfiguration: {
            aofStorageConnectionString0: "string",
            aofStorageConnectionString1: "string",
            maxfragmentationmemoryReserved: "string",
            maxmemoryDelta: "string",
            maxmemoryPolicy: "string",
            maxmemoryReserved: "string",
            rdbBackupEnabled: "string",
            rdbBackupFrequency: "string",
            rdbBackupMaxSnapshotCount: "string",
            rdbStorageConnectionString: "string",
        },
        replicasPerMaster: 0,
        minimumTlsVersion: "string",
        shardCount: 0,
        location: "string",
        staticIP: "string",
        subnetId: "string",
        tags: {
            string: "string",
        },
        tenantSettings: {
            string: "string",
        },
        zones: ["string"],
    });
    
    type: azure-native:cache:Redis
    properties:
        enableNonSslPort: false
        location: string
        minimumTlsVersion: string
        name: string
        publicNetworkAccess: string
        redisConfiguration:
            aofStorageConnectionString0: string
            aofStorageConnectionString1: string
            maxfragmentationmemoryReserved: string
            maxmemoryDelta: string
            maxmemoryPolicy: string
            maxmemoryReserved: string
            rdbBackupEnabled: string
            rdbBackupFrequency: string
            rdbBackupMaxSnapshotCount: string
            rdbStorageConnectionString: string
        replicasPerMaster: 0
        resourceGroupName: string
        shardCount: 0
        sku:
            capacity: 0
            family: string
            name: string
        staticIP: string
        subnetId: string
        tags:
            string: string
        tenantSettings:
            string: string
        zones:
            - string
    

    Redis 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 Redis resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group.
    Sku Pulumi.AzureNative.Cache.Inputs.Sku
    The SKU of the Redis cache to deploy.
    EnableNonSslPort bool
    Specifies whether the non-ssl Redis server port (6379) is enabled.
    Location string
    The geo-location where the resource lives
    MinimumTlsVersion string | Pulumi.AzureNative.Cache.TlsVersion
    Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
    Name string
    The name of the Redis cache.
    PublicNetworkAccess string | Pulumi.AzureNative.Cache.PublicNetworkAccess
    Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
    RedisConfiguration Pulumi.AzureNative.Cache.Inputs.RedisCommonPropertiesRedisConfiguration
    All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
    ReplicasPerMaster int
    The number of replicas to be created per master.
    ShardCount int
    The number of shards to be created on a Premium Cluster Cache.
    StaticIP string
    Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
    SubnetId string
    The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
    Tags Dictionary<string, string>
    Resource tags.
    TenantSettings Dictionary<string, string>
    A dictionary of tenant settings
    Zones List<string>
    A list of availability zones denoting where the resource needs to come from.
    ResourceGroupName string
    The name of the resource group.
    Sku SkuArgs
    The SKU of the Redis cache to deploy.
    EnableNonSslPort bool
    Specifies whether the non-ssl Redis server port (6379) is enabled.
    Location string
    The geo-location where the resource lives
    MinimumTlsVersion string | TlsVersion
    Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
    Name string
    The name of the Redis cache.
    PublicNetworkAccess string | PublicNetworkAccess
    Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
    RedisConfiguration RedisCommonPropertiesRedisConfigurationArgs
    All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
    ReplicasPerMaster int
    The number of replicas to be created per master.
    ShardCount int
    The number of shards to be created on a Premium Cluster Cache.
    StaticIP string
    Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
    SubnetId string
    The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
    Tags map[string]string
    Resource tags.
    TenantSettings map[string]string
    A dictionary of tenant settings
    Zones []string
    A list of availability zones denoting where the resource needs to come from.
    resourceGroupName String
    The name of the resource group.
    sku Sku
    The SKU of the Redis cache to deploy.
    enableNonSslPort Boolean
    Specifies whether the non-ssl Redis server port (6379) is enabled.
    location String
    The geo-location where the resource lives
    minimumTlsVersion String | TlsVersion
    Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
    name String
    The name of the Redis cache.
    publicNetworkAccess String | PublicNetworkAccess
    Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
    redisConfiguration RedisCommonPropertiesRedisConfiguration
    All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
    replicasPerMaster Integer
    The number of replicas to be created per master.
    shardCount Integer
    The number of shards to be created on a Premium Cluster Cache.
    staticIP String
    Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
    subnetId String
    The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
    tags Map<String,String>
    Resource tags.
    tenantSettings Map<String,String>
    A dictionary of tenant settings
    zones List<String>
    A list of availability zones denoting where the resource needs to come from.
    resourceGroupName string
    The name of the resource group.
    sku Sku
    The SKU of the Redis cache to deploy.
    enableNonSslPort boolean
    Specifies whether the non-ssl Redis server port (6379) is enabled.
    location string
    The geo-location where the resource lives
    minimumTlsVersion string | TlsVersion
    Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
    name string
    The name of the Redis cache.
    publicNetworkAccess string | PublicNetworkAccess
    Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
    redisConfiguration RedisCommonPropertiesRedisConfiguration
    All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
    replicasPerMaster number
    The number of replicas to be created per master.
    shardCount number
    The number of shards to be created on a Premium Cluster Cache.
    staticIP string
    Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
    subnetId string
    The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
    tags {[key: string]: string}
    Resource tags.
    tenantSettings {[key: string]: string}
    A dictionary of tenant settings
    zones string[]
    A list of availability zones denoting where the resource needs to come from.
    resource_group_name str
    The name of the resource group.
    sku SkuArgs
    The SKU of the Redis cache to deploy.
    enable_non_ssl_port bool
    Specifies whether the non-ssl Redis server port (6379) is enabled.
    location str
    The geo-location where the resource lives
    minimum_tls_version str | TlsVersion
    Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
    name str
    The name of the Redis cache.
    public_network_access str | PublicNetworkAccess
    Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
    redis_configuration RedisCommonPropertiesRedisConfigurationArgs
    All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
    replicas_per_master int
    The number of replicas to be created per master.
    shard_count int
    The number of shards to be created on a Premium Cluster Cache.
    static_ip str
    Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
    subnet_id str
    The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
    tags Mapping[str, str]
    Resource tags.
    tenant_settings Mapping[str, str]
    A dictionary of tenant settings
    zones Sequence[str]
    A list of availability zones denoting where the resource needs to come from.
    resourceGroupName String
    The name of the resource group.
    sku Property Map
    The SKU of the Redis cache to deploy.
    enableNonSslPort Boolean
    Specifies whether the non-ssl Redis server port (6379) is enabled.
    location String
    The geo-location where the resource lives
    minimumTlsVersion String | "1.0" | "1.1" | "1.2"
    Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
    name String
    The name of the Redis cache.
    publicNetworkAccess String | "Enabled" | "Disabled"
    Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'
    redisConfiguration Property Map
    All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc.
    replicasPerMaster Number
    The number of replicas to be created per master.
    shardCount Number
    The number of shards to be created on a Premium Cluster Cache.
    staticIP String
    Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.
    subnetId String
    The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1
    tags Map<String>
    Resource tags.
    tenantSettings Map<String>
    A dictionary of tenant settings
    zones List<String>
    A list of availability zones denoting where the resource needs to come from.

    Outputs

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

    AccessKeys Pulumi.AzureNative.Cache.Outputs.RedisAccessKeysResponse
    The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
    HostName string
    Redis host name.
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances List<Pulumi.AzureNative.Cache.Outputs.RedisInstanceDetailsResponse>
    List of the Redis instances associated with the cache
    LinkedServers List<Pulumi.AzureNative.Cache.Outputs.RedisLinkedServerResponse>
    List of the linked servers associated with the cache
    Port int
    Redis non-SSL port.
    PrivateEndpointConnections List<Pulumi.AzureNative.Cache.Outputs.PrivateEndpointConnectionResponse>
    List of private endpoint connection associated with the specified redis cache
    ProvisioningState string
    Redis instance provisioning status.
    RedisVersion string
    Redis version.
    SslPort int
    Redis SSL port.
    Type string
    Resource type.
    AccessKeys RedisAccessKeysResponse
    The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
    HostName string
    Redis host name.
    Id string
    The provider-assigned unique ID for this managed resource.
    Instances []RedisInstanceDetailsResponse
    List of the Redis instances associated with the cache
    LinkedServers []RedisLinkedServerResponse
    List of the linked servers associated with the cache
    Port int
    Redis non-SSL port.
    PrivateEndpointConnections []PrivateEndpointConnectionResponse
    List of private endpoint connection associated with the specified redis cache
    ProvisioningState string
    Redis instance provisioning status.
    RedisVersion string
    Redis version.
    SslPort int
    Redis SSL port.
    Type string
    Resource type.
    accessKeys RedisAccessKeysResponse
    The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
    hostName String
    Redis host name.
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<RedisInstanceDetailsResponse>
    List of the Redis instances associated with the cache
    linkedServers List<RedisLinkedServerResponse>
    List of the linked servers associated with the cache
    port Integer
    Redis non-SSL port.
    privateEndpointConnections List<PrivateEndpointConnectionResponse>
    List of private endpoint connection associated with the specified redis cache
    provisioningState String
    Redis instance provisioning status.
    redisVersion String
    Redis version.
    sslPort Integer
    Redis SSL port.
    type String
    Resource type.
    accessKeys RedisAccessKeysResponse
    The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
    hostName string
    Redis host name.
    id string
    The provider-assigned unique ID for this managed resource.
    instances RedisInstanceDetailsResponse[]
    List of the Redis instances associated with the cache
    linkedServers RedisLinkedServerResponse[]
    List of the linked servers associated with the cache
    port number
    Redis non-SSL port.
    privateEndpointConnections PrivateEndpointConnectionResponse[]
    List of private endpoint connection associated with the specified redis cache
    provisioningState string
    Redis instance provisioning status.
    redisVersion string
    Redis version.
    sslPort number
    Redis SSL port.
    type string
    Resource type.
    access_keys RedisAccessKeysResponse
    The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
    host_name str
    Redis host name.
    id str
    The provider-assigned unique ID for this managed resource.
    instances Sequence[RedisInstanceDetailsResponse]
    List of the Redis instances associated with the cache
    linked_servers Sequence[RedisLinkedServerResponse]
    List of the linked servers associated with the cache
    port int
    Redis non-SSL port.
    private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
    List of private endpoint connection associated with the specified redis cache
    provisioning_state str
    Redis instance provisioning status.
    redis_version str
    Redis version.
    ssl_port int
    Redis SSL port.
    type str
    Resource type.
    accessKeys Property Map
    The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache
    hostName String
    Redis host name.
    id String
    The provider-assigned unique ID for this managed resource.
    instances List<Property Map>
    List of the Redis instances associated with the cache
    linkedServers List<Property Map>
    List of the linked servers associated with the cache
    port Number
    Redis non-SSL port.
    privateEndpointConnections List<Property Map>
    List of private endpoint connection associated with the specified redis cache
    provisioningState String
    Redis instance provisioning status.
    redisVersion String
    Redis version.
    sslPort Number
    Redis SSL port.
    type String
    Resource type.

    Supporting Types

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    PrivateLinkServiceConnectionState Pulumi.AzureNative.Cache.Inputs.PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    ProvisioningState string
    The provisioning state of the private endpoint connection resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    PrivateEndpoint Pulumi.AzureNative.Cache.Inputs.PrivateEndpointResponse
    The resource of private end point.
    Id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    ProvisioningState string
    The provisioning state of the private endpoint connection resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    PrivateEndpoint PrivateEndpointResponse
    The resource of private end point.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    provisioningState String
    The provisioning state of the private endpoint connection resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    privateEndpoint PrivateEndpointResponse
    The resource of private end point.
    id string
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name string
    The name of the resource
    privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    provisioningState string
    The provisioning state of the private endpoint connection resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    privateEndpoint PrivateEndpointResponse
    The resource of private end point.
    id str
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name str
    The name of the resource
    private_link_service_connection_state PrivateLinkServiceConnectionStateResponse
    A collection of information about the state of the connection between service consumer and provider.
    provisioning_state str
    The provisioning state of the private endpoint connection resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    private_endpoint PrivateEndpointResponse
    The resource of private end point.
    id String
    Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    privateLinkServiceConnectionState Property Map
    A collection of information about the state of the connection between service consumer and provider.
    provisioningState String
    The provisioning state of the private endpoint connection resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    privateEndpoint Property Map
    The resource of private end point.

    PrivateEndpointResponse, PrivateEndpointResponseArgs

    Id string
    The ARM identifier for Private Endpoint
    Id string
    The ARM identifier for Private Endpoint
    id String
    The ARM identifier for Private Endpoint
    id string
    The ARM identifier for Private Endpoint
    id str
    The ARM identifier for Private Endpoint
    id String
    The ARM identifier for Private Endpoint

    PrivateLinkServiceConnectionStateResponse, PrivateLinkServiceConnectionStateResponseArgs

    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval/rejection of the connection.
    Status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    ActionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    Description string
    The reason for approval/rejection of the connection.
    Status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval/rejection of the connection.
    status String
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actionsRequired string
    A message indicating if changes on the service provider require any updates on the consumer.
    description string
    The reason for approval/rejection of the connection.
    status string
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actions_required str
    A message indicating if changes on the service provider require any updates on the consumer.
    description str
    The reason for approval/rejection of the connection.
    status str
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
    actionsRequired String
    A message indicating if changes on the service provider require any updates on the consumer.
    description String
    The reason for approval/rejection of the connection.
    status String
    Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.

    PublicNetworkAccess, PublicNetworkAccessArgs

    Enabled
    Enabled
    Disabled
    Disabled
    PublicNetworkAccessEnabled
    Enabled
    PublicNetworkAccessDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    RedisAccessKeysResponse, RedisAccessKeysResponseArgs

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

    RedisCommonPropertiesRedisConfiguration, RedisCommonPropertiesRedisConfigurationArgs

    AofStorageConnectionString0 string
    First storage account connection string
    AofStorageConnectionString1 string
    Second storage account connection string
    MaxfragmentationmemoryReserved string
    Value in megabytes reserved for fragmentation per shard
    MaxmemoryDelta string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    MaxmemoryPolicy string
    The eviction strategy used when your data won't fit within its memory limit.
    MaxmemoryReserved string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    RdbBackupEnabled string
    Specifies whether the rdb backup is enabled
    RdbBackupFrequency string
    Specifies the frequency for creating rdb backup
    RdbBackupMaxSnapshotCount string
    Specifies the maximum number of snapshots for rdb backup
    RdbStorageConnectionString string
    The storage account connection string for storing rdb file
    AofStorageConnectionString0 string
    First storage account connection string
    AofStorageConnectionString1 string
    Second storage account connection string
    MaxfragmentationmemoryReserved string
    Value in megabytes reserved for fragmentation per shard
    MaxmemoryDelta string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    MaxmemoryPolicy string
    The eviction strategy used when your data won't fit within its memory limit.
    MaxmemoryReserved string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    RdbBackupEnabled string
    Specifies whether the rdb backup is enabled
    RdbBackupFrequency string
    Specifies the frequency for creating rdb backup
    RdbBackupMaxSnapshotCount string
    Specifies the maximum number of snapshots for rdb backup
    RdbStorageConnectionString string
    The storage account connection string for storing rdb file
    aofStorageConnectionString0 String
    First storage account connection string
    aofStorageConnectionString1 String
    Second storage account connection string
    maxfragmentationmemoryReserved String
    Value in megabytes reserved for fragmentation per shard
    maxmemoryDelta String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemoryPolicy String
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemoryReserved String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdbBackupEnabled String
    Specifies whether the rdb backup is enabled
    rdbBackupFrequency String
    Specifies the frequency for creating rdb backup
    rdbBackupMaxSnapshotCount String
    Specifies the maximum number of snapshots for rdb backup
    rdbStorageConnectionString String
    The storage account connection string for storing rdb file
    aofStorageConnectionString0 string
    First storage account connection string
    aofStorageConnectionString1 string
    Second storage account connection string
    maxfragmentationmemoryReserved string
    Value in megabytes reserved for fragmentation per shard
    maxmemoryDelta string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemoryPolicy string
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemoryReserved string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdbBackupEnabled string
    Specifies whether the rdb backup is enabled
    rdbBackupFrequency string
    Specifies the frequency for creating rdb backup
    rdbBackupMaxSnapshotCount string
    Specifies the maximum number of snapshots for rdb backup
    rdbStorageConnectionString string
    The storage account connection string for storing rdb file
    aof_storage_connection_string0 str
    First storage account connection string
    aof_storage_connection_string1 str
    Second storage account connection string
    maxfragmentationmemory_reserved str
    Value in megabytes reserved for fragmentation per shard
    maxmemory_delta str
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemory_policy str
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemory_reserved str
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdb_backup_enabled str
    Specifies whether the rdb backup is enabled
    rdb_backup_frequency str
    Specifies the frequency for creating rdb backup
    rdb_backup_max_snapshot_count str
    Specifies the maximum number of snapshots for rdb backup
    rdb_storage_connection_string str
    The storage account connection string for storing rdb file
    aofStorageConnectionString0 String
    First storage account connection string
    aofStorageConnectionString1 String
    Second storage account connection string
    maxfragmentationmemoryReserved String
    Value in megabytes reserved for fragmentation per shard
    maxmemoryDelta String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemoryPolicy String
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemoryReserved String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdbBackupEnabled String
    Specifies whether the rdb backup is enabled
    rdbBackupFrequency String
    Specifies the frequency for creating rdb backup
    rdbBackupMaxSnapshotCount String
    Specifies the maximum number of snapshots for rdb backup
    rdbStorageConnectionString String
    The storage account connection string for storing rdb file

    RedisCommonPropertiesResponseRedisConfiguration, RedisCommonPropertiesResponseRedisConfigurationArgs

    Maxclients string
    The max clients config
    AofStorageConnectionString0 string
    First storage account connection string
    AofStorageConnectionString1 string
    Second storage account connection string
    MaxfragmentationmemoryReserved string
    Value in megabytes reserved for fragmentation per shard
    MaxmemoryDelta string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    MaxmemoryPolicy string
    The eviction strategy used when your data won't fit within its memory limit.
    MaxmemoryReserved string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    RdbBackupEnabled string
    Specifies whether the rdb backup is enabled
    RdbBackupFrequency string
    Specifies the frequency for creating rdb backup
    RdbBackupMaxSnapshotCount string
    Specifies the maximum number of snapshots for rdb backup
    RdbStorageConnectionString string
    The storage account connection string for storing rdb file
    Maxclients string
    The max clients config
    AofStorageConnectionString0 string
    First storage account connection string
    AofStorageConnectionString1 string
    Second storage account connection string
    MaxfragmentationmemoryReserved string
    Value in megabytes reserved for fragmentation per shard
    MaxmemoryDelta string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    MaxmemoryPolicy string
    The eviction strategy used when your data won't fit within its memory limit.
    MaxmemoryReserved string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    RdbBackupEnabled string
    Specifies whether the rdb backup is enabled
    RdbBackupFrequency string
    Specifies the frequency for creating rdb backup
    RdbBackupMaxSnapshotCount string
    Specifies the maximum number of snapshots for rdb backup
    RdbStorageConnectionString string
    The storage account connection string for storing rdb file
    maxclients String
    The max clients config
    aofStorageConnectionString0 String
    First storage account connection string
    aofStorageConnectionString1 String
    Second storage account connection string
    maxfragmentationmemoryReserved String
    Value in megabytes reserved for fragmentation per shard
    maxmemoryDelta String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemoryPolicy String
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemoryReserved String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdbBackupEnabled String
    Specifies whether the rdb backup is enabled
    rdbBackupFrequency String
    Specifies the frequency for creating rdb backup
    rdbBackupMaxSnapshotCount String
    Specifies the maximum number of snapshots for rdb backup
    rdbStorageConnectionString String
    The storage account connection string for storing rdb file
    maxclients string
    The max clients config
    aofStorageConnectionString0 string
    First storage account connection string
    aofStorageConnectionString1 string
    Second storage account connection string
    maxfragmentationmemoryReserved string
    Value in megabytes reserved for fragmentation per shard
    maxmemoryDelta string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemoryPolicy string
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemoryReserved string
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdbBackupEnabled string
    Specifies whether the rdb backup is enabled
    rdbBackupFrequency string
    Specifies the frequency for creating rdb backup
    rdbBackupMaxSnapshotCount string
    Specifies the maximum number of snapshots for rdb backup
    rdbStorageConnectionString string
    The storage account connection string for storing rdb file
    maxclients str
    The max clients config
    aof_storage_connection_string0 str
    First storage account connection string
    aof_storage_connection_string1 str
    Second storage account connection string
    maxfragmentationmemory_reserved str
    Value in megabytes reserved for fragmentation per shard
    maxmemory_delta str
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemory_policy str
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemory_reserved str
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdb_backup_enabled str
    Specifies whether the rdb backup is enabled
    rdb_backup_frequency str
    Specifies the frequency for creating rdb backup
    rdb_backup_max_snapshot_count str
    Specifies the maximum number of snapshots for rdb backup
    rdb_storage_connection_string str
    The storage account connection string for storing rdb file
    maxclients String
    The max clients config
    aofStorageConnectionString0 String
    First storage account connection string
    aofStorageConnectionString1 String
    Second storage account connection string
    maxfragmentationmemoryReserved String
    Value in megabytes reserved for fragmentation per shard
    maxmemoryDelta String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    maxmemoryPolicy String
    The eviction strategy used when your data won't fit within its memory limit.
    maxmemoryReserved String
    Value in megabytes reserved for non-cache usage per shard e.g. failover.
    rdbBackupEnabled String
    Specifies whether the rdb backup is enabled
    rdbBackupFrequency String
    Specifies the frequency for creating rdb backup
    rdbBackupMaxSnapshotCount String
    Specifies the maximum number of snapshots for rdb backup
    rdbStorageConnectionString String
    The storage account connection string for storing rdb file

    RedisInstanceDetailsResponse, RedisInstanceDetailsResponseArgs

    IsMaster bool
    Specifies whether the instance is a master node.
    NonSslPort int
    If enableNonSslPort is true, provides Redis instance Non-SSL port.
    ShardId int
    If clustering is enabled, the Shard ID of Redis Instance
    SslPort int
    Redis instance SSL port.
    Zone string
    If the Cache uses availability zones, specifies availability zone where this instance is located.
    IsMaster bool
    Specifies whether the instance is a master node.
    NonSslPort int
    If enableNonSslPort is true, provides Redis instance Non-SSL port.
    ShardId int
    If clustering is enabled, the Shard ID of Redis Instance
    SslPort int
    Redis instance SSL port.
    Zone string
    If the Cache uses availability zones, specifies availability zone where this instance is located.
    isMaster Boolean
    Specifies whether the instance is a master node.
    nonSslPort Integer
    If enableNonSslPort is true, provides Redis instance Non-SSL port.
    shardId Integer
    If clustering is enabled, the Shard ID of Redis Instance
    sslPort Integer
    Redis instance SSL port.
    zone String
    If the Cache uses availability zones, specifies availability zone where this instance is located.
    isMaster boolean
    Specifies whether the instance is a master node.
    nonSslPort number
    If enableNonSslPort is true, provides Redis instance Non-SSL port.
    shardId number
    If clustering is enabled, the Shard ID of Redis Instance
    sslPort number
    Redis instance SSL port.
    zone string
    If the Cache uses availability zones, specifies availability zone where this instance is located.
    is_master bool
    Specifies whether the instance is a master node.
    non_ssl_port int
    If enableNonSslPort is true, provides Redis instance Non-SSL port.
    shard_id int
    If clustering is enabled, the Shard ID of Redis Instance
    ssl_port int
    Redis instance SSL port.
    zone str
    If the Cache uses availability zones, specifies availability zone where this instance is located.
    isMaster Boolean
    Specifies whether the instance is a master node.
    nonSslPort Number
    If enableNonSslPort is true, provides Redis instance Non-SSL port.
    shardId Number
    If clustering is enabled, the Shard ID of Redis Instance
    sslPort Number
    Redis instance SSL port.
    zone String
    If the Cache uses availability zones, specifies availability zone where this instance is located.

    RedisLinkedServerResponse, RedisLinkedServerResponseArgs

    Id string
    Linked server Id.
    Id string
    Linked server Id.
    id String
    Linked server Id.
    id string
    Linked server Id.
    id str
    Linked server Id.
    id String
    Linked server Id.

    Sku, SkuArgs

    Capacity int
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    Family string | Pulumi.AzureNative.Cache.SkuFamily
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    Name string | Pulumi.AzureNative.Cache.SkuName
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    Capacity int
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    Family string | SkuFamily
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    Name string | SkuName
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity Integer
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family String | SkuFamily
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name String | SkuName
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity number
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family string | SkuFamily
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name string | SkuName
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity int
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family str | SkuFamily
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name str | SkuName
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity Number
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family String | "C" | "P"
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name String | "Enterprise_E10" | "Enterprise_E20" | "Enterprise_E50" | "Enterprise_E100" | "EnterpriseFlash_F300" | "EnterpriseFlash_F700" | "EnterpriseFlash_F1500"
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)

    SkuFamily, SkuFamilyArgs

    C
    C
    P
    P
    SkuFamilyC
    C
    SkuFamilyP
    P
    C
    C
    P
    P
    C
    C
    P
    P
    C
    C
    P
    P
    "C"
    C
    "P"
    P

    SkuName, SkuNameArgs

    Enterprise_E10
    Enterprise_E10
    Enterprise_E20
    Enterprise_E20
    Enterprise_E50
    Enterprise_E50
    Enterprise_E100
    Enterprise_E100
    EnterpriseFlash_F300
    EnterpriseFlash_F300
    EnterpriseFlash_F700
    EnterpriseFlash_F700
    EnterpriseFlash_F1500
    EnterpriseFlash_F1500
    SkuName_Enterprise_E10
    Enterprise_E10
    SkuName_Enterprise_E20
    Enterprise_E20
    SkuName_Enterprise_E50
    Enterprise_E50
    SkuName_Enterprise_E100
    Enterprise_E100
    SkuName_EnterpriseFlash_F300
    EnterpriseFlash_F300
    SkuName_EnterpriseFlash_F700
    EnterpriseFlash_F700
    SkuName_EnterpriseFlash_F1500
    EnterpriseFlash_F1500
    Enterprise_E10
    Enterprise_E10
    Enterprise_E20
    Enterprise_E20
    Enterprise_E50
    Enterprise_E50
    Enterprise_E100
    Enterprise_E100
    EnterpriseFlash_F300
    EnterpriseFlash_F300
    EnterpriseFlash_F700
    EnterpriseFlash_F700
    EnterpriseFlash_F1500
    EnterpriseFlash_F1500
    Enterprise_E10
    Enterprise_E10
    Enterprise_E20
    Enterprise_E20
    Enterprise_E50
    Enterprise_E50
    Enterprise_E100
    Enterprise_E100
    EnterpriseFlash_F300
    EnterpriseFlash_F300
    EnterpriseFlash_F700
    EnterpriseFlash_F700
    EnterpriseFlash_F1500
    EnterpriseFlash_F1500
    ENTERPRISE_E10
    Enterprise_E10
    ENTERPRISE_E20
    Enterprise_E20
    ENTERPRISE_E50
    Enterprise_E50
    ENTERPRISE_E100
    Enterprise_E100
    ENTERPRISE_FLASH_F300
    EnterpriseFlash_F300
    ENTERPRISE_FLASH_F700
    EnterpriseFlash_F700
    ENTERPRISE_FLASH_F1500
    EnterpriseFlash_F1500
    "Enterprise_E10"
    Enterprise_E10
    "Enterprise_E20"
    Enterprise_E20
    "Enterprise_E50"
    Enterprise_E50
    "Enterprise_E100"
    Enterprise_E100
    "EnterpriseFlash_F300"
    EnterpriseFlash_F300
    "EnterpriseFlash_F700"
    EnterpriseFlash_F700
    "EnterpriseFlash_F1500"
    EnterpriseFlash_F1500

    SkuResponse, SkuResponseArgs

    Capacity int
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    Family string
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    Name string
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    Capacity int
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    Family string
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    Name string
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity Integer
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family String
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name String
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity number
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family string
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name string
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity int
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family str
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name str
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
    capacity Number
    The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
    family String
    The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
    name String
    The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)

    TlsVersion, TlsVersionArgs

    TlsVersion_1_0
    1.0
    TlsVersion_1_1
    1.1
    TlsVersion_1_2
    1.2
    TlsVersion_1_0
    1.0
    TlsVersion_1_1
    1.1
    TlsVersion_1_2
    1.2
    _1_0
    1.0
    _1_1
    1.1
    _1_2
    1.2
    TlsVersion_1_0
    1.0
    TlsVersion_1_1
    1.1
    TlsVersion_1_2
    1.2
    TLS_VERSION_1_0
    1.0
    TLS_VERSION_1_1
    1.1
    TLS_VERSION_1_2
    1.2
    "1.0"
    1.0
    "1.1"
    1.1
    "1.2"
    1.2

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:cache:Redis cache1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1 
    

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

    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