diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ServerVersion.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ServerVersion.cs
index 83431912ebc5..9999fe381e58 100644
--- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ServerVersion.cs
+++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ServerVersion.cs
@@ -25,6 +25,7 @@ public ServerVersion(string value)
private const string Three2Value = "3.2";
private const string Three6Value = "3.6";
private const string Four0Value = "4.0";
+ private const string Four2Value = "4.2";
/// 3.2.
public static ServerVersion Three2 { get; } = new ServerVersion(Three2Value);
@@ -32,6 +33,8 @@ public ServerVersion(string value)
public static ServerVersion Three6 { get; } = new ServerVersion(Three6Value);
/// 4.0.
public static ServerVersion Four0 { get; } = new ServerVersion(Four0Value);
+ /// 4.2.
+ public static ServerVersion Four2 { get; } = new ServerVersion(Four2Value);
/// Determines if two values are the same.
public static bool operator ==(ServerVersion left, ServerVersion right) => left.Equals(right);
/// Determines if two values are not the same.
diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/autorest.md b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/autorest.md
index 93a1e2f0e49d..dc37aa3a232f 100644
--- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/autorest.md
+++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/autorest.md
@@ -10,7 +10,7 @@ csharp: true
library-name: CosmosDB
skip-csproj: true
namespace: Azure.ResourceManager.CosmosDB
-require: https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/readme.md
+require: https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/readme.md
tag: package-2021-10-csharp
output-folder: Generated/
clear-output-folder: true
@@ -306,10 +306,10 @@ These settings apply only when `--tag=package-2021-10-csharp` is specified on th
```yaml $(tag) == 'package-2021-10-csharp'
input-file:
- - https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json
- - https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateEndpointConnection.json
- - https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateLinkResources.json
- - https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/restorable.json
- - https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/managedCassandra.json
- - https://github.com/Azure/azure-rest-api-specs/blob/8a2a6226c3ac5a882f065a66daeaf5acef334273/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/rbac.json
+ - https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json
+ - https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateEndpointConnection.json
+ - https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateLinkResources.json
+ - https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/restorable.json
+ - https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/managedCassandra.json
+ - https://github.com/Azure/azure-rest-api-specs/blob/b7666d30a3b6db5c0cda3248872218e0e8baef00/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/rbac.json
```