From 6b2139c84e954e12f079f637573c95494cc810a0 Mon Sep 17 00:00:00 2001 From: Darfeikus Date: Thu, 17 Aug 2023 21:33:14 -0700 Subject: [PATCH 1/5] add UpdateChannel to Redis-API --- .../stable/2023-08-01/examples/RedisCacheCreate.json | 2 ++ .../examples/RedisCacheCreateDefaultVersion.json | 2 ++ .../examples/RedisCacheCreateLatestVersion.json | 2 ++ .../stable/2023-08-01/examples/RedisCacheGet.json | 1 + .../stable/2023-08-01/examples/RedisCacheUpdate.json | 2 ++ .../Microsoft.Cache/stable/2023-08-01/redis.json | 12 ++++++++++++ 6 files changed, 21 insertions(+) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreate.json index 28583a93a595..412a42d45c77 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreate.json @@ -54,6 +54,7 @@ "enableNonSslPort": false, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxmemory-policy": "allkeys-lru" }, @@ -139,6 +140,7 @@ "enableNonSslPort": false, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxclients": "1000", "maxmemory-reserved": "50", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateDefaultVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateDefaultVersion.json index 4da0a4f2b94e..1b003cc433bd 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateDefaultVersion.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateDefaultVersion.json @@ -53,6 +53,7 @@ "enableNonSslPort": false, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxmemory-policy": "allkeys-lru" }, @@ -138,6 +139,7 @@ "enableNonSslPort": false, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxclients": "1000", "maxmemory-reserved": "50", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateLatestVersion.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateLatestVersion.json index cc70d520ae08..a0d23143e7db 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateLatestVersion.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheCreateLatestVersion.json @@ -54,6 +54,7 @@ "enableNonSslPort": false, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxmemory-policy": "allkeys-lru" }, @@ -139,6 +140,7 @@ "enableNonSslPort": false, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxclients": "1000", "maxmemory-reserved": "50", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheGet.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheGet.json index 892ee1ce269d..9df66202a02f 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheGet.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheGet.json @@ -24,6 +24,7 @@ "enableNonSslPort": true, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": {}, "hostName": "cache1.redis.cache.windows.net", "port": 6379, diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheUpdate.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheUpdate.json index d92c97599945..5f533b746daf 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheUpdate.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheUpdate.json @@ -34,6 +34,7 @@ "enableNonSslPort": true, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxclients": "1000", "maxmemory-reserved": "50", @@ -87,6 +88,7 @@ "enableNonSslPort": true, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": { "maxclients": "1000", "maxmemory-reserved": "50", diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json index fd9e412ba5c8..f3c0dd0f3f37 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json @@ -2302,6 +2302,18 @@ "name": "PublicNetworkAccess", "modelAsString": true } + }, + "updateChannel": { + "type": "string", + "description": "Optional: Specifies the update channel for the Redis Cache. Default value is 'Stable'.", + "enum": [ + "Stable", + "Preview" + ], + "x-ms-enum": { + "name": "UpdateChannel", + "modelAsString": true + } } }, "description": "Create/Update/Get common properties of the redis cache.", From 180af0681709fc43efb8c5fd8673173cf12614d1 Mon Sep 17 00:00:00 2001 From: Darfeikus Date: Thu, 17 Aug 2023 21:41:16 -0700 Subject: [PATCH 2/5] add property to RedisCacheList --- .../stable/2023-08-01/examples/RedisCacheList.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheList.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheList.json index c711a4b1763d..7fbd553b1576 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheList.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/examples/RedisCacheList.json @@ -24,6 +24,7 @@ "enableNonSslPort": true, "replicasPerMaster": 2, "replicasPerPrimary": 2, + "updateChannel": "Stable", "redisConfiguration": {}, "hostName": "cache1.redis.cache.windows.net", "port": 6379, From 1ea7a9a793e2e6c9831a3ea66c43fb09572997cb Mon Sep 17 00:00:00 2001 From: Darfeikus Date: Fri, 18 Aug 2023 10:52:19 -0700 Subject: [PATCH 3/5] Update message for Update Channel --- .../Microsoft.Cache/stable/2023-08-01/redis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json index f3c0dd0f3f37..e1593d5a0052 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json @@ -2305,7 +2305,7 @@ }, "updateChannel": { "type": "string", - "description": "Optional: Specifies the update channel for the Redis Cache. Default value is 'Stable'.", + "description": "Optional: Specifies the update channel for the monthly Redis Bits the Redis Cache will receive. Preview contains our latest features. Default value is 'Stable'.", "enum": [ "Stable", "Preview" From 2fcbb8b6b38fbad3898befa123069c3e657239e5 Mon Sep 17 00:00:00 2001 From: Darfeikus Date: Fri, 18 Aug 2023 17:07:57 -0700 Subject: [PATCH 4/5] Update message for API --- .../Microsoft.Cache/stable/2023-08-01/redis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json index e1593d5a0052..4814398dab90 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json @@ -2305,7 +2305,7 @@ }, "updateChannel": { "type": "string", - "description": "Optional: Specifies the update channel for the monthly Redis Bits the Redis Cache will receive. Preview contains our latest features. Default value is 'Stable'.", + "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 ahead of 'Stable' channel caches. Default value is 'Stable'.", "enum": [ "Stable", "Preview" From 0857262569e2eb393a24be8a7bb0effaf7dfea62 Mon Sep 17 00:00:00 2001 From: Darfeikus Date: Fri, 18 Aug 2023 17:10:10 -0700 Subject: [PATCH 5/5] Update Channel message --- .../Microsoft.Cache/stable/2023-08-01/redis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json index 4814398dab90..65fea7342961 100644 --- a/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json +++ b/specification/redis/resource-manager/Microsoft.Cache/stable/2023-08-01/redis.json @@ -2305,7 +2305,7 @@ }, "updateChannel": { "type": "string", - "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 ahead of 'Stable' channel caches. Default value is 'Stable'.", + "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'.", "enum": [ "Stable", "Preview"