diff --git a/schemas/2015-08-01/Microsoft.Cache.json b/schemas/2015-08-01/Microsoft.Cache.json deleted file mode 100644 index fb825f69fd..0000000000 --- a/schemas/2015-08-01/Microsoft.Cache.json +++ /dev/null @@ -1,210 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "Redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2015-08-01" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Parameters supplied to CreateOrUpdate Redis operation." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis" - } - }, - "definitions": { - "RedisProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the value is true, then the non-SLL Redis server port (6379) will be enabled." - }, - "redisConfiguration": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "redisVersion": { - "type": "string", - "description": "RedisVersion parameter has been deprecated. As such, it is no longer necessary to provide this parameter and any value specified is ignored." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "type": "string", - "description": "Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "subnet": { - "type": "string", - "description": "Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "tenantSettings" - }, - "virtualNetwork": { - "type": "string", - "description": "The exact ARM resource ID of the virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.ClassicNetwork/VirtualNetworks/vnet1" - } - }, - "required": [ - "sku" - ], - "description": "Parameters supplied to CreateOrUpdate Redis operation." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "What size of Redis cache to deploy. Valid values: for C family (0, 1, 2, 3, 4, 5, 6), for P family (1, 2, 3, 4)." - }, - "family": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Which family to use. Valid values: (C, P)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "What type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2016-04-01/Microsoft.Cache.json b/schemas/2016-04-01/Microsoft.Cache.json deleted file mode 100644 index 2c3c35f7e8..0000000000 --- a/schemas/2016-04-01/Microsoft.Cache.json +++ /dev/null @@ -1,485 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "Redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-04-01" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis" - }, - "Redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-04-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-04-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - } - }, - "definitions": { - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "redisConfiguration": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "tenantSettings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "Redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-04-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-04-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2017-02-01/Microsoft.Cache.json b/schemas/2017-02-01/Microsoft.Cache.json deleted file mode 100644 index fe5fdae67b..0000000000 --- a/schemas/2017-02-01/Microsoft.Cache.json +++ /dev/null @@ -1,600 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-02-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "Redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis" - }, - "Redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - } - }, - "definitions": { - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "redisConfiguration": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "tenantSettings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "Redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-02-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ] - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2017-10-01/Microsoft.Cache.json b/schemas/2017-10-01/Microsoft.Cache.json deleted file mode 100644 index 9808900824..0000000000 --- a/schemas/2017-10-01/Microsoft.Cache.json +++ /dev/null @@ -1,616 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "Redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis" - ] - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of availability zones denoting where the resource needs to come from." - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis" - }, - "Redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - } - }, - "definitions": { - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "redisConfiguration": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of tenant settings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "Redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-10-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2018-03-01/Microsoft.Cache.json b/schemas/2018-03-01/Microsoft.Cache.json deleted file mode 100644 index 57470e751b..0000000000 --- a/schemas/2018-03-01/Microsoft.Cache.json +++ /dev/null @@ -1,632 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "Redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis" - ] - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of availability zones denoting where the resource needs to come from." - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis" - }, - "Redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - } - }, - "definitions": { - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "minimumTlsVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0", - "1.1", - "1.2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." - }, - "redisConfiguration": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of tenant settings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "Redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-03-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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, 5)." - }, - "family": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2019-07-01/Microsoft.Cache.json b/schemas/2019-07-01/Microsoft.Cache.json deleted file mode 100644 index 6e960ec222..0000000000 --- a/schemas/2019-07-01/Microsoft.Cache.json +++ /dev/null @@ -1,643 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "Redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis" - ] - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of availability zones denoting where the resource needs to come from." - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis" - }, - "Redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - } - }, - "definitions": { - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "minimumTlsVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0", - "1.1", - "1.2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." - }, - "redisConfiguration": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "replicasPerMaster": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas to be created per master." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of tenant settings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "Redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/firewallRules" - }, - "Redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/linkedServers" - }, - "Redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-07-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/Redis/patchSchedules" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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, 5)." - }, - "family": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2020-06-01/Microsoft.Cache.json b/schemas/2020-06-01/Microsoft.Cache.json deleted file mode 100644 index f6fbbed6c7..0000000000 --- a/schemas/2020-06-01/Microsoft.Cache.json +++ /dev/null @@ -1,880 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis" - ] - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of availability zones denoting where the resource needs to come from." - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis" - }, - "redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/firewallRules" - }, - "redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/linkedServers" - }, - "redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/patchSchedules" - }, - "redis_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/privateEndpointConnections" - } - }, - "definitions": { - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RedisCommonPropertiesRedisConfiguration": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "aof-storage-connection-string-0": { - "type": "string", - "description": "First storage account connection string" - }, - "aof-storage-connection-string-1": { - "type": "string", - "description": "First storage account connection string" - }, - "maxfragmentationmemory-reserved": { - "type": "string", - "description": "Value in megabytes reserved for fragmentation per shard" - }, - "maxmemory-delta": { - "type": "string", - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." - }, - "maxmemory-policy": { - "type": "string", - "description": "The eviction strategy used when your data won't fit within its memory limit." - }, - "maxmemory-reserved": { - "type": "string", - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." - }, - "rdb-backup-enabled": { - "type": "string", - "description": "Specifies whether the rdb backup is enabled" - }, - "rdb-backup-frequency": { - "type": "string", - "description": "Specifies the frequency for creating rdb backup" - }, - "rdb-backup-max-snapshot-count": { - "type": "string", - "description": "Specifies the maximum number of snapshots for rdb backup" - }, - "rdb-storage-connection-string": { - "type": "string", - "description": "The storage account connection string for storing rdb file" - } - }, - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "minimumTlsVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0", - "1.1", - "1.2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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'." - }, - "redisConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "replicasPerMaster": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas to be created per master." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of tenant settings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/firewallRules" - }, - "redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/linkedServers" - }, - "redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/patchSchedules" - }, - "redis_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/privateEndpointConnections" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2020-12-01/Microsoft.Cache.json b/schemas/2020-12-01/Microsoft.Cache.json deleted file mode 100644 index cfe0d30dd8..0000000000 --- a/schemas/2020-12-01/Microsoft.Cache.json +++ /dev/null @@ -1,895 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis" - ] - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of availability zones denoting where the resource needs to come from." - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis" - }, - "redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/firewallRules" - }, - "redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/linkedServers" - }, - "redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/patchSchedules" - }, - "redis_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/privateEndpointConnections" - } - }, - "definitions": { - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RedisCommonPropertiesRedisConfiguration": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "aof-storage-connection-string-0": { - "type": "string", - "description": "First storage account connection string" - }, - "aof-storage-connection-string-1": { - "type": "string", - "description": "First storage account connection string" - }, - "maxfragmentationmemory-reserved": { - "type": "string", - "description": "Value in megabytes reserved for fragmentation per shard" - }, - "maxmemory-delta": { - "type": "string", - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." - }, - "maxmemory-policy": { - "type": "string", - "description": "The eviction strategy used when your data won't fit within its memory limit." - }, - "maxmemory-reserved": { - "type": "string", - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." - }, - "rdb-backup-enabled": { - "type": "string", - "description": "Specifies whether the rdb backup is enabled" - }, - "rdb-backup-frequency": { - "type": "string", - "description": "Specifies the frequency for creating rdb backup" - }, - "rdb-backup-max-snapshot-count": { - "type": "string", - "description": "Specifies the maximum number of snapshots for rdb backup" - }, - "rdb-storage-connection-string": { - "type": "string", - "description": "The storage account connection string for storing rdb file" - } - }, - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "minimumTlsVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0", - "1.1", - "1.2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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'." - }, - "redisConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "redisVersion": { - "type": "string", - "description": "Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6)" - }, - "replicasPerMaster": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas to be created per primary." - }, - "replicasPerPrimary": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas to be created per primary." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of tenant settings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/firewallRules" - }, - "redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/linkedServers" - }, - "redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/patchSchedules" - }, - "redis_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2020-12-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/privateEndpointConnections" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - } - } -} \ No newline at end of file diff --git a/schemas/2021-06-01/Microsoft.Cache.json b/schemas/2021-06-01/Microsoft.Cache.json deleted file mode 100644 index 74f2452e91..0000000000 --- a/schemas/2021-06-01/Microsoft.Cache.json +++ /dev/null @@ -1,952 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "resourceDefinitions": { - "redis": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Managed service identity (system assigned and/or user assigned identities)" - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties supplied to Create Redis operation." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - } - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis" - ] - }, - "zones": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of availability zones denoting where the resource needs to come from." - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis" - }, - "redis_firewallRules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/firewallRules" - }, - "redis_linkedServers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/linkedServers" - }, - "redis_patchSchedules": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "oneOf": [ - { - "type": "string", - "pattern": "^.*/default$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/patchSchedules" - }, - "redis_privateEndpointConnections": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/privateEndpointConnections" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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." - } - }, - "required": [ - "type" - ], - "description": "Managed service identity (system assigned and/or user assigned identities)" - }, - "PrivateEndpoint": { - "type": "object", - "properties": {}, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnectionProperties": { - "type": "object", - "properties": { - "privateEndpoint": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Private Endpoint resource." - }, - "privateLinkServiceConnectionState": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "type": "object", - "properties": { - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Pending", - "Approved", - "Rejected" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "RedisCommonPropertiesRedisConfiguration": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "aof-storage-connection-string-0": { - "type": "string", - "description": "First storage account connection string" - }, - "aof-storage-connection-string-1": { - "type": "string", - "description": "First storage account connection string" - }, - "maxfragmentationmemory-reserved": { - "type": "string", - "description": "Value in megabytes reserved for fragmentation per shard" - }, - "maxmemory-delta": { - "type": "string", - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." - }, - "maxmemory-policy": { - "type": "string", - "description": "The eviction strategy used when your data won't fit within its memory limit." - }, - "maxmemory-reserved": { - "type": "string", - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." - }, - "rdb-backup-enabled": { - "type": "string", - "description": "Specifies whether the rdb backup is enabled" - }, - "rdb-backup-frequency": { - "type": "string", - "description": "Specifies the frequency for creating rdb backup" - }, - "rdb-backup-max-snapshot-count": { - "type": "string", - "description": "Specifies the maximum number of snapshots for rdb backup" - }, - "rdb-storage-connection-string": { - "type": "string", - "description": "The storage account connection string for storing rdb file" - } - }, - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "RedisCreateProperties": { - "type": "object", - "properties": { - "enableNonSslPort": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." - }, - "minimumTlsVersion": { - "oneOf": [ - { - "type": "string", - "enum": [ - "1.0", - "1.1", - "1.2" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." - }, - "publicNetworkAccess": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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'." - }, - "redisConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." - }, - "redisVersion": { - "type": "string", - "description": "Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6)" - }, - "replicasPerMaster": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas to be created per primary." - }, - "replicasPerPrimary": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas to be created per primary." - }, - "shardCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of shards to be created on a Premium Cluster Cache." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "staticIP": { - "oneOf": [ - { - "type": "string", - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default." - }, - "subnetId": { - "oneOf": [ - { - "type": "string", - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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" - }, - "tenantSettings": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A dictionary of tenant settings" - } - }, - "required": [ - "sku" - ], - "description": "Properties supplied to Create Redis operation." - }, - "RedisFirewallRuleProperties": { - "type": "object", - "properties": { - "endIP": { - "type": "string", - "description": "highest IP address included in the range" - }, - "startIP": { - "type": "string", - "description": "lowest IP address included in the range" - } - }, - "required": [ - "endIP", - "startIP" - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "RedisLinkedServerCreateProperties": { - "type": "object", - "properties": { - "linkedRedisCacheId": { - "type": "string", - "description": "Fully qualified resourceId of the linked redis cache." - }, - "linkedRedisCacheLocation": { - "type": "string", - "description": "Location of the linked redis cache." - }, - "serverRole": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Primary", - "Secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Role of the linked server." - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "description": "Create properties for a linked server" - }, - "redis_firewallRules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the firewall rule." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a range of IP addresses permitted to connect to the cache" - }, - "type": { - "type": "string", - "enum": [ - "firewallRules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/firewallRules" - }, - "redis_linkedServers_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the linked server that is being added to the Redis cache." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Create properties for a linked server" - }, - "type": { - "type": "string", - "enum": [ - "linkedServers" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/linkedServers" - }, - "redis_patchSchedules_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "enum": [ - "default" - ], - "description": "Default string modeled as parameter for auto generation to work correctly." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - }, - "type": { - "type": "string", - "enum": [ - "patchSchedules" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/patchSchedules" - }, - "redis_privateEndpointConnections_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-06-01" - ] - }, - "name": { - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "type": { - "type": "string", - "enum": [ - "privateEndpointConnections" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.Cache/redis/privateEndpointConnections" - }, - "ScheduleEntries": { - "type": "object", - "properties": { - "scheduleEntries": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ScheduleEntry" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of patch schedules for a Redis cache." - } - }, - "required": [ - "scheduleEntries" - ], - "description": "List of patch schedules for a Redis cache." - }, - "ScheduleEntry": { - "type": "object", - "properties": { - "dayOfWeek": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Day of the week when a cache can be patched." - }, - "maintenanceWindow": { - "type": "string", - "format": "duration", - "description": "ISO8601 timespan specifying how much time cache patching can take. " - }, - "startHourUtc": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Start hour after which cache patching can start." - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "description": "Patch schedule entry for a Premium Redis Cache." - }, - "Sku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "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": { - "oneOf": [ - { - "type": "string", - "enum": [ - "C", - "P" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." - } - }, - "required": [ - "capacity", - "family", - "name" - ], - "description": "SKU parameters supplied to the create Redis operation." - }, - "UserAssignedIdentity": { - "type": "object", - "properties": {}, - "description": "User assigned identity properties" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f4fe3445cc..7bc4c738de 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -2812,111 +2812,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-01-01/Microsoft.Cache.Enterprise.json#/resourceDefinitions/redisEnterprise_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.Cache.json#/resourceDefinitions/Redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Cache.json#/resourceDefinitions/Redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Cache.json#/resourceDefinitions/Redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Cache.json#/resourceDefinitions/Redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-01/Microsoft.Cache.json#/resourceDefinitions/Redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-01/Microsoft.Cache.json#/resourceDefinitions/Redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-01/Microsoft.Cache.json#/resourceDefinitions/Redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-02-01/Microsoft.Cache.json#/resourceDefinitions/Redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/resourceDefinitions/Redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/resourceDefinitions/Redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/resourceDefinitions/Redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#/resourceDefinitions/Redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Cache.json#/resourceDefinitions/Redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Cache.json#/resourceDefinitions/Redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Cache.json#/resourceDefinitions/Redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Cache.json#/resourceDefinitions/Redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Cache.json#/resourceDefinitions/Redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Cache.json#/resourceDefinitions/Redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Cache.json#/resourceDefinitions/Redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Cache.json#/resourceDefinitions/Redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.Cdn.json#/resourceDefinitions/profiles" },