From 364e3f8ba7ac95edf2928427f19c818657ff1163 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 6 Mar 2023 17:42:45 +0000 Subject: [PATCH] CodeGen from PR 22613 in Azure/azure-rest-api-specs Merge 16e1473d6cfa6dc40569620ab79138b5a15d4961 into 8539fe23e90aff363869fd21321b775ce2ccca8b --- ...veryServicesSiteRecovery.netstandard2.0.cs | 54 ++++++++ ...icSpecificLocationDetails.Serialization.cs | 119 ++++++++++++++++++ .../A2AFabricSpecificLocationDetails.cs | 72 +++++++++++ ...zureFabricSpecificDetails.Serialization.cs | 18 ++- .../Models/AzureFabricSpecificDetails.cs | 7 +- .../src/Generated/Models/SecurityType.cs | 54 ++++++++ ...reCbtEnableMigrationInput.Serialization.cs | 10 ++ .../Models/VMwareCbtEnableMigrationInput.cs | 4 + .../VMwareCbtMigrateInput.Serialization.cs | 5 + .../Generated/Models/VMwareCbtMigrateInput.cs | 2 + ...VMwareCbtMigrationDetails.Serialization.cs | 41 +++++- .../Models/VMwareCbtMigrationDetails.cs | 19 ++- ...onContainerMappingDetails.Serialization.cs | 18 ++- ...areCbtProtectionContainerMappingDetails.cs | 7 +- ...SecurityProfileProperties.Serialization.cs | 93 ++++++++++++++ .../VMwareCbtSecurityProfileProperties.cs | 44 +++++++ ...VMwareCbtTestMigrateInput.Serialization.cs | 5 + .../Models/VMwareCbtTestMigrateInput.cs | 2 + .../MigrationRecoveryPointsRestOperations.cs | 2 +- .../RecoveryPointsRestOperations.cs | 2 +- .../ReplicationAlertSettingsRestOperations.cs | 2 +- .../ReplicationAppliancesRestOperations.cs | 2 +- ...icationEligibilityResultsRestOperations.cs | 2 +- .../ReplicationEventsRestOperations.cs | 2 +- .../ReplicationFabricsRestOperations.cs | 2 +- .../ReplicationJobsRestOperations.cs | 2 +- ...eplicationLogicalNetworksRestOperations.cs | 2 +- ...ReplicationMigrationItemsRestOperations.cs | 2 +- ...eplicationNetworkMappingsRestOperations.cs | 2 +- .../ReplicationNetworksRestOperations.cs | 2 +- .../ReplicationPoliciesRestOperations.cs | 2 +- ...plicationProtectableItemsRestOperations.cs | 2 +- ...ReplicationProtectedItemsRestOperations.cs | 2 +- ...otectionContainerMappingsRestOperations.cs | 2 +- ...ationProtectionContainersRestOperations.cs | 2 +- ...licationProtectionIntentsRestOperations.cs | 2 +- .../ReplicationRecoveryPlansRestOperations.cs | 2 +- ...RecoveryServicesProvidersRestOperations.cs | 2 +- ...ageClassificationMappingsRestOperations.cs | 2 +- ...ionStorageClassificationsRestOperations.cs | 2 +- .../ReplicationVaultHealthRestOperations.cs | 2 +- .../ReplicationVaultSettingRestOperations.cs | 2 +- .../ReplicationvCentersRestOperations.cs | 2 +- ...SupportedOperatingSystemsRestOperations.cs | 2 +- .../TargetComputeSizesRestOperations.cs | 2 +- .../src/autorest.md | 2 +- 46 files changed, 596 insertions(+), 34 deletions(-) create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SecurityType.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.cs diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/api/Azure.ResourceManager.RecoveryServicesSiteRecovery.netstandard2.0.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/api/Azure.ResourceManager.RecoveryServicesSiteRecovery.netstandard2.0.cs index d2557ccd8612..0982bfe8704a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/api/Azure.ResourceManager.RecoveryServicesSiteRecovery.netstandard2.0.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/api/Azure.ResourceManager.RecoveryServicesSiteRecovery.netstandard2.0.cs @@ -1067,6 +1067,22 @@ internal A2AExtendedLocationDetails() { } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExtendedLocation PrimaryExtendedLocation { get { throw null; } } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExtendedLocation RecoveryExtendedLocation { get { throw null; } } } + public partial class A2AFabricSpecificLocationDetails + { + internal A2AFabricSpecificLocationDetails() { } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExtendedLocation InitialPrimaryExtendedLocation { get { throw null; } } + public string InitialPrimaryFabricLocation { get { throw null; } } + public string InitialPrimaryZone { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExtendedLocation InitialRecoveryExtendedLocation { get { throw null; } } + public string InitialRecoveryFabricLocation { get { throw null; } } + public string InitialRecoveryZone { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExtendedLocation PrimaryExtendedLocation { get { throw null; } } + public string PrimaryFabricLocation { get { throw null; } } + public string PrimaryZone { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExtendedLocation RecoveryExtendedLocation { get { throw null; } } + public string RecoveryFabricLocation { get { throw null; } } + public string RecoveryZone { get { throw null; } } + } public partial class A2APolicyCreationInput : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PolicyProviderSpecificInput { public A2APolicyCreationInput(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SetMultiVmSyncStatus multiVmSyncStatus) { } @@ -1647,6 +1663,7 @@ internal AzureFabricSpecificDetails() { } public System.Collections.Generic.IReadOnlyList ContainerIds { get { throw null; } } public System.Collections.Generic.IReadOnlyList ExtendedLocations { get { throw null; } } public Azure.Core.AzureLocation? Location { get { throw null; } } + public System.Collections.Generic.IReadOnlyList LocationDetails { get { throw null; } } public System.Collections.Generic.IReadOnlyList Zones { get { throw null; } } } public partial class AzureToAzureCreateNetworkMappingInput : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FabricSpecificCreateNetworkMappingInput @@ -4980,6 +4997,25 @@ internal ScriptActionTaskDetails() { } public string Output { get { throw null; } } public string Path { get { throw null; } } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct SecurityType : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public SecurityType(string value) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType ConfidentialVm { get { throw null; } } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType None { get { throw null; } } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType TrustedLaunch { get { throw null; } } + public bool Equals(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public override int GetHashCode() { throw null; } + public static bool operator ==(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType left, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType right) { throw null; } + public static implicit operator Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType left, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType right) { throw null; } + public override string ToString() { throw null; } + } public partial class ServiceError { internal ServiceError() { } @@ -5537,6 +5573,7 @@ public VMwareCbtDiskInput(string diskId, string isOSDisk, string logStorageAccou public partial class VMwareCbtEnableMigrationInput : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.EnableMigrationProviderSpecificInput { public VMwareCbtEnableMigrationInput(string vmwareMachineId, System.Collections.Generic.IEnumerable disksToInclude, string dataMoverRunAsAccountId, string snapshotRunAsAccountId, string targetResourceGroupId, string targetNetworkId) { } + public string ConfidentialVmKeyVaultId { get { throw null; } set { } } public string DataMoverRunAsAccountId { get { throw null; } } public System.Collections.Generic.IList DisksToInclude { get { throw null; } } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.LicenseType? LicenseType { get { throw null; } set { } } @@ -5555,6 +5592,7 @@ public VMwareCbtEnableMigrationInput(string vmwareMachineId, System.Collections. public string TargetResourceGroupId { get { throw null; } } public string TargetSubnetName { get { throw null; } set { } } public string TargetVmName { get { throw null; } set { } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtSecurityProfileProperties TargetVmSecurityProfile { get { throw null; } set { } } public string TargetVmSize { get { throw null; } set { } } public System.Collections.Generic.IDictionary TargetVmTags { get { throw null; } } public string TestNetworkId { get { throw null; } set { } } @@ -5569,11 +5607,13 @@ internal VMwareCbtEventDetails() { } public partial class VMwareCbtMigrateInput : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrateProviderSpecificInput { public VMwareCbtMigrateInput(string performShutdown) { } + public string OSUpgradeVersion { get { throw null; } set { } } public string PerformShutdown { get { throw null; } } } public partial class VMwareCbtMigrationDetails : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationProviderSpecificSettings { internal VMwareCbtMigrationDetails() { } + public string ConfidentialVmKeyVaultId { get { throw null; } } public string DataMoverRunAsAccountId { get { throw null; } } public string FirmwareType { get { throw null; } } public int? InitialSeedingProgressPercentage { get { throw null; } } @@ -5583,6 +5623,7 @@ internal VMwareCbtMigrationDetails() { } public string LicenseType { get { throw null; } } public int? MigrationProgressPercentage { get { throw null; } } public string MigrationRecoveryPointId { get { throw null; } } + public string OSName { get { throw null; } } public string OSType { get { throw null; } } public string PerformAutoResync { get { throw null; } } public System.Collections.Generic.IReadOnlyList ProtectedDisks { get { throw null; } } @@ -5596,6 +5637,7 @@ internal VMwareCbtMigrationDetails() { } public string SnapshotRunAsAccountId { get { throw null; } } public string SqlServerLicenseType { get { throw null; } } public string StorageAccountId { get { throw null; } } + public System.Collections.Generic.IReadOnlyList SupportedOSVersions { get { throw null; } } public string TargetAvailabilitySetId { get { throw null; } } public string TargetAvailabilityZone { get { throw null; } } public string TargetBootDiagnosticsStorageAccountId { get { throw null; } } @@ -5607,6 +5649,7 @@ internal VMwareCbtMigrationDetails() { } public string TargetProximityPlacementGroupId { get { throw null; } } public string TargetResourceGroupId { get { throw null; } } public string TargetVmName { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtSecurityProfileProperties TargetVmSecurityProfile { get { throw null; } } public string TargetVmSize { get { throw null; } } public System.Collections.Generic.IReadOnlyDictionary TargetVmTags { get { throw null; } } public string TestNetworkId { get { throw null; } } @@ -5678,6 +5721,7 @@ internal VMwareCbtProtectedDiskDetails() { } public partial class VMwareCbtProtectionContainerMappingDetails : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionContainerMappingProviderSpecificDetails { internal VMwareCbtProtectionContainerMappingDetails() { } + public System.Collections.Generic.IReadOnlyList ExcludedSkus { get { throw null; } } public string KeyVaultId { get { throw null; } } public System.Uri KeyVaultUri { get { throw null; } } public System.Collections.Generic.IReadOnlyDictionary RoleSizeToNicCountMap { get { throw null; } } @@ -5696,10 +5740,20 @@ public partial class VMwareCbtResyncInput : Azure.ResourceManager.RecoveryServic public VMwareCbtResyncInput(string skipCbtReset) { } public string SkipCbtReset { get { throw null; } } } + public partial class VMwareCbtSecurityProfileProperties + { + public VMwareCbtSecurityProfileProperties() { } + public string IsTargetVmConfidentialEncryptionEnabled { get { throw null; } set { } } + public string IsTargetVmIntegrityMonitoringEnabled { get { throw null; } set { } } + public string IsTargetVmSecureBootEnabled { get { throw null; } set { } } + public string IsTargetVmTpmEnabled { get { throw null; } set { } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SecurityType? TargetVmSecurityType { get { throw null; } set { } } + } public partial class VMwareCbtTestMigrateInput : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestMigrateProviderSpecificInput { public VMwareCbtTestMigrateInput(string recoveryPointId, string networkId) { } public string NetworkId { get { throw null; } } + public string OSUpgradeVersion { get { throw null; } set { } } public string RecoveryPointId { get { throw null; } } public System.Collections.Generic.IList VmNics { get { throw null; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs new file mode 100644 index 000000000000..9effa2273695 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + public partial class A2AFabricSpecificLocationDetails + { + internal static A2AFabricSpecificLocationDetails DeserializeA2AFabricSpecificLocationDetails(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional initialPrimaryZone = default; + Optional initialRecoveryZone = default; + Optional initialPrimaryExtendedLocation = default; + Optional initialRecoveryExtendedLocation = default; + Optional initialPrimaryFabricLocation = default; + Optional initialRecoveryFabricLocation = default; + Optional primaryZone = default; + Optional recoveryZone = default; + Optional primaryExtendedLocation = default; + Optional recoveryExtendedLocation = default; + Optional primaryFabricLocation = default; + Optional recoveryFabricLocation = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("initialPrimaryZone"u8)) + { + initialPrimaryZone = property.Value.GetString(); + continue; + } + if (property.NameEquals("initialRecoveryZone"u8)) + { + initialRecoveryZone = property.Value.GetString(); + continue; + } + if (property.NameEquals("initialPrimaryExtendedLocation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + initialPrimaryExtendedLocation = ExtendedLocation.DeserializeExtendedLocation(property.Value); + continue; + } + if (property.NameEquals("initialRecoveryExtendedLocation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + initialRecoveryExtendedLocation = ExtendedLocation.DeserializeExtendedLocation(property.Value); + continue; + } + if (property.NameEquals("initialPrimaryFabricLocation"u8)) + { + initialPrimaryFabricLocation = property.Value.GetString(); + continue; + } + if (property.NameEquals("initialRecoveryFabricLocation"u8)) + { + initialRecoveryFabricLocation = property.Value.GetString(); + continue; + } + if (property.NameEquals("primaryZone"u8)) + { + primaryZone = property.Value.GetString(); + continue; + } + if (property.NameEquals("recoveryZone"u8)) + { + recoveryZone = property.Value.GetString(); + continue; + } + if (property.NameEquals("primaryExtendedLocation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + primaryExtendedLocation = ExtendedLocation.DeserializeExtendedLocation(property.Value); + continue; + } + if (property.NameEquals("recoveryExtendedLocation"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + recoveryExtendedLocation = ExtendedLocation.DeserializeExtendedLocation(property.Value); + continue; + } + if (property.NameEquals("primaryFabricLocation"u8)) + { + primaryFabricLocation = property.Value.GetString(); + continue; + } + if (property.NameEquals("recoveryFabricLocation"u8)) + { + recoveryFabricLocation = property.Value.GetString(); + continue; + } + } + return new A2AFabricSpecificLocationDetails(initialPrimaryZone.Value, initialRecoveryZone.Value, initialPrimaryExtendedLocation.Value, initialRecoveryExtendedLocation.Value, initialPrimaryFabricLocation.Value, initialRecoveryFabricLocation.Value, primaryZone.Value, recoveryZone.Value, primaryExtendedLocation.Value, recoveryExtendedLocation.Value, primaryFabricLocation.Value, recoveryFabricLocation.Value); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.cs new file mode 100644 index 000000000000..0e75af28478e --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.cs @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// ExtendedLocation details data. + public partial class A2AFabricSpecificLocationDetails + { + /// Initializes a new instance of A2AFabricSpecificLocationDetails. + internal A2AFabricSpecificLocationDetails() + { + } + + /// Initializes a new instance of A2AFabricSpecificLocationDetails. + /// The initial source zone info. + /// The initial target zone info. + /// The initial primary ExtendedLocation. + /// The initial recovery ExtendedLocation. + /// Initial primary fabric location info. + /// The initial recovery fabric location info. + /// Source zone info. + /// The target zone info. + /// The primary ExtendedLocation. + /// The recovery ExtendedLocation. + /// Primary fabric location info. + /// The recovery fabric location info. + internal A2AFabricSpecificLocationDetails(string initialPrimaryZone, string initialRecoveryZone, ExtendedLocation initialPrimaryExtendedLocation, ExtendedLocation initialRecoveryExtendedLocation, string initialPrimaryFabricLocation, string initialRecoveryFabricLocation, string primaryZone, string recoveryZone, ExtendedLocation primaryExtendedLocation, ExtendedLocation recoveryExtendedLocation, string primaryFabricLocation, string recoveryFabricLocation) + { + InitialPrimaryZone = initialPrimaryZone; + InitialRecoveryZone = initialRecoveryZone; + InitialPrimaryExtendedLocation = initialPrimaryExtendedLocation; + InitialRecoveryExtendedLocation = initialRecoveryExtendedLocation; + InitialPrimaryFabricLocation = initialPrimaryFabricLocation; + InitialRecoveryFabricLocation = initialRecoveryFabricLocation; + PrimaryZone = primaryZone; + RecoveryZone = recoveryZone; + PrimaryExtendedLocation = primaryExtendedLocation; + RecoveryExtendedLocation = recoveryExtendedLocation; + PrimaryFabricLocation = primaryFabricLocation; + RecoveryFabricLocation = recoveryFabricLocation; + } + + /// The initial source zone info. + public string InitialPrimaryZone { get; } + /// The initial target zone info. + public string InitialRecoveryZone { get; } + /// The initial primary ExtendedLocation. + public ExtendedLocation InitialPrimaryExtendedLocation { get; } + /// The initial recovery ExtendedLocation. + public ExtendedLocation InitialRecoveryExtendedLocation { get; } + /// Initial primary fabric location info. + public string InitialPrimaryFabricLocation { get; } + /// The initial recovery fabric location info. + public string InitialRecoveryFabricLocation { get; } + /// Source zone info. + public string PrimaryZone { get; } + /// The target zone info. + public string RecoveryZone { get; } + /// The primary ExtendedLocation. + public ExtendedLocation PrimaryExtendedLocation { get; } + /// The recovery ExtendedLocation. + public ExtendedLocation RecoveryExtendedLocation { get; } + /// Primary fabric location info. + public string PrimaryFabricLocation { get; } + /// The recovery fabric location info. + public string RecoveryFabricLocation { get; } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.Serialization.cs index 2db18f669f82..9a4787e4de64 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.Serialization.cs @@ -23,6 +23,7 @@ internal static AzureFabricSpecificDetails DeserializeAzureFabricSpecificDetails Optional> containerIds = default; Optional> zones = default; Optional> extendedLocations = default; + Optional> locationDetails = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -81,13 +82,28 @@ internal static AzureFabricSpecificDetails DeserializeAzureFabricSpecificDetails extendedLocations = array; continue; } + if (property.NameEquals("locationDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(A2AFabricSpecificLocationDetails.DeserializeA2AFabricSpecificLocationDetails(item)); + } + locationDetails = array; + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - return new AzureFabricSpecificDetails(instanceType, Optional.ToNullable(location), Optional.ToList(containerIds), Optional.ToList(zones), Optional.ToList(extendedLocations)); + return new AzureFabricSpecificDetails(instanceType, Optional.ToNullable(location), Optional.ToList(containerIds), Optional.ToList(zones), Optional.ToList(extendedLocations), Optional.ToList(locationDetails)); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs index 00d5d752917e..02cde25ad28f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AzureFabricSpecificDetails.cs @@ -19,6 +19,7 @@ internal AzureFabricSpecificDetails() ContainerIds = new ChangeTrackingList(); Zones = new ChangeTrackingList(); ExtendedLocations = new ChangeTrackingList(); + LocationDetails = new ChangeTrackingList(); InstanceType = "Azure"; } @@ -28,12 +29,14 @@ internal AzureFabricSpecificDetails() /// The container Ids for the Azure fabric. /// The zones. /// The ExtendedLocations. - internal AzureFabricSpecificDetails(string instanceType, AzureLocation? location, IReadOnlyList containerIds, IReadOnlyList zones, IReadOnlyList extendedLocations) : base(instanceType) + /// The location details. + internal AzureFabricSpecificDetails(string instanceType, AzureLocation? location, IReadOnlyList containerIds, IReadOnlyList zones, IReadOnlyList extendedLocations, IReadOnlyList locationDetails) : base(instanceType) { Location = location; ContainerIds = containerIds; Zones = zones; ExtendedLocations = extendedLocations; + LocationDetails = locationDetails; InstanceType = instanceType ?? "Azure"; } @@ -45,5 +48,7 @@ internal AzureFabricSpecificDetails(string instanceType, AzureLocation? location public IReadOnlyList Zones { get; } /// The ExtendedLocations. public IReadOnlyList ExtendedLocations { get; } + /// The location details. + public IReadOnlyList LocationDetails { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SecurityType.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SecurityType.cs new file mode 100644 index 000000000000..d2e21fef09f4 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SecurityType.cs @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// The target VM security type. + public readonly partial struct SecurityType : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public SecurityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string NoneValue = "None"; + private const string TrustedLaunchValue = "TrustedLaunch"; + private const string ConfidentialVmValue = "ConfidentialVM"; + + /// None. + public static SecurityType None { get; } = new SecurityType(NoneValue); + /// TrustedLaunch. + public static SecurityType TrustedLaunch { get; } = new SecurityType(TrustedLaunchValue); + /// ConfidentialVM. + public static SecurityType ConfidentialVm { get; } = new SecurityType(ConfidentialVmValue); + /// Determines if two values are the same. + public static bool operator ==(SecurityType left, SecurityType right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(SecurityType left, SecurityType right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator SecurityType(string value) => new SecurityType(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is SecurityType other && Equals(other); + /// + public bool Equals(SecurityType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.Serialization.cs index 8dbdd49a7255..2a16d05d4ca8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.Serialization.cs @@ -87,6 +87,16 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("targetProximityPlacementGroupId"u8); writer.WriteStringValue(TargetProximityPlacementGroupId); } + if (Optional.IsDefined(ConfidentialVmKeyVaultId)) + { + writer.WritePropertyName("confidentialVmKeyVaultId"u8); + writer.WriteStringValue(ConfidentialVmKeyVaultId); + } + if (Optional.IsDefined(TargetVmSecurityProfile)) + { + writer.WritePropertyName("targetVmSecurityProfile"u8); + writer.WriteObjectValue(TargetVmSecurityProfile); + } if (Optional.IsDefined(TargetBootDiagnosticsStorageAccountId)) { writer.WritePropertyName("targetBootDiagnosticsStorageAccountId"u8); diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.cs index 3ae00827b9c5..fb4b0f351ed0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationInput.cs @@ -79,6 +79,10 @@ public VMwareCbtEnableMigrationInput(string vmwareMachineId, IEnumerable The target proximity placement group ARM Id. public string TargetProximityPlacementGroupId { get; set; } + /// The confidential VM key vault Id for ADE installation. + public string ConfidentialVmKeyVaultId { get; set; } + /// The target VM security profile. + public VMwareCbtSecurityProfileProperties TargetVmSecurityProfile { get; set; } /// The target boot diagnostics storage account ARM Id. public string TargetBootDiagnosticsStorageAccountId { get; set; } /// A value indicating whether auto resync is to be done. diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.Serialization.cs index 58b31ec16b4c..20259c8c12b5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.Serialization.cs @@ -17,6 +17,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("performShutdown"u8); writer.WriteStringValue(PerformShutdown); + if (Optional.IsDefined(OSUpgradeVersion)) + { + writer.WritePropertyName("osUpgradeVersion"u8); + writer.WriteStringValue(OSUpgradeVersion); + } writer.WritePropertyName("instanceType"u8); writer.WriteStringValue(InstanceType); writer.WriteEndObject(); diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.cs index d4ffd353c122..0b9fed02b390 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrateInput.cs @@ -26,5 +26,7 @@ public VMwareCbtMigrateInput(string performShutdown) /// A value indicating whether VM is to be shutdown. public string PerformShutdown { get; } + /// A value indicating the inplace OS Upgrade version. + public string OSUpgradeVersion { get; set; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs index 68e5c7becc06..c13f702c4350 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs @@ -22,6 +22,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J } Optional vmwareMachineId = default; Optional osType = default; + Optional osName = default; Optional firmwareType = default; Optional targetGeneration = default; Optional licenseType = default; @@ -36,6 +37,8 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J Optional targetAvailabilitySetId = default; Optional targetAvailabilityZone = default; Optional targetProximityPlacementGroupId = default; + Optional confidentialVmKeyVaultId = default; + Optional targetVmSecurityProfile = default; Optional targetBootDiagnosticsStorageAccountId = default; Optional> targetVmTags = default; Optional> protectedDisks = default; @@ -58,6 +61,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J Optional performAutoResync = default; Optional> seedDiskTags = default; Optional> targetDiskTags = default; + Optional> supportedOSVersions = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -71,6 +75,11 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J osType = property.Value.GetString(); continue; } + if (property.NameEquals("osName"u8)) + { + osName = property.Value.GetString(); + continue; + } if (property.NameEquals("firmwareType"u8)) { firmwareType = property.Value.GetString(); @@ -141,6 +150,21 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J targetProximityPlacementGroupId = property.Value.GetString(); continue; } + if (property.NameEquals("confidentialVmKeyVaultId"u8)) + { + confidentialVmKeyVaultId = property.Value.GetString(); + continue; + } + if (property.NameEquals("targetVmSecurityProfile"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + targetVmSecurityProfile = VMwareCbtSecurityProfileProperties.DeserializeVMwareCbtSecurityProfileProperties(property.Value); + continue; + } if (property.NameEquals("targetBootDiagnosticsStorageAccountId"u8)) { targetBootDiagnosticsStorageAccountId = property.Value.GetString(); @@ -356,13 +380,28 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J targetDiskTags = dictionary; continue; } + if (property.NameEquals("supportedOSVersions"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + supportedOSVersions = array; + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - return new VMwareCbtMigrationDetails(instanceType, vmwareMachineId.Value, osType.Value, firmwareType.Value, targetGeneration.Value, licenseType.Value, sqlServerLicenseType.Value, dataMoverRunAsAccountId.Value, snapshotRunAsAccountId.Value, storageAccountId.Value, targetVmName.Value, targetVmSize.Value, targetLocation.Value, targetResourceGroupId.Value, targetAvailabilitySetId.Value, targetAvailabilityZone.Value, targetProximityPlacementGroupId.Value, targetBootDiagnosticsStorageAccountId.Value, Optional.ToDictionary(targetVmTags), Optional.ToList(protectedDisks), targetNetworkId.Value, testNetworkId.Value, Optional.ToList(vmNics), Optional.ToDictionary(targetNicTags), migrationRecoveryPointId.Value, Optional.ToNullable(lastRecoveryPointReceived), lastRecoveryPointId.Value, Optional.ToNullable(initialSeedingProgressPercentage), Optional.ToNullable(migrationProgressPercentage), Optional.ToNullable(resyncProgressPercentage), Optional.ToNullable(resumeProgressPercentage), Optional.ToNullable(initialSeedingRetryCount), Optional.ToNullable(resyncRetryCount), Optional.ToNullable(resumeRetryCount), resyncRequired.Value, Optional.ToNullable(resyncState), performAutoResync.Value, Optional.ToDictionary(seedDiskTags), Optional.ToDictionary(targetDiskTags)); + return new VMwareCbtMigrationDetails(instanceType, vmwareMachineId.Value, osType.Value, osName.Value, firmwareType.Value, targetGeneration.Value, licenseType.Value, sqlServerLicenseType.Value, dataMoverRunAsAccountId.Value, snapshotRunAsAccountId.Value, storageAccountId.Value, targetVmName.Value, targetVmSize.Value, targetLocation.Value, targetResourceGroupId.Value, targetAvailabilitySetId.Value, targetAvailabilityZone.Value, targetProximityPlacementGroupId.Value, confidentialVmKeyVaultId.Value, targetVmSecurityProfile.Value, targetBootDiagnosticsStorageAccountId.Value, Optional.ToDictionary(targetVmTags), Optional.ToList(protectedDisks), targetNetworkId.Value, testNetworkId.Value, Optional.ToList(vmNics), Optional.ToDictionary(targetNicTags), migrationRecoveryPointId.Value, Optional.ToNullable(lastRecoveryPointReceived), lastRecoveryPointId.Value, Optional.ToNullable(initialSeedingProgressPercentage), Optional.ToNullable(migrationProgressPercentage), Optional.ToNullable(resyncProgressPercentage), Optional.ToNullable(resumeProgressPercentage), Optional.ToNullable(initialSeedingRetryCount), Optional.ToNullable(resyncRetryCount), Optional.ToNullable(resumeRetryCount), resyncRequired.Value, Optional.ToNullable(resyncState), performAutoResync.Value, Optional.ToDictionary(seedDiskTags), Optional.ToDictionary(targetDiskTags), Optional.ToList(supportedOSVersions)); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.cs index a7f623c4f2b6..f3dcaab6b9d0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.cs @@ -23,6 +23,7 @@ internal VMwareCbtMigrationDetails() TargetNicTags = new ChangeTrackingDictionary(); SeedDiskTags = new ChangeTrackingDictionary(); TargetDiskTags = new ChangeTrackingDictionary(); + SupportedOSVersions = new ChangeTrackingList(); InstanceType = "VMwareCbt"; } @@ -30,6 +31,7 @@ internal VMwareCbtMigrationDetails() /// Gets the instance type. /// The ARM Id of the VM discovered in VMware. /// The type of the OS on the VM. + /// The name of the OS on the VM. /// The firmware type. /// The target generation. /// License Type of the VM to be used. @@ -44,6 +46,8 @@ internal VMwareCbtMigrationDetails() /// The target availability set Id. /// The target availability zone. /// The target proximity placement group Id. + /// The confidential VM key vault Id for ADE installation. + /// The target VM security profile. /// The target boot diagnostics storage account ARM Id. /// The target VM tags. /// The list of protected disks. @@ -66,10 +70,12 @@ internal VMwareCbtMigrationDetails() /// A value indicating whether auto resync is to be done. /// The tags for the seed disks. /// The tags for the target disks. - internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, string osType, string firmwareType, string targetGeneration, string licenseType, string sqlServerLicenseType, string dataMoverRunAsAccountId, string snapshotRunAsAccountId, string storageAccountId, string targetVmName, string targetVmSize, string targetLocation, string targetResourceGroupId, string targetAvailabilitySetId, string targetAvailabilityZone, string targetProximityPlacementGroupId, string targetBootDiagnosticsStorageAccountId, IReadOnlyDictionary targetVmTags, IReadOnlyList protectedDisks, string targetNetworkId, string testNetworkId, IReadOnlyList vmNics, IReadOnlyDictionary targetNicTags, string migrationRecoveryPointId, DateTimeOffset? lastRecoveryPointReceived, string lastRecoveryPointId, int? initialSeedingProgressPercentage, int? migrationProgressPercentage, int? resyncProgressPercentage, int? resumeProgressPercentage, long? initialSeedingRetryCount, long? resyncRetryCount, long? resumeRetryCount, string resyncRequired, ResyncState? resyncState, string performAutoResync, IReadOnlyDictionary seedDiskTags, IReadOnlyDictionary targetDiskTags) : base(instanceType) + /// List of supported inplace OS Upgrade versions. + internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, string osType, string osName, string firmwareType, string targetGeneration, string licenseType, string sqlServerLicenseType, string dataMoverRunAsAccountId, string snapshotRunAsAccountId, string storageAccountId, string targetVmName, string targetVmSize, string targetLocation, string targetResourceGroupId, string targetAvailabilitySetId, string targetAvailabilityZone, string targetProximityPlacementGroupId, string confidentialVmKeyVaultId, VMwareCbtSecurityProfileProperties targetVmSecurityProfile, string targetBootDiagnosticsStorageAccountId, IReadOnlyDictionary targetVmTags, IReadOnlyList protectedDisks, string targetNetworkId, string testNetworkId, IReadOnlyList vmNics, IReadOnlyDictionary targetNicTags, string migrationRecoveryPointId, DateTimeOffset? lastRecoveryPointReceived, string lastRecoveryPointId, int? initialSeedingProgressPercentage, int? migrationProgressPercentage, int? resyncProgressPercentage, int? resumeProgressPercentage, long? initialSeedingRetryCount, long? resyncRetryCount, long? resumeRetryCount, string resyncRequired, ResyncState? resyncState, string performAutoResync, IReadOnlyDictionary seedDiskTags, IReadOnlyDictionary targetDiskTags, IReadOnlyList supportedOSVersions) : base(instanceType) { VMwareMachineId = vmwareMachineId; OSType = osType; + OSName = osName; FirmwareType = firmwareType; TargetGeneration = targetGeneration; LicenseType = licenseType; @@ -84,6 +90,8 @@ internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, TargetAvailabilitySetId = targetAvailabilitySetId; TargetAvailabilityZone = targetAvailabilityZone; TargetProximityPlacementGroupId = targetProximityPlacementGroupId; + ConfidentialVmKeyVaultId = confidentialVmKeyVaultId; + TargetVmSecurityProfile = targetVmSecurityProfile; TargetBootDiagnosticsStorageAccountId = targetBootDiagnosticsStorageAccountId; TargetVmTags = targetVmTags; ProtectedDisks = protectedDisks; @@ -106,6 +114,7 @@ internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, PerformAutoResync = performAutoResync; SeedDiskTags = seedDiskTags; TargetDiskTags = targetDiskTags; + SupportedOSVersions = supportedOSVersions; InstanceType = instanceType ?? "VMwareCbt"; } @@ -113,6 +122,8 @@ internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, public string VMwareMachineId { get; } /// The type of the OS on the VM. public string OSType { get; } + /// The name of the OS on the VM. + public string OSName { get; } /// The firmware type. public string FirmwareType { get; } /// The target generation. @@ -141,6 +152,10 @@ internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, public string TargetAvailabilityZone { get; } /// The target proximity placement group Id. public string TargetProximityPlacementGroupId { get; } + /// The confidential VM key vault Id for ADE installation. + public string ConfidentialVmKeyVaultId { get; } + /// The target VM security profile. + public VMwareCbtSecurityProfileProperties TargetVmSecurityProfile { get; } /// The target boot diagnostics storage account ARM Id. public string TargetBootDiagnosticsStorageAccountId { get; } /// The target VM tags. @@ -185,5 +200,7 @@ internal VMwareCbtMigrationDetails(string instanceType, string vmwareMachineId, public IReadOnlyDictionary SeedDiskTags { get; } /// The tags for the target disks. public IReadOnlyDictionary TargetDiskTags { get; } + /// List of supported inplace OS Upgrade versions. + public IReadOnlyList SupportedOSVersions { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.Serialization.cs index 91ec9958316a..bd70aedd1b7c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.Serialization.cs @@ -27,6 +27,7 @@ internal static VMwareCbtProtectionContainerMappingDetails DeserializeVMwareCbtP Optional serviceBusConnectionStringSecretName = default; Optional targetLocation = default; Optional> roleSizeToNicCountMap = default; + Optional> excludedSkus = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -80,13 +81,28 @@ internal static VMwareCbtProtectionContainerMappingDetails DeserializeVMwareCbtP roleSizeToNicCountMap = dictionary; continue; } + if (property.NameEquals("excludedSkus"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + excludedSkus = array; + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - return new VMwareCbtProtectionContainerMappingDetails(instanceType, keyVaultId.Value, keyVaultUri.Value, storageAccountId.Value, storageAccountSasSecretName.Value, serviceBusConnectionStringSecretName.Value, targetLocation.Value, Optional.ToDictionary(roleSizeToNicCountMap)); + return new VMwareCbtProtectionContainerMappingDetails(instanceType, keyVaultId.Value, keyVaultUri.Value, storageAccountId.Value, storageAccountSasSecretName.Value, serviceBusConnectionStringSecretName.Value, targetLocation.Value, Optional.ToDictionary(roleSizeToNicCountMap), Optional.ToList(excludedSkus)); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.cs index 04cdbecfab11..e6653547d03f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectionContainerMappingDetails.cs @@ -18,6 +18,7 @@ public partial class VMwareCbtProtectionContainerMappingDetails : ProtectionCont internal VMwareCbtProtectionContainerMappingDetails() { RoleSizeToNicCountMap = new ChangeTrackingDictionary(); + ExcludedSkus = new ChangeTrackingList(); InstanceType = "VMwareCbt"; } @@ -30,7 +31,8 @@ internal VMwareCbtProtectionContainerMappingDetails() /// The secret name of the service bus connection string. /// The target location. /// The role size to NIC count map. - internal VMwareCbtProtectionContainerMappingDetails(string instanceType, string keyVaultId, Uri keyVaultUri, string storageAccountId, string storageAccountSasSecretName, string serviceBusConnectionStringSecretName, string targetLocation, IReadOnlyDictionary roleSizeToNicCountMap) : base(instanceType) + /// The SKUs to be excluded. + internal VMwareCbtProtectionContainerMappingDetails(string instanceType, string keyVaultId, Uri keyVaultUri, string storageAccountId, string storageAccountSasSecretName, string serviceBusConnectionStringSecretName, string targetLocation, IReadOnlyDictionary roleSizeToNicCountMap, IReadOnlyList excludedSkus) : base(instanceType) { KeyVaultId = keyVaultId; KeyVaultUri = keyVaultUri; @@ -39,6 +41,7 @@ internal VMwareCbtProtectionContainerMappingDetails(string instanceType, string ServiceBusConnectionStringSecretName = serviceBusConnectionStringSecretName; TargetLocation = targetLocation; RoleSizeToNicCountMap = roleSizeToNicCountMap; + ExcludedSkus = excludedSkus; InstanceType = instanceType ?? "VMwareCbt"; } @@ -56,5 +59,7 @@ internal VMwareCbtProtectionContainerMappingDetails(string instanceType, string public string TargetLocation { get; } /// The role size to NIC count map. public IReadOnlyDictionary RoleSizeToNicCountMap { get; } + /// The SKUs to be excluded. + public IReadOnlyList ExcludedSkus { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.Serialization.cs new file mode 100644 index 000000000000..0d2f7f986ea1 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.Serialization.cs @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + public partial class VMwareCbtSecurityProfileProperties : IUtf8JsonSerializable + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) + { + writer.WriteStartObject(); + if (Optional.IsDefined(TargetVmSecurityType)) + { + writer.WritePropertyName("targetVmSecurityType"u8); + writer.WriteStringValue(TargetVmSecurityType.Value.ToString()); + } + if (Optional.IsDefined(IsTargetVmSecureBootEnabled)) + { + writer.WritePropertyName("isTargetVmSecureBootEnabled"u8); + writer.WriteStringValue(IsTargetVmSecureBootEnabled); + } + if (Optional.IsDefined(IsTargetVmTpmEnabled)) + { + writer.WritePropertyName("isTargetVmTpmEnabled"u8); + writer.WriteStringValue(IsTargetVmTpmEnabled); + } + if (Optional.IsDefined(IsTargetVmIntegrityMonitoringEnabled)) + { + writer.WritePropertyName("isTargetVmIntegrityMonitoringEnabled"u8); + writer.WriteStringValue(IsTargetVmIntegrityMonitoringEnabled); + } + if (Optional.IsDefined(IsTargetVmConfidentialEncryptionEnabled)) + { + writer.WritePropertyName("isTargetVmConfidentialEncryptionEnabled"u8); + writer.WriteStringValue(IsTargetVmConfidentialEncryptionEnabled); + } + writer.WriteEndObject(); + } + + internal static VMwareCbtSecurityProfileProperties DeserializeVMwareCbtSecurityProfileProperties(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional targetVmSecurityType = default; + Optional isTargetVmSecureBootEnabled = default; + Optional isTargetVmTpmEnabled = default; + Optional isTargetVmIntegrityMonitoringEnabled = default; + Optional isTargetVmConfidentialEncryptionEnabled = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("targetVmSecurityType"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + targetVmSecurityType = new SecurityType(property.Value.GetString()); + continue; + } + if (property.NameEquals("isTargetVmSecureBootEnabled"u8)) + { + isTargetVmSecureBootEnabled = property.Value.GetString(); + continue; + } + if (property.NameEquals("isTargetVmTpmEnabled"u8)) + { + isTargetVmTpmEnabled = property.Value.GetString(); + continue; + } + if (property.NameEquals("isTargetVmIntegrityMonitoringEnabled"u8)) + { + isTargetVmIntegrityMonitoringEnabled = property.Value.GetString(); + continue; + } + if (property.NameEquals("isTargetVmConfidentialEncryptionEnabled"u8)) + { + isTargetVmConfidentialEncryptionEnabled = property.Value.GetString(); + continue; + } + } + return new VMwareCbtSecurityProfileProperties(Optional.ToNullable(targetVmSecurityType), isTargetVmSecureBootEnabled.Value, isTargetVmTpmEnabled.Value, isTargetVmIntegrityMonitoringEnabled.Value, isTargetVmConfidentialEncryptionEnabled.Value); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.cs new file mode 100644 index 000000000000..bb51f81162e5 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtSecurityProfileProperties.cs @@ -0,0 +1,44 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// VMwareCbt security profile input. + public partial class VMwareCbtSecurityProfileProperties + { + /// Initializes a new instance of VMwareCbtSecurityProfileProperties. + public VMwareCbtSecurityProfileProperties() + { + } + + /// Initializes a new instance of VMwareCbtSecurityProfileProperties. + /// The target VM security type. + /// A value indicating whether secure boot to be enabled. + /// A value indicating whether trusted platform module to be enabled. + /// A value indicating whether integrity monitoring to be enabled. + /// A value indicating whether confidential compute encryption to be enabled. + internal VMwareCbtSecurityProfileProperties(SecurityType? targetVmSecurityType, string isTargetVmSecureBootEnabled, string isTargetVmTpmEnabled, string isTargetVmIntegrityMonitoringEnabled, string isTargetVmConfidentialEncryptionEnabled) + { + TargetVmSecurityType = targetVmSecurityType; + IsTargetVmSecureBootEnabled = isTargetVmSecureBootEnabled; + IsTargetVmTpmEnabled = isTargetVmTpmEnabled; + IsTargetVmIntegrityMonitoringEnabled = isTargetVmIntegrityMonitoringEnabled; + IsTargetVmConfidentialEncryptionEnabled = isTargetVmConfidentialEncryptionEnabled; + } + + /// The target VM security type. + public SecurityType? TargetVmSecurityType { get; set; } + /// A value indicating whether secure boot to be enabled. + public string IsTargetVmSecureBootEnabled { get; set; } + /// A value indicating whether trusted platform module to be enabled. + public string IsTargetVmTpmEnabled { get; set; } + /// A value indicating whether integrity monitoring to be enabled. + public string IsTargetVmIntegrityMonitoringEnabled { get; set; } + /// A value indicating whether confidential compute encryption to be enabled. + public string IsTargetVmConfidentialEncryptionEnabled { get; set; } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.Serialization.cs index 11a2c239dde8..0096ab2ee79f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.Serialization.cs @@ -29,6 +29,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WriteEndArray(); } + if (Optional.IsDefined(OSUpgradeVersion)) + { + writer.WritePropertyName("osUpgradeVersion"u8); + writer.WriteStringValue(OSUpgradeVersion); + } writer.WritePropertyName("instanceType"u8); writer.WriteStringValue(InstanceType); writer.WriteEndObject(); diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.cs index 4d86008917ec..1b69d8707243 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateInput.cs @@ -35,5 +35,7 @@ public VMwareCbtTestMigrateInput(string recoveryPointId, string networkId) public string NetworkId { get; } /// The list of NIC details. public IList VmNics { get; } + /// A value indicating the inplace OS Upgrade version. + public string OSUpgradeVersion { get; set; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/MigrationRecoveryPointsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/MigrationRecoveryPointsRestOperations.cs index e99534129e18..078a6d42e364 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/MigrationRecoveryPointsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/MigrationRecoveryPointsRestOperations.cs @@ -33,7 +33,7 @@ public MigrationRecoveryPointsRestOperations(HttpPipeline pipeline, string appli { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/RecoveryPointsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/RecoveryPointsRestOperations.cs index 306c6e78c9ac..e81a7b01edec 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/RecoveryPointsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/RecoveryPointsRestOperations.cs @@ -33,7 +33,7 @@ public RecoveryPointsRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAlertSettingsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAlertSettingsRestOperations.cs index d8be4f99277b..18b3cfb3c765 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAlertSettingsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAlertSettingsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationAlertSettingsRestOperations(HttpPipeline pipeline, string appl { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAppliancesRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAppliancesRestOperations.cs index 552da5665f58..265ac50cf15b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAppliancesRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationAppliancesRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationAppliancesRestOperations(HttpPipeline pipeline, string applica { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEligibilityResultsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEligibilityResultsRestOperations.cs index 6d38f1fb2e99..dccb3b0873ca 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEligibilityResultsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEligibilityResultsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationEligibilityResultsRestOperations(HttpPipeline pipeline, string { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEventsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEventsRestOperations.cs index 6be7c1c839ed..bb6c451d734f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEventsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationEventsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationEventsRestOperations(HttpPipeline pipeline, string application { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationFabricsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationFabricsRestOperations.cs index a9a57fbab4de..91a20633f94f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationFabricsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationFabricsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationFabricsRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationJobsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationJobsRestOperations.cs index 3aa1431f9eb7..a98241245fe5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationJobsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationJobsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationJobsRestOperations(HttpPipeline pipeline, string applicationId { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationLogicalNetworksRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationLogicalNetworksRestOperations.cs index 81a05c20a829..162bdb5840b4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationLogicalNetworksRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationLogicalNetworksRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationLogicalNetworksRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationMigrationItemsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationMigrationItemsRestOperations.cs index 81496827d07b..947710dddac3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationMigrationItemsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationMigrationItemsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationMigrationItemsRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworkMappingsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworkMappingsRestOperations.cs index 56dfb1c90c0b..f72e6ab89c83 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworkMappingsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworkMappingsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationNetworkMappingsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworksRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworksRestOperations.cs index 9c0134a92d60..271dbef295e1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworksRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationNetworksRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationNetworksRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationPoliciesRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationPoliciesRestOperations.cs index 896676de28bd..3f214d330e66 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationPoliciesRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationPoliciesRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationPoliciesRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectableItemsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectableItemsRestOperations.cs index 94f5acd21525..1ca8b7301ddd 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectableItemsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectableItemsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationProtectableItemsRestOperations(HttpPipeline pipeline, string a { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectedItemsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectedItemsRestOperations.cs index 857bdcf2ff0f..1fd9328b43a1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectedItemsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectedItemsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationProtectedItemsRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainerMappingsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainerMappingsRestOperations.cs index a3e4594399bd..53993d0617e2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainerMappingsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainerMappingsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationProtectionContainerMappingsRestOperations(HttpPipeline pipelin { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainersRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainersRestOperations.cs index 89a27b23ef00..1daf2b27d1ff 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainersRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionContainersRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationProtectionContainersRestOperations(HttpPipeline pipeline, stri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionIntentsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionIntentsRestOperations.cs index 55a176ca4981..7cbf75814fee 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionIntentsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationProtectionIntentsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationProtectionIntentsRestOperations(HttpPipeline pipeline, string { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryPlansRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryPlansRestOperations.cs index 9da2577ef861..f19d0ba77072 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryPlansRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryPlansRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationRecoveryPlansRestOperations(HttpPipeline pipeline, string appl { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryServicesProvidersRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryServicesProvidersRestOperations.cs index 35fb98bb73cf..6f74d6b29b53 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryServicesProvidersRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationRecoveryServicesProvidersRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationRecoveryServicesProvidersRestOperations(HttpPipeline pipeline, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationMappingsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationMappingsRestOperations.cs index 06b17931152f..5522fd12f137 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationMappingsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationMappingsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationStorageClassificationMappingsRestOperations(HttpPipeline pipel { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationsRestOperations.cs index b4d3cf7084ab..24ec02fb26f6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationStorageClassificationsRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationStorageClassificationsRestOperations(HttpPipeline pipeline, st { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultHealthRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultHealthRestOperations.cs index 466b374b2a4f..9f50390628ab 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultHealthRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultHealthRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationVaultHealthRestOperations(HttpPipeline pipeline, string applic { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultSettingRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultSettingRestOperations.cs index 9211c9ba5363..3d0eabb0f1be 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultSettingRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationVaultSettingRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationVaultSettingRestOperations(HttpPipeline pipeline, string appli { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationvCentersRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationvCentersRestOperations.cs index 8cc9ea503688..0108579a2440 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationvCentersRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/ReplicationvCentersRestOperations.cs @@ -33,7 +33,7 @@ public ReplicationvCentersRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/SupportedOperatingSystemsRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/SupportedOperatingSystemsRestOperations.cs index 207854578dd7..98f988081ae3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/SupportedOperatingSystemsRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/SupportedOperatingSystemsRestOperations.cs @@ -33,7 +33,7 @@ public SupportedOperatingSystemsRestOperations(HttpPipeline pipeline, string app { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/TargetComputeSizesRestOperations.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/TargetComputeSizesRestOperations.cs index 9e37988b7622..8eacd1d5151d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/TargetComputeSizesRestOperations.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/RestOperations/TargetComputeSizesRestOperations.cs @@ -33,7 +33,7 @@ public TargetComputeSizesRestOperations(HttpPipeline pipeline, string applicatio { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2022-10-01"; + _apiVersion = apiVersion ?? "2023-02-01"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md index 9df4688f15c9..1ec8a04e5961 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md @@ -9,7 +9,7 @@ generate-model-factory: false csharp: true library-name: RecoveryServicesSiteRecovery namespace: Azure.ResourceManager.RecoveryServicesSiteRecovery -require: https://github.com/Azure/azure-rest-api-specs/blob/ddbdba6d960f83647257d6dc08be7b81dc5eb8f8/specification/recoveryservicessiterecovery/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.md output-folder: $(this-folder)/Generated clear-output-folder: true skip-csproj: true