Cache

Manages a Redis Cache.

Default Redis Configuration Values

Redis ValueBasicStandardPremium
enable_authenticationtruetruetrue
maxmemory_reserved250200
maxfragmentationmemory_reserved250200
maxmemory_delta250200
maxmemory_policyvolatile-lruvolatile-lruvolatile-lru

NOTE: The maxmemory_reserved, maxmemory_delta and maxfragmentationmemory-reserved settings are only available for Standard and Premium caches. More details are available in the Relevant Links section below._


A patch_schedule block supports the following:

  • day_of_week (Required) the Weekday name - possible values include Monday, Tuesday, Wednesday etc.

  • start_hour_utc - (Optional) the Start Hour for maintenance in UTC - possible values range from 0 - 23.

Note: The Patch Window lasts for 5 hours from the start_hour_utc.

Create a Cache Resource

new Cache(name: string, args: CacheArgs, opts?: CustomResourceOptions);
def Cache(resource_name, opts=None, capacity=None, enable_non_ssl_port=None, family=None, location=None, minimum_tls_version=None, name=None, patch_schedules=None, private_static_ip_address=None, redis_configuration=None, resource_group_name=None, shard_count=None, sku_name=None, subnet_id=None, tags=None, zones=None, __props__=None);
func NewCache(ctx *Context, name string, args CacheArgs, opts ...ResourceOption) (*Cache, error)
public Cache(string name, CacheArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args CacheArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CacheArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CacheArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Cache Resource Properties

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

Inputs

The Cache resource accepts the following input properties:

Capacity int

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

Family string

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

ResourceGroupName string

The name of the resource group in which to create the Redis instance.

SkuName string

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

EnableNonSslPort bool

Enable the non-SSL port (6379) - disabled by default.

Location string

The location of the resource group.

MinimumTlsVersion string

The minimum TLS version. Defaults to 1.0.

Name string

The name of the Redis instance. Changing this forces a new resource to be created.

PatchSchedules List<CachePatchScheduleArgs>

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

PrivateStaticIpAddress string

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

RedisConfiguration CacheRedisConfigurationArgs

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

ShardCount int

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

SubnetId string

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Zones string

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

Capacity int

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

Family string

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

ResourceGroupName string

The name of the resource group in which to create the Redis instance.

SkuName string

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

EnableNonSslPort bool

Enable the non-SSL port (6379) - disabled by default.

Location string

The location of the resource group.

MinimumTlsVersion string

The minimum TLS version. Defaults to 1.0.

Name string

The name of the Redis instance. Changing this forces a new resource to be created.

PatchSchedules []CachePatchSchedule

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

PrivateStaticIpAddress string

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

RedisConfiguration CacheRedisConfiguration

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

ShardCount int

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

SubnetId string

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

Zones string

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

capacity number

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

family string

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

resourceGroupName string

The name of the resource group in which to create the Redis instance.

skuName string

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

enableNonSslPort boolean

Enable the non-SSL port (6379) - disabled by default.

location string

The location of the resource group.

minimumTlsVersion string

The minimum TLS version. Defaults to 1.0.

name string

The name of the Redis instance. Changing this forces a new resource to be created.

patchSchedules CachePatchSchedule[]

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

privateStaticIpAddress string

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

redisConfiguration CacheRedisConfiguration

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

shardCount number

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

subnetId string

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zones string

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

capacity float

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

family str

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

resource_group_name str

The name of the resource group in which to create the Redis instance.

sku_name str

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

enable_non_ssl_port bool

Enable the non-SSL port (6379) - disabled by default.

location str

The location of the resource group.

minimum_tls_version str

The minimum TLS version. Defaults to 1.0.

name str

The name of the Redis instance. Changing this forces a new resource to be created.

patch_schedules List[CachePatchSchedule]

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

private_static_ip_address str

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

redis_configuration Dict[CacheRedisConfiguration]

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

shard_count float

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

subnet_id str

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

zones str

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

Outputs

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

Hostname string

The Hostname of the Redis Instance

Id string
The provider-assigned unique ID for this managed resource.
Port int

The non-SSL Port of the Redis Instance

PrimaryAccessKey string

The Primary Access Key for the Redis Instance

PrimaryConnectionString string

The primary connection string of the Redis Instance.

SecondaryAccessKey string

The Secondary Access Key for the Redis Instance

SecondaryConnectionString string

The secondary connection string of the Redis Instance.

SslPort int

The SSL Port of the Redis Instance

Hostname string

The Hostname of the Redis Instance

Id string
The provider-assigned unique ID for this managed resource.
Port int

The non-SSL Port of the Redis Instance

PrimaryAccessKey string

The Primary Access Key for the Redis Instance

PrimaryConnectionString string

The primary connection string of the Redis Instance.

SecondaryAccessKey string

The Secondary Access Key for the Redis Instance

SecondaryConnectionString string

The secondary connection string of the Redis Instance.

SslPort int

The SSL Port of the Redis Instance

hostname string

The Hostname of the Redis Instance

id string
The provider-assigned unique ID for this managed resource.
port number

The non-SSL Port of the Redis Instance

primaryAccessKey string

The Primary Access Key for the Redis Instance

primaryConnectionString string

The primary connection string of the Redis Instance.

secondaryAccessKey string

The Secondary Access Key for the Redis Instance

secondaryConnectionString string

The secondary connection string of the Redis Instance.

sslPort number

The SSL Port of the Redis Instance

hostname str

The Hostname of the Redis Instance

id str
The provider-assigned unique ID for this managed resource.
port float

The non-SSL Port of the Redis Instance

primary_access_key str

The Primary Access Key for the Redis Instance

primary_connection_string str

The primary connection string of the Redis Instance.

secondary_access_key str

The Secondary Access Key for the Redis Instance

secondary_connection_string str

The secondary connection string of the Redis Instance.

ssl_port float

The SSL Port of the Redis Instance

Look up an Existing Cache Resource

Get an existing Cache 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?: CacheState, opts?: CustomResourceOptions): Cache
static get(resource_name, id, opts=None, capacity=None, enable_non_ssl_port=None, family=None, hostname=None, location=None, minimum_tls_version=None, name=None, patch_schedules=None, port=None, primary_access_key=None, primary_connection_string=None, private_static_ip_address=None, redis_configuration=None, resource_group_name=None, secondary_access_key=None, secondary_connection_string=None, shard_count=None, sku_name=None, ssl_port=None, subnet_id=None, tags=None, zones=None, __props__=None);
func GetCache(ctx *Context, name string, id IDInput, state *CacheState, opts ...ResourceOption) (*Cache, error)
public static Cache Get(string name, Input<string> id, CacheState? state, CustomResourceOptions? opts = null)
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.

The following state arguments are supported:

Capacity int

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

EnableNonSslPort bool

Enable the non-SSL port (6379) - disabled by default.

Family string

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

Hostname string

The Hostname of the Redis Instance

Location string

The location of the resource group.

MinimumTlsVersion string

The minimum TLS version. Defaults to 1.0.

Name string

The name of the Redis instance. Changing this forces a new resource to be created.

PatchSchedules List<CachePatchScheduleArgs>

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

Port int

The non-SSL Port of the Redis Instance

PrimaryAccessKey string

The Primary Access Key for the Redis Instance

PrimaryConnectionString string

The primary connection string of the Redis Instance.

PrivateStaticIpAddress string

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

RedisConfiguration CacheRedisConfigurationArgs

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

ResourceGroupName string

The name of the resource group in which to create the Redis instance.

SecondaryAccessKey string

The Secondary Access Key for the Redis Instance

SecondaryConnectionString string

The secondary connection string of the Redis Instance.

ShardCount int

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

SkuName string

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

SslPort int

The SSL Port of the Redis Instance

SubnetId string

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

Tags Dictionary<string, string>

A mapping of tags to assign to the resource.

Zones string

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

Capacity int

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

EnableNonSslPort bool

Enable the non-SSL port (6379) - disabled by default.

Family string

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

Hostname string

The Hostname of the Redis Instance

Location string

The location of the resource group.

MinimumTlsVersion string

The minimum TLS version. Defaults to 1.0.

Name string

The name of the Redis instance. Changing this forces a new resource to be created.

PatchSchedules []CachePatchSchedule

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

Port int

The non-SSL Port of the Redis Instance

PrimaryAccessKey string

The Primary Access Key for the Redis Instance

PrimaryConnectionString string

The primary connection string of the Redis Instance.

PrivateStaticIpAddress string

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

RedisConfiguration CacheRedisConfiguration

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

ResourceGroupName string

The name of the resource group in which to create the Redis instance.

SecondaryAccessKey string

The Secondary Access Key for the Redis Instance

SecondaryConnectionString string

The secondary connection string of the Redis Instance.

ShardCount int

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

SkuName string

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

SslPort int

The SSL Port of the Redis Instance

SubnetId string

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

Tags map[string]string

A mapping of tags to assign to the resource.

Zones string

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

capacity number

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

enableNonSslPort boolean

Enable the non-SSL port (6379) - disabled by default.

family string

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

hostname string

The Hostname of the Redis Instance

location string

The location of the resource group.

minimumTlsVersion string

The minimum TLS version. Defaults to 1.0.

name string

The name of the Redis instance. Changing this forces a new resource to be created.

patchSchedules CachePatchSchedule[]

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

port number

The non-SSL Port of the Redis Instance

primaryAccessKey string

The Primary Access Key for the Redis Instance

primaryConnectionString string

The primary connection string of the Redis Instance.

privateStaticIpAddress string

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

redisConfiguration CacheRedisConfiguration

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

resourceGroupName string

The name of the resource group in which to create the Redis instance.

secondaryAccessKey string

The Secondary Access Key for the Redis Instance

secondaryConnectionString string

The secondary connection string of the Redis Instance.

shardCount number

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

skuName string

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

sslPort number

The SSL Port of the Redis Instance

subnetId string

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

tags {[key: string]: string}

A mapping of tags to assign to the resource.

zones string

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

capacity float

The size of the Redis cache to deploy. Valid values for a SKU family of C (Basic/Standard) are 0, 1, 2, 3, 4, 5, 6, and for P (Premium) family are 1, 2, 3, 4.

enable_non_ssl_port bool

Enable the non-SSL port (6379) - disabled by default.

family str

The SKU family/pricing group to use. Valid values are C (for Basic/Standard SKU family) and P (for Premium)

hostname str

The Hostname of the Redis Instance

location str

The location of the resource group.

minimum_tls_version str

The minimum TLS version. Defaults to 1.0.

name str

The name of the Redis instance. Changing this forces a new resource to be created.

patch_schedules List[CachePatchSchedule]

A list of patch_schedule blocks as defined below - only available for Premium SKU’s.

port float

The non-SSL Port of the Redis Instance

primary_access_key str

The Primary Access Key for the Redis Instance

primary_connection_string str

The primary connection string of the Redis Instance.

private_static_ip_address str

The Static IP Address to assign to the Redis Cache when hosted inside the Virtual Network. Changing this forces a new resource to be created.

redis_configuration Dict[CacheRedisConfiguration]

A redis_configuration as defined below - with some limitations by SKU - defaults/details are shown below.

resource_group_name str

The name of the resource group in which to create the Redis instance.

secondary_access_key str

The Secondary Access Key for the Redis Instance

secondary_connection_string str

The secondary connection string of the Redis Instance.

shard_count float

Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.

sku_name str

The SKU of Redis to use. Possible values are Basic, Standard and Premium.

ssl_port float

The SSL Port of the Redis Instance

subnet_id str

Only available when using the Premium SKU The ID of the Subnet within which the Redis Cache should be deployed. This Subnet must only contain Azure Cache for Redis instances without any other type of resources. Changing this forces a new resource to be created.

tags Dict[str, str]

A mapping of tags to assign to the resource.

zones str

A list of a single item of the Availability Zone which the Redis Cache should be allocated in.

Supporting Types

CachePatchSchedule

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

DayOfWeek string
StartHourUtc int
DayOfWeek string
StartHourUtc int
dayOfWeek string
startHourUtc number
dayOfWeek str
startHourUtc float

CacheRedisConfiguration

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

AofBackupEnabled bool
AofStorageConnectionString0 string
AofStorageConnectionString1 string
EnableAuthentication bool

If set to false, the Redis instance will be accessible without authentication. Defaults to true.

Maxclients int

Returns the max number of connected clients at the same time.

MaxfragmentationmemoryReserved int

Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.

MaxmemoryDelta int

The max-memory delta for this Redis instance. Defaults are shown below.

MaxmemoryPolicy string

How Redis will select what to remove when maxmemory is reached. Defaults are shown below.

MaxmemoryReserved int

Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.

NotifyKeyspaceEvents string

Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference

RdbBackupEnabled bool

Is Backup Enabled? Only supported on Premium SKU’s.

RdbBackupFrequency int

The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are: 15, 30, 60, 360, 720 and 1440.

RdbBackupMaxSnapshotCount int

The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.

RdbStorageConnectionString string

The Connection String to the Storage Account. Only supported for Premium SKU’s. In the format: DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}.

AofBackupEnabled bool
AofStorageConnectionString0 string
AofStorageConnectionString1 string
EnableAuthentication bool

If set to false, the Redis instance will be accessible without authentication. Defaults to true.

Maxclients int

Returns the max number of connected clients at the same time.

MaxfragmentationmemoryReserved int

Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.

MaxmemoryDelta int

The max-memory delta for this Redis instance. Defaults are shown below.

MaxmemoryPolicy string

How Redis will select what to remove when maxmemory is reached. Defaults are shown below.

MaxmemoryReserved int

Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.

NotifyKeyspaceEvents string

Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference

RdbBackupEnabled bool

Is Backup Enabled? Only supported on Premium SKU’s.

RdbBackupFrequency int

The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are: 15, 30, 60, 360, 720 and 1440.

RdbBackupMaxSnapshotCount int

The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.

RdbStorageConnectionString string

The Connection String to the Storage Account. Only supported for Premium SKU’s. In the format: DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}.

aofBackupEnabled boolean
aofStorageConnectionString0 string
aofStorageConnectionString1 string
enableAuthentication boolean

If set to false, the Redis instance will be accessible without authentication. Defaults to true.

maxclients number

Returns the max number of connected clients at the same time.

maxfragmentationmemoryReserved number

Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.

maxmemoryDelta number

The max-memory delta for this Redis instance. Defaults are shown below.

maxmemoryPolicy string

How Redis will select what to remove when maxmemory is reached. Defaults are shown below.

maxmemoryReserved number

Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.

notifyKeyspaceEvents string

Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference

rdbBackupEnabled boolean

Is Backup Enabled? Only supported on Premium SKU’s.

rdbBackupFrequency number

The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are: 15, 30, 60, 360, 720 and 1440.

rdbBackupMaxSnapshotCount number

The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.

rdbStorageConnectionString string

The Connection String to the Storage Account. Only supported for Premium SKU’s. In the format: DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}.

aofBackupEnabled bool
aofStorageConnectionString0 str
aofStorageConnectionString1 str
enableAuthentication bool

If set to false, the Redis instance will be accessible without authentication. Defaults to true.

maxclients float

Returns the max number of connected clients at the same time.

maxfragmentationmemoryReserved float

Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.

maxmemoryDelta float

The max-memory delta for this Redis instance. Defaults are shown below.

maxmemoryPolicy str

How Redis will select what to remove when maxmemory is reached. Defaults are shown below.

maxmemoryReserved float

Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.

notifyKeyspaceEvents str

Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference

rdbBackupEnabled bool

Is Backup Enabled? Only supported on Premium SKU’s.

rdbBackupFrequency float

The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are: 15, 30, 60, 360, 720 and 1440.

rdbBackupMaxSnapshotCount float

The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.

rdbStorageConnectionString str

The Connection String to the Storage Account. Only supported for Premium SKU’s. In the format: DefaultEndpointsProtocol=https;BlobEndpoint=${azurerm_storage_account.example.primary_blob_endpoint};AccountName=${azurerm_storage_account.example.name};AccountKey=${azurerm_storage_account.example.primary_access_key}.

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.