Redis - Update
Update an existing Redis cache.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/redis/{name}?api-version=2024-11-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
name
|
path | True |
string |
The name of the RedisResource |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
The name of the resource group. The name is case insensitive. |
|
subscription
|
path | True |
string (uuid) |
The ID of the target subscription. The value must be an UUID. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Body
| Name | Type | Description |
|---|---|---|
| identity |
The identity of the resource. |
|
| properties.disableAccessKeyAuthentication |
boolean |
Authentication to Redis through access keys is disabled when set as true. Default value is false. |
| properties.enableNonSslPort |
boolean |
Specifies whether the non-ssl Redis server port (6379) is enabled. |
| properties.minimumTlsVersion |
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') |
|
| properties.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. |
|
| properties.redisConfiguration |
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. |
|
| properties.redisVersion |
string |
Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. |
| properties.replicasPerMaster |
integer (int32) |
The number of replicas to be created per primary. |
| properties.replicasPerPrimary |
integer (int32) |
The number of replicas to be created per primary. |
| properties.shardCount |
integer (int32) |
The number of shards to be created on a Premium Cluster Cache. |
| properties.sku |
The SKU of the Redis cache to deploy. |
|
| properties.tenantSettings |
object |
A dictionary of tenant settings |
| properties.updateChannel |
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. |
|
| properties.zonalAllocationPolicy |
Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported. |
|
| tags |
object |
Resource tags. |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
The request has succeeded. |
|
| 202 Accepted |
The request has been accepted for processing, but processing has not yet completed. Headers Location: string |
|
| Other Status Codes |
An unexpected error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
RedisCacheUpdate
Sample request
PATCH https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1?api-version=2024-11-01
{
"properties": {
"enableNonSslPort": true,
"replicasPerPrimary": 2
}
}
Sample response
{
"name": "cache1",
"type": "Microsoft.Cache/Redis",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1",
"location": "East US",
"properties": {
"accessKeys": {
"primaryKey": "<primaryKey>",
"secondaryKey": "<secondaryKey>"
},
"enableNonSslPort": true,
"hostName": "cache1.redis.cache.windows.net",
"instances": [
{
"isMaster": true,
"isPrimary": true,
"nonSslPort": 13000,
"sslPort": 15000
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13001,
"sslPort": 15001
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13002,
"sslPort": 15002
}
],
"port": 6379,
"provisioningState": "Succeeded",
"redisConfiguration": {
"maxclients": "1000",
"maxmemory-delta": "50",
"maxmemory-reserved": "50"
},
"redisVersion": "3.0",
"replicasPerMaster": 2,
"replicasPerPrimary": 2,
"sku": {
"name": "Premium",
"capacity": 1,
"family": "P"
},
"sslPort": 6380,
"updateChannel": "Stable",
"zonalAllocationPolicy": "Automatic"
},
"tags": {}
}
location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Cache/...pathToOperationResult...
{
"name": "cache1",
"type": "Microsoft.Cache/Redis",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1",
"location": "East US",
"properties": {
"accessKeys": {
"primaryKey": "<primaryKey>",
"secondaryKey": "<secondaryKey>"
},
"enableNonSslPort": true,
"hostName": "cache1.redis.cache.windows.net",
"instances": [
{
"isMaster": true,
"isPrimary": true,
"nonSslPort": 13000,
"sslPort": 15000
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13001,
"sslPort": 15001
},
{
"isMaster": false,
"isPrimary": false,
"nonSslPort": 13002,
"sslPort": 15002
}
],
"port": 6379,
"provisioningState": "Succeeded",
"redisConfiguration": {
"maxclients": "1000",
"maxmemory-delta": "50",
"maxmemory-reserved": "50"
},
"redisVersion": "3.0",
"replicasPerMaster": 2,
"replicasPerPrimary": 2,
"sku": {
"name": "Premium",
"capacity": 1,
"family": "P"
},
"sslPort": 6380,
"updateChannel": "Stable",
"zonalAllocationPolicy": "Automatic"
},
"tags": {}
}
Definitions
| Name | Description |
|---|---|
|
created |
The type of identity that created the resource. |
|
Error |
The resource management error additional info. |
|
Error |
The error detail. |
|
Error |
Error response |
|
Managed |
Managed service identity (system assigned and/or user assigned identities) |
|
Managed |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
|
Private |
The private endpoint resource. |
|
Private |
The private endpoint connection resource. |
|
Private |
The current provisioning state. |
|
Private |
The private endpoint connection status. |
|
Private |
A collection of information about the state of the connection between service consumer and provider. |
|
Provisioning |
Redis instance provisioning status. |
|
Public |
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 |
Redis cache access keys. |
|
Redis |
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. |
|
Redis |
Details of single instance of redis. |
|
Redis |
Linked server Id |
|
Redis |
A single Redis item in List or Get Operation. |
|
Redis |
Parameters supplied to the Update Redis operation. |
| Sku |
SKU parameters supplied to the create Redis operation. |
|
Sku |
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). |
|
Sku |
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) |
|
system |
Metadata pertaining to creation and last modification of the resource. |
|
Tls |
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') |
|
Update |
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. |
|
User |
User assigned identity properties |
|
Zonal |
Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported. |
createdByType
The type of identity that created the resource.
| Value | Description |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
ErrorAdditionalInfo
The resource management error additional info.
| Name | Type | Description |
|---|---|---|
| info |
object |
The additional info. |
| type |
string |
The additional info type. |
ErrorDetail
The error detail.
| Name | Type | Description |
|---|---|---|
| additionalInfo |
The error additional info. |
|
| code |
string |
The error code. |
| details |
The error details. |
|
| message |
string |
The error message. |
| target |
string |
The error target. |
ErrorResponse
Error response
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
ManagedServiceIdentity
Managed service identity (system assigned and/or user assigned identities)
| Name | Type | Description |
|---|---|---|
| principalId |
string (uuid) |
The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| tenantId |
string (uuid) |
The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. |
| type |
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). |
|
| userAssignedIdentities |
<string,
User |
User-Assigned Identities |
ManagedServiceIdentityType
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
| Value | Description |
|---|---|
| None | |
| SystemAssigned | |
| UserAssigned | |
| SystemAssigned, UserAssigned |
PrivateEndpoint
The private endpoint resource.
| Name | Type | Description |
|---|---|---|
| id |
string |
The ARM identifier for private endpoint. |
PrivateEndpointConnection
The private endpoint connection resource.
| Name | Type | Description |
|---|---|---|
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| name |
string |
The name of the resource |
| properties.groupIds |
string[] |
The group ids for the private endpoint resource. |
| properties.privateEndpoint |
The private endpoint resource. |
|
| properties.privateLinkServiceConnectionState |
A collection of information about the state of the connection between service consumer and provider. |
|
| properties.provisioningState |
The provisioning state of the private endpoint connection resource. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
PrivateEndpointConnectionProvisioningState
The current provisioning state.
| Value | Description |
|---|---|
| Succeeded | |
| Creating | |
| Deleting | |
| Failed |
PrivateEndpointServiceConnectionStatus
The private endpoint connection status.
| Value | Description |
|---|---|
| Pending | |
| Approved | |
| Rejected |
PrivateLinkServiceConnectionState
A collection of information about the state of the connection between service consumer and provider.
| Name | Type | Description |
|---|---|---|
| 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 |
Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. |
ProvisioningState
Redis instance provisioning status.
| Value | Description |
|---|---|
| Creating |
A create operation is in progress. |
| Deleting |
A delete operation is in progress. |
| Disabled |
The cache is disabled and cannot be used. |
| Failed |
An operation such as create or update failed. If you failed to create the cache it will not be in a usable state, so you should delete and recreate it. |
| Linking |
Georeplication link is in progress |
| Provisioning |
An operation is in progress |
| RecoveringScaleFailure |
A scaling operation encountered an error and recovery is in progress. |
| Scaling |
A scaling operation is in progress |
| Succeeded |
The most recent operation successfully completed |
| Unlinking |
Georeplication unlink is in progress |
| Unprovisioning |
The cache may be being disabled |
| Updating |
An update operation is in progress. |
| ConfiguringAAD |
An AAD configuration update operation is in progress. |
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'
| Value | Description |
|---|---|
| Enabled |
Public internet access to the cache, via its public IP address, is enabled. Connections may use any network path. |
| Disabled |
Public internet access to the cache, via its public IP address, is disabled. Connections must use be made via private endpoints. |
RedisAccessKeys
Redis cache access keys.
| Name | Type | Description |
|---|---|---|
| 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
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.
| Name | Type | Description |
|---|---|---|
| aad-enabled |
string |
Specifies whether AAD based authentication has been enabled or disabled for the cache |
| aof-backup-enabled |
string |
Specifies whether the aof backup is enabled |
| aof-storage-connection-string-0 |
string |
First storage account connection string |
| aof-storage-connection-string-1 |
string |
Second storage account connection string |
| authnotrequired |
string |
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view; you should never disable authentication using this property! |
| maxclients |
string |
The max clients config |
| maxfragmentationmemory-reserved |
string |
Value in megabytes reserved for fragmentation per shard |
| maxmemory-delta |
string |
Value in megabytes reserved for non-cache usage per shard e.g. failover. |
| maxmemory-policy |
string |
The eviction strategy used when your data won't fit within its memory limit. |
| maxmemory-reserved |
string |
Value in megabytes reserved for non-cache usage per shard e.g. failover. |
| notify-keyspace-events |
string |
The keyspace events which should be monitored. |
| preferred-data-archive-auth-method |
string |
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS |
| preferred-data-persistence-auth-method |
string |
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS |
| rdb-backup-enabled |
string |
Specifies whether the RDB backup is enabled |
| rdb-backup-frequency |
string |
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440) |
| rdb-backup-max-snapshot-count |
string |
Specifies the maximum number of snapshots for rdb backup |
| rdb-storage-connection-string |
string |
The storage account connection string for storing rdb file |
| storage-subscription-id |
string |
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity. |
| zonal-configuration |
string |
Zonal Configuration |
RedisInstanceDetails
Details of single instance of redis.
| Name | Type | Description |
|---|---|---|
| isMaster |
boolean |
Specifies whether the instance is a primary node. |
| isPrimary |
boolean |
Specifies whether the instance is a primary node. |
| nonSslPort |
integer (int32) |
If enableNonSslPort is true, provides Redis instance Non-SSL port. |
| shardId |
integer (int32) |
If clustering is enabled, the Shard ID of Redis Instance |
| sslPort |
integer (int32) |
Redis instance SSL port. |
| zone |
string |
If the Cache uses availability zones, specifies availability zone where this instance is located. |
RedisLinkedServer
Linked server Id
| Name | Type | Description |
|---|---|---|
| id |
string |
Linked server Id. |
RedisResource
A single Redis item in List or Get Operation.
| Name | Type | Default value | Description |
|---|---|---|---|
| disableAccessKeyAuthentication |
boolean |
False |
Authentication to Redis through access keys is disabled when set as true. Default value is false. |
| enableNonSslPort |
boolean |
False |
Specifies whether the non-ssl Redis server port (6379) is enabled. |
| id |
string (arm-id) |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
|
| identity |
The managed service identities assigned to this resource. |
||
| location |
string |
The geo-location where the resource lives |
|
| minimumTlsVersion |
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 resource |
|
| properties.accessKeys |
The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache |
||
| properties.hostName |
string |
Redis host name. |
|
| properties.instances |
List of the Redis instances associated with the cache |
||
| properties.linkedServers |
List of the linked servers associated with the cache |
||
| properties.port |
integer (int32) |
Redis non-SSL port. |
|
| properties.privateEndpointConnections |
List of private endpoint connection associated with the specified redis cache |
||
| properties.provisioningState |
Redis instance provisioning status. |
||
| properties.sku |
The SKU of the Redis cache to deploy. |
||
| properties.sslPort |
integer (int32) |
Redis SSL port. |
|
| properties.staticIP |
string pattern: ^\d+\.\d+\.\d+\.\d+$ |
Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. |
|
| properties.subnetId |
string pattern: ^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$ |
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 |
|
| 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. |
||
| redisConfiguration |
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. |
||
| redisVersion |
string |
Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. |
|
| replicasPerMaster |
integer (int32) |
The number of replicas to be created per primary. |
|
| replicasPerPrimary |
integer (int32) |
The number of replicas to be created per primary. |
|
| shardCount |
integer (int32) |
The number of shards to be created on a Premium Cluster Cache. |
|
| systemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
||
| tags |
object |
Resource tags. |
|
| tenantSettings |
object |
A dictionary of tenant settings |
|
| type |
string |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
|
| updateChannel |
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. |
||
| zonalAllocationPolicy |
Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported. |
||
| zones |
string[] |
The availability zones. |
RedisUpdateParameters
Parameters supplied to the Update Redis operation.
| Name | Type | Default value | Description |
|---|---|---|---|
| identity |
The identity of the resource. |
||
| properties.disableAccessKeyAuthentication |
boolean |
False |
Authentication to Redis through access keys is disabled when set as true. Default value is false. |
| properties.enableNonSslPort |
boolean |
False |
Specifies whether the non-ssl Redis server port (6379) is enabled. |
| properties.minimumTlsVersion |
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') |
||
| properties.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. |
||
| properties.redisConfiguration |
All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc. |
||
| properties.redisVersion |
string |
Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'. |
|
| properties.replicasPerMaster |
integer (int32) |
The number of replicas to be created per primary. |
|
| properties.replicasPerPrimary |
integer (int32) |
The number of replicas to be created per primary. |
|
| properties.shardCount |
integer (int32) |
The number of shards to be created on a Premium Cluster Cache. |
|
| properties.sku |
The SKU of the Redis cache to deploy. |
||
| properties.tenantSettings |
object |
A dictionary of tenant settings |
|
| properties.updateChannel |
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'. |
||
| properties.zonalAllocationPolicy |
Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported. |
||
| tags |
object |
Resource tags. |
Sku
SKU parameters supplied to the create Redis operation.
| Name | Type | Description |
|---|---|---|
| capacity |
integer (int32) |
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 |
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). |
|
| name |
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) |
SkuFamily
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).
| Value | Description |
|---|---|
| C |
The SKU family to use - must be 'C' for Basic/Standard SKU redis caches. |
| P |
The SKU family to use - must be 'P' for Premium SKU redis caches. |
SkuName
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)
| Value | Description |
|---|---|
| Basic |
The well known 'Basic' SKU for Azure Cache for Redis. Basic SKU does not have an availability SLA. |
| Standard |
The well known 'Standard' SKU for Azure Cache for Redis. Standard SKU has an availability SLA. |
| Premium |
The well known 'Premium' SKU for Azure Cache for Redis. Premium SKU has an availability SLA, and higher performance tiers and more features compared with Standard SKU. |
systemData
Metadata pertaining to creation and last modification of the resource.
| Name | Type | Description |
|---|---|---|
| createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
| createdBy |
string |
The identity that created the resource. |
| createdByType |
The type of identity that created the resource. |
|
| lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
| lastModifiedBy |
string |
The identity that last modified the resource. |
| lastModifiedByType |
The type of identity that last modified the resource. |
TlsVersion
Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')
| Value | Description |
|---|---|
| 1.0 |
TLS protocol version 1.0 -- deprecated for security reasons. Do not use this value for new caches. |
| 1.1 |
TLS protocol version 1.1 -- deprecated for security reasons. Do not use this value for new caches. |
| 1.2 |
TLS protocol version 1.2 -- use this value, or higher, for new caches. Or do not specify, so that your cache uses the recommended default value |
UpdateChannel
Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.
| Value | Description |
|---|---|
| Stable |
Stable channel receives updates, which may include important security and stability updates, later than Preview channel. |
| Preview |
Preview channel normally receives updates before Stable channel, and is the recommended channel for non-production workloads. |
UserAssignedIdentity
User assigned identity properties
| Name | Type | Description |
|---|---|---|
| clientId |
string (uuid) |
The client ID of the assigned identity. |
| principalId |
string (uuid) |
The principal ID of the assigned identity. |
ZonalAllocationPolicy
Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will automatically select zones based on regional availability and capacity. 'UserDefined' will select availability zones passed in by you using the 'zones' parameter. 'NoZones' will produce a non-zonal cache. If 'zonalAllocationPolicy' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, it will be set to 'Automatic' in regions where zones are supported and 'NoZones' in regions where zones are not supported.
| Value | Description |
|---|---|
| Automatic |
The zones for the cache will be selected automatically based on availability and capacity. |
| UserDefined |
UserDefined means the zones for the cache are manually configured using the 'zones' property, and can not be automatically selected. |
| NoZones |
The cache will not use multiple availability zones. |