diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs
index eaccce9f0f327..8884b643214ad 100644
--- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs
+++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.cs
@@ -44,7 +44,7 @@ public RedisCreateOrUpdateContent(AzureLocation location, RedisSku sku)
public ManagedServiceIdentity Identity { get; set; }
/// 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.
public RedisCommonConfiguration RedisConfiguration { get; set; }
- /// Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6).
+ /// 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.
public string RedisVersion { get; set; }
/// Specifies whether the non-ssl Redis server port (6379) is enabled.
public bool? EnableNonSslPort { get; set; }
diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs
index f21dbe96769b3..e18af0529debd 100644
--- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs
+++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.cs
@@ -27,7 +27,7 @@ public RedisPatch()
public ManagedServiceIdentity Identity { get; set; }
/// 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.
public RedisCommonConfiguration RedisConfiguration { get; set; }
- /// Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6).
+ /// 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.
public string RedisVersion { get; set; }
/// Specifies whether the non-ssl Redis server port (6379) is enabled.
public bool? EnableNonSslPort { get; set; }
diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs
index 361adf110f84f..95845fe709d2e 100644
--- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs
+++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.cs
@@ -47,7 +47,7 @@ public RedisData(AzureLocation location, RedisSku sku) : base(location)
/// A list of availability zones denoting where the resource needs to come from.
/// The identity of the resource.
/// 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.
- /// Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6).
+ /// 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.
/// Specifies whether the non-ssl Redis server port (6379) is enabled.
/// The number of replicas to be created per primary.
/// The number of replicas to be created per primary.
@@ -98,7 +98,7 @@ internal RedisData(ResourceIdentifier id, string name, ResourceType resourceType
public ManagedServiceIdentity Identity { get; set; }
/// 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.
public RedisCommonConfiguration RedisConfiguration { get; set; }
- /// Redis version. Only major version will be used in PUT/PATCH request with current valid values: (4, 6).
+ /// 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.
public string RedisVersion { get; set; }
/// Specifies whether the non-ssl Redis server port (6379) is enabled.
public bool? EnableNonSslPort { get; set; }
diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs
index 6c578fa64a899..92a419ce6dbf8 100644
--- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs
+++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs
@@ -251,6 +251,7 @@ public async Task PutAsync(string subscriptionId, string resourceGroup
await _pipeline.SendAsync(message, cancellationToken).ConfigureAwait(false);
switch (message.Response.Status)
{
+ case 200:
case 201:
return message.Response;
default:
@@ -279,6 +280,7 @@ public Response Put(string subscriptionId, string resourceGroupName, string cach
_pipeline.Send(message, cancellationToken);
switch (message.Response.Status)
{
+ case 200:
case 201:
return message.Response;
default:
diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md
index 535d110c2dead..721d2475c1ee6 100644
--- a/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md
+++ b/sdk/redis/Azure.ResourceManager.Redis/src/autorest.md
@@ -8,7 +8,7 @@ azure-arm: true
csharp: true
library-name: Redis
namespace: Azure.ResourceManager.Redis
-require: https://github.com/Azure/azure-rest-api-specs/blob/5419bfc41fe7a45955df3f342c4d5d81ea785a35/specification/redis/resource-manager/readme.md
+require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/redis/resource-manager/readme.md
tag: package-2021-06
output-folder: $(this-folder)/Generated
clear-output-folder: true