From 385c3b3a80463d3e422a318946ddc40772ef1b11 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 4 May 2022 16:46:33 +0000 Subject: [PATCH] CodeGen from PR 18867 in Azure/azure-rest-api-specs Merge 4948fceea0d547c3dd806d2a266c61bfe4664120 into 50ed15bd61ac79f2368d769df0c207a00b9e099f --- .../src/Generated/Models/ServerVersion.cs | 3 +++ .../Azure.ResourceManager.CosmosDB/src/autorest.md | 14 +++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) 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..c50895d399f9 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/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/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/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json + - https://github.com/Azure/azure-rest-api-specs/blob/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateEndpointConnection.json + - https://github.com/Azure/azure-rest-api-specs/blob/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateLinkResources.json + - https://github.com/Azure/azure-rest-api-specs/blob/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/restorable.json + - https://github.com/Azure/azure-rest-api-specs/blob/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/managedCassandra.json + - https://github.com/Azure/azure-rest-api-specs/blob/f8bd09aa392dc15ac6f539a20a3b356bcda7d90d/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/rbac.json ```