다음을 통해 공유


Microsoft.Cache redis 2024-04-01-preview

Bicep resource definition

The redis resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Cache/redis resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Cache/redis@2024-04-01-preview' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    disableAccessKeyAuthentication: bool
    enableNonSslPort: bool
    minimumTlsVersion: 'string'
    publicNetworkAccess: 'string'
    redisConfiguration: {
      aad-enabled: 'string'
      aof-backup-enabled: 'string'
      aof-storage-connection-string-0: 'string'
      aof-storage-connection-string-1: 'string'
      authnotrequired: 'string'
      maxfragmentationmemory-reserved: 'string'
      maxmemory-delta: 'string'
      maxmemory-policy: 'string'
      maxmemory-reserved: 'string'
      notify-keyspace-events: 'string'
      preferred-data-persistence-auth-method: 'string'
      rdb-backup-enabled: 'string'
      rdb-backup-frequency: 'string'
      rdb-backup-max-snapshot-count: 'string'
      rdb-storage-connection-string: 'string'
      storage-subscription-id: 'string'
    }
    redisVersion: 'string'
    replicasPerMaster: int
    replicasPerPrimary: int
    shardCount: int
    sku: {
      capacity: int
      family: 'string'
      name: 'string'
    }
    staticIP: 'string'
    subnetId: 'string'
    tenantSettings: {
      {customized property}: 'string'
    }
    updateChannel: 'string'
    zonalAllocationPolicy: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
  zones: [
    'string'
  ]
}

Property values

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

Microsoft.Cache/redis

Name Description Value
identity The identity of the resource. ManagedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Redis cache properties. RedisCreatePropertiesOrRedisProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
zones A list of availability zones denoting where the resource needs to come from. string[]

RedisCommonPropertiesRedisConfiguration

Name Description Value
aad-enabled Specifies whether AAD based authentication has been enabled or disabled for the cache string
aof-backup-enabled Specifies whether the aof backup is enabled string
aof-storage-connection-string-0 First storage account connection string string
aof-storage-connection-string-1 Second storage account connection string string
authnotrequired Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view. string
maxfragmentationmemory-reserved Value in megabytes reserved for fragmentation per shard string
maxmemory-delta Value in megabytes reserved for non-cache usage per shard e.g. failover. string
maxmemory-policy The eviction strategy used when your data won't fit within its memory limit. string
maxmemory-reserved Value in megabytes reserved for non-cache usage per shard e.g. failover. string
notify-keyspace-events The keyspace events which should be monitored. string
preferred-data-persistence-auth-method Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS string
rdb-backup-enabled Specifies whether the rdb backup is enabled string
rdb-backup-frequency Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440) string
rdb-backup-max-snapshot-count Specifies the maximum number of snapshots for rdb backup string
rdb-storage-connection-string The storage account connection string for storing rdb file string
storage-subscription-id SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity. string

RedisCommonPropertiesTenantSettings

Name Description Value

RedisCreateParametersTags

Name Description Value

RedisCreatePropertiesOrRedisProperties

Name Description Value
disableAccessKeyAuthentication Authentication to Redis through access keys is disabled when set as true. Default value is false. bool
enableNonSslPort Specifies whether the non-ssl Redis server port (6379) is enabled. bool
minimumTlsVersion Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') '1.0'
'1.1'
'1.2'
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' 'Disabled'
'Enabled'
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. RedisCommonPropertiesRedisConfiguration
redisVersion 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'. string
replicasPerMaster The number of replicas to be created per primary. int
replicasPerPrimary The number of replicas to be created per primary. int
shardCount The number of shards to be created on a Premium Cluster Cache. int
sku The SKU of the Redis cache to deploy. Sku (required)
staticIP Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. string

Constraints:
Pattern = ^\d+\.\d+\.\d+\.\d+$
subnetId 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 string

Constraints:
Pattern = ^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$
tenantSettings A dictionary of tenant settings RedisCommonPropertiesTenantSettings
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'. 'Preview'
'Stable'
zonalAllocationPolicy Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will 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 'zonalAllocation' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, will be set to 'NoZones' 'Automatic'
'NoZones'
'UserDefined'

Sku

Name Description Value
capacity 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). int (required)
family The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). 'C'
'P' (required)
name The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) 'Basic'
'Premium'
'Standard' (required)

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

Quickstart samples

The following quickstart samples deploy this resource type.

Bicep File Description
Create a Premium Redis Cache with clustering This template shows how to configure clustering in a premium Azure Redis Cache instance.
Create a Redis Cache using a template This template creates an Azure Redis Cache with diagnostics data kept in a storage account.
Create a Redis Cache with Microsoft Entra Authentication. This template creates a Redis Cache. Then assigns a built-in access policy to a redis user. Then creates a custom access policy. And then assigns the custom access policy to another Redis user.
Create a Web App plus Redis Cache using a template This template creates an Azure Web App with Redis cache.
Create Premium Redis Cache deployed into a Virtual Network This template shows how to deploy a premium Azure Redis Cache instance into an existing Virtual Network
Create Premium Redis Cache with data persistence This template shows how to configure persistence in a premium Azure Redis Cache instance.
Deploy API Management with an external Azure Cache for Redis This template demonstrates how to create an instance of Azure API Management in the Consumption tier with an external Azure Cache for Redis instance as the API Management external cache.

ARM template resource definition

The redis resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Cache/redis resource, add the following JSON to your template.

{
  "type": "Microsoft.Cache/redis",
  "apiVersion": "2024-04-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "disableAccessKeyAuthentication": "bool",
    "enableNonSslPort": "bool",
    "minimumTlsVersion": "string",
    "publicNetworkAccess": "string",
    "redisConfiguration": {
      "aad-enabled": "string",
      "aof-backup-enabled": "string",
      "aof-storage-connection-string-0": "string",
      "aof-storage-connection-string-1": "string",
      "authnotrequired": "string",
      "maxfragmentationmemory-reserved": "string",
      "maxmemory-delta": "string",
      "maxmemory-policy": "string",
      "maxmemory-reserved": "string",
      "notify-keyspace-events": "string",
      "preferred-data-persistence-auth-method": "string",
      "rdb-backup-enabled": "string",
      "rdb-backup-frequency": "string",
      "rdb-backup-max-snapshot-count": "string",
      "rdb-storage-connection-string": "string",
      "storage-subscription-id": "string"
    },
    "redisVersion": "string",
    "replicasPerMaster": "int",
    "replicasPerPrimary": "int",
    "shardCount": "int",
    "sku": {
      "capacity": "int",
      "family": "string",
      "name": "string"
    },
    "staticIP": "string",
    "subnetId": "string",
    "tenantSettings": {
      "{customized property}": "string"
    },
    "updateChannel": "string",
    "zonalAllocationPolicy": "string"
  },
  "tags": {
    "{customized property}": "string"
  },
  "zones": [ "string" ]
}

Property values

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

Microsoft.Cache/redis

Name Description Value
apiVersion The api version '2024-04-01-preview'
identity The identity of the resource. ManagedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Redis cache properties. RedisCreatePropertiesOrRedisProperties (required)
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.Cache/redis'
zones A list of availability zones denoting where the resource needs to come from. string[]

RedisCommonPropertiesRedisConfiguration

Name Description Value
aad-enabled Specifies whether AAD based authentication has been enabled or disabled for the cache string
aof-backup-enabled Specifies whether the aof backup is enabled string
aof-storage-connection-string-0 First storage account connection string string
aof-storage-connection-string-1 Second storage account connection string string
authnotrequired Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view. string
maxfragmentationmemory-reserved Value in megabytes reserved for fragmentation per shard string
maxmemory-delta Value in megabytes reserved for non-cache usage per shard e.g. failover. string
maxmemory-policy The eviction strategy used when your data won't fit within its memory limit. string
maxmemory-reserved Value in megabytes reserved for non-cache usage per shard e.g. failover. string
notify-keyspace-events The keyspace events which should be monitored. string
preferred-data-persistence-auth-method Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS string
rdb-backup-enabled Specifies whether the rdb backup is enabled string
rdb-backup-frequency Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440) string
rdb-backup-max-snapshot-count Specifies the maximum number of snapshots for rdb backup string
rdb-storage-connection-string The storage account connection string for storing rdb file string
storage-subscription-id SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity. string

RedisCommonPropertiesTenantSettings

Name Description Value

RedisCreateParametersTags

Name Description Value

RedisCreatePropertiesOrRedisProperties

Name Description Value
disableAccessKeyAuthentication Authentication to Redis through access keys is disabled when set as true. Default value is false. bool
enableNonSslPort Specifies whether the non-ssl Redis server port (6379) is enabled. bool
minimumTlsVersion Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') '1.0'
'1.1'
'1.2'
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' 'Disabled'
'Enabled'
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. RedisCommonPropertiesRedisConfiguration
redisVersion 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'. string
replicasPerMaster The number of replicas to be created per primary. int
replicasPerPrimary The number of replicas to be created per primary. int
shardCount The number of shards to be created on a Premium Cluster Cache. int
sku The SKU of the Redis cache to deploy. Sku (required)
staticIP Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. string

Constraints:
Pattern = ^\d+\.\d+\.\d+\.\d+$
subnetId 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 string

Constraints:
Pattern = ^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$
tenantSettings A dictionary of tenant settings RedisCommonPropertiesTenantSettings
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'. 'Preview'
'Stable'
zonalAllocationPolicy Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will 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 'zonalAllocation' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, will be set to 'NoZones' 'Automatic'
'NoZones'
'UserDefined'

Sku

Name Description Value
capacity 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). int (required)
family The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). 'C'
'P' (required)
name The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) 'Basic'
'Premium'
'Standard' (required)

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
Create a Premium Redis Cache with clustering

Deploy to Azure
This template shows how to configure clustering in a premium Azure Redis Cache instance.
Create a Redis Cache using a template

Deploy to Azure
This template creates an Azure Redis Cache with diagnostics data kept in a storage account.
Create a Redis Cache with Microsoft Entra Authentication.

Deploy to Azure
This template creates a Redis Cache. Then assigns a built-in access policy to a redis user. Then creates a custom access policy. And then assigns the custom access policy to another Redis user.
Create a Web App + Redis Cache + SQL DB with a template

Deploy to Azure
This template creates an Azure Web App with Redis cache and a SQL Database.
Create a Web App plus Redis Cache using a template

Deploy to Azure
This template creates an Azure Web App with Redis cache.
Create Premium Redis Cache deployed into a Virtual Network

Deploy to Azure
This template shows how to deploy a premium Azure Redis Cache instance into an existing Virtual Network
Create Premium Redis Cache with data persistence

Deploy to Azure
This template shows how to configure persistence in a premium Azure Redis Cache instance.
Create two geo-replicated caches in a Virtual Network

Deploy to Azure
This template shows how to deploy two Premium tier Azure Cache for Redis instances into separate Virtual Networks and link them with geo-replication.
Deploy API Management with an external Azure Cache for Redis

Deploy to Azure
This template demonstrates how to create an instance of Azure API Management in the Consumption tier with an external Azure Cache for Redis instance as the API Management external cache.
eShop Website with ILB ASE

Deploy to Azure
An App Service Environment is a Premium service plan option of Azure App Service that provides a fully isolated and dedicated environment for securely running Azure App Service apps at high scale, including Web Apps, Mobile Apps, and API Apps.
Scalable Umbraco CMS Web App

Deploy to Azure
This template provides a easy way to deploy umbraco CMS web app on Azure App Service Web Apps.

Terraform (AzAPI provider) resource definition

The redis resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.Cache/redis resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Cache/redis@2024-04-01-preview"
  name = "string"
  identity = {
    type = "string"
    userAssignedIdentities = {
      {customized property} = {
      }
    }
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  zones = [
    "string"
  ]
  body = jsonencode({
    properties = {
      disableAccessKeyAuthentication = bool
      enableNonSslPort = bool
      minimumTlsVersion = "string"
      publicNetworkAccess = "string"
      redisConfiguration = {
        aad-enabled = "string"
        aof-backup-enabled = "string"
        aof-storage-connection-string-0 = "string"
        aof-storage-connection-string-1 = "string"
        authnotrequired = "string"
        maxfragmentationmemory-reserved = "string"
        maxmemory-delta = "string"
        maxmemory-policy = "string"
        maxmemory-reserved = "string"
        notify-keyspace-events = "string"
        preferred-data-persistence-auth-method = "string"
        rdb-backup-enabled = "string"
        rdb-backup-frequency = "string"
        rdb-backup-max-snapshot-count = "string"
        rdb-storage-connection-string = "string"
        storage-subscription-id = "string"
      }
      redisVersion = "string"
      replicasPerMaster = int
      replicasPerPrimary = int
      shardCount = int
      sku = {
        capacity = int
        family = "string"
        name = "string"
      }
      staticIP = "string"
      subnetId = "string"
      tenantSettings = {
        {customized property} = "string"
      }
      updateChannel = "string"
      zonalAllocationPolicy = "string"
    }
  })
}

Property values

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned, UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

Microsoft.Cache/redis

Name Description Value
identity The identity of the resource. ManagedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string (required)
properties Redis cache properties. RedisCreatePropertiesOrRedisProperties (required)
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.Cache/redis@2024-04-01-preview"
zones A list of availability zones denoting where the resource needs to come from. string[]

RedisCommonPropertiesRedisConfiguration

Name Description Value
aad-enabled Specifies whether AAD based authentication has been enabled or disabled for the cache string
aof-backup-enabled Specifies whether the aof backup is enabled string
aof-storage-connection-string-0 First storage account connection string string
aof-storage-connection-string-1 Second storage account connection string string
authnotrequired Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view. string
maxfragmentationmemory-reserved Value in megabytes reserved for fragmentation per shard string
maxmemory-delta Value in megabytes reserved for non-cache usage per shard e.g. failover. string
maxmemory-policy The eviction strategy used when your data won't fit within its memory limit. string
maxmemory-reserved Value in megabytes reserved for non-cache usage per shard e.g. failover. string
notify-keyspace-events The keyspace events which should be monitored. string
preferred-data-persistence-auth-method Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS string
rdb-backup-enabled Specifies whether the rdb backup is enabled string
rdb-backup-frequency Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440) string
rdb-backup-max-snapshot-count Specifies the maximum number of snapshots for rdb backup string
rdb-storage-connection-string The storage account connection string for storing rdb file string
storage-subscription-id SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity. string

RedisCommonPropertiesTenantSettings

Name Description Value

RedisCreateParametersTags

Name Description Value

RedisCreatePropertiesOrRedisProperties

Name Description Value
disableAccessKeyAuthentication Authentication to Redis through access keys is disabled when set as true. Default value is false. bool
enableNonSslPort Specifies whether the non-ssl Redis server port (6379) is enabled. bool
minimumTlsVersion Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2') '1.0'
'1.1'
'1.2'
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' 'Disabled'
'Enabled'
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. RedisCommonPropertiesRedisConfiguration
redisVersion 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'. string
replicasPerMaster The number of replicas to be created per primary. int
replicasPerPrimary The number of replicas to be created per primary. int
shardCount The number of shards to be created on a Premium Cluster Cache. int
sku The SKU of the Redis cache to deploy. Sku (required)
staticIP Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default. string

Constraints:
Pattern = ^\d+\.\d+\.\d+\.\d+$
subnetId 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 string

Constraints:
Pattern = ^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$
tenantSettings A dictionary of tenant settings RedisCommonPropertiesTenantSettings
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'. 'Preview'
'Stable'
zonalAllocationPolicy Optional: Specifies how availability zones are allocated to the Redis cache. 'Automatic' enables zone redundancy and Azure will 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 'zonalAllocation' is not passed, it will be set to 'UserDefined' when zones are passed in, otherwise, will be set to 'NoZones' 'Automatic'
'NoZones'
'UserDefined'

Sku

Name Description Value
capacity 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). int (required)
family The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). 'C'
'P' (required)
name The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium) 'Basic'
'Premium'
'Standard' (required)

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value