Cache Redis Configuration Args
Constructors
Properties
Enable Microsoft Entra (AAD) authentication. Defaults to false
.
Enable or disable AOF persistence for this Redis Cache. Defaults to false
.
First Storage Account connection string for AOF persistence.
Second Storage Account connection string for AOF persistence. Example usage:
If set to false
, the Redis instance will be accessible without authentication. Defaults to true
.
Preferred auth method to communicate to storage account used for data persistence. Possible values are SAS
and ManagedIdentity
.
Returns the max number of connected clients at the same time.
Value in megabytes reserved to accommodate for memory fragmentation. Defaults are shown below.
The max-memory delta for this Redis instance. Defaults are shown below.
How Redis will select what to remove when maxmemory
is reached. Defaults to volatile-lru
.
Value in megabytes reserved for non-cache usage e.g. failover. Defaults are shown below.
Keyspace notifications allows clients to subscribe to Pub/Sub channels in order to receive events affecting the Redis data set in some way. Reference
Is Backup Enabled? Only supported on Premium SKUs. Defaults to false
.
The Backup Frequency in Minutes. Only supported on Premium SKUs. Possible values are: 15
, 30
, 60
, 360
, 720
and 1440
.
The maximum number of snapshots to create as a backup. Only supported for Premium SKUs.
The Connection String to the Storage Account. Only supported for Premium SKUs. 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}
.
The ID of the Subscription containing the Storage Account.