From 3a41ddf097fab54ef1855effc6f433e475edc843 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 20 May 2022 07:51:30 +0000 Subject: [PATCH] CodeGen from PR 19158 in Azure/azure-rest-api-specs Merge eac2d30566143f233afb70432edaf20f55b369f3 into a8a52b9e6c305f03c3a4c5411d59fc4454b5b372 --- .../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..792e5c4369fa 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/1767abc7459552b08c7089fb1e457c4a16006de5/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/1767abc7459552b08c7089fb1e457c4a16006de5/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/cosmos-db.json + - https://github.com/Azure/azure-rest-api-specs/blob/1767abc7459552b08c7089fb1e457c4a16006de5/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateEndpointConnection.json + - https://github.com/Azure/azure-rest-api-specs/blob/1767abc7459552b08c7089fb1e457c4a16006de5/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/privateLinkResources.json + - https://github.com/Azure/azure-rest-api-specs/blob/1767abc7459552b08c7089fb1e457c4a16006de5/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/restorable.json + - https://github.com/Azure/azure-rest-api-specs/blob/1767abc7459552b08c7089fb1e457c4a16006de5/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/managedCassandra.json + - https://github.com/Azure/azure-rest-api-specs/blob/1767abc7459552b08c7089fb1e457c4a16006de5/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2021-10-15/rbac.json ```