From e7b84b1f7a393aeb00d935fb839b532501a46030 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 5 Jul 2021 03:36:55 +0000 Subject: [PATCH] CodeGen from PR 14930 in Azure/azure-rest-api-specs [Hub Generated] [SiteRecovery] Review request for Microsoft.RecoveryServices to add version stable/2021-04-01 (#14930) * Adds base for updating Microsoft.RecoveryServices from version stable/2021-02-10 to version 2021-04-01 * Updates readme * Updates API version in new specs and examples --- .../SdkInfo_SiteRecoveryManagementClient.cs | 65 ++++++++----------- .../Generated/SiteRecoveryManagementClient.cs | 2 +- 2 files changed, 28 insertions(+), 39 deletions(-) diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs index 5d7b364120f06..6123170690d68 100644 --- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs +++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SdkInfo_SiteRecoveryManagementClient.cs @@ -19,46 +19,35 @@ public static IEnumerable> ApiInfo_SiteRecoveryMan { return new Tuple[] { - new Tuple("Compute", "ReplicationEligibilityResults", "2021-02-10"), - new Tuple("RecoveryServices", "MigrationRecoveryPoints", "2021-02-10"), - new Tuple("RecoveryServices", "Operations", "2021-02-10"), - new Tuple("RecoveryServices", "RecoveryPoints", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationAlertSettings", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationEvents", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationFabrics", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationJobs", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationLogicalNetworks", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationMigrationItems", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationNetworkMappings", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationNetworks", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationPolicies", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationProtectableItems", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationProtectedItems", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationProtectionContainerMappings", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationProtectionContainers", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationProtectionIntents", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationRecoveryPlans", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationRecoveryServicesProviders", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationStorageClassificationMappings", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationStorageClassifications", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationVaultHealth", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationVaultSetting", "2021-02-10"), - new Tuple("RecoveryServices", "ReplicationvCenters", "2021-02-10"), - new Tuple("RecoveryServices", "SupportedOperatingSystems", "2021-02-10"), - new Tuple("RecoveryServices", "TargetComputeSizes", "2021-02-10"), + new Tuple("Compute", "ReplicationEligibilityResults", "2021-04-01"), + new Tuple("RecoveryServices", "MigrationRecoveryPoints", "2021-04-01"), + new Tuple("RecoveryServices", "Operations", "2021-04-01"), + new Tuple("RecoveryServices", "RecoveryPoints", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationAlertSettings", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationEvents", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationFabrics", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationJobs", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationLogicalNetworks", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationMigrationItems", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationNetworkMappings", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationNetworks", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationPolicies", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationProtectableItems", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationProtectedItems", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationProtectionContainerMappings", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationProtectionContainers", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationProtectionIntents", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationRecoveryPlans", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationRecoveryServicesProviders", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationStorageClassificationMappings", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationStorageClassifications", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationVaultHealth", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationVaultSetting", "2021-04-01"), + new Tuple("RecoveryServices", "ReplicationvCenters", "2021-04-01"), + new Tuple("RecoveryServices", "SupportedOperatingSystems", "2021-04-01"), + new Tuple("RecoveryServices", "TargetComputeSizes", "2021-04-01"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/recoveryservicessiterecovery/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\repos\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "77df9507f58fcc7a9a4eb6c86d748535f74ca08e"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs index 763b72909d436..8bd7ac912e706 100644 --- a/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs +++ b/sdk/recoveryservices-siterecovery/Microsoft.Azure.Management.RecoveryServices.SiteRecovery/src/Generated/SiteRecoveryManagementClient.cs @@ -486,7 +486,7 @@ private void Initialize() ReplicationVaultHealth = new ReplicationVaultHealthOperations(this); ReplicationVaultSetting = new ReplicationVaultSettingOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2021-02-10"; + ApiVersion = "2021-04-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true;