From a5734c366baa8968b962766ccc5e95e065244e45 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 6 May 2024 15:25:14 +0000 Subject: [PATCH] CodeGen from PR 28983 in Azure/azure-rest-api-specs Merge 4eb58acd0ed6f9ba4e77754ea75f290f87ea5795 into a8698bb86e66e2d29ce5e8987b6aaa8fc7f7f04b --- schemas/2015-08-01/Microsoft.Cache.json | 209 --- schemas/2016-04-01/Microsoft.Cache.json | 490 ------- schemas/2017-02-01/Microsoft.Cache.json | 605 --------- schemas/2017-10-01/Microsoft.Cache.json | 621 --------- schemas/2018-03-01/Microsoft.Cache.json | 637 --------- schemas/2019-07-01/Microsoft.Cache.json | 648 --------- schemas/2020-06-01/Microsoft.Cache.json | 855 ------------ schemas/2020-12-01/Microsoft.Cache.json | 870 ------------ schemas/2021-06-01/Microsoft.Cache.json | 925 ------------- schemas/2022-05-01/Microsoft.Cache.json | 937 ------------- schemas/2022-06-01/Microsoft.Cache.json | 937 ------------- schemas/2023-04-01/Microsoft.Cache.json | 933 ------------- .../2023-05-01-preview/Microsoft.Cache.json | 1191 ---------------- schemas/2023-08-01/Microsoft.Cache.json | 1206 ----------------- schemas/common/autogeneratedResources.json | 192 --- 15 files changed, 11256 deletions(-) delete mode 100644 schemas/2015-08-01/Microsoft.Cache.json delete mode 100644 schemas/2016-04-01/Microsoft.Cache.json delete mode 100644 schemas/2017-02-01/Microsoft.Cache.json delete mode 100644 schemas/2017-10-01/Microsoft.Cache.json delete mode 100644 schemas/2018-03-01/Microsoft.Cache.json delete mode 100644 schemas/2019-07-01/Microsoft.Cache.json delete mode 100644 schemas/2020-06-01/Microsoft.Cache.json delete mode 100644 schemas/2020-12-01/Microsoft.Cache.json delete mode 100644 schemas/2021-06-01/Microsoft.Cache.json delete mode 100644 schemas/2022-05-01/Microsoft.Cache.json delete mode 100644 schemas/2022-06-01/Microsoft.Cache.json delete mode 100644 schemas/2023-04-01/Microsoft.Cache.json delete mode 100644 schemas/2023-05-01-preview/Microsoft.Cache.json delete mode 100644 schemas/2023-08-01/Microsoft.Cache.json diff --git a/schemas/2015-08-01/Microsoft.Cache.json b/schemas/2015-08-01/Microsoft.Cache.json deleted file mode 100644 index 6e3077a2fd..0000000000 --- a/schemas/2015-08-01/Microsoft.Cache.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2015-08-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "Redis": { - "description": "Microsoft.Cache/Redis", - "properties": { - "apiVersion": { - "enum": [ - "2015-08-01" - ], - "type": "string" - }, - "location": { - "description": "Resource location.", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "RedisProperties": { - "description": "Parameters supplied to CreateOrUpdate Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "If the value is true, then the non-SLL Redis server port (6379) will be enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "RedisVersion parameter has been deprecated. As such, it is no longer necessary to provide this parameter and any value specified is ignored.", - "type": "string" - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "What SKU of Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "type": "string" - }, - "subnet": { - "description": "Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "type": "string" - }, - "tenantSettings": { - "description": "tenantSettings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "virtualNetwork": { - "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", - "type": "string" - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "Which family to use. Valid values: (C, P).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "What type of Redis cache to deploy. Valid values: (Basic, Standard, Premium).", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - } - } -} \ 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 dad6c3e8ff..0000000000 --- a/schemas/2016-04-01/Microsoft.Cache.json +++ /dev/null @@ -1,490 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "Redis": { - "description": "Microsoft.Cache/Redis", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "location": { - "description": "Resource location.", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_firewallRules": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "tenantSettings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "Redis_firewallRules_childResource": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2016-04-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - } - } -} \ 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 dc1087d432..0000000000 --- a/schemas/2017-02-01/Microsoft.Cache.json +++ /dev/null @@ -1,605 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-02-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "Redis": { - "description": "Microsoft.Cache/Redis", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_firewallRules": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "tenantSettings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "Redis_firewallRules_childResource": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers_childResource": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2017-02-01" - ], - "type": "string" - }, - "name": { - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - } - } -} \ 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 79d99d9181..0000000000 --- a/schemas/2017-10-01/Microsoft.Cache.json +++ /dev/null @@ -1,621 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-10-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "Redis": { - "description": "Microsoft.Cache/Redis", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_firewallRules": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "Redis_firewallRules_childResource": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers_childResource": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2017-10-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - } - } -} \ 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 2984982e2b..0000000000 --- a/schemas/2018-03-01/Microsoft.Cache.json +++ /dev/null @@ -1,637 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2018-03-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "Redis": { - "description": "Microsoft.Cache/Redis", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_firewallRules": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "Redis_firewallRules_childResource": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers_childResource": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2018-03-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - } - } -} \ 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 7e37b56858..0000000000 --- a/schemas/2019-07-01/Microsoft.Cache.json +++ /dev/null @@ -1,648 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-07-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "Redis": { - "description": "Microsoft.Cache/Redis", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/Redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/Redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/Redis_patchSchedules_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_firewallRules": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/Redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per master.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Required when deploying a Redis cache inside an existing Azure Virtual Network.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "Redis_firewallRules_childResource": { - "description": "Microsoft.Cache/Redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_linkedServers_childResource": { - "description": "Microsoft.Cache/Redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "Redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/Redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2019-07-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - } - } -} \ 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 16c1f4268c..0000000000 --- a/schemas/2020-06-01/Microsoft.Cache.json +++ /dev/null @@ -1,855 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": { - "type": "string" - }, - "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.", - "properties": { - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per master.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a firewall rule .", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2020-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ 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 32acb80606..0000000000 --- a/schemas/2020-12-01/Microsoft.Cache.json +++ /dev/null @@ -1,870 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2020-12-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": { - "type": "string" - }, - "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.", - "properties": { - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor[.build]]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Only the major and minor version are used in a PUT/PATCH request. Supported versions: 4.0, 6.0.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "type": "string" - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take.", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2020-12-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ 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 f972f80e13..0000000000 --- a/schemas/2021-06-01/Microsoft.Cache.json +++ /dev/null @@ -1,925 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2021-06-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "oneOf": [ - { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": {}, - "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.", - "properties": { - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor[.build]]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Only the major and minor version are used in a PUT/PATCH request. Supported versions: 4.0, 6.0.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "type": "string" - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User assigned identity properties", - "properties": {}, - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2021-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-05-01/Microsoft.Cache.json b/schemas/2022-05-01/Microsoft.Cache.json deleted file mode 100644 index b05e36a6f9..0000000000 --- a/schemas/2022-05-01/Microsoft.Cache.json +++ /dev/null @@ -1,937 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "oneOf": [ - { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": {}, - "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.", - "properties": { - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "preferred-data-persistence-auth-method": { - "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User assigned identity properties", - "properties": {}, - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-05-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2022-06-01/Microsoft.Cache.json b/schemas/2022-06-01/Microsoft.Cache.json deleted file mode 100644 index 7f9a106ef9..0000000000 --- a/schemas/2022-06-01/Microsoft.Cache.json +++ /dev/null @@ -1,937 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "oneOf": [ - { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": {}, - "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.", - "properties": { - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "preferred-data-persistence-auth-method": { - "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User assigned identity properties", - "properties": {}, - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2022-06-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-04-01/Microsoft.Cache.json b/schemas/2023-04-01/Microsoft.Cache.json deleted file mode 100644 index 78abf97500..0000000000 --- a/schemas/2023-04-01/Microsoft.Cache.json +++ /dev/null @@ -1,933 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "oneOf": [ - { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": {}, - "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.", - "properties": { - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "preferred-data-persistence-auth-method": { - "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - }, - "storage-subscription-id": { - "description": "SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'. Note: This setting is important for caches with private endpoints. It has *no effect* on caches that are joined to, or injected into, a virtual network subnet.", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "type": "string" - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User assigned identity properties", - "properties": {}, - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-04-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-05-01-preview/Microsoft.Cache.json b/schemas/2023-05-01-preview/Microsoft.Cache.json deleted file mode 100644 index 0c7c20002e..0000000000 --- a/schemas/2023-05-01-preview/Microsoft.Cache.json +++ /dev/null @@ -1,1191 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_accessPolicies_childResource" - }, - { - "$ref": "#/definitions/redis_accessPolicyAssignments_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_accessPolicies": { - "description": "Microsoft.Cache/redis/accessPolicies", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy that is being added to the Redis cache.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/accessPolicies" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_accessPolicyAssignments": { - "description": "Microsoft.Cache/redis/accessPolicyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy assignment.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy assignment", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/accessPolicyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "oneOf": [ - { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCacheAccessPolicyAssignmentProperties": { - "description": "Properties for an access policy assignment", - "properties": { - "accessPolicyName": { - "description": "The name of the access policy that is being assigned", - "oneOf": [ - { - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "objectId": { - "description": "Object Id to assign access policy to", - "type": "string" - }, - "objectIdAlias": { - "description": "User friendly name for object id. Also represents username for token based authentication", - "type": "string" - } - }, - "required": [ - "objectId", - "objectIdAlias", - "accessPolicyName" - ], - "type": "object" - }, - "RedisCacheAccessPolicyProperties": { - "description": "All properties of an access policy.", - "properties": { - "permissions": { - "description": "Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites", - "type": "string" - } - }, - "required": [ - "permissions" - ], - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": {}, - "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.", - "properties": { - "aad-enabled": { - "description": "Specifies whether AAD based authentication has been enabled or disabled for the cache", - "type": "string" - }, - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "preferred-data-persistence-auth-method": { - "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - }, - "storage-subscription-id": { - "description": "SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User assigned identity properties", - "properties": {}, - "type": "object" - }, - "redis_accessPolicies_childResource": { - "description": "Microsoft.Cache/redis/accessPolicies", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy that is being added to the Redis cache.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "accessPolicies" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_accessPolicyAssignments_childResource": { - "description": "Microsoft.Cache/redis/accessPolicyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy assignment.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy assignment", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "accessPolicyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-05-01-preview" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/2023-08-01/Microsoft.Cache.json b/schemas/2023-08-01/Microsoft.Cache.json deleted file mode 100644 index 93f62a3b57..0000000000 --- a/schemas/2023-08-01/Microsoft.Cache.json +++ /dev/null @@ -1,1206 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#", - "title": "Microsoft.Cache", - "description": "Microsoft Cache Resource Types", - "$schema": "http://json-schema.org/draft-04/schema#", - "resourceDefinitions": { - "redis": { - "description": "Microsoft.Cache/redis", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "identity": { - "description": "The identity of the resource.", - "oneOf": [ - { - "$ref": "#/definitions/ManagedServiceIdentity" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "location": { - "description": "The geo-location where the resource lives", - "type": "string" - }, - "name": { - "description": "The name of the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Redis cache properties.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "resources": { - "items": { - "oneOf": [ - { - "$ref": "#/definitions/redis_firewallRules_childResource" - }, - { - "$ref": "#/definitions/redis_linkedServers_childResource" - }, - { - "$ref": "#/definitions/redis_patchSchedules_childResource" - }, - { - "$ref": "#/definitions/redis_accessPolicies_childResource" - }, - { - "$ref": "#/definitions/redis_accessPolicyAssignments_childResource" - }, - { - "$ref": "#/definitions/redis_privateEndpointConnections_childResource" - } - ] - }, - "type": "array" - }, - "tags": { - "description": "Resource tags.", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis" - ], - "type": "string" - }, - "zones": { - "description": "A list of availability zones denoting where the resource needs to come from.", - "oneOf": [ - { - "items": { - "type": "string" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_accessPolicies": { - "description": "Microsoft.Cache/redis/accessPolicies", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy that is being added to the Redis cache.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/accessPolicies" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_accessPolicyAssignments": { - "description": "Microsoft.Cache/redis/accessPolicyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy assignment.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy assignment", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/accessPolicyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "pattern": "^.*/default$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "Microsoft.Cache/redis/privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - }, - "definitions": { - "ManagedServiceIdentity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "properties": { - "type": { - "description": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "oneOf": [ - { - "enum": [ - "None", - "SystemAssigned", - "UserAssigned", - "SystemAssigned, UserAssigned" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "userAssignedIdentities": { - "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.", - "oneOf": [ - { - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "PrivateEndpoint": { - "description": "The Private Endpoint resource.", - "properties": {}, - "type": "object" - }, - "PrivateEndpointConnectionProperties": { - "description": "Properties of the PrivateEndpointConnectProperties.", - "properties": { - "privateEndpoint": { - "description": "The resource of private end point.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpoint" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "privateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateLinkServiceConnectionState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "type": "object" - }, - "PrivateLinkServiceConnectionState": { - "description": "A collection of information about the state of the connection between service consumer and provider.", - "properties": { - "actionsRequired": { - "description": "A message indicating if changes on the service provider require any updates on the consumer.", - "type": "string" - }, - "description": { - "description": "The reason for approval/rejection of the connection.", - "type": "string" - }, - "status": { - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.", - "oneOf": [ - { - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "type": "object" - }, - "RedisCacheAccessPolicyAssignmentProperties": { - "description": "Properties for an access policy assignment", - "properties": { - "accessPolicyName": { - "description": "The name of the access policy that is being assigned", - "oneOf": [ - { - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "objectId": { - "description": "Object Id to assign access policy to", - "type": "string" - }, - "objectIdAlias": { - "description": "User friendly name for object id. Also represents username for token based authentication", - "type": "string" - } - }, - "required": [ - "objectId", - "objectIdAlias", - "accessPolicyName" - ], - "type": "object" - }, - "RedisCacheAccessPolicyProperties": { - "description": "All properties of an access policy.", - "properties": { - "permissions": { - "description": "Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites", - "type": "string" - } - }, - "required": [ - "permissions" - ], - "type": "object" - }, - "RedisCommonPropertiesRedisConfiguration": { - "additionalProperties": {}, - "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.", - "properties": { - "aad-enabled": { - "description": "Specifies whether AAD based authentication has been enabled or disabled for the cache", - "type": "string" - }, - "aof-backup-enabled": { - "description": "Specifies whether the aof backup is enabled", - "type": "string" - }, - "aof-storage-connection-string-0": { - "description": "First storage account connection string", - "type": "string" - }, - "aof-storage-connection-string-1": { - "description": "Second storage account connection string", - "type": "string" - }, - "authnotrequired": { - "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.", - "type": "string" - }, - "maxfragmentationmemory-reserved": { - "description": "Value in megabytes reserved for fragmentation per shard", - "type": "string" - }, - "maxmemory-delta": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "maxmemory-policy": { - "description": "The eviction strategy used when your data won't fit within its memory limit.", - "type": "string" - }, - "maxmemory-reserved": { - "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover.", - "type": "string" - }, - "preferred-data-persistence-auth-method": { - "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS", - "type": "string" - }, - "rdb-backup-enabled": { - "description": "Specifies whether the rdb backup is enabled", - "type": "string" - }, - "rdb-backup-frequency": { - "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)", - "type": "string" - }, - "rdb-backup-max-snapshot-count": { - "description": "Specifies the maximum number of snapshots for rdb backup", - "type": "string" - }, - "rdb-storage-connection-string": { - "description": "The storage account connection string for storing rdb file", - "type": "string" - }, - "storage-subscription-id": { - "description": "SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.", - "type": "string" - } - }, - "type": "object" - }, - "RedisCreateProperties": { - "description": "Properties supplied to Create Redis operation.", - "properties": { - "enableNonSslPort": { - "description": "Specifies whether the non-ssl Redis server port (6379) is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "minimumTlsVersion": { - "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')", - "oneOf": [ - { - "enum": [ - "1.0", - "1.1", - "1.2" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "publicNetworkAccess": { - "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'", - "oneOf": [ - { - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisConfiguration": { - "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.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "redisVersion": { - "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.", - "type": "string" - }, - "replicasPerMaster": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "replicasPerPrimary": { - "description": "The number of replicas to be created per primary.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "shardCount": { - "description": "The number of shards to be created on a Premium Cluster Cache.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "sku": { - "description": "The SKU of the Redis cache to deploy.", - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "staticIP": { - "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.", - "oneOf": [ - { - "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "subnetId": { - "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", - "oneOf": [ - { - "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "tenantSettings": { - "description": "A dictionary of tenant settings", - "oneOf": [ - { - "additionalProperties": { - "type": "string" - }, - "properties": {}, - "type": "object" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "updateChannel": { - "description": "Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.", - "oneOf": [ - { - "enum": [ - "Stable", - "Preview" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "sku" - ], - "type": "object" - }, - "RedisFirewallRuleProperties": { - "description": "Specifies a range of IP addresses permitted to connect to the cache", - "properties": { - "endIP": { - "description": "highest IP address included in the range", - "type": "string" - }, - "startIP": { - "description": "lowest IP address included in the range", - "type": "string" - } - }, - "required": [ - "startIP", - "endIP" - ], - "type": "object" - }, - "RedisLinkedServerCreateProperties": { - "description": "Create properties for a linked server", - "properties": { - "linkedRedisCacheId": { - "description": "Fully qualified resourceId of the linked redis cache.", - "type": "string" - }, - "linkedRedisCacheLocation": { - "description": "Location of the linked redis cache.", - "type": "string" - }, - "serverRole": { - "description": "Role of the linked server.", - "oneOf": [ - { - "enum": [ - "Primary", - "Secondary" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "linkedRedisCacheId", - "linkedRedisCacheLocation", - "serverRole" - ], - "type": "object" - }, - "ScheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "properties": { - "scheduleEntries": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "items": { - "$ref": "#/definitions/ScheduleEntry" - }, - "type": "array" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "scheduleEntries" - ], - "type": "object" - }, - "ScheduleEntry": { - "description": "Patch schedule entry for a Premium Redis Cache.", - "properties": { - "dayOfWeek": { - "description": "Day of the week when a cache can be patched.", - "oneOf": [ - { - "enum": [ - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday", - "Sunday", - "Everyday", - "Weekend" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "maintenanceWindow": { - "description": "ISO8601 timespan specifying how much time cache patching can take. ", - "type": "string" - }, - "startHourUtc": { - "description": "Start hour after which cache patching can start.", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "dayOfWeek", - "startHourUtc" - ], - "type": "object" - }, - "Sku": { - "description": "SKU parameters supplied to the create Redis operation.", - "properties": { - "capacity": { - "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).", - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "family": { - "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium).", - "oneOf": [ - { - "enum": [ - "C", - "P" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "name": { - "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)", - "oneOf": [ - { - "enum": [ - "Basic", - "Standard", - "Premium" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "required": [ - "name", - "family", - "capacity" - ], - "type": "object" - }, - "UserAssignedIdentity": { - "description": "User assigned identity properties", - "properties": {}, - "type": "object" - }, - "redis_accessPolicies_childResource": { - "description": "Microsoft.Cache/redis/accessPolicies", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy that is being added to the Redis cache.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy.", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "accessPolicies" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_accessPolicyAssignments_childResource": { - "description": "Microsoft.Cache/redis/accessPolicyAssignments", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the access policy assignment.", - "oneOf": [ - { - "maxLength": 63, - "minLength": 3, - "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$", - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "Properties of an access policy assignment", - "oneOf": [ - { - "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "accessPolicyAssignments" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_firewallRules_childResource": { - "description": "Microsoft.Cache/redis/firewallRules", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the firewall rule.", - "type": "string" - }, - "properties": { - "description": "redis cache firewall rule properties", - "oneOf": [ - { - "$ref": "#/definitions/RedisFirewallRuleProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "firewallRules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_linkedServers_childResource": { - "description": "Microsoft.Cache/redis/linkedServers", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the linked server that is being added to the Redis cache.", - "type": "string" - }, - "properties": { - "description": "Properties required to create a linked server.", - "oneOf": [ - { - "$ref": "#/definitions/RedisLinkedServerCreateProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "linkedServers" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_patchSchedules_childResource": { - "description": "Microsoft.Cache/redis/patchSchedules", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "Default string modeled as parameter for auto generation to work correctly.", - "oneOf": [ - { - "enum": [ - "default" - ], - "type": "string" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "properties": { - "description": "List of patch schedules for a Redis cache.", - "oneOf": [ - { - "$ref": "#/definitions/ScheduleEntries" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "patchSchedules" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - }, - "redis_privateEndpointConnections_childResource": { - "description": "Microsoft.Cache/redis/privateEndpointConnections", - "properties": { - "apiVersion": { - "enum": [ - "2023-08-01" - ], - "type": "string" - }, - "name": { - "description": "The name of the private endpoint connection associated with the Azure resource", - "type": "string" - }, - "properties": { - "description": "Resource properties.", - "oneOf": [ - { - "$ref": "#/definitions/PrivateEndpointConnectionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "type": { - "enum": [ - "privateEndpointConnections" - ], - "type": "string" - } - }, - "required": [ - "name", - "properties", - "apiVersion", - "type" - ], - "type": "object" - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index ab4d6df4d4..4a18f7fe37 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6577,198 +6577,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2024-02-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/2022-05-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_accessPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_accessPolicyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis_accessPolicies" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis_accessPolicyAssignments" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-08-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" - }, { "$ref": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.Cdn.json#/resourceDefinitions/profiles" },