Microsoft.Cache Redis/linkedServers 2019-07-01

The Redis/linkedServers resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Cache/Redis/linkedServers resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Cache/Redis/linkedServers@2019-07-01' = {
  name: 'string'
  properties: {
    linkedRedisCacheId: 'string'
    linkedRedisCacheLocation: 'string'
    serverRole: 'string'
  }
}

Property values

Redis/linkedServers

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Cache/Redis/linkedServers'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2019-07-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Properties of a linked server to be returned in get/put response RedisLinkedServerCreateProperties (required)

RedisLinkedServerCreateProperties

Name Description Value
linkedRedisCacheId Fully qualified resourceId of the linked redis cache. string (required)
linkedRedisCacheLocation Location of the linked redis cache. string (required)
serverRole Role of the linked server. 'Primary'
'Secondary'

Quickstart templates

The following quickstart templates deploy this resource type.

Template Description
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.