Cache
Manages a Redis Cache.
Default Redis Configuration Values
| Redis Value | Basic | Standard | Premium |
|---|---|---|---|
| enable_authentication | true | true | true |
| maxmemory_reserved | 2 | 50 | 200 |
| maxfragmentationmemory_reserved | 2 | 50 | 200 |
| maxmemory_delta | 2 | 50 | 200 |
| maxmemory_policy | volatile-lru | volatile-lru | volatile-lru |
NOTE: The
maxmemory_reserved,maxmemory_deltaandmaxfragmentationmemory-reservedsettings 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 includeMonday,Tuesday,Wednesdayetc.start_hour_utc- (Optional) the Start Hour for maintenance in UTC - possible values range from0 - 23.
Note: The Patch Window lasts for
5hours from thestart_hour_utc.
Relevant Links
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);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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- Family string
The SKU family/pricing group to use. Valid values are
C(for Basic/Standard SKU family) andP(forPremium)- Resource
Group stringName The name of the resource group in which to create the Redis instance.
- Sku
Name string The SKU of Redis to use. Possible values are
Basic,StandardandPremium.- Enable
Non boolSsl Port Enable the non-SSL port (6379) - disabled by default.
- Location string
The location of the resource group.
- Minimum
Tls stringVersion 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.
- Patch
Schedules List<CachePatch Schedule Args> A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- Private
Static stringIp Address 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 CacheRedis Configuration Args A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- int
Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
- Subnet
Id 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.
- 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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- Family string
The SKU family/pricing group to use. Valid values are
C(for Basic/Standard SKU family) andP(forPremium)- Resource
Group stringName The name of the resource group in which to create the Redis instance.
- Sku
Name string The SKU of Redis to use. Possible values are
Basic,StandardandPremium.- Enable
Non boolSsl Port Enable the non-SSL port (6379) - disabled by default.
- Location string
The location of the resource group.
- Minimum
Tls stringVersion 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.
- Patch
Schedules []CachePatch Schedule A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- Private
Static stringIp Address 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 CacheRedis Configuration A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- int
Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
- Subnet
Id 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.
- 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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- family string
The SKU family/pricing group to use. Valid values are
C(for Basic/Standard SKU family) andP(forPremium)- resource
Group stringName The name of the resource group in which to create the Redis instance.
- sku
Name string The SKU of Redis to use. Possible values are
Basic,StandardandPremium.- enable
Non booleanSsl Port Enable the non-SSL port (6379) - disabled by default.
- location string
The location of the resource group.
- minimum
Tls stringVersion 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.
- patch
Schedules CachePatch Schedule[] A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- private
Static stringIp Address 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 CacheRedis Configuration A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- number
Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
- subnet
Id 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.
- {[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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- family str
The SKU family/pricing group to use. Valid values are
C(for Basic/Standard SKU family) andP(forPremium)- resource_
group_ strname 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,StandardandPremium.- enable_
non_ boolssl_ port Enable the non-SSL port (6379) - disabled by default.
- location str
The location of the resource group.
- minimum_
tls_ strversion 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[CachePatch Schedule] A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- private_
static_ strip_ address 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[CacheRedis Configuration] A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- 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.
- 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
- Primary
Access stringKey The Primary Access Key for the Redis Instance
- Primary
Connection stringString The primary connection string of the Redis Instance.
- Secondary
Access stringKey The Secondary Access Key for the Redis Instance
- Secondary
Connection stringString The secondary connection string of the Redis Instance.
- Ssl
Port 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
- Primary
Access stringKey The Primary Access Key for the Redis Instance
- Primary
Connection stringString The primary connection string of the Redis Instance.
- Secondary
Access stringKey The Secondary Access Key for the Redis Instance
- Secondary
Connection stringString The secondary connection string of the Redis Instance.
- Ssl
Port 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
- primary
Access stringKey The Primary Access Key for the Redis Instance
- primary
Connection stringString The primary connection string of the Redis Instance.
- secondary
Access stringKey The Secondary Access Key for the Redis Instance
- secondary
Connection stringString The secondary connection string of the Redis Instance.
- ssl
Port 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_ strkey The Primary Access Key for the Redis Instance
- primary_
connection_ strstring The primary connection string of the Redis Instance.
- secondary_
access_ strkey The Secondary Access Key for the Redis Instance
- secondary_
connection_ strstring 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): Cachestatic 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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- Enable
Non boolSsl Port 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) andP(forPremium)- Hostname string
The Hostname of the Redis Instance
- Location string
The location of the resource group.
- Minimum
Tls stringVersion 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.
- Patch
Schedules List<CachePatch Schedule Args> A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- Port int
The non-SSL Port of the Redis Instance
- Primary
Access stringKey The Primary Access Key for the Redis Instance
- Primary
Connection stringString The primary connection string of the Redis Instance.
- Private
Static stringIp Address 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 CacheRedis Configuration Args A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- Resource
Group stringName The name of the resource group in which to create the Redis instance.
- Secondary
Access stringKey The Secondary Access Key for the Redis Instance
- Secondary
Connection stringString The secondary connection string of the Redis Instance.
- Shard
Count int Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
- Sku
Name string The SKU of Redis to use. Possible values are
Basic,StandardandPremium.- Ssl
Port int The SSL Port of the Redis Instance
- Subnet
Id 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.
- 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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- Enable
Non boolSsl Port 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) andP(forPremium)- Hostname string
The Hostname of the Redis Instance
- Location string
The location of the resource group.
- Minimum
Tls stringVersion 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.
- Patch
Schedules []CachePatch Schedule A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- Port int
The non-SSL Port of the Redis Instance
- Primary
Access stringKey The Primary Access Key for the Redis Instance
- Primary
Connection stringString The primary connection string of the Redis Instance.
- Private
Static stringIp Address 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 CacheRedis Configuration A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- Resource
Group stringName The name of the resource group in which to create the Redis instance.
- Secondary
Access stringKey The Secondary Access Key for the Redis Instance
- Secondary
Connection stringString The secondary connection string of the Redis Instance.
- Shard
Count int Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
- Sku
Name string The SKU of Redis to use. Possible values are
Basic,StandardandPremium.- Ssl
Port int The SSL Port of the Redis Instance
- Subnet
Id 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.
- 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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- enable
Non booleanSsl Port 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) andP(forPremium)- hostname string
The Hostname of the Redis Instance
- location string
The location of the resource group.
- minimum
Tls stringVersion 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.
- patch
Schedules CachePatch Schedule[] A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- port number
The non-SSL Port of the Redis Instance
- primary
Access stringKey The Primary Access Key for the Redis Instance
- primary
Connection stringString The primary connection string of the Redis Instance.
- private
Static stringIp Address 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 CacheRedis Configuration A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- resource
Group stringName The name of the resource group in which to create the Redis instance.
- secondary
Access stringKey The Secondary Access Key for the Redis Instance
- secondary
Connection stringString The secondary connection string of the Redis Instance.
- shard
Count number Only available when using the Premium SKU The number of Shards to create on the Redis Cluster.
- sku
Name string The SKU of Redis to use. Possible values are
Basic,StandardandPremium.- ssl
Port number The SSL Port of the Redis Instance
- subnet
Id 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.
- {[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
familyof C (Basic/Standard) are0, 1, 2, 3, 4, 5, 6, and for P (Premium)familyare1, 2, 3, 4.- enable_
non_ boolssl_ port 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) andP(forPremium)- hostname str
The Hostname of the Redis Instance
- location str
The location of the resource group.
- minimum_
tls_ strversion 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[CachePatch Schedule] A list of
patch_scheduleblocks as defined below - only available for Premium SKU’s.- port float
The non-SSL Port of the Redis Instance
- primary_
access_ strkey The Primary Access Key for the Redis Instance
- primary_
connection_ strstring The primary connection string of the Redis Instance.
- private_
static_ strip_ address 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[CacheRedis Configuration] A
redis_configurationas defined below - with some limitations by SKU - defaults/details are shown below.- resource_
group_ strname The name of the resource group in which to create the Redis instance.
- secondary_
access_ strkey The Secondary Access Key for the Redis Instance
- secondary_
connection_ strstring 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,StandardandPremium.- 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.
- 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
CacheRedisConfiguration
- Aof
Backup boolEnabled - Aof
Storage stringConnection String0 - Aof
Storage stringConnection String1 - Enable
Authentication bool If set to
false, the Redis instance will be accessible without authentication. Defaults totrue.- Maxclients int
Returns the max number of connected clients at the same time.
- Maxfragmentationmemory
Reserved int Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
- Maxmemory
Delta int The max-memory delta for this Redis instance. Defaults are shown below.
- Maxmemory
Policy string How Redis will select what to remove when
maxmemoryis reached. Defaults are shown below.- Maxmemory
Reserved int Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
- Notify
Keyspace stringEvents Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference
- Rdb
Backup boolEnabled Is Backup Enabled? Only supported on Premium SKU’s.
- Rdb
Backup intFrequency The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are:
15,30,60,360,720and1440.- Rdb
Backup intMax Snapshot Count The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.
- Rdb
Storage stringConnection 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}.
- Aof
Backup boolEnabled - Aof
Storage stringConnection String0 - Aof
Storage stringConnection String1 - Enable
Authentication bool If set to
false, the Redis instance will be accessible without authentication. Defaults totrue.- Maxclients int
Returns the max number of connected clients at the same time.
- Maxfragmentationmemory
Reserved int Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
- Maxmemory
Delta int The max-memory delta for this Redis instance. Defaults are shown below.
- Maxmemory
Policy string How Redis will select what to remove when
maxmemoryis reached. Defaults are shown below.- Maxmemory
Reserved int Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
- Notify
Keyspace stringEvents Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference
- Rdb
Backup boolEnabled Is Backup Enabled? Only supported on Premium SKU’s.
- Rdb
Backup intFrequency The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are:
15,30,60,360,720and1440.- Rdb
Backup intMax Snapshot Count The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.
- Rdb
Storage stringConnection 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}.
- aof
Backup booleanEnabled - aof
Storage stringConnection String0 - aof
Storage stringConnection String1 - enable
Authentication boolean If set to
false, the Redis instance will be accessible without authentication. Defaults totrue.- maxclients number
Returns the max number of connected clients at the same time.
- maxfragmentationmemory
Reserved number Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
- maxmemory
Delta number The max-memory delta for this Redis instance. Defaults are shown below.
- maxmemory
Policy string How Redis will select what to remove when
maxmemoryis reached. Defaults are shown below.- maxmemory
Reserved number Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
- notify
Keyspace stringEvents Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference
- rdb
Backup booleanEnabled Is Backup Enabled? Only supported on Premium SKU’s.
- rdb
Backup numberFrequency The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are:
15,30,60,360,720and1440.- rdb
Backup numberMax Snapshot Count The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.
- rdb
Storage stringConnection 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}.
- aof
Backup boolEnabled - aof
Storage strConnection String0 - aof
Storage strConnection String1 - enable
Authentication bool If set to
false, the Redis instance will be accessible without authentication. Defaults totrue.- maxclients float
Returns the max number of connected clients at the same time.
- maxfragmentationmemory
Reserved float Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
- maxmemory
Delta float The max-memory delta for this Redis instance. Defaults are shown below.
- maxmemory
Policy str How Redis will select what to remove when
maxmemoryis reached. Defaults are shown below.- maxmemory
Reserved float Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
- notify
Keyspace strEvents Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference
- rdb
Backup boolEnabled Is Backup Enabled? Only supported on Premium SKU’s.
- rdb
Backup floatFrequency The Backup Frequency in Minutes. Only supported on Premium SKU’s. Possible values are:
15,30,60,360,720and1440.- rdb
Backup floatMax Snapshot Count The maximum number of snapshots to create as a backup. Only supported for Premium SKU’s.
- rdb
Storage strConnection 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}.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.