Microsoft.Cache Redis/linkedServers 2019-07-01

Template format

To create a Microsoft.Cache/Redis/linkedServers resource, add the following JSON to the resources section of your template.

  "name": "string",
  "type": "Microsoft.Cache/Redis/linkedServers",
  "apiVersion": "2019-07-01",
  "properties": {
    "linkedRedisCacheId": "string",
    "linkedRedisCacheLocation": "string",
    "serverRole": "string"

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Cache/Redis/linkedServers object

Name Type Required Value
name string Yes The name of the linked server that is being added to the Redis cache.
type enum Yes linkedServers

See Set name and type for child resources.
apiVersion enum Yes 2019-07-01
properties object Yes Properties required to create a linked server. - RedisLinkedServerCreateProperties object

RedisLinkedServerCreateProperties object

Name Type Required Value
linkedRedisCacheId string Yes Fully qualified resourceId of the linked redis cache.
linkedRedisCacheLocation string Yes Location of the linked redis cache.
serverRole enum Yes Role of the linked server. - Primary or 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.