From c0631bbca7dcac3c22cac5219243b527a5d7418a Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 18 Aug 2023 08:05:38 +0000 Subject: [PATCH] CodeGen from PR 23991 in Azure/azure-rest-api-specs Merge d60e0ffae8deec33e7c5077f1640ca4c75b8ff15 into 624dbc769880e5676ae8bb20d3c82ebd1783c64a --- ...veryServicesSiteRecovery.netstandard2.0.cs | 92 ++++++++++++++- ...ecoveryServicesSiteRecoveryModelFactory.cs | 101 +++++++++++++++-- .../A2AReplicationDetails.Serialization.cs | 12 +- .../Generated/Models/A2AReplicationDetails.cs | 6 +- ...pplianceMonitoringDetails.Serialization.cs | 93 ++++++++++++++++ .../Models/ApplianceMonitoringDetails.cs | 52 +++++++++ .../ApplianceResourceDetails.Serialization.cs | 63 +++++++++++ .../Models/ApplianceResourceDetails.cs | 40 +++++++ .../Generated/Models/ChurnOptionSelected.cs | 51 +++++++++ ...taStoreUtilizationDetails.Serialization.cs | 53 +++++++++ .../Models/DataStoreUtilizationDetails.cs | 36 ++++++ .../GatewayOperationDetails.Serialization.cs | 105 ++++++++++++++++++ .../Models/GatewayOperationDetails.cs | 60 ++++++++++ ...edFailoverProviderContent.Serialization.cs | 5 + ...licaAzurePlannedFailoverProviderContent.cs | 2 + ...caAzureReplicationDetails.Serialization.cs | 17 ++- .../HyperVReplicaAzureReplicationDetails.cs | 7 +- ...aAzureTestFailoverContent.Serialization.cs | 5 + .../HyperVReplicaAzureTestFailoverContent.cs | 2 + ...AzureV2ReplicationDetails.Serialization.cs | 38 ++++++- .../Models/InMageAzureV2ReplicationDetails.cs | 16 ++- ...zureV2TestFailoverContent.Serialization.cs | 5 + .../InMageAzureV2TestFailoverContent.cs | 2 + ...2UnplannedFailoverContent.Serialization.cs | 5 + .../InMageAzureV2UnplannedFailoverContent.cs | 2 + ...SUpgradeSupportedVersions.Serialization.cs | 49 ++++++++ .../Models/OSUpgradeSupportedVersions.cs | 36 ++++++ ...VMwareCbtMigrationDetails.Serialization.cs | 54 ++++++++- .../Models/VMwareCbtMigrationDetails.cs | 30 ++++- ...reCbtProtectedDiskDetails.Serialization.cs | 12 +- .../Models/VMwareCbtProtectedDiskDetails.cs | 6 +- .../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 +- 59 files changed, 1057 insertions(+), 56 deletions(-) create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ChurnOptionSelected.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.Serialization.cs create mode 100644 sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.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 3440097a2140..2b7a1799fbdf 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 @@ -1235,6 +1235,7 @@ internal A2AReplicationDetails() { } public System.DateTimeOffset? AgentExpireOn { get { throw null; } } public string AgentVersion { get { throw null; } } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? AutoProtectionOfDataDisk { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected? ChurnOptionSelected { get { throw null; } } public Azure.Core.ResourceIdentifier FabricObjectId { get { throw null; } } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation InitialPrimaryExtendedLocation { get { throw null; } } public Azure.Core.AzureLocation? InitialPrimaryFabricLocation { get { throw null; } } @@ -1489,6 +1490,24 @@ internal A2AZoneDetails() { } public static bool operator !=(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AlternateLocationRecoveryOption left, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AlternateLocationRecoveryOption right) { throw null; } public override string ToString() { throw null; } } + public partial class ApplianceMonitoringDetails + { + internal ApplianceMonitoringDetails() { } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails CpuDetails { get { throw null; } } + public System.Collections.Generic.IReadOnlyList DatastoreSnapshot { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails DisksReplicationDetails { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails EsxiNfcBuffer { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails NetworkBandwidth { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails RamDetails { get { throw null; } } + } + public partial class ApplianceResourceDetails + { + internal ApplianceResourceDetails() { } + public long? Capacity { get { throw null; } } + public double? ProcessUtilization { get { throw null; } } + public string Status { get { throw null; } } + public double? TotalUtilization { get { throw null; } } + } public static partial class ArmRecoveryServicesSiteRecoveryModelFactory { public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ACrossClusterMigrationReplicationDetails A2ACrossClusterMigrationReplicationDetails(Azure.Core.ResourceIdentifier fabricObjectId = null, Azure.Core.AzureLocation? primaryFabricLocation = default(Azure.Core.AzureLocation?), string osType = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null) { throw null; } @@ -1501,11 +1520,13 @@ public static partial class ArmRecoveryServicesSiteRecoveryModelFactory public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectedManagedDiskDetails A2AProtectedManagedDiskDetails(string diskId = null, Azure.Core.ResourceIdentifier recoveryResourceGroupId = null, Azure.Core.ResourceIdentifier recoveryTargetDiskId = null, Azure.Core.ResourceIdentifier recoveryReplicaDiskId = null, Azure.Core.ResourceIdentifier recoveryOrignalTargetDiskId = null, string recoveryReplicaDiskAccountType = null, string recoveryTargetDiskAccountType = null, Azure.Core.ResourceIdentifier recoveryDiskEncryptionSetId = null, Azure.Core.ResourceIdentifier primaryDiskEncryptionSetId = null, string diskName = null, long? diskCapacityInBytes = default(long?), Azure.Core.ResourceIdentifier primaryStagingAzureStorageAccountId = null, string diskType = null, bool? isResyncRequired = default(bool?), int? monitoringPercentageCompletion = default(int?), string monitoringJobType = null, double? dataPendingInStagingStorageAccountInMB = default(double?), double? dataPendingAtSourceAgentInMB = default(double?), string diskState = null, System.Collections.Generic.IEnumerable allowedDiskLevelOperation = null, bool? isDiskEncrypted = default(bool?), string secretIdentifier = null, Azure.Core.ResourceIdentifier dekKeyVaultArmId = null, bool? isDiskKeyEncrypted = default(bool?), string keyIdentifier = null, Azure.Core.ResourceIdentifier kekKeyVaultArmId = null, string failoverDiskName = null, string tfoDiskName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AProtectionContainerMappingDetails A2AProtectionContainerMappingDetails(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentAutoUpdateStatus? agentAutoUpdateStatus = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentAutoUpdateStatus?), Azure.Core.ResourceIdentifier automationAccountArmId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationAccountAuthenticationType? automationAccountAuthenticationType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationAccountAuthenticationType?), string scheduleName = null, string jobScheduleName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2ARecoveryPointDetails A2ARecoveryPointDetails(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPointSyncType? recoveryPointSyncType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryPointSyncType?), System.Collections.Generic.IEnumerable disks = null) { throw null; } - public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationDetails A2AReplicationDetails(Azure.Core.ResourceIdentifier fabricObjectId = null, string initialPrimaryZone = null, Azure.Core.AzureLocation? initialPrimaryFabricLocation = default(Azure.Core.AzureLocation?), string initialRecoveryZone = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = null, Azure.Core.AzureLocation? initialRecoveryFabricLocation = default(Azure.Core.AzureLocation?), string multiVmGroupId = null, string multiVmGroupName = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MultiVmGroupCreateOption? multiVmGroupCreateOption = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MultiVmGroupCreateOption?), string managementId = null, System.Collections.Generic.IEnumerable protectedDisks = null, System.Collections.Generic.IEnumerable unprotectedDisks = null, System.Collections.Generic.IEnumerable protectedManagedDisks = null, Azure.Core.ResourceIdentifier recoveryBootDiagStorageAccountId = null, Azure.Core.AzureLocation? primaryFabricLocation = default(Azure.Core.AzureLocation?), Azure.Core.AzureLocation? recoveryFabricLocation = default(Azure.Core.AzureLocation?), string osType = null, string recoveryAzureVmSize = null, string recoveryAzureVmName = null, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = null, string recoveryCloudService = null, string recoveryAvailabilitySet = null, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = null, Azure.Core.ResourceIdentifier selectedTfoAzureNetworkId = null, System.Collections.Generic.IEnumerable vmNics = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmSyncedConfigDetails vmSyncedConfigDetails = null, int? monitoringPercentageCompletion = default(int?), string monitoringJobType = null, System.DateTimeOffset? lastHeartbeat = default(System.DateTimeOffset?), string agentVersion = null, System.DateTimeOffset? agentExpireOn = default(System.DateTimeOffset?), bool? isReplicationAgentUpdateRequired = default(bool?), System.DateTimeOffset? agentCertificateExpireOn = default(System.DateTimeOffset?), bool? isReplicationAgentCertificateUpdateRequired = default(bool?), Azure.Core.ResourceIdentifier recoveryFabricObjectId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null, Azure.Core.ResourceIdentifier testFailoverRecoveryFabricObjectId = null, long? rpoInSeconds = default(long?), System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), string primaryAvailabilityZone = null, string recoveryAvailabilityZone = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation primaryExtendedLocation = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation recoveryExtendedLocation = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEncryptionType? vmEncryptionType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEncryptionType?), string tfoAzureVmName = null, string recoveryAzureGeneration = null, Azure.Core.ResourceIdentifier recoveryProximityPlacementGroupId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? autoProtectionOfDataDisk = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk?), Azure.Core.ResourceIdentifier recoveryVirtualMachineScaleSetId = null, Azure.Core.ResourceIdentifier recoveryCapacityReservationGroupId = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationDetails A2AReplicationDetails(Azure.Core.ResourceIdentifier fabricObjectId = null, string initialPrimaryZone = null, Azure.Core.AzureLocation? initialPrimaryFabricLocation = default(Azure.Core.AzureLocation?), string initialRecoveryZone = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = null, Azure.Core.AzureLocation? initialRecoveryFabricLocation = default(Azure.Core.AzureLocation?), string multiVmGroupId = null, string multiVmGroupName = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MultiVmGroupCreateOption? multiVmGroupCreateOption = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MultiVmGroupCreateOption?), string managementId = null, System.Collections.Generic.IEnumerable protectedDisks = null, System.Collections.Generic.IEnumerable unprotectedDisks = null, System.Collections.Generic.IEnumerable protectedManagedDisks = null, Azure.Core.ResourceIdentifier recoveryBootDiagStorageAccountId = null, Azure.Core.AzureLocation? primaryFabricLocation = default(Azure.Core.AzureLocation?), Azure.Core.AzureLocation? recoveryFabricLocation = default(Azure.Core.AzureLocation?), string osType = null, string recoveryAzureVmSize = null, string recoveryAzureVmName = null, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = null, string recoveryCloudService = null, string recoveryAvailabilitySet = null, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = null, Azure.Core.ResourceIdentifier selectedTfoAzureNetworkId = null, System.Collections.Generic.IEnumerable vmNics = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmSyncedConfigDetails vmSyncedConfigDetails = null, int? monitoringPercentageCompletion = default(int?), string monitoringJobType = null, System.DateTimeOffset? lastHeartbeat = default(System.DateTimeOffset?), string agentVersion = null, System.DateTimeOffset? agentExpireOn = default(System.DateTimeOffset?), bool? isReplicationAgentUpdateRequired = default(bool?), System.DateTimeOffset? agentCertificateExpireOn = default(System.DateTimeOffset?), bool? isReplicationAgentCertificateUpdateRequired = default(bool?), Azure.Core.ResourceIdentifier recoveryFabricObjectId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null, Azure.Core.ResourceIdentifier testFailoverRecoveryFabricObjectId = null, long? rpoInSeconds = default(long?), System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), string primaryAvailabilityZone = null, string recoveryAvailabilityZone = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation primaryExtendedLocation = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryExtendedLocation recoveryExtendedLocation = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEncryptionType? vmEncryptionType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVmEncryptionType?), string tfoAzureVmName = null, string recoveryAzureGeneration = null, Azure.Core.ResourceIdentifier recoveryProximityPlacementGroupId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? autoProtectionOfDataDisk = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk?), Azure.Core.ResourceIdentifier recoveryVirtualMachineScaleSetId = null, Azure.Core.ResourceIdentifier recoveryCapacityReservationGroupId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected? churnOptionSelected = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AReplicationIntentDetails A2AReplicationIntentDetails(Azure.Core.ResourceIdentifier fabricObjectId = null, Azure.Core.AzureLocation? primaryLocation = default(Azure.Core.AzureLocation?), Azure.Core.AzureLocation? recoveryLocation = default(Azure.Core.AzureLocation?), string recoverySubscriptionId = null, System.Collections.Generic.IEnumerable vmDisks = null, System.Collections.Generic.IEnumerable vmManagedDisks = null, Azure.Core.ResourceIdentifier recoveryResourceGroupId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionProfileCustomDetails protectionProfile = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.StorageAccountCustomDetails primaryStagingStorageAccount = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryAvailabilitySetCustomDetails recoveryAvailabilitySet = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryVirtualNetworkCustomDetails recoveryVirtualNetwork = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.RecoveryProximityPlacementGroupCustomDetails recoveryProximityPlacementGroup = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? autoProtectionOfDataDisk = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk?), string multiVmGroupName = null, string multiVmGroupId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.StorageAccountCustomDetails recoveryBootDiagStorageAccount = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskEncryptionInfo diskEncryptionInfo = null, string recoveryAvailabilityZone = null, string recoveryAvailabilityType = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentAutoUpdateStatus? agentAutoUpdateStatus = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryAgentAutoUpdateStatus?), Azure.Core.ResourceIdentifier automationAccountArmId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationAccountAuthenticationType? automationAccountAuthenticationType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationAccountAuthenticationType?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AUnprotectedDiskDetails A2AUnprotectedDiskDetails(int? diskLunId = default(int?), Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk? diskAutoProtectionStatus = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AVmSyncedConfigDetails A2AVmSyncedConfigDetails(System.Collections.Generic.IReadOnlyDictionary tags = null, System.Collections.Generic.IEnumerable vmEndpoints = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.A2AZoneDetails A2AZoneDetails(string source = null, string target = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceMonitoringDetails ApplianceMonitoringDetails(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails cpuDetails = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails ramDetails = null, System.Collections.Generic.IEnumerable datastoreSnapshot = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails disksReplicationDetails = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails esxiNfcBuffer = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails networkBandwidth = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceResourceDetails ApplianceResourceDetails(long? capacity = default(long?), double? processUtilization = default(double?), double? totalUtilization = default(double?), string status = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AsrJobDetails AsrJobDetails(System.Collections.Generic.IReadOnlyDictionary affectedObjectDetails = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AsrTask AsrTask(string taskId = null, string name = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?), System.DateTimeOffset? endOn = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable allowedActions = null, string friendlyName = null, string state = null, string stateDescription = null, string taskType = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryTaskTypeDetails customDetails = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryGroupTaskDetails groupTaskCustomDetails = null, System.Collections.Generic.IEnumerable errors = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutomationRunbookTaskDetails AutomationRunbookTaskDetails(string name = null, string cloudServiceName = null, string subscriptionId = null, string accountName = null, string runbookId = null, string runbookName = null, Azure.Core.ResourceIdentifier jobId = null, string jobOutput = null, bool? isPrimarySideScript = default(bool?)) { throw null; } @@ -1513,10 +1534,12 @@ public static partial class ArmRecoveryServicesSiteRecoveryModelFactory public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CriticalJobHistoryDetails CriticalJobHistoryDetails(string jobName = null, Azure.Core.ResourceIdentifier jobId = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?), string jobStatus = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CurrentJobDetails CurrentJobDetails(string jobName = null, Azure.Core.ResourceIdentifier jobId = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.CurrentScenarioDetails CurrentScenarioDetails(string scenarioName = null, Azure.Core.ResourceIdentifier jobId = null, System.DateTimeOffset? startOn = default(System.DateTimeOffset?)) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.DataStoreUtilizationDetails DataStoreUtilizationDetails(long? totalSnapshotsSupported = default(long?), long? totalSnapshotsCreated = default(long?), string dataStoreName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ExportJobDetails ExportJobDetails(System.Collections.Generic.IReadOnlyDictionary affectedObjectDetails = null, System.Uri blobUri = null, string sasToken = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FabricReplicationGroupTaskDetails FabricReplicationGroupTaskDetails(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryJobEntity jobTask = null, string skippedReason = null, string skippedReasonString = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FailoverJobDetails FailoverJobDetails(System.Collections.Generic.IReadOnlyDictionary affectedObjectDetails = null, System.Collections.Generic.IEnumerable protectedItemDetails = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.FailoverReplicationProtectedItemDetails FailoverReplicationProtectedItemDetails(string name = null, string friendlyName = null, string testVmName = null, string testVmFriendlyName = null, string networkConnectionStatus = null, string networkFriendlyName = null, string subnet = null, Azure.Core.ResourceIdentifier recoveryPointId = null, System.DateTimeOffset? recoveryPointOn = default(System.DateTimeOffset?)) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails GatewayOperationDetails(string state = null, int? progressPercentage = default(int?), long? timeElapsed = default(long?), long? timeRemaining = default(long?), long? uploadSpeed = default(long?), string hostName = null, System.Collections.Generic.IEnumerable dataStores = null, long? vmwareReadThroughput = default(long?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorSummary HealthErrorSummary(string summaryCode = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorCategory? category = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HealthErrorCategory?), Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryErrorSeverity? severity = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryErrorSeverity?), string summaryMessage = null, string affectedResourceType = null, string affectedResourceSubtype = null, System.Collections.Generic.IEnumerable affectedResourceCorrelationIds = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVHostDetails HyperVHostDetails(string id = null, string name = null, string marsAgentVersion = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVIPConfigDetails HyperVIPConfigDetails(string name = null, bool? isPrimary = default(bool?), string subnetName = null, System.Net.IPAddress staticIPAddress = null, string ipAddressType = null, bool? isSeletedForFailover = default(bool?), string recoverySubnetName = null, System.Net.IPAddress recoveryStaticIPAddress = null, string recoveryIPAddressType = null, Azure.Core.ResourceIdentifier recoveryPublicIPAddressId = null, System.Collections.Generic.IEnumerable recoveryLBBackendAddressPoolIds = null, string tfoSubnetName = null, System.Net.IPAddress tfoStaticIPAddress = null, Azure.Core.ResourceIdentifier tfoPublicIPAddressId = null, System.Collections.Generic.IEnumerable tfoLBBackendAddressPoolIds = null) { throw null; } @@ -1525,7 +1548,7 @@ public static partial class ArmRecoveryServicesSiteRecoveryModelFactory public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureEventDetails HyperVReplicaAzureEventDetails(string containerName = null, string fabricName = null, string remoteContainerName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureManagedDiskDetails HyperVReplicaAzureManagedDiskDetails(string diskId = null, string seedManagedDiskId = null, string replicaDiskType = null, Azure.Core.ResourceIdentifier diskEncryptionSetId = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzurePolicyDetails HyperVReplicaAzurePolicyDetails(int? recoveryPointHistoryDurationInHours = default(int?), int? applicationConsistentSnapshotFrequencyInHours = default(int?), int? replicationInterval = default(int?), string onlineReplicationStartTime = null, string encryption = null, Azure.Core.ResourceIdentifier activeStorageAccountId = null) { throw null; } - public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(System.Collections.Generic.IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, Azure.Core.ResourceIdentifier recoveryAzureLogStorageAccountId = null, System.DateTimeOffset? lastReplicatedOn = default(System.DateTimeOffset?), long? rpoInSeconds = default(long?), System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = null, System.Collections.Generic.IEnumerable vmNics = null, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = null, string selectedSourceNicId = null, string encryption = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails osDetails = null, int? sourceVmRamSizeInMB = default(int?), int? sourceVmCpuCount = default(int?), string enableRdpOnTargetOption = null, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = null, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, System.DateTimeOffset? lastRecoveryPointReceived = default(System.DateTimeOffset?), System.Collections.Generic.IReadOnlyDictionary targetVmTags = null, System.Collections.Generic.IReadOnlyDictionary seedManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetNicTags = null, System.Collections.Generic.IEnumerable protectedManagedDisks = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(System.Collections.Generic.IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, Azure.Core.ResourceIdentifier recoveryAzureLogStorageAccountId = null, System.DateTimeOffset? lastReplicatedOn = default(System.DateTimeOffset?), long? rpoInSeconds = default(long?), System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = null, System.Collections.Generic.IEnumerable vmNics = null, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = null, string selectedSourceNicId = null, string encryption = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryOSDetails osDetails = null, int? sourceVmRamSizeInMB = default(int?), int? sourceVmCpuCount = default(int?), string enableRdpOnTargetOption = null, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = null, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, System.DateTimeOffset? lastRecoveryPointReceived = default(System.DateTimeOffset?), System.Collections.Generic.IReadOnlyDictionary targetVmTags = null, System.Collections.Generic.IReadOnlyDictionary seedManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetNicTags = null, System.Collections.Generic.IEnumerable protectedManagedDisks = null, System.Collections.Generic.IEnumerable allAvailableOSUpgradeConfigurations = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaBaseEventDetails HyperVReplicaBaseEventDetails(string containerName = null, string fabricName = null, string remoteContainerName = null, string remoteFabricName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaBasePolicyDetails HyperVReplicaBasePolicyDetails(int? recoveryPoints = default(int?), int? applicationConsistentSnapshotFrequencyInHours = default(int?), string compression = null, string initialReplicationMethod = null, string onlineReplicationStartTime = null, string offlineReplicationImportPath = null, string offlineReplicationExportPath = null, int? replicationPort = default(int?), int? allowedAuthenticationType = default(int?), string replicaDeletionOption = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVReplicaBaseReplicationDetails HyperVReplicaBaseReplicationDetails(System.DateTimeOffset? lastReplicatedOn = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable vmNics = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InitialReplicationDetails initialReplicationDetails = null, System.Collections.Generic.IEnumerable vmDiskDetails = null) { throw null; } @@ -1545,7 +1568,7 @@ public static partial class ArmRecoveryServicesSiteRecoveryModelFactory public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2PolicyDetails InMageAzureV2PolicyDetails(int? crashConsistentFrequencyInMinutes = default(int?), int? recoveryPointThresholdInMinutes = default(int?), int? recoveryPointHistory = default(int?), int? appConsistentFrequencyInMinutes = default(int?), string multiVmSyncStatus = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ProtectedDiskDetails InMageAzureV2ProtectedDiskDetails(string diskId = null, string diskName = null, string protectionStage = null, string healthErrorCode = null, long? rpoInSeconds = default(long?), string resyncRequired = null, int? resyncProgressPercentage = default(int?), long? resyncDurationInSeconds = default(long?), long? diskCapacityInBytes = default(long?), long? fileSystemCapacityInBytes = default(long?), double? sourceDataInMegaBytes = default(double?), double? psDataInMegaBytes = default(double?), double? targetDataInMegaBytes = default(double?), string diskResized = null, System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), long? resyncProcessedBytes = default(long?), long? resyncTotalTransferredBytes = default(long?), long? resyncLast15MinutesTransferredBytes = default(long?), System.DateTimeOffset? resyncLastDataTransferOn = default(System.DateTimeOffset?), System.DateTimeOffset? resyncStartOn = default(System.DateTimeOffset?), string progressHealth = null, string progressStatus = null, long? secondsToTakeSwitchProvider = default(long?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2RecoveryPointDetails InMageAzureV2RecoveryPointDetails(string isMultiVmSyncPoint = null) { throw null; } - public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ReplicationDetails InMageAzureV2ReplicationDetails(string infrastructureVmId = null, string vCenterInfrastructureId = null, string protectionStage = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, int? resyncProgressPercentage = default(int?), long? rpoInSeconds = default(long?), double? compressedDataRateInMB = default(double?), double? uncompressedDataRateInMB = default(double?), System.Net.IPAddress ipAddress = null, string agentVersion = null, System.DateTimeOffset? agentExpireOn = default(System.DateTimeOffset?), string isAgentUpdateRequired = null, string isRebootAfterUpdateRequired = null, System.DateTimeOffset? lastHeartbeat = default(System.DateTimeOffset?), System.Guid? processServerId = default(System.Guid?), string processServerName = null, string multiVmGroupId = null, string multiVmGroupName = null, string multiVmSyncStatus = null, System.Collections.Generic.IEnumerable protectedDisks = null, string diskResized = null, string masterTargetId = null, int? sourceVmCpuCount = default(int?), int? sourceVmRamSizeInMB = default(int?), string osType = null, string vhdName = null, string osDiskId = null, System.Collections.Generic.IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, Azure.Core.ResourceIdentifier recoveryAzureLogStorageAccountId = null, System.Collections.Generic.IEnumerable vmNics = null, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = null, Azure.Core.ResourceIdentifier selectedTfoAzureNetworkId = null, string selectedSourceNicId = null, string discoveryType = null, string enableRdpOnTargetOption = null, System.Collections.Generic.IEnumerable datastores = null, string targetVmId = null, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = null, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, System.Collections.Generic.IEnumerable validationErrors = null, System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastUpdateReceivedOn = default(System.DateTimeOffset?), string replicaId = null, string osVersion = null, System.Collections.Generic.IEnumerable protectedManagedDisks = null, System.DateTimeOffset? lastRecoveryPointReceived = default(System.DateTimeOffset?), string firmwareType = null, string azureVmGeneration = null, bool? isAdditionalStatsAvailable = default(bool?), long? totalDataTransferred = default(long?), string totalProgressHealth = null, System.Collections.Generic.IReadOnlyDictionary targetVmTags = null, System.Collections.Generic.IReadOnlyDictionary seedManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetNicTags = null, System.Collections.Generic.IEnumerable switchProviderBlockingErrorDetails = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderDetails switchProviderDetails = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2ReplicationDetails InMageAzureV2ReplicationDetails(string infrastructureVmId = null, string vCenterInfrastructureId = null, string protectionStage = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, int? resyncProgressPercentage = default(int?), long? rpoInSeconds = default(long?), double? compressedDataRateInMB = default(double?), double? uncompressedDataRateInMB = default(double?), System.Net.IPAddress ipAddress = null, string agentVersion = null, System.DateTimeOffset? agentExpireOn = default(System.DateTimeOffset?), string isAgentUpdateRequired = null, string isRebootAfterUpdateRequired = null, System.DateTimeOffset? lastHeartbeat = default(System.DateTimeOffset?), System.Guid? processServerId = default(System.Guid?), string processServerName = null, string multiVmGroupId = null, string multiVmGroupName = null, string multiVmSyncStatus = null, System.Collections.Generic.IEnumerable protectedDisks = null, string diskResized = null, string masterTargetId = null, int? sourceVmCpuCount = default(int?), int? sourceVmRamSizeInMB = default(int?), string osType = null, string vhdName = null, string osDiskId = null, System.Collections.Generic.IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, Azure.Core.ResourceIdentifier recoveryAzureLogStorageAccountId = null, System.Collections.Generic.IEnumerable vmNics = null, Azure.Core.ResourceIdentifier selectedRecoveryAzureNetworkId = null, Azure.Core.ResourceIdentifier selectedTfoAzureNetworkId = null, string selectedSourceNicId = null, string discoveryType = null, string enableRdpOnTargetOption = null, System.Collections.Generic.IEnumerable datastores = null, string targetVmId = null, Azure.Core.ResourceIdentifier recoveryAzureResourceGroupId = null, Azure.Core.ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, System.Collections.Generic.IEnumerable validationErrors = null, System.DateTimeOffset? lastRpoCalculatedOn = default(System.DateTimeOffset?), System.DateTimeOffset? lastUpdateReceivedOn = default(System.DateTimeOffset?), string replicaId = null, string osVersion = null, System.Collections.Generic.IEnumerable protectedManagedDisks = null, System.DateTimeOffset? lastRecoveryPointReceived = default(System.DateTimeOffset?), string firmwareType = null, string azureVmGeneration = null, bool? isAdditionalStatsAvailable = default(bool?), long? totalDataTransferred = default(long?), string totalProgressHealth = null, System.Collections.Generic.IReadOnlyDictionary targetVmTags = null, System.Collections.Generic.IReadOnlyDictionary seedManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetManagedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetNicTags = null, System.Collections.Generic.IEnumerable switchProviderBlockingErrorDetails = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderDetails switchProviderDetails = null, System.Collections.Generic.IEnumerable supportedOSVersions = null, System.Collections.Generic.IEnumerable allAvailableOSUpgradeConfigurations = null, string osName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderBlockingErrorDetails InMageAzureV2SwitchProviderBlockingErrorDetails(string errorCode = null, string errorMessage = null, string possibleCauses = null, string recommendedAction = null, System.Collections.Generic.IReadOnlyDictionary errorMessageParameters = null, System.Collections.Generic.IReadOnlyDictionary errorTags = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderDetails InMageAzureV2SwitchProviderDetails(Azure.Core.ResourceIdentifier targetVaultId = null, Azure.Core.ResourceIdentifier targetResourceId = null, Azure.Core.ResourceIdentifier targetFabricId = null, string targetApplianceId = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageBasePolicyDetails InMageBasePolicyDetails(int? recoveryPointThresholdInMinutes = default(int?), int? recoveryPointHistory = default(int?), int? appConsistentFrequencyInMinutes = default(int?), string multiVmSyncStatus = null) { throw null; } @@ -1584,6 +1607,7 @@ public static partial class ArmRecoveryServicesSiteRecoveryModelFactory public static Azure.ResourceManager.RecoveryServicesSiteRecovery.MigrationRecoveryPointData MigrationRecoveryPointData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationRecoveryPointProperties properties = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationRecoveryPointProperties MigrationRecoveryPointProperties(System.DateTimeOffset? recoveryPointOn = default(System.DateTimeOffset?), Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationRecoveryPointType? recoveryPointType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationRecoveryPointType?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MobilityServiceUpdate MobilityServiceUpdate(string version = null, string rebootStatus = null, string osType = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.OSUpgradeSupportedVersions OSUpgradeSupportedVersions(string supportedSourceOSVersion = null, System.Collections.Generic.IEnumerable supportedTargetOSVersions = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.ProtectionContainerMappingData ProtectionContainerMappingData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionContainerMappingProperties properties = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?)) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionContainerMappingProperties ProtectionContainerMappingProperties(Azure.Core.ResourceIdentifier targetProtectionContainerId = null, string targetProtectionContainerFriendlyName = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ProtectionContainerMappingProviderSpecificDetails providerSpecificDetails = null, string health = null, System.Collections.Generic.IEnumerable healthErrorDetails = null, Azure.Core.ResourceIdentifier policyId = null, string state = null, string sourceProtectionContainerFriendlyName = null, string sourceFabricFriendlyName = null, string targetFabricFriendlyName = null, string policyFriendlyName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PushInstallerDetails PushInstallerDetails(string id = null, string name = null, string biosId = null, Azure.Core.ResourceIdentifier fabricObjectId = null, string fqdn = null, string version = null, System.DateTimeOffset? lastHeartbeatReceivedOn = default(System.DateTimeOffset?), Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth? health = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryProtectionHealth?), System.Collections.Generic.IEnumerable healthErrors = null) { throw null; } @@ -1681,10 +1705,10 @@ public static partial class ArmRecoveryServicesSiteRecoveryModelFactory public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicDetails VmNicDetails(string nicId = null, string replicaNicId = null, Azure.Core.ResourceIdentifier sourceNicArmId = null, string vmNetworkName = null, Azure.Core.ResourceIdentifier recoveryVmNetworkId = null, System.Collections.Generic.IEnumerable ipConfigs = null, string selectionType = null, string recoveryNetworkSecurityGroupId = null, bool? isAcceleratedNetworkingOnRecoveryEnabled = default(bool?), Azure.Core.ResourceIdentifier tfoVmNetworkId = null, string tfoNetworkSecurityGroupId = null, bool? isAcceleratedNetworkingOnTfoEnabled = default(bool?), string recoveryNicName = null, string recoveryNicResourceGroupName = null, bool? isReuseExistingNicAllowed = default(bool?), string tfoRecoveryNicName = null, string tfoRecoveryNicResourceGroupName = null, bool? isTfoReuseExistingNicAllowed = default(bool?), string targetNicName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VmNicUpdatesTaskDetails VmNicUpdatesTaskDetails(string vmId = null, string nicId = null, string name = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtEventDetails VMwareCbtEventDetails(string migrationItemName = null) { throw null; } - public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtMigrationDetails VMwareCbtMigrationDetails(Azure.Core.ResourceIdentifier vmwareMachineId = null, string osType = null, string osName = null, string firmwareType = null, string targetGeneration = null, string licenseType = null, string sqlServerLicenseType = null, Azure.Core.ResourceIdentifier dataMoverRunAsAccountId = null, Azure.Core.ResourceIdentifier snapshotRunAsAccountId = null, Azure.Core.ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, string targetLocation = null, Azure.Core.ResourceIdentifier targetResourceGroupId = null, Azure.Core.ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = null, Azure.Core.ResourceIdentifier confidentialVmKeyVaultId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, Azure.Core.ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, System.Collections.Generic.IReadOnlyDictionary targetVmTags = null, System.Collections.Generic.IEnumerable protectedDisks = null, Azure.Core.ResourceIdentifier targetNetworkId = null, Azure.Core.ResourceIdentifier testNetworkId = null, System.Collections.Generic.IEnumerable vmNics = null, System.Collections.Generic.IReadOnlyDictionary targetNicTags = null, Azure.Core.ResourceIdentifier migrationRecoveryPointId = null, System.DateTimeOffset? lastRecoveryPointReceived = default(System.DateTimeOffset?), Azure.Core.ResourceIdentifier lastRecoveryPointId = null, int? initialSeedingProgressPercentage = default(int?), int? migrationProgressPercentage = default(int?), int? resyncProgressPercentage = default(int?), int? resumeProgressPercentage = default(int?), long? initialSeedingRetryCount = default(long?), long? resyncRetryCount = default(long?), long? resumeRetryCount = default(long?), string resyncRequired = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryResyncState? resyncState = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryResyncState?), string performAutoResync = null, System.Collections.Generic.IReadOnlyDictionary seedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetDiskTags = null, System.Collections.Generic.IEnumerable supportedOSVersions = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtMigrationDetails VMwareCbtMigrationDetails(Azure.Core.ResourceIdentifier vmwareMachineId = null, string osType = null, string osName = null, string firmwareType = null, string targetGeneration = null, string licenseType = null, string sqlServerLicenseType = null, Azure.Core.ResourceIdentifier dataMoverRunAsAccountId = null, Azure.Core.ResourceIdentifier snapshotRunAsAccountId = null, Azure.Core.ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, string targetLocation = null, Azure.Core.ResourceIdentifier targetResourceGroupId = null, Azure.Core.ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, Azure.Core.ResourceIdentifier targetProximityPlacementGroupId = null, Azure.Core.ResourceIdentifier confidentialVmKeyVaultId = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, Azure.Core.ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, System.Collections.Generic.IReadOnlyDictionary targetVmTags = null, System.Collections.Generic.IEnumerable protectedDisks = null, Azure.Core.ResourceIdentifier targetNetworkId = null, Azure.Core.ResourceIdentifier testNetworkId = null, System.Collections.Generic.IEnumerable vmNics = null, System.Collections.Generic.IReadOnlyDictionary targetNicTags = null, Azure.Core.ResourceIdentifier migrationRecoveryPointId = null, System.DateTimeOffset? lastRecoveryPointReceived = default(System.DateTimeOffset?), Azure.Core.ResourceIdentifier lastRecoveryPointId = null, int? initialSeedingProgressPercentage = default(int?), int? migrationProgressPercentage = default(int?), int? resyncProgressPercentage = default(int?), int? resumeProgressPercentage = default(int?), int? deltaSyncProgressPercentage = default(int?), string isCheckSumResyncCycle = null, long? initialSeedingRetryCount = default(long?), long? resyncRetryCount = default(long?), long? resumeRetryCount = default(long?), long? deltaSyncRetryCount = default(long?), string resyncRequired = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryResyncState? resyncState = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryResyncState?), string performAutoResync = null, System.Collections.Generic.IReadOnlyDictionary seedDiskTags = null, System.Collections.Generic.IReadOnlyDictionary targetDiskTags = null, System.Collections.Generic.IEnumerable supportedOSVersions = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceMonitoringDetails applianceMonitoringDetails = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails gatewayOperationDetails = null, string operationName = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtNicDetails VMwareCbtNicDetails(string nicId = null, string isPrimaryNic = null, System.Net.IPAddress sourceIPAddress = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType? sourceIPAddressType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType?), Azure.Core.ResourceIdentifier sourceNetworkId = null, System.Net.IPAddress targetIPAddress = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType? targetIPAddressType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType?), string targetSubnetName = null, Azure.Core.ResourceIdentifier testNetworkId = null, string testSubnetName = null, System.Net.IPAddress testIPAddress = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType? testIPAddressType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryEthernetAddressType?), string targetNicName = null, string isSelectedForMigration = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtPolicyDetails VMwareCbtPolicyDetails(int? recoveryPointHistoryInMinutes = default(int?), int? appConsistentFrequencyInMinutes = default(int?), int? crashConsistentFrequencyInMinutes = default(int?)) { throw null; } - public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId = null, string diskName = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType? diskType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType?), string diskPath = null, string isOSDisk = null, long? capacityInBytes = default(long?), Azure.Core.ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, Azure.Core.ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, System.Uri seedBlobUri = null, string targetManagedDiskId = null, System.Uri targetBlobUri = null, string targetDiskName = null) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId = null, string diskName = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType? diskType = default(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType?), string diskPath = null, string isOSDisk = null, long? capacityInBytes = default(long?), Azure.Core.ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, Azure.Core.ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, System.Uri seedBlobUri = null, string targetManagedDiskId = null, System.Uri targetBlobUri = null, string targetDiskName = null, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails gatewayOperationDetails = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareCbtProtectionContainerMappingDetails VMwareCbtProtectionContainerMappingDetails(Azure.Core.ResourceIdentifier keyVaultId = null, System.Uri keyVaultUri = null, Azure.Core.ResourceIdentifier storageAccountId = null, string storageAccountSasSecretName = null, string serviceBusConnectionStringSecretName = null, string targetLocation = null, System.Collections.Generic.IReadOnlyDictionary roleSizeToNicCountMap = null, System.Collections.Generic.IEnumerable excludedSkus = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareDetails VMwareDetails(System.Collections.Generic.IEnumerable processServers = null, System.Collections.Generic.IEnumerable masterTargetServers = null, System.Collections.Generic.IEnumerable runAsAccounts = null, string replicationPairCount = null, string processServerCount = null, string agentCount = null, string protectedServers = null, string systemLoad = null, string systemLoadStatus = null, string cpuLoad = null, string cpuLoadStatus = null, long? totalMemoryInBytes = default(long?), long? availableMemoryInBytes = default(long?), string memoryUsageStatus = null, long? totalSpaceInBytes = default(long?), long? availableSpaceInBytes = default(long?), string spaceUsageStatus = null, string webLoad = null, string webLoadStatus = null, string databaseServerLoad = null, string databaseServerLoadStatus = null, string csServiceStatus = null, System.Net.IPAddress ipAddress = null, string agentVersion = null, string hostName = null, System.DateTimeOffset? lastHeartbeat = default(System.DateTimeOffset?), string versionStatus = null, System.DateTimeOffset? sslCertExpireOn = default(System.DateTimeOffset?), int? sslCertExpiryRemainingDays = default(int?), string psTemplateVersion = null, System.DateTimeOffset? agentExpireOn = default(System.DateTimeOffset?), Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryVersionDetails agentVersionDetails = null, System.Collections.Generic.IEnumerable switchProviderBlockingErrorDetails = null) { throw null; } public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.VMwareV2FabricSpecificDetails VMwareV2FabricSpecificDetails(Azure.Core.ResourceIdentifier vmwareSiteId = null, Azure.Core.ResourceIdentifier physicalSiteId = null, Azure.Core.ResourceIdentifier migrationSolutionId = null, string serviceEndpoint = null, Azure.Core.ResourceIdentifier serviceResourceId = null, string serviceContainerId = null, System.Collections.Generic.IEnumerable processServers = null) { throw null; } @@ -1759,6 +1783,24 @@ internal AutomationRunbookTaskDetails() { } public static bool operator !=(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk left, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.AutoProtectionOfDataDisk right) { throw null; } public override string ToString() { throw null; } } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct ChurnOptionSelected : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public ChurnOptionSelected(string value) { throw null; } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected High { get { throw null; } } + public static Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected Normal { get { throw null; } } + public bool Equals(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected 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.ChurnOptionSelected left, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected right) { throw null; } + public static implicit operator Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected left, Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ChurnOptionSelected right) { throw null; } + public override string ToString() { throw null; } + } public partial class ConsistencyCheckTaskDetails : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryTaskTypeDetails { internal ConsistencyCheckTaskDetails() { } @@ -1786,6 +1828,13 @@ internal CurrentScenarioDetails() { } public string ScenarioName { get { throw null; } } public System.DateTimeOffset? StartOn { get { throw null; } } } + public partial class DataStoreUtilizationDetails + { + internal DataStoreUtilizationDetails() { } + public string DataStoreName { get { throw null; } } + public long? TotalSnapshotsCreated { get { throw null; } } + public long? TotalSnapshotsSupported { get { throw null; } } + } public partial class DisableProtectionContent { public DisableProtectionContent(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.DisableProtectionProperties properties) { } @@ -1981,6 +2030,18 @@ internal FailoverReplicationProtectedItemDetails() { } public string TestVmFriendlyName { get { throw null; } } public string TestVmName { get { throw null; } } } + public partial class GatewayOperationDetails + { + internal GatewayOperationDetails() { } + public System.Collections.Generic.IReadOnlyList DataStores { get { throw null; } } + public string HostName { get { throw null; } } + public int? ProgressPercentage { get { throw null; } } + public string State { get { throw null; } } + public long? TimeElapsed { get { throw null; } } + public long? TimeRemaining { get { throw null; } } + public long? UploadSpeed { get { throw null; } } + public long? VMwareReadThroughput { get { throw null; } } + } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct HealthErrorCategory : System.IEquatable { @@ -2165,6 +2226,7 @@ internal HyperVReplicaAzureManagedDiskDetails() { } public partial class HyperVReplicaAzurePlannedFailoverProviderContent : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PlannedFailoverProviderSpecificFailoverContent { public HyperVReplicaAzurePlannedFailoverProviderContent() { } + public string OSUpgradeVersion { get { throw null; } set { } } public string PrimaryKekCertificatePfx { get { throw null; } set { } } public Azure.Core.ResourceIdentifier RecoveryPointId { get { throw null; } set { } } public string SecondaryKekCertificatePfx { get { throw null; } set { } } @@ -2191,6 +2253,7 @@ internal HyperVReplicaAzurePolicyDetails() { } public partial class HyperVReplicaAzureReplicationDetails : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ReplicationProviderSpecificSettings { internal HyperVReplicaAzureReplicationDetails() { } + public System.Collections.Generic.IReadOnlyList AllAvailableOSUpgradeConfigurations { get { throw null; } } public System.Collections.Generic.IReadOnlyList AzureVmDiskDetails { get { throw null; } } public string EnableRdpOnTargetOption { get { throw null; } } public string Encryption { get { throw null; } } @@ -2257,6 +2320,7 @@ public HyperVReplicaAzureReprotectContent() { } public partial class HyperVReplicaAzureTestFailoverContent : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestFailoverProviderSpecificContent { public HyperVReplicaAzureTestFailoverContent() { } + public string OSUpgradeVersion { get { throw null; } set { } } public string PrimaryKekCertificatePfx { get { throw null; } set { } } public Azure.Core.ResourceIdentifier RecoveryPointId { get { throw null; } set { } } public string SecondaryKekCertificatePfx { get { throw null; } set { } } @@ -2584,6 +2648,7 @@ public partial class InMageAzureV2ReplicationDetails : Azure.ResourceManager.Rec internal InMageAzureV2ReplicationDetails() { } public System.DateTimeOffset? AgentExpireOn { get { throw null; } } public string AgentVersion { get { throw null; } } + public System.Collections.Generic.IReadOnlyList AllAvailableOSUpgradeConfigurations { get { throw null; } } public System.Collections.Generic.IReadOnlyList AzureVmDiskDetails { get { throw null; } } public string AzureVmGeneration { get { throw null; } } public double? CompressedDataRateInMB { get { throw null; } } @@ -2607,6 +2672,7 @@ internal InMageAzureV2ReplicationDetails() { } public string MultiVmGroupName { get { throw null; } } public string MultiVmSyncStatus { get { throw null; } } public string OSDiskId { get { throw null; } } + public string OSName { get { throw null; } } public string OSType { get { throw null; } } public string OSVersion { get { throw null; } } public System.Guid? ProcessServerId { get { throw null; } } @@ -2630,6 +2696,7 @@ internal InMageAzureV2ReplicationDetails() { } public int? SourceVmCpuCount { get { throw null; } } public int? SourceVmRamSizeInMB { get { throw null; } } public string SqlServerLicenseType { get { throw null; } } + public System.Collections.Generic.IReadOnlyList SupportedOSVersions { get { throw null; } } public System.Collections.Generic.IReadOnlyList SwitchProviderBlockingErrorDetails { get { throw null; } } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.InMageAzureV2SwitchProviderDetails SwitchProviderDetails { get { throw null; } } public string TargetAvailabilityZone { get { throw null; } } @@ -2689,11 +2756,13 @@ internal InMageAzureV2SwitchProviderDetails() { } public partial class InMageAzureV2TestFailoverContent : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.TestFailoverProviderSpecificContent { public InMageAzureV2TestFailoverContent() { } + public string OSUpgradeVersion { get { throw null; } set { } } public Azure.Core.ResourceIdentifier RecoveryPointId { get { throw null; } set { } } } public partial class InMageAzureV2UnplannedFailoverContent : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.UnplannedFailoverProviderSpecificContent { public InMageAzureV2UnplannedFailoverContent() { } + public string OSUpgradeVersion { get { throw null; } set { } } public Azure.Core.ResourceIdentifier RecoveryPointId { get { throw null; } set { } } } public partial class InMageAzureV2UpdateReplicationProtectedItemContent : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.UpdateReplicationProtectedItemProviderContent @@ -3589,6 +3658,12 @@ public NewRecoveryVirtualNetwork() { } public string RecoveryVirtualNetworkName { get { throw null; } set { } } public string RecoveryVirtualNetworkResourceGroupName { get { throw null; } set { } } } + public partial class OSUpgradeSupportedVersions + { + internal OSUpgradeSupportedVersions() { } + public string SupportedSourceOSVersion { get { throw null; } } + public System.Collections.Generic.IReadOnlyList SupportedTargetOSVersions { get { throw null; } } + } public partial class PauseReplicationContent { public PauseReplicationContent(Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.PauseReplicationProperties properties) { } @@ -5814,16 +5889,22 @@ public VMwareCbtMigrateContent(string performShutdown) { } public partial class VMwareCbtMigrationDetails : Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.MigrationProviderSpecificSettings { internal VMwareCbtMigrationDetails() { } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.ApplianceMonitoringDetails ApplianceMonitoringDetails { get { throw null; } } public Azure.Core.ResourceIdentifier ConfidentialVmKeyVaultId { get { throw null; } } public Azure.Core.ResourceIdentifier DataMoverRunAsAccountId { get { throw null; } } + public int? DeltaSyncProgressPercentage { get { throw null; } } + public long? DeltaSyncRetryCount { get { throw null; } } public string FirmwareType { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails GatewayOperationDetails { get { throw null; } } public int? InitialSeedingProgressPercentage { get { throw null; } } public long? InitialSeedingRetryCount { get { throw null; } } + public string IsCheckSumResyncCycle { get { throw null; } } public Azure.Core.ResourceIdentifier LastRecoveryPointId { get { throw null; } } public System.DateTimeOffset? LastRecoveryPointReceived { get { throw null; } } public string LicenseType { get { throw null; } } public int? MigrationProgressPercentage { get { throw null; } } public Azure.Core.ResourceIdentifier MigrationRecoveryPointId { get { throw null; } } + public string OperationName { get { throw null; } } public string OSName { get { throw null; } } public string OSType { get { throw null; } } public string PerformAutoResync { get { throw null; } } @@ -5910,6 +5991,7 @@ internal VMwareCbtProtectedDiskDetails() { } public string DiskName { get { throw null; } } public string DiskPath { get { throw null; } } public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoveryDiskAccountType? DiskType { get { throw null; } } + public Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.GatewayOperationDetails GatewayOperationDetails { get { throw null; } } public string IsOSDisk { get { throw null; } } public Azure.Core.ResourceIdentifier LogStorageAccountId { get { throw null; } } public string LogStorageAccountSasSecretName { get { throw null; } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs index 29a0a25d3b46..988ca505bdcf 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ArmRecoveryServicesSiteRecoveryModelFactory.cs @@ -1326,15 +1326,16 @@ public static A2ARecoveryPointDetails A2ARecoveryPointDetails(RecoveryPointSyncT /// A value indicating whether the auto protection is enabled. /// The recovery virtual machine scale set id. /// The recovery capacity reservation group Id. + /// A value indicating the churn option selected by user. /// A new instance for mocking. - public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fabricObjectId = null, string initialPrimaryZone = null, AzureLocation? initialPrimaryFabricLocation = null, string initialRecoveryZone = null, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = null, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = null, AzureLocation? initialRecoveryFabricLocation = null, string multiVmGroupId = null, string multiVmGroupName = null, MultiVmGroupCreateOption? multiVmGroupCreateOption = null, string managementId = null, IEnumerable protectedDisks = null, IEnumerable unprotectedDisks = null, IEnumerable protectedManagedDisks = null, ResourceIdentifier recoveryBootDiagStorageAccountId = null, AzureLocation? primaryFabricLocation = null, AzureLocation? recoveryFabricLocation = null, string osType = null, string recoveryAzureVmSize = null, string recoveryAzureVmName = null, ResourceIdentifier recoveryAzureResourceGroupId = null, string recoveryCloudService = null, string recoveryAvailabilitySet = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, ResourceIdentifier selectedTfoAzureNetworkId = null, IEnumerable vmNics = null, A2AVmSyncedConfigDetails vmSyncedConfigDetails = null, int? monitoringPercentageCompletion = null, string monitoringJobType = null, DateTimeOffset? lastHeartbeat = null, string agentVersion = null, DateTimeOffset? agentExpireOn = null, bool? isReplicationAgentUpdateRequired = null, DateTimeOffset? agentCertificateExpireOn = null, bool? isReplicationAgentCertificateUpdateRequired = null, ResourceIdentifier recoveryFabricObjectId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null, ResourceIdentifier testFailoverRecoveryFabricObjectId = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string primaryAvailabilityZone = null, string recoveryAvailabilityZone = null, SiteRecoveryExtendedLocation primaryExtendedLocation = null, SiteRecoveryExtendedLocation recoveryExtendedLocation = null, SiteRecoveryVmEncryptionType? vmEncryptionType = null, string tfoAzureVmName = null, string recoveryAzureGeneration = null, ResourceIdentifier recoveryProximityPlacementGroupId = null, AutoProtectionOfDataDisk? autoProtectionOfDataDisk = null, ResourceIdentifier recoveryVirtualMachineScaleSetId = null, ResourceIdentifier recoveryCapacityReservationGroupId = null) + public static A2AReplicationDetails A2AReplicationDetails(ResourceIdentifier fabricObjectId = null, string initialPrimaryZone = null, AzureLocation? initialPrimaryFabricLocation = null, string initialRecoveryZone = null, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation = null, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation = null, AzureLocation? initialRecoveryFabricLocation = null, string multiVmGroupId = null, string multiVmGroupName = null, MultiVmGroupCreateOption? multiVmGroupCreateOption = null, string managementId = null, IEnumerable protectedDisks = null, IEnumerable unprotectedDisks = null, IEnumerable protectedManagedDisks = null, ResourceIdentifier recoveryBootDiagStorageAccountId = null, AzureLocation? primaryFabricLocation = null, AzureLocation? recoveryFabricLocation = null, string osType = null, string recoveryAzureVmSize = null, string recoveryAzureVmName = null, ResourceIdentifier recoveryAzureResourceGroupId = null, string recoveryCloudService = null, string recoveryAvailabilitySet = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, ResourceIdentifier selectedTfoAzureNetworkId = null, IEnumerable vmNics = null, A2AVmSyncedConfigDetails vmSyncedConfigDetails = null, int? monitoringPercentageCompletion = null, string monitoringJobType = null, DateTimeOffset? lastHeartbeat = null, string agentVersion = null, DateTimeOffset? agentExpireOn = null, bool? isReplicationAgentUpdateRequired = null, DateTimeOffset? agentCertificateExpireOn = null, bool? isReplicationAgentCertificateUpdateRequired = null, ResourceIdentifier recoveryFabricObjectId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, string lifecycleId = null, ResourceIdentifier testFailoverRecoveryFabricObjectId = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string primaryAvailabilityZone = null, string recoveryAvailabilityZone = null, SiteRecoveryExtendedLocation primaryExtendedLocation = null, SiteRecoveryExtendedLocation recoveryExtendedLocation = null, SiteRecoveryVmEncryptionType? vmEncryptionType = null, string tfoAzureVmName = null, string recoveryAzureGeneration = null, ResourceIdentifier recoveryProximityPlacementGroupId = null, AutoProtectionOfDataDisk? autoProtectionOfDataDisk = null, ResourceIdentifier recoveryVirtualMachineScaleSetId = null, ResourceIdentifier recoveryCapacityReservationGroupId = null, ChurnOptionSelected? churnOptionSelected = null) { protectedDisks ??= new List(); unprotectedDisks ??= new List(); protectedManagedDisks ??= new List(); vmNics ??= new List(); - return new A2AReplicationDetails("A2A", fabricObjectId, initialPrimaryZone, initialPrimaryFabricLocation, initialRecoveryZone, initialPrimaryExtendedLocation, initialRecoveryExtendedLocation, initialRecoveryFabricLocation, multiVmGroupId, multiVmGroupName, multiVmGroupCreateOption, managementId, protectedDisks?.ToList(), unprotectedDisks?.ToList(), protectedManagedDisks?.ToList(), recoveryBootDiagStorageAccountId, primaryFabricLocation, recoveryFabricLocation, osType, recoveryAzureVmSize, recoveryAzureVmName, recoveryAzureResourceGroupId, recoveryCloudService, recoveryAvailabilitySet, selectedRecoveryAzureNetworkId, selectedTfoAzureNetworkId, vmNics?.ToList(), vmSyncedConfigDetails, monitoringPercentageCompletion, monitoringJobType, lastHeartbeat, agentVersion, agentExpireOn, isReplicationAgentUpdateRequired, agentCertificateExpireOn, isReplicationAgentCertificateUpdateRequired, recoveryFabricObjectId, vmProtectionState, vmProtectionStateDescription, lifecycleId, testFailoverRecoveryFabricObjectId, rpoInSeconds, lastRpoCalculatedOn, primaryAvailabilityZone, recoveryAvailabilityZone, primaryExtendedLocation, recoveryExtendedLocation, vmEncryptionType, tfoAzureVmName, recoveryAzureGeneration, recoveryProximityPlacementGroupId, autoProtectionOfDataDisk, recoveryVirtualMachineScaleSetId, recoveryCapacityReservationGroupId); + return new A2AReplicationDetails("A2A", fabricObjectId, initialPrimaryZone, initialPrimaryFabricLocation, initialRecoveryZone, initialPrimaryExtendedLocation, initialRecoveryExtendedLocation, initialRecoveryFabricLocation, multiVmGroupId, multiVmGroupName, multiVmGroupCreateOption, managementId, protectedDisks?.ToList(), unprotectedDisks?.ToList(), protectedManagedDisks?.ToList(), recoveryBootDiagStorageAccountId, primaryFabricLocation, recoveryFabricLocation, osType, recoveryAzureVmSize, recoveryAzureVmName, recoveryAzureResourceGroupId, recoveryCloudService, recoveryAvailabilitySet, selectedRecoveryAzureNetworkId, selectedTfoAzureNetworkId, vmNics?.ToList(), vmSyncedConfigDetails, monitoringPercentageCompletion, monitoringJobType, lastHeartbeat, agentVersion, agentExpireOn, isReplicationAgentUpdateRequired, agentCertificateExpireOn, isReplicationAgentCertificateUpdateRequired, recoveryFabricObjectId, vmProtectionState, vmProtectionStateDescription, lifecycleId, testFailoverRecoveryFabricObjectId, rpoInSeconds, lastRpoCalculatedOn, primaryAvailabilityZone, recoveryAvailabilityZone, primaryExtendedLocation, recoveryExtendedLocation, vmEncryptionType, tfoAzureVmName, recoveryAzureGeneration, recoveryProximityPlacementGroupId, autoProtectionOfDataDisk, recoveryVirtualMachineScaleSetId, recoveryCapacityReservationGroupId, churnOptionSelected); } /// Initializes a new instance of A2AUnprotectedDiskDetails. @@ -1513,6 +1514,42 @@ public static SiteRecoveryAgentDiskDetails SiteRecoveryAgentDiskDetails(string d return new SiteRecoveryAgentDiskDetails(diskId, diskName, isOSDisk, capacityInBytes, lunId); } + /// Initializes a new instance of ApplianceMonitoringDetails. + /// The appliance CPU details. + /// The appliance RAM details. + /// The appliance datastore snapshot details. + /// The disk replication details. + /// The ESXi NFC buffer details. + /// The appliance network bandwidth details. + /// A new instance for mocking. + public static ApplianceMonitoringDetails ApplianceMonitoringDetails(ApplianceResourceDetails cpuDetails = null, ApplianceResourceDetails ramDetails = null, IEnumerable datastoreSnapshot = null, ApplianceResourceDetails disksReplicationDetails = null, ApplianceResourceDetails esxiNfcBuffer = null, ApplianceResourceDetails networkBandwidth = null) + { + datastoreSnapshot ??= new List(); + + return new ApplianceMonitoringDetails(cpuDetails, ramDetails, datastoreSnapshot?.ToList(), disksReplicationDetails, esxiNfcBuffer, networkBandwidth); + } + + /// Initializes a new instance of ApplianceResourceDetails. + /// A value indicating the total capacity of appliance resource. + /// A value indicating the utilization percentage by gateway agent on appliance. + /// A value indicating the total utilization percentage for all processes on the appliance. + /// A value indicating the status of appliance resource. + /// A new instance for mocking. + public static ApplianceResourceDetails ApplianceResourceDetails(long? capacity = null, double? processUtilization = null, double? totalUtilization = null, string status = null) + { + return new ApplianceResourceDetails(capacity, processUtilization, totalUtilization, status); + } + + /// Initializes a new instance of DataStoreUtilizationDetails. + /// The total count of snapshots supported by the datastore. + /// The total snapshots created for server migration in the datastore. + /// The datastore name. + /// A new instance for mocking. + public static DataStoreUtilizationDetails DataStoreUtilizationDetails(long? totalSnapshotsSupported = null, long? totalSnapshotsCreated = null, string dataStoreName = null) + { + return new DataStoreUtilizationDetails(totalSnapshotsSupported, totalSnapshotsCreated, dataStoreName); + } + /// Initializes a new instance of AsrJobDetails. /// The affected object properties like source server, source cloud, target server, target cloud etc. based on the workflow object details. /// A new instance for mocking. @@ -1727,6 +1764,23 @@ public static FailoverReplicationProtectedItemDetails FailoverReplicationProtect return new FailoverReplicationProtectedItemDetails(name, friendlyName, testVmName, testVmFriendlyName, networkConnectionStatus, networkFriendlyName, subnet, recoveryPointId, recoveryPointOn); } + /// Initializes a new instance of GatewayOperationDetails. + /// A value indicating the state of gateway operation. + /// A value indicating the progress percentage of gateway operation. + /// A value indicating the time elapsed for the operation in milliseconds. + /// A value indicating the time remaining for the operation in milliseconds. + /// A value indicating the upload speed in bytes per second. + /// A value indicating the ESXi host name. + /// A value indicating the datastore collection. + /// A value indicating the VMware read throughput in bytes per second. + /// A new instance for mocking. + public static GatewayOperationDetails GatewayOperationDetails(string state = null, int? progressPercentage = null, long? timeElapsed = null, long? timeRemaining = null, long? uploadSpeed = null, string hostName = null, IEnumerable dataStores = null, long? vmwareReadThroughput = null) + { + dataStores ??= new List(); + + return new GatewayOperationDetails(state, progressPercentage, timeElapsed, timeRemaining, uploadSpeed, hostName, dataStores?.ToList(), vmwareReadThroughput); + } + /// Initializes a new instance of HyperVHostDetails. /// The Hyper-V host Id. /// The Hyper-V host name. @@ -1827,8 +1881,9 @@ public static HyperVReplicaAzurePolicyDetails HyperVReplicaAzurePolicyDetails(in /// The tags for the target managed disks. /// The tags for the target NICs. /// The list of protected managed disks. + /// A value indicating all available inplace OS Upgrade configurations. /// A new instance for mocking. - public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, ResourceIdentifier recoveryAzureLogStorageAccountId = null, DateTimeOffset? lastReplicatedOn = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, InitialReplicationDetails initialReplicationDetails = null, IEnumerable vmNics = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, string selectedSourceNicId = null, string encryption = null, SiteRecoveryOSDetails osDetails = null, int? sourceVmRamSizeInMB = null, int? sourceVmCpuCount = null, string enableRdpOnTargetOption = null, ResourceIdentifier recoveryAzureResourceGroupId = null, ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, DateTimeOffset? lastRecoveryPointReceived = null, IReadOnlyDictionary targetVmTags = null, IReadOnlyDictionary seedManagedDiskTags = null, IReadOnlyDictionary targetManagedDiskTags = null, IReadOnlyDictionary targetNicTags = null, IEnumerable protectedManagedDisks = null) + public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplicationDetails(IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, ResourceIdentifier recoveryAzureLogStorageAccountId = null, DateTimeOffset? lastReplicatedOn = null, long? rpoInSeconds = null, DateTimeOffset? lastRpoCalculatedOn = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, InitialReplicationDetails initialReplicationDetails = null, IEnumerable vmNics = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, string selectedSourceNicId = null, string encryption = null, SiteRecoveryOSDetails osDetails = null, int? sourceVmRamSizeInMB = null, int? sourceVmCpuCount = null, string enableRdpOnTargetOption = null, ResourceIdentifier recoveryAzureResourceGroupId = null, ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, DateTimeOffset? lastRecoveryPointReceived = null, IReadOnlyDictionary targetVmTags = null, IReadOnlyDictionary seedManagedDiskTags = null, IReadOnlyDictionary targetManagedDiskTags = null, IReadOnlyDictionary targetNicTags = null, IEnumerable protectedManagedDisks = null, IEnumerable allAvailableOSUpgradeConfigurations = null) { azureVmDiskDetails ??= new List(); vmNics ??= new List(); @@ -1837,8 +1892,9 @@ public static HyperVReplicaAzureReplicationDetails HyperVReplicaAzureReplication targetManagedDiskTags ??= new Dictionary(); targetNicTags ??= new Dictionary(); protectedManagedDisks ??= new List(); + allAvailableOSUpgradeConfigurations ??= new List(); - return new HyperVReplicaAzureReplicationDetails("HyperVReplicaAzure", azureVmDiskDetails?.ToList(), recoveryAzureVmName, recoveryAzureVmSize, recoveryAzureStorageAccount, recoveryAzureLogStorageAccountId, lastReplicatedOn, rpoInSeconds, lastRpoCalculatedOn, vmId, vmProtectionState, vmProtectionStateDescription, initialReplicationDetails, vmNics?.ToList(), selectedRecoveryAzureNetworkId, selectedSourceNicId, encryption, osDetails, sourceVmRamSizeInMB, sourceVmCpuCount, enableRdpOnTargetOption, recoveryAzureResourceGroupId, recoveryAvailabilitySetId, targetAvailabilityZone, targetProximityPlacementGroupId, useManagedDisks, licenseType, sqlServerLicenseType, lastRecoveryPointReceived, targetVmTags, seedManagedDiskTags, targetManagedDiskTags, targetNicTags, protectedManagedDisks?.ToList()); + return new HyperVReplicaAzureReplicationDetails("HyperVReplicaAzure", azureVmDiskDetails?.ToList(), recoveryAzureVmName, recoveryAzureVmSize, recoveryAzureStorageAccount, recoveryAzureLogStorageAccountId, lastReplicatedOn, rpoInSeconds, lastRpoCalculatedOn, vmId, vmProtectionState, vmProtectionStateDescription, initialReplicationDetails, vmNics?.ToList(), selectedRecoveryAzureNetworkId, selectedSourceNicId, encryption, osDetails, sourceVmRamSizeInMB, sourceVmCpuCount, enableRdpOnTargetOption, recoveryAzureResourceGroupId, recoveryAvailabilitySetId, targetAvailabilityZone, targetProximityPlacementGroupId, useManagedDisks, licenseType, sqlServerLicenseType, lastRecoveryPointReceived, targetVmTags, seedManagedDiskTags, targetManagedDiskTags, targetNicTags, protectedManagedDisks?.ToList(), allAvailableOSUpgradeConfigurations?.ToList()); } /// Initializes a new instance of InitialReplicationDetails. @@ -1863,6 +1919,17 @@ public static SiteRecoveryOSDetails SiteRecoveryOSDetails(string osType = null, return new SiteRecoveryOSDetails(osType, productType, osEdition, osVersion, osMajorVersion, osMinorVersion); } + /// Initializes a new instance of OSUpgradeSupportedVersions. + /// The source OS version name. + /// The target OS version names. + /// A new instance for mocking. + public static OSUpgradeSupportedVersions OSUpgradeSupportedVersions(string supportedSourceOSVersion = null, IEnumerable supportedTargetOSVersions = null) + { + supportedTargetOSVersions ??= new List(); + + return new OSUpgradeSupportedVersions(supportedSourceOSVersion, supportedTargetOSVersions?.ToList()); + } + /// Initializes a new instance of HyperVReplicaBaseEventDetails. /// The container friendly name. /// The fabric friendly name. @@ -2171,8 +2238,11 @@ public static InMageAzureV2RecoveryPointDetails InMageAzureV2RecoveryPointDetail /// The tags for the target NICs. /// The switch provider blocking error information. /// The switch provider blocking error information. + /// A value indicating the inplace OS Upgrade version. + /// A value indicating all available inplace OS Upgrade configurations. + /// The name of the OS on the VM. /// A new instance for mocking. - public static InMageAzureV2ReplicationDetails InMageAzureV2ReplicationDetails(string infrastructureVmId = null, string vCenterInfrastructureId = null, string protectionStage = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, int? resyncProgressPercentage = null, long? rpoInSeconds = null, double? compressedDataRateInMB = null, double? uncompressedDataRateInMB = null, IPAddress ipAddress = null, string agentVersion = null, DateTimeOffset? agentExpireOn = null, string isAgentUpdateRequired = null, string isRebootAfterUpdateRequired = null, DateTimeOffset? lastHeartbeat = null, Guid? processServerId = null, string processServerName = null, string multiVmGroupId = null, string multiVmGroupName = null, string multiVmSyncStatus = null, IEnumerable protectedDisks = null, string diskResized = null, string masterTargetId = null, int? sourceVmCpuCount = null, int? sourceVmRamSizeInMB = null, string osType = null, string vhdName = null, string osDiskId = null, IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, ResourceIdentifier recoveryAzureLogStorageAccountId = null, IEnumerable vmNics = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, ResourceIdentifier selectedTfoAzureNetworkId = null, string selectedSourceNicId = null, string discoveryType = null, string enableRdpOnTargetOption = null, IEnumerable datastores = null, string targetVmId = null, ResourceIdentifier recoveryAzureResourceGroupId = null, ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, IEnumerable validationErrors = null, DateTimeOffset? lastRpoCalculatedOn = null, DateTimeOffset? lastUpdateReceivedOn = null, string replicaId = null, string osVersion = null, IEnumerable protectedManagedDisks = null, DateTimeOffset? lastRecoveryPointReceived = null, string firmwareType = null, string azureVmGeneration = null, bool? isAdditionalStatsAvailable = null, long? totalDataTransferred = null, string totalProgressHealth = null, IReadOnlyDictionary targetVmTags = null, IReadOnlyDictionary seedManagedDiskTags = null, IReadOnlyDictionary targetManagedDiskTags = null, IReadOnlyDictionary targetNicTags = null, IEnumerable switchProviderBlockingErrorDetails = null, InMageAzureV2SwitchProviderDetails switchProviderDetails = null) + public static InMageAzureV2ReplicationDetails InMageAzureV2ReplicationDetails(string infrastructureVmId = null, string vCenterInfrastructureId = null, string protectionStage = null, string vmId = null, string vmProtectionState = null, string vmProtectionStateDescription = null, int? resyncProgressPercentage = null, long? rpoInSeconds = null, double? compressedDataRateInMB = null, double? uncompressedDataRateInMB = null, IPAddress ipAddress = null, string agentVersion = null, DateTimeOffset? agentExpireOn = null, string isAgentUpdateRequired = null, string isRebootAfterUpdateRequired = null, DateTimeOffset? lastHeartbeat = null, Guid? processServerId = null, string processServerName = null, string multiVmGroupId = null, string multiVmGroupName = null, string multiVmSyncStatus = null, IEnumerable protectedDisks = null, string diskResized = null, string masterTargetId = null, int? sourceVmCpuCount = null, int? sourceVmRamSizeInMB = null, string osType = null, string vhdName = null, string osDiskId = null, IEnumerable azureVmDiskDetails = null, string recoveryAzureVmName = null, string recoveryAzureVmSize = null, string recoveryAzureStorageAccount = null, ResourceIdentifier recoveryAzureLogStorageAccountId = null, IEnumerable vmNics = null, ResourceIdentifier selectedRecoveryAzureNetworkId = null, ResourceIdentifier selectedTfoAzureNetworkId = null, string selectedSourceNicId = null, string discoveryType = null, string enableRdpOnTargetOption = null, IEnumerable datastores = null, string targetVmId = null, ResourceIdentifier recoveryAzureResourceGroupId = null, ResourceIdentifier recoveryAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, string useManagedDisks = null, string licenseType = null, string sqlServerLicenseType = null, IEnumerable validationErrors = null, DateTimeOffset? lastRpoCalculatedOn = null, DateTimeOffset? lastUpdateReceivedOn = null, string replicaId = null, string osVersion = null, IEnumerable protectedManagedDisks = null, DateTimeOffset? lastRecoveryPointReceived = null, string firmwareType = null, string azureVmGeneration = null, bool? isAdditionalStatsAvailable = null, long? totalDataTransferred = null, string totalProgressHealth = null, IReadOnlyDictionary targetVmTags = null, IReadOnlyDictionary seedManagedDiskTags = null, IReadOnlyDictionary targetManagedDiskTags = null, IReadOnlyDictionary targetNicTags = null, IEnumerable switchProviderBlockingErrorDetails = null, InMageAzureV2SwitchProviderDetails switchProviderDetails = null, IEnumerable supportedOSVersions = null, IEnumerable allAvailableOSUpgradeConfigurations = null, string osName = null) { protectedDisks ??= new List(); azureVmDiskDetails ??= new List(); @@ -2185,8 +2255,10 @@ public static InMageAzureV2ReplicationDetails InMageAzureV2ReplicationDetails(st targetManagedDiskTags ??= new Dictionary(); targetNicTags ??= new Dictionary(); switchProviderBlockingErrorDetails ??= new List(); + supportedOSVersions ??= new List(); + allAvailableOSUpgradeConfigurations ??= new List(); - return new InMageAzureV2ReplicationDetails("InMageAzureV2", infrastructureVmId, vCenterInfrastructureId, protectionStage, vmId, vmProtectionState, vmProtectionStateDescription, resyncProgressPercentage, rpoInSeconds, compressedDataRateInMB, uncompressedDataRateInMB, ipAddress, agentVersion, agentExpireOn, isAgentUpdateRequired, isRebootAfterUpdateRequired, lastHeartbeat, processServerId, processServerName, multiVmGroupId, multiVmGroupName, multiVmSyncStatus, protectedDisks?.ToList(), diskResized, masterTargetId, sourceVmCpuCount, sourceVmRamSizeInMB, osType, vhdName, osDiskId, azureVmDiskDetails?.ToList(), recoveryAzureVmName, recoveryAzureVmSize, recoveryAzureStorageAccount, recoveryAzureLogStorageAccountId, vmNics?.ToList(), selectedRecoveryAzureNetworkId, selectedTfoAzureNetworkId, selectedSourceNicId, discoveryType, enableRdpOnTargetOption, datastores?.ToList(), targetVmId, recoveryAzureResourceGroupId, recoveryAvailabilitySetId, targetAvailabilityZone, targetProximityPlacementGroupId, useManagedDisks, licenseType, sqlServerLicenseType, validationErrors?.ToList(), lastRpoCalculatedOn, lastUpdateReceivedOn, replicaId, osVersion, protectedManagedDisks?.ToList(), lastRecoveryPointReceived, firmwareType, azureVmGeneration, isAdditionalStatsAvailable, totalDataTransferred, totalProgressHealth, targetVmTags, seedManagedDiskTags, targetManagedDiskTags, targetNicTags, switchProviderBlockingErrorDetails?.ToList(), switchProviderDetails); + return new InMageAzureV2ReplicationDetails("InMageAzureV2", infrastructureVmId, vCenterInfrastructureId, protectionStage, vmId, vmProtectionState, vmProtectionStateDescription, resyncProgressPercentage, rpoInSeconds, compressedDataRateInMB, uncompressedDataRateInMB, ipAddress, agentVersion, agentExpireOn, isAgentUpdateRequired, isRebootAfterUpdateRequired, lastHeartbeat, processServerId, processServerName, multiVmGroupId, multiVmGroupName, multiVmSyncStatus, protectedDisks?.ToList(), diskResized, masterTargetId, sourceVmCpuCount, sourceVmRamSizeInMB, osType, vhdName, osDiskId, azureVmDiskDetails?.ToList(), recoveryAzureVmName, recoveryAzureVmSize, recoveryAzureStorageAccount, recoveryAzureLogStorageAccountId, vmNics?.ToList(), selectedRecoveryAzureNetworkId, selectedTfoAzureNetworkId, selectedSourceNicId, discoveryType, enableRdpOnTargetOption, datastores?.ToList(), targetVmId, recoveryAzureResourceGroupId, recoveryAvailabilitySetId, targetAvailabilityZone, targetProximityPlacementGroupId, useManagedDisks, licenseType, sqlServerLicenseType, validationErrors?.ToList(), lastRpoCalculatedOn, lastUpdateReceivedOn, replicaId, osVersion, protectedManagedDisks?.ToList(), lastRecoveryPointReceived, firmwareType, azureVmGeneration, isAdditionalStatsAvailable, totalDataTransferred, totalProgressHealth, targetVmTags, seedManagedDiskTags, targetManagedDiskTags, targetNicTags, switchProviderBlockingErrorDetails?.ToList(), switchProviderDetails, supportedOSVersions?.ToList(), allAvailableOSUpgradeConfigurations?.ToList(), osName); } /// Initializes a new instance of InMageAzureV2SwitchProviderBlockingErrorDetails. @@ -3236,17 +3308,23 @@ public static VMwareCbtEventDetails VMwareCbtEventDetails(string migrationItemNa /// The migration progress percentage. /// The resync progress percentage. /// The resume progress percentage. + /// The delta sync progress percentage. + /// A value indicating whether checksum resync cycle is in progress. /// The initial seeding retry count. /// The resync retry count. /// The resume retry count. + /// The delta sync retry count. /// A value indicating whether resync is required. /// The resync state. /// A value indicating whether auto resync is to be done. /// The tags for the seed disks. /// The tags for the target disks. - /// List of supported inplace OS Upgrade versions. + /// A value indicating the inplace OS Upgrade version. + /// A value indicating the appliance monitoring details. + /// A value indicating the gateway operation details. + /// A value indicating the SRS operation name. /// A new instance for mocking. - public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdentifier vmwareMachineId = null, string osType = null, string osName = null, string firmwareType = null, string targetGeneration = null, string licenseType = null, string sqlServerLicenseType = null, ResourceIdentifier dataMoverRunAsAccountId = null, ResourceIdentifier snapshotRunAsAccountId = null, ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, string targetLocation = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier confidentialVmKeyVaultId = null, VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, IReadOnlyDictionary targetVmTags = null, IEnumerable protectedDisks = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, IEnumerable vmNics = null, IReadOnlyDictionary targetNicTags = null, ResourceIdentifier migrationRecoveryPointId = null, DateTimeOffset? lastRecoveryPointReceived = null, ResourceIdentifier lastRecoveryPointId = null, int? initialSeedingProgressPercentage = null, int? migrationProgressPercentage = null, int? resyncProgressPercentage = null, int? resumeProgressPercentage = null, long? initialSeedingRetryCount = null, long? resyncRetryCount = null, long? resumeRetryCount = null, string resyncRequired = null, SiteRecoveryResyncState? resyncState = null, string performAutoResync = null, IReadOnlyDictionary seedDiskTags = null, IReadOnlyDictionary targetDiskTags = null, IEnumerable supportedOSVersions = null) + public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdentifier vmwareMachineId = null, string osType = null, string osName = null, string firmwareType = null, string targetGeneration = null, string licenseType = null, string sqlServerLicenseType = null, ResourceIdentifier dataMoverRunAsAccountId = null, ResourceIdentifier snapshotRunAsAccountId = null, ResourceIdentifier storageAccountId = null, string targetVmName = null, string targetVmSize = null, string targetLocation = null, ResourceIdentifier targetResourceGroupId = null, ResourceIdentifier targetAvailabilitySetId = null, string targetAvailabilityZone = null, ResourceIdentifier targetProximityPlacementGroupId = null, ResourceIdentifier confidentialVmKeyVaultId = null, VMwareCbtSecurityProfileProperties targetVmSecurityProfile = null, ResourceIdentifier targetBootDiagnosticsStorageAccountId = null, IReadOnlyDictionary targetVmTags = null, IEnumerable protectedDisks = null, ResourceIdentifier targetNetworkId = null, ResourceIdentifier testNetworkId = null, IEnumerable vmNics = null, IReadOnlyDictionary targetNicTags = null, ResourceIdentifier migrationRecoveryPointId = null, DateTimeOffset? lastRecoveryPointReceived = null, ResourceIdentifier lastRecoveryPointId = null, int? initialSeedingProgressPercentage = null, int? migrationProgressPercentage = null, int? resyncProgressPercentage = null, int? resumeProgressPercentage = null, int? deltaSyncProgressPercentage = null, string isCheckSumResyncCycle = null, long? initialSeedingRetryCount = null, long? resyncRetryCount = null, long? resumeRetryCount = null, long? deltaSyncRetryCount = null, string resyncRequired = null, SiteRecoveryResyncState? resyncState = null, string performAutoResync = null, IReadOnlyDictionary seedDiskTags = null, IReadOnlyDictionary targetDiskTags = null, IEnumerable supportedOSVersions = null, ApplianceMonitoringDetails applianceMonitoringDetails = null, GatewayOperationDetails gatewayOperationDetails = null, string operationName = null) { targetVmTags ??= new Dictionary(); protectedDisks ??= new List(); @@ -3256,7 +3334,7 @@ public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdenti targetDiskTags ??= new Dictionary(); supportedOSVersions ??= new List(); - return new VMwareCbtMigrationDetails("VMwareCbt", vmwareMachineId, osType, osName, firmwareType, targetGeneration, licenseType, sqlServerLicenseType, dataMoverRunAsAccountId, snapshotRunAsAccountId, storageAccountId, targetVmName, targetVmSize, targetLocation, targetResourceGroupId, targetAvailabilitySetId, targetAvailabilityZone, targetProximityPlacementGroupId, confidentialVmKeyVaultId, targetVmSecurityProfile, targetBootDiagnosticsStorageAccountId, targetVmTags, protectedDisks?.ToList(), targetNetworkId, testNetworkId, vmNics?.ToList(), targetNicTags, migrationRecoveryPointId, lastRecoveryPointReceived, lastRecoveryPointId, initialSeedingProgressPercentage, migrationProgressPercentage, resyncProgressPercentage, resumeProgressPercentage, initialSeedingRetryCount, resyncRetryCount, resumeRetryCount, resyncRequired, resyncState, performAutoResync, seedDiskTags, targetDiskTags, supportedOSVersions?.ToList()); + return new VMwareCbtMigrationDetails("VMwareCbt", vmwareMachineId, osType, osName, firmwareType, targetGeneration, licenseType, sqlServerLicenseType, dataMoverRunAsAccountId, snapshotRunAsAccountId, storageAccountId, targetVmName, targetVmSize, targetLocation, targetResourceGroupId, targetAvailabilitySetId, targetAvailabilityZone, targetProximityPlacementGroupId, confidentialVmKeyVaultId, targetVmSecurityProfile, targetBootDiagnosticsStorageAccountId, targetVmTags, protectedDisks?.ToList(), targetNetworkId, testNetworkId, vmNics?.ToList(), targetNicTags, migrationRecoveryPointId, lastRecoveryPointReceived, lastRecoveryPointId, initialSeedingProgressPercentage, migrationProgressPercentage, resyncProgressPercentage, resumeProgressPercentage, deltaSyncProgressPercentage, isCheckSumResyncCycle, initialSeedingRetryCount, resyncRetryCount, resumeRetryCount, deltaSyncRetryCount, resyncRequired, resyncState, performAutoResync, seedDiskTags, targetDiskTags, supportedOSVersions?.ToList(), applianceMonitoringDetails, gatewayOperationDetails, operationName); } /// Initializes a new instance of VMwareCbtProtectedDiskDetails. @@ -3274,10 +3352,11 @@ public static VMwareCbtMigrationDetails VMwareCbtMigrationDetails(ResourceIdenti /// The ARM Id of the target managed disk. /// The uri of the target blob. /// The name for the target managed disk. + /// A value indicating the gateway operation details. /// A new instance for mocking. - public static VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId = null, string diskName = null, SiteRecoveryDiskAccountType? diskType = null, string diskPath = null, string isOSDisk = null, long? capacityInBytes = null, ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, Uri seedBlobUri = null, string targetManagedDiskId = null, Uri targetBlobUri = null, string targetDiskName = null) + public static VMwareCbtProtectedDiskDetails VMwareCbtProtectedDiskDetails(string diskId = null, string diskName = null, SiteRecoveryDiskAccountType? diskType = null, string diskPath = null, string isOSDisk = null, long? capacityInBytes = null, ResourceIdentifier logStorageAccountId = null, string logStorageAccountSasSecretName = null, ResourceIdentifier diskEncryptionSetId = null, string seedManagedDiskId = null, Uri seedBlobUri = null, string targetManagedDiskId = null, Uri targetBlobUri = null, string targetDiskName = null, GatewayOperationDetails gatewayOperationDetails = null) { - return new VMwareCbtProtectedDiskDetails(diskId, diskName, diskType, diskPath, isOSDisk, capacityInBytes, logStorageAccountId, logStorageAccountSasSecretName, diskEncryptionSetId, seedManagedDiskId, seedBlobUri, targetManagedDiskId, targetBlobUri, targetDiskName); + return new VMwareCbtProtectedDiskDetails(diskId, diskName, diskType, diskPath, isOSDisk, capacityInBytes, logStorageAccountId, logStorageAccountSasSecretName, diskEncryptionSetId, seedManagedDiskId, seedBlobUri, targetManagedDiskId, targetBlobUri, targetDiskName, gatewayOperationDetails); } /// Initializes a new instance of VMwareCbtNicDetails. diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs index a50824de07e2..71a1c901a1a9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs @@ -73,6 +73,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme Optional autoProtectionOfDataDisk = default; Optional recoveryVirtualMachineScaleSetId = default; Optional recoveryCapacityReservationGroupId = default; + Optional churnOptionSelected = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -497,13 +498,22 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme recoveryCapacityReservationGroupId = new ResourceIdentifier(property.Value.GetString()); continue; } + if (property.NameEquals("churnOptionSelected"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + churnOptionSelected = new ChurnOptionSelected(property.Value.GetString()); + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - return new A2AReplicationDetails(instanceType, fabricObjectId.Value, initialPrimaryZone.Value, Optional.ToNullable(initialPrimaryFabricLocation), initialRecoveryZone.Value, initialPrimaryExtendedLocation.Value, initialRecoveryExtendedLocation.Value, Optional.ToNullable(initialRecoveryFabricLocation), multiVmGroupId.Value, multiVmGroupName.Value, Optional.ToNullable(multiVmGroupCreateOption), managementId.Value, Optional.ToList(protectedDisks), Optional.ToList(unprotectedDisks), Optional.ToList(protectedManagedDisks), recoveryBootDiagStorageAccountId.Value, Optional.ToNullable(primaryFabricLocation), Optional.ToNullable(recoveryFabricLocation), osType.Value, recoveryAzureVmSize.Value, recoveryAzureVmName.Value, recoveryAzureResourceGroupId.Value, recoveryCloudService.Value, recoveryAvailabilitySet.Value, selectedRecoveryAzureNetworkId.Value, selectedTfoAzureNetworkId.Value, Optional.ToList(vmNics), vmSyncedConfigDetails.Value, Optional.ToNullable(monitoringPercentageCompletion), monitoringJobType.Value, Optional.ToNullable(lastHeartbeat), agentVersion.Value, Optional.ToNullable(agentExpireOn), Optional.ToNullable(isReplicationAgentUpdateRequired), Optional.ToNullable(agentCertificateExpireOn), Optional.ToNullable(isReplicationAgentCertificateUpdateRequired), recoveryFabricObjectId.Value, vmProtectionState.Value, vmProtectionStateDescription.Value, lifecycleId.Value, testFailoverRecoveryFabricObjectId.Value, Optional.ToNullable(rpoInSeconds), Optional.ToNullable(lastRpoCalculatedTime), primaryAvailabilityZone.Value, recoveryAvailabilityZone.Value, primaryExtendedLocation.Value, recoveryExtendedLocation.Value, Optional.ToNullable(vmEncryptionType), tfoAzureVmName.Value, recoveryAzureGeneration.Value, recoveryProximityPlacementGroupId.Value, Optional.ToNullable(autoProtectionOfDataDisk), recoveryVirtualMachineScaleSetId.Value, recoveryCapacityReservationGroupId.Value); + return new A2AReplicationDetails(instanceType, fabricObjectId.Value, initialPrimaryZone.Value, Optional.ToNullable(initialPrimaryFabricLocation), initialRecoveryZone.Value, initialPrimaryExtendedLocation.Value, initialRecoveryExtendedLocation.Value, Optional.ToNullable(initialRecoveryFabricLocation), multiVmGroupId.Value, multiVmGroupName.Value, Optional.ToNullable(multiVmGroupCreateOption), managementId.Value, Optional.ToList(protectedDisks), Optional.ToList(unprotectedDisks), Optional.ToList(protectedManagedDisks), recoveryBootDiagStorageAccountId.Value, Optional.ToNullable(primaryFabricLocation), Optional.ToNullable(recoveryFabricLocation), osType.Value, recoveryAzureVmSize.Value, recoveryAzureVmName.Value, recoveryAzureResourceGroupId.Value, recoveryCloudService.Value, recoveryAvailabilitySet.Value, selectedRecoveryAzureNetworkId.Value, selectedTfoAzureNetworkId.Value, Optional.ToList(vmNics), vmSyncedConfigDetails.Value, Optional.ToNullable(monitoringPercentageCompletion), monitoringJobType.Value, Optional.ToNullable(lastHeartbeat), agentVersion.Value, Optional.ToNullable(agentExpireOn), Optional.ToNullable(isReplicationAgentUpdateRequired), Optional.ToNullable(agentCertificateExpireOn), Optional.ToNullable(isReplicationAgentCertificateUpdateRequired), recoveryFabricObjectId.Value, vmProtectionState.Value, vmProtectionStateDescription.Value, lifecycleId.Value, testFailoverRecoveryFabricObjectId.Value, Optional.ToNullable(rpoInSeconds), Optional.ToNullable(lastRpoCalculatedTime), primaryAvailabilityZone.Value, recoveryAvailabilityZone.Value, primaryExtendedLocation.Value, recoveryExtendedLocation.Value, Optional.ToNullable(vmEncryptionType), tfoAzureVmName.Value, recoveryAzureGeneration.Value, recoveryProximityPlacementGroupId.Value, Optional.ToNullable(autoProtectionOfDataDisk), recoveryVirtualMachineScaleSetId.Value, recoveryCapacityReservationGroupId.Value, Optional.ToNullable(churnOptionSelected)); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.cs index 2cff60537cd5..233ce966ffaf 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.cs @@ -79,7 +79,8 @@ internal A2AReplicationDetails() /// A value indicating whether the auto protection is enabled. /// The recovery virtual machine scale set id. /// The recovery capacity reservation group Id. - internal A2AReplicationDetails(string instanceType, ResourceIdentifier fabricObjectId, string initialPrimaryZone, AzureLocation? initialPrimaryFabricLocation, string initialRecoveryZone, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation, AzureLocation? initialRecoveryFabricLocation, string multiVmGroupId, string multiVmGroupName, MultiVmGroupCreateOption? multiVmGroupCreateOption, string managementId, IReadOnlyList protectedDisks, IReadOnlyList unprotectedDisks, IReadOnlyList protectedManagedDisks, ResourceIdentifier recoveryBootDiagStorageAccountId, AzureLocation? primaryFabricLocation, AzureLocation? recoveryFabricLocation, string osType, string recoveryAzureVmSize, string recoveryAzureVmName, ResourceIdentifier recoveryAzureResourceGroupId, string recoveryCloudService, string recoveryAvailabilitySet, ResourceIdentifier selectedRecoveryAzureNetworkId, ResourceIdentifier selectedTfoAzureNetworkId, IReadOnlyList vmNics, A2AVmSyncedConfigDetails vmSyncedConfigDetails, int? monitoringPercentageCompletion, string monitoringJobType, DateTimeOffset? lastHeartbeat, string agentVersion, DateTimeOffset? agentExpireOn, bool? isReplicationAgentUpdateRequired, DateTimeOffset? agentCertificateExpireOn, bool? isReplicationAgentCertificateUpdateRequired, ResourceIdentifier recoveryFabricObjectId, string vmProtectionState, string vmProtectionStateDescription, string lifecycleId, ResourceIdentifier testFailoverRecoveryFabricObjectId, long? rpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, string primaryAvailabilityZone, string recoveryAvailabilityZone, SiteRecoveryExtendedLocation primaryExtendedLocation, SiteRecoveryExtendedLocation recoveryExtendedLocation, SiteRecoveryVmEncryptionType? vmEncryptionType, string tfoAzureVmName, string recoveryAzureGeneration, ResourceIdentifier recoveryProximityPlacementGroupId, AutoProtectionOfDataDisk? autoProtectionOfDataDisk, ResourceIdentifier recoveryVirtualMachineScaleSetId, ResourceIdentifier recoveryCapacityReservationGroupId) : base(instanceType) + /// A value indicating the churn option selected by user. + internal A2AReplicationDetails(string instanceType, ResourceIdentifier fabricObjectId, string initialPrimaryZone, AzureLocation? initialPrimaryFabricLocation, string initialRecoveryZone, SiteRecoveryExtendedLocation initialPrimaryExtendedLocation, SiteRecoveryExtendedLocation initialRecoveryExtendedLocation, AzureLocation? initialRecoveryFabricLocation, string multiVmGroupId, string multiVmGroupName, MultiVmGroupCreateOption? multiVmGroupCreateOption, string managementId, IReadOnlyList protectedDisks, IReadOnlyList unprotectedDisks, IReadOnlyList protectedManagedDisks, ResourceIdentifier recoveryBootDiagStorageAccountId, AzureLocation? primaryFabricLocation, AzureLocation? recoveryFabricLocation, string osType, string recoveryAzureVmSize, string recoveryAzureVmName, ResourceIdentifier recoveryAzureResourceGroupId, string recoveryCloudService, string recoveryAvailabilitySet, ResourceIdentifier selectedRecoveryAzureNetworkId, ResourceIdentifier selectedTfoAzureNetworkId, IReadOnlyList vmNics, A2AVmSyncedConfigDetails vmSyncedConfigDetails, int? monitoringPercentageCompletion, string monitoringJobType, DateTimeOffset? lastHeartbeat, string agentVersion, DateTimeOffset? agentExpireOn, bool? isReplicationAgentUpdateRequired, DateTimeOffset? agentCertificateExpireOn, bool? isReplicationAgentCertificateUpdateRequired, ResourceIdentifier recoveryFabricObjectId, string vmProtectionState, string vmProtectionStateDescription, string lifecycleId, ResourceIdentifier testFailoverRecoveryFabricObjectId, long? rpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, string primaryAvailabilityZone, string recoveryAvailabilityZone, SiteRecoveryExtendedLocation primaryExtendedLocation, SiteRecoveryExtendedLocation recoveryExtendedLocation, SiteRecoveryVmEncryptionType? vmEncryptionType, string tfoAzureVmName, string recoveryAzureGeneration, ResourceIdentifier recoveryProximityPlacementGroupId, AutoProtectionOfDataDisk? autoProtectionOfDataDisk, ResourceIdentifier recoveryVirtualMachineScaleSetId, ResourceIdentifier recoveryCapacityReservationGroupId, ChurnOptionSelected? churnOptionSelected) : base(instanceType) { FabricObjectId = fabricObjectId; InitialPrimaryZone = initialPrimaryZone; @@ -134,6 +135,7 @@ internal A2AReplicationDetails(string instanceType, ResourceIdentifier fabricObj AutoProtectionOfDataDisk = autoProtectionOfDataDisk; RecoveryVirtualMachineScaleSetId = recoveryVirtualMachineScaleSetId; RecoveryCapacityReservationGroupId = recoveryCapacityReservationGroupId; + ChurnOptionSelected = churnOptionSelected; InstanceType = instanceType ?? "A2A"; } @@ -243,5 +245,7 @@ internal A2AReplicationDetails(string instanceType, ResourceIdentifier fabricObj public ResourceIdentifier RecoveryVirtualMachineScaleSetId { get; } /// The recovery capacity reservation group Id. public ResourceIdentifier RecoveryCapacityReservationGroupId { get; } + /// A value indicating the churn option selected by user. + public ChurnOptionSelected? ChurnOptionSelected { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs new file mode 100644 index 000000000000..a023c4751062 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + public partial class ApplianceMonitoringDetails + { + internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional cpuDetails = default; + Optional ramDetails = default; + Optional> datastoreSnapshot = default; + Optional disksReplicationDetails = default; + Optional esxiNfcBuffer = default; + Optional networkBandwidth = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("cpuDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + cpuDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + continue; + } + if (property.NameEquals("ramDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + ramDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + continue; + } + if (property.NameEquals("datastoreSnapshot"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(DataStoreUtilizationDetails.DeserializeDataStoreUtilizationDetails(item)); + } + datastoreSnapshot = array; + continue; + } + if (property.NameEquals("disksReplicationDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + disksReplicationDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + continue; + } + if (property.NameEquals("esxiNfcBuffer"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + esxiNfcBuffer = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + continue; + } + if (property.NameEquals("networkBandwidth"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + networkBandwidth = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + continue; + } + } + return new ApplianceMonitoringDetails(cpuDetails.Value, ramDetails.Value, Optional.ToList(datastoreSnapshot), disksReplicationDetails.Value, esxiNfcBuffer.Value, networkBandwidth.Value); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.cs new file mode 100644 index 000000000000..53ee9da2da8c --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.cs @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// Appliance details of the migration item. + public partial class ApplianceMonitoringDetails + { + /// Initializes a new instance of ApplianceMonitoringDetails. + internal ApplianceMonitoringDetails() + { + DatastoreSnapshot = new ChangeTrackingList(); + } + + /// Initializes a new instance of ApplianceMonitoringDetails. + /// The appliance CPU details. + /// The appliance RAM details. + /// The appliance datastore snapshot details. + /// The disk replication details. + /// The ESXi NFC buffer details. + /// The appliance network bandwidth details. + internal ApplianceMonitoringDetails(ApplianceResourceDetails cpuDetails, ApplianceResourceDetails ramDetails, IReadOnlyList datastoreSnapshot, ApplianceResourceDetails disksReplicationDetails, ApplianceResourceDetails esxiNfcBuffer, ApplianceResourceDetails networkBandwidth) + { + CpuDetails = cpuDetails; + RamDetails = ramDetails; + DatastoreSnapshot = datastoreSnapshot; + DisksReplicationDetails = disksReplicationDetails; + EsxiNfcBuffer = esxiNfcBuffer; + NetworkBandwidth = networkBandwidth; + } + + /// The appliance CPU details. + public ApplianceResourceDetails CpuDetails { get; } + /// The appliance RAM details. + public ApplianceResourceDetails RamDetails { get; } + /// The appliance datastore snapshot details. + public IReadOnlyList DatastoreSnapshot { get; } + /// The disk replication details. + public ApplianceResourceDetails DisksReplicationDetails { get; } + /// The ESXi NFC buffer details. + public ApplianceResourceDetails EsxiNfcBuffer { get; } + /// The appliance network bandwidth details. + public ApplianceResourceDetails NetworkBandwidth { get; } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.Serialization.cs new file mode 100644 index 000000000000..49849d97ef8d --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.Serialization.cs @@ -0,0 +1,63 @@ +// 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 ApplianceResourceDetails + { + internal static ApplianceResourceDetails DeserializeApplianceResourceDetails(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional capacity = default; + Optional processUtilization = default; + Optional totalUtilization = default; + Optional status = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("capacity"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + capacity = property.Value.GetInt64(); + continue; + } + if (property.NameEquals("processUtilization"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + processUtilization = property.Value.GetDouble(); + continue; + } + if (property.NameEquals("totalUtilization"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + totalUtilization = property.Value.GetDouble(); + continue; + } + if (property.NameEquals("status"u8)) + { + status = property.Value.GetString(); + continue; + } + } + return new ApplianceResourceDetails(Optional.ToNullable(capacity), Optional.ToNullable(processUtilization), Optional.ToNullable(totalUtilization), status.Value); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.cs new file mode 100644 index 000000000000..aaec6ffba6dc --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceResourceDetails.cs @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// Details of the appliance resource. + public partial class ApplianceResourceDetails + { + /// Initializes a new instance of ApplianceResourceDetails. + internal ApplianceResourceDetails() + { + } + + /// Initializes a new instance of ApplianceResourceDetails. + /// A value indicating the total capacity of appliance resource. + /// A value indicating the utilization percentage by gateway agent on appliance. + /// A value indicating the total utilization percentage for all processes on the appliance. + /// A value indicating the status of appliance resource. + internal ApplianceResourceDetails(long? capacity, double? processUtilization, double? totalUtilization, string status) + { + Capacity = capacity; + ProcessUtilization = processUtilization; + TotalUtilization = totalUtilization; + Status = status; + } + + /// A value indicating the total capacity of appliance resource. + public long? Capacity { get; } + /// A value indicating the utilization percentage by gateway agent on appliance. + public double? ProcessUtilization { get; } + /// A value indicating the total utilization percentage for all processes on the appliance. + public double? TotalUtilization { get; } + /// A value indicating the status of appliance resource. + public string Status { get; } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ChurnOptionSelected.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ChurnOptionSelected.cs new file mode 100644 index 000000000000..c472e59c98a5 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ChurnOptionSelected.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// A value indicating the churn option selected by user. + public readonly partial struct ChurnOptionSelected : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public ChurnOptionSelected(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string NormalValue = "Normal"; + private const string HighValue = "High"; + + /// Normal. + public static ChurnOptionSelected Normal { get; } = new ChurnOptionSelected(NormalValue); + /// High. + public static ChurnOptionSelected High { get; } = new ChurnOptionSelected(HighValue); + /// Determines if two values are the same. + public static bool operator ==(ChurnOptionSelected left, ChurnOptionSelected right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(ChurnOptionSelected left, ChurnOptionSelected right) => !left.Equals(right); + /// Converts a string to a . + public static implicit operator ChurnOptionSelected(string value) => new ChurnOptionSelected(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is ChurnOptionSelected other && Equals(other); + /// + public bool Equals(ChurnOptionSelected 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/DataStoreUtilizationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.Serialization.cs new file mode 100644 index 000000000000..8bd766f117d3 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.Serialization.cs @@ -0,0 +1,53 @@ +// 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 DataStoreUtilizationDetails + { + internal static DataStoreUtilizationDetails DeserializeDataStoreUtilizationDetails(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional totalSnapshotsSupported = default; + Optional totalSnapshotsCreated = default; + Optional dataStoreName = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("totalSnapshotsSupported"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + totalSnapshotsSupported = property.Value.GetInt64(); + continue; + } + if (property.NameEquals("totalSnapshotsCreated"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + totalSnapshotsCreated = property.Value.GetInt64(); + continue; + } + if (property.NameEquals("dataStoreName"u8)) + { + dataStoreName = property.Value.GetString(); + continue; + } + } + return new DataStoreUtilizationDetails(Optional.ToNullable(totalSnapshotsSupported), Optional.ToNullable(totalSnapshotsCreated), dataStoreName.Value); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.cs new file mode 100644 index 000000000000..da726848d9da --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DataStoreUtilizationDetails.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// Details of the appliance resource. + public partial class DataStoreUtilizationDetails + { + /// Initializes a new instance of DataStoreUtilizationDetails. + internal DataStoreUtilizationDetails() + { + } + + /// Initializes a new instance of DataStoreUtilizationDetails. + /// The total count of snapshots supported by the datastore. + /// The total snapshots created for server migration in the datastore. + /// The datastore name. + internal DataStoreUtilizationDetails(long? totalSnapshotsSupported, long? totalSnapshotsCreated, string dataStoreName) + { + TotalSnapshotsSupported = totalSnapshotsSupported; + TotalSnapshotsCreated = totalSnapshotsCreated; + DataStoreName = dataStoreName; + } + + /// The total count of snapshots supported by the datastore. + public long? TotalSnapshotsSupported { get; } + /// The total snapshots created for server migration in the datastore. + public long? TotalSnapshotsCreated { get; } + /// The datastore name. + public string DataStoreName { get; } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.Serialization.cs new file mode 100644 index 000000000000..617a1d798d81 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.Serialization.cs @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + public partial class GatewayOperationDetails + { + internal static GatewayOperationDetails DeserializeGatewayOperationDetails(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional state = default; + Optional progressPercentage = default; + Optional timeElapsed = default; + Optional timeRemaining = default; + Optional uploadSpeed = default; + Optional hostName = default; + Optional> dataStores = default; + Optional vmwareReadThroughput = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("state"u8)) + { + state = property.Value.GetString(); + continue; + } + if (property.NameEquals("progressPercentage"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + progressPercentage = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("timeElapsed"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + timeElapsed = property.Value.GetInt64(); + continue; + } + if (property.NameEquals("timeRemaining"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + timeRemaining = property.Value.GetInt64(); + continue; + } + if (property.NameEquals("uploadSpeed"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + uploadSpeed = property.Value.GetInt64(); + continue; + } + if (property.NameEquals("hostName"u8)) + { + hostName = property.Value.GetString(); + continue; + } + if (property.NameEquals("dataStores"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + dataStores = array; + continue; + } + if (property.NameEquals("vmwareReadThroughput"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + vmwareReadThroughput = property.Value.GetInt64(); + continue; + } + } + return new GatewayOperationDetails(state.Value, Optional.ToNullable(progressPercentage), Optional.ToNullable(timeElapsed), Optional.ToNullable(timeRemaining), Optional.ToNullable(uploadSpeed), hostName.Value, Optional.ToList(dataStores), Optional.ToNullable(vmwareReadThroughput)); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.cs new file mode 100644 index 000000000000..8ef64c6bdb10 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/GatewayOperationDetails.cs @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// Details of the gateway operation. + public partial class GatewayOperationDetails + { + /// Initializes a new instance of GatewayOperationDetails. + internal GatewayOperationDetails() + { + DataStores = new ChangeTrackingList(); + } + + /// Initializes a new instance of GatewayOperationDetails. + /// A value indicating the state of gateway operation. + /// A value indicating the progress percentage of gateway operation. + /// A value indicating the time elapsed for the operation in milliseconds. + /// A value indicating the time remaining for the operation in milliseconds. + /// A value indicating the upload speed in bytes per second. + /// A value indicating the ESXi host name. + /// A value indicating the datastore collection. + /// A value indicating the VMware read throughput in bytes per second. + internal GatewayOperationDetails(string state, int? progressPercentage, long? timeElapsed, long? timeRemaining, long? uploadSpeed, string hostName, IReadOnlyList dataStores, long? vmwareReadThroughput) + { + State = state; + ProgressPercentage = progressPercentage; + TimeElapsed = timeElapsed; + TimeRemaining = timeRemaining; + UploadSpeed = uploadSpeed; + HostName = hostName; + DataStores = dataStores; + VMwareReadThroughput = vmwareReadThroughput; + } + + /// A value indicating the state of gateway operation. + public string State { get; } + /// A value indicating the progress percentage of gateway operation. + public int? ProgressPercentage { get; } + /// A value indicating the time elapsed for the operation in milliseconds. + public long? TimeElapsed { get; } + /// A value indicating the time remaining for the operation in milliseconds. + public long? TimeRemaining { get; } + /// A value indicating the upload speed in bytes per second. + public long? UploadSpeed { get; } + /// A value indicating the ESXi host name. + public string HostName { get; } + /// A value indicating the datastore collection. + public IReadOnlyList DataStores { get; } + /// A value indicating the VMware read throughput in bytes per second. + public long? VMwareReadThroughput { get; } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.Serialization.cs index 6a0391129ff6..11882d167e70 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.Serialization.cs @@ -30,6 +30,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("recoveryPointId"u8); writer.WriteStringValue(RecoveryPointId); } + 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/HyperVReplicaAzurePlannedFailoverProviderContent.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.cs index 00ac0858af25..f166211d3b42 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzurePlannedFailoverProviderContent.cs @@ -24,5 +24,7 @@ public HyperVReplicaAzurePlannedFailoverProviderContent() public string SecondaryKekCertificatePfx { get; set; } /// The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed. public ResourceIdentifier RecoveryPointId { get; set; } + /// 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/HyperVReplicaAzureReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs index fdee37e10426..17f993cf3f2e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs @@ -53,6 +53,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu Optional> targetManagedDiskTags = default; Optional> targetNicTags = default; Optional> protectedManagedDisks = default; + Optional> allAvailableOSUpgradeConfigurations = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -336,13 +337,27 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu protectedManagedDisks = array; continue; } + if (property.NameEquals("allAvailableOSUpgradeConfigurations"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(OSUpgradeSupportedVersions.DeserializeOSUpgradeSupportedVersions(item)); + } + allAvailableOSUpgradeConfigurations = array; + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - return new HyperVReplicaAzureReplicationDetails(instanceType, Optional.ToList(azureVmDiskDetails), recoveryAzureVmName.Value, recoveryAzureVmSize.Value, recoveryAzureStorageAccount.Value, recoveryAzureLogStorageAccountId.Value, Optional.ToNullable(lastReplicatedTime), Optional.ToNullable(rpoInSeconds), Optional.ToNullable(lastRpoCalculatedTime), vmId.Value, vmProtectionState.Value, vmProtectionStateDescription.Value, initialReplicationDetails.Value, Optional.ToList(vmNics), selectedRecoveryAzureNetworkId.Value, selectedSourceNicId.Value, encryption.Value, osDetails.Value, Optional.ToNullable(sourceVmRamSizeInMB), Optional.ToNullable(sourceVmCpuCount), enableRdpOnTargetOption.Value, recoveryAzureResourceGroupId.Value, recoveryAvailabilitySetId.Value, targetAvailabilityZone.Value, targetProximityPlacementGroupId.Value, useManagedDisks.Value, licenseType.Value, sqlServerLicenseType.Value, Optional.ToNullable(lastRecoveryPointReceived), Optional.ToDictionary(targetVmTags), Optional.ToDictionary(seedManagedDiskTags), Optional.ToDictionary(targetManagedDiskTags), Optional.ToDictionary(targetNicTags), Optional.ToList(protectedManagedDisks)); + return new HyperVReplicaAzureReplicationDetails(instanceType, Optional.ToList(azureVmDiskDetails), recoveryAzureVmName.Value, recoveryAzureVmSize.Value, recoveryAzureStorageAccount.Value, recoveryAzureLogStorageAccountId.Value, Optional.ToNullable(lastReplicatedTime), Optional.ToNullable(rpoInSeconds), Optional.ToNullable(lastRpoCalculatedTime), vmId.Value, vmProtectionState.Value, vmProtectionStateDescription.Value, initialReplicationDetails.Value, Optional.ToList(vmNics), selectedRecoveryAzureNetworkId.Value, selectedSourceNicId.Value, encryption.Value, osDetails.Value, Optional.ToNullable(sourceVmRamSizeInMB), Optional.ToNullable(sourceVmCpuCount), enableRdpOnTargetOption.Value, recoveryAzureResourceGroupId.Value, recoveryAvailabilitySetId.Value, targetAvailabilityZone.Value, targetProximityPlacementGroupId.Value, useManagedDisks.Value, licenseType.Value, sqlServerLicenseType.Value, Optional.ToNullable(lastRecoveryPointReceived), Optional.ToDictionary(targetVmTags), Optional.ToDictionary(seedManagedDiskTags), Optional.ToDictionary(targetManagedDiskTags), Optional.ToDictionary(targetNicTags), Optional.ToList(protectedManagedDisks), Optional.ToList(allAvailableOSUpgradeConfigurations)); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs index 855751b4f606..1f656ddcac7f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.cs @@ -24,6 +24,7 @@ internal HyperVReplicaAzureReplicationDetails() TargetManagedDiskTags = new ChangeTrackingDictionary(); TargetNicTags = new ChangeTrackingDictionary(); ProtectedManagedDisks = new ChangeTrackingList(); + AllAvailableOSUpgradeConfigurations = new ChangeTrackingList(); InstanceType = "HyperVReplicaAzure"; } @@ -62,7 +63,8 @@ internal HyperVReplicaAzureReplicationDetails() /// The tags for the target managed disks. /// The tags for the target NICs. /// The list of protected managed disks. - internal HyperVReplicaAzureReplicationDetails(string instanceType, IReadOnlyList azureVmDiskDetails, string recoveryAzureVmName, string recoveryAzureVmSize, string recoveryAzureStorageAccount, ResourceIdentifier recoveryAzureLogStorageAccountId, DateTimeOffset? lastReplicatedOn, long? rpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, string vmId, string vmProtectionState, string vmProtectionStateDescription, InitialReplicationDetails initialReplicationDetails, IReadOnlyList vmNics, ResourceIdentifier selectedRecoveryAzureNetworkId, string selectedSourceNicId, string encryption, SiteRecoveryOSDetails osDetails, int? sourceVmRamSizeInMB, int? sourceVmCpuCount, string enableRdpOnTargetOption, ResourceIdentifier recoveryAzureResourceGroupId, ResourceIdentifier recoveryAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, string useManagedDisks, string licenseType, string sqlServerLicenseType, DateTimeOffset? lastRecoveryPointReceived, IReadOnlyDictionary targetVmTags, IReadOnlyDictionary seedManagedDiskTags, IReadOnlyDictionary targetManagedDiskTags, IReadOnlyDictionary targetNicTags, IReadOnlyList protectedManagedDisks) : base(instanceType) + /// A value indicating all available inplace OS Upgrade configurations. + internal HyperVReplicaAzureReplicationDetails(string instanceType, IReadOnlyList azureVmDiskDetails, string recoveryAzureVmName, string recoveryAzureVmSize, string recoveryAzureStorageAccount, ResourceIdentifier recoveryAzureLogStorageAccountId, DateTimeOffset? lastReplicatedOn, long? rpoInSeconds, DateTimeOffset? lastRpoCalculatedOn, string vmId, string vmProtectionState, string vmProtectionStateDescription, InitialReplicationDetails initialReplicationDetails, IReadOnlyList vmNics, ResourceIdentifier selectedRecoveryAzureNetworkId, string selectedSourceNicId, string encryption, SiteRecoveryOSDetails osDetails, int? sourceVmRamSizeInMB, int? sourceVmCpuCount, string enableRdpOnTargetOption, ResourceIdentifier recoveryAzureResourceGroupId, ResourceIdentifier recoveryAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, string useManagedDisks, string licenseType, string sqlServerLicenseType, DateTimeOffset? lastRecoveryPointReceived, IReadOnlyDictionary targetVmTags, IReadOnlyDictionary seedManagedDiskTags, IReadOnlyDictionary targetManagedDiskTags, IReadOnlyDictionary targetNicTags, IReadOnlyList protectedManagedDisks, IReadOnlyList allAvailableOSUpgradeConfigurations) : base(instanceType) { AzureVmDiskDetails = azureVmDiskDetails; RecoveryAzureVmName = recoveryAzureVmName; @@ -97,6 +99,7 @@ internal HyperVReplicaAzureReplicationDetails(string instanceType, IReadOnlyList TargetManagedDiskTags = targetManagedDiskTags; TargetNicTags = targetNicTags; ProtectedManagedDisks = protectedManagedDisks; + AllAvailableOSUpgradeConfigurations = allAvailableOSUpgradeConfigurations; InstanceType = instanceType ?? "HyperVReplicaAzure"; } @@ -166,5 +169,7 @@ internal HyperVReplicaAzureReplicationDetails(string instanceType, IReadOnlyList public IReadOnlyDictionary TargetNicTags { get; } /// The list of protected managed disks. public IReadOnlyList ProtectedManagedDisks { get; } + /// A value indicating all available inplace OS Upgrade configurations. + public IReadOnlyList AllAvailableOSUpgradeConfigurations { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.Serialization.cs index 0e0cc24c0884..17bb9ce783cb 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.Serialization.cs @@ -30,6 +30,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("recoveryPointId"u8); writer.WriteStringValue(RecoveryPointId); } + 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/HyperVReplicaAzureTestFailoverContent.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.cs index 591a89fa811d..a9a56dcaff58 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureTestFailoverContent.cs @@ -24,5 +24,7 @@ public HyperVReplicaAzureTestFailoverContent() public string SecondaryKekCertificatePfx { get; set; } /// The recovery point id to be passed to test failover to a particular recovery point. In case of latest recovery point, null should be passed. public ResourceIdentifier RecoveryPointId { get; set; } + /// 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/InMageAzureV2ReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs index 53474ba12fee..d8cc32e7ca3f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs @@ -88,6 +88,9 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat Optional> targetNicTags = default; Optional> switchProviderBlockingErrorDetails = default; Optional switchProviderDetails = default; + Optional> supportedOSVersions = default; + Optional> allAvailableOSUpgradeConfigurations = default; + Optional osName = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -613,13 +616,46 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat switchProviderDetails = InMageAzureV2SwitchProviderDetails.DeserializeInMageAzureV2SwitchProviderDetails(property.Value); continue; } + if (property.NameEquals("supportedOSVersions"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + supportedOSVersions = array; + continue; + } + if (property.NameEquals("allAvailableOSUpgradeConfigurations"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(OSUpgradeSupportedVersions.DeserializeOSUpgradeSupportedVersions(item)); + } + allAvailableOSUpgradeConfigurations = array; + continue; + } + if (property.NameEquals("osName"u8)) + { + osName = property.Value.GetString(); + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - return new InMageAzureV2ReplicationDetails(instanceType, infrastructureVmId.Value, vCenterInfrastructureId.Value, protectionStage.Value, vmId.Value, vmProtectionState.Value, vmProtectionStateDescription.Value, Optional.ToNullable(resyncProgressPercentage), Optional.ToNullable(rpoInSeconds), Optional.ToNullable(compressedDataRateInMB), Optional.ToNullable(uncompressedDataRateInMB), ipAddress.Value, agentVersion.Value, Optional.ToNullable(agentExpireOn), isAgentUpdateRequired.Value, isRebootAfterUpdateRequired.Value, Optional.ToNullable(lastHeartbeat), Optional.ToNullable(processServerId), processServerName.Value, multiVmGroupId.Value, multiVmGroupName.Value, multiVmSyncStatus.Value, Optional.ToList(protectedDisks), diskResized.Value, masterTargetId.Value, Optional.ToNullable(sourceVmCpuCount), Optional.ToNullable(sourceVmRamSizeInMB), osType.Value, vhdName.Value, osDiskId.Value, Optional.ToList(azureVmDiskDetails), recoveryAzureVmName.Value, recoveryAzureVmSize.Value, recoveryAzureStorageAccount.Value, recoveryAzureLogStorageAccountId.Value, Optional.ToList(vmNics), selectedRecoveryAzureNetworkId.Value, selectedTfoAzureNetworkId.Value, selectedSourceNicId.Value, discoveryType.Value, enableRdpOnTargetOption.Value, Optional.ToList(datastores), targetVmId.Value, recoveryAzureResourceGroupId.Value, recoveryAvailabilitySetId.Value, targetAvailabilityZone.Value, targetProximityPlacementGroupId.Value, useManagedDisks.Value, licenseType.Value, sqlServerLicenseType.Value, Optional.ToList(validationErrors), Optional.ToNullable(lastRpoCalculatedTime), Optional.ToNullable(lastUpdateReceivedTime), replicaId.Value, osVersion.Value, Optional.ToList(protectedManagedDisks), Optional.ToNullable(lastRecoveryPointReceived), firmwareType.Value, azureVmGeneration.Value, Optional.ToNullable(isAdditionalStatsAvailable), Optional.ToNullable(totalDataTransferred), totalProgressHealth.Value, Optional.ToDictionary(targetVmTags), Optional.ToDictionary(seedManagedDiskTags), Optional.ToDictionary(targetManagedDiskTags), Optional.ToDictionary(targetNicTags), Optional.ToList(switchProviderBlockingErrorDetails), switchProviderDetails.Value); + return new InMageAzureV2ReplicationDetails(instanceType, infrastructureVmId.Value, vCenterInfrastructureId.Value, protectionStage.Value, vmId.Value, vmProtectionState.Value, vmProtectionStateDescription.Value, Optional.ToNullable(resyncProgressPercentage), Optional.ToNullable(rpoInSeconds), Optional.ToNullable(compressedDataRateInMB), Optional.ToNullable(uncompressedDataRateInMB), ipAddress.Value, agentVersion.Value, Optional.ToNullable(agentExpireOn), isAgentUpdateRequired.Value, isRebootAfterUpdateRequired.Value, Optional.ToNullable(lastHeartbeat), Optional.ToNullable(processServerId), processServerName.Value, multiVmGroupId.Value, multiVmGroupName.Value, multiVmSyncStatus.Value, Optional.ToList(protectedDisks), diskResized.Value, masterTargetId.Value, Optional.ToNullable(sourceVmCpuCount), Optional.ToNullable(sourceVmRamSizeInMB), osType.Value, vhdName.Value, osDiskId.Value, Optional.ToList(azureVmDiskDetails), recoveryAzureVmName.Value, recoveryAzureVmSize.Value, recoveryAzureStorageAccount.Value, recoveryAzureLogStorageAccountId.Value, Optional.ToList(vmNics), selectedRecoveryAzureNetworkId.Value, selectedTfoAzureNetworkId.Value, selectedSourceNicId.Value, discoveryType.Value, enableRdpOnTargetOption.Value, Optional.ToList(datastores), targetVmId.Value, recoveryAzureResourceGroupId.Value, recoveryAvailabilitySetId.Value, targetAvailabilityZone.Value, targetProximityPlacementGroupId.Value, useManagedDisks.Value, licenseType.Value, sqlServerLicenseType.Value, Optional.ToList(validationErrors), Optional.ToNullable(lastRpoCalculatedTime), Optional.ToNullable(lastUpdateReceivedTime), replicaId.Value, osVersion.Value, Optional.ToList(protectedManagedDisks), Optional.ToNullable(lastRecoveryPointReceived), firmwareType.Value, azureVmGeneration.Value, Optional.ToNullable(isAdditionalStatsAvailable), Optional.ToNullable(totalDataTransferred), totalProgressHealth.Value, Optional.ToDictionary(targetVmTags), Optional.ToDictionary(seedManagedDiskTags), Optional.ToDictionary(targetManagedDiskTags), Optional.ToDictionary(targetNicTags), Optional.ToList(switchProviderBlockingErrorDetails), switchProviderDetails.Value, Optional.ToList(supportedOSVersions), Optional.ToList(allAvailableOSUpgradeConfigurations), osName.Value); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.cs index f9789875b6c9..0dc0472ae0e4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.cs @@ -29,6 +29,8 @@ internal InMageAzureV2ReplicationDetails() TargetManagedDiskTags = new ChangeTrackingDictionary(); TargetNicTags = new ChangeTrackingDictionary(); SwitchProviderBlockingErrorDetails = new ChangeTrackingList(); + SupportedOSVersions = new ChangeTrackingList(); + AllAvailableOSUpgradeConfigurations = new ChangeTrackingList(); InstanceType = "InMageAzureV2"; } @@ -101,7 +103,10 @@ internal InMageAzureV2ReplicationDetails() /// The tags for the target NICs. /// The switch provider blocking error information. /// The switch provider blocking error information. - internal InMageAzureV2ReplicationDetails(string instanceType, string infrastructureVmId, string vCenterInfrastructureId, string protectionStage, string vmId, string vmProtectionState, string vmProtectionStateDescription, int? resyncProgressPercentage, long? rpoInSeconds, double? compressedDataRateInMB, double? uncompressedDataRateInMB, IPAddress ipAddress, string agentVersion, DateTimeOffset? agentExpireOn, string isAgentUpdateRequired, string isRebootAfterUpdateRequired, DateTimeOffset? lastHeartbeat, Guid? processServerId, string processServerName, string multiVmGroupId, string multiVmGroupName, string multiVmSyncStatus, IReadOnlyList protectedDisks, string diskResized, string masterTargetId, int? sourceVmCpuCount, int? sourceVmRamSizeInMB, string osType, string vhdName, string osDiskId, IReadOnlyList azureVmDiskDetails, string recoveryAzureVmName, string recoveryAzureVmSize, string recoveryAzureStorageAccount, ResourceIdentifier recoveryAzureLogStorageAccountId, IReadOnlyList vmNics, ResourceIdentifier selectedRecoveryAzureNetworkId, ResourceIdentifier selectedTfoAzureNetworkId, string selectedSourceNicId, string discoveryType, string enableRdpOnTargetOption, IReadOnlyList datastores, string targetVmId, ResourceIdentifier recoveryAzureResourceGroupId, ResourceIdentifier recoveryAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, string useManagedDisks, string licenseType, string sqlServerLicenseType, IReadOnlyList validationErrors, DateTimeOffset? lastRpoCalculatedOn, DateTimeOffset? lastUpdateReceivedOn, string replicaId, string osVersion, IReadOnlyList protectedManagedDisks, DateTimeOffset? lastRecoveryPointReceived, string firmwareType, string azureVmGeneration, bool? isAdditionalStatsAvailable, long? totalDataTransferred, string totalProgressHealth, IReadOnlyDictionary targetVmTags, IReadOnlyDictionary seedManagedDiskTags, IReadOnlyDictionary targetManagedDiskTags, IReadOnlyDictionary targetNicTags, IReadOnlyList switchProviderBlockingErrorDetails, InMageAzureV2SwitchProviderDetails switchProviderDetails) : base(instanceType) + /// A value indicating the inplace OS Upgrade version. + /// A value indicating all available inplace OS Upgrade configurations. + /// The name of the OS on the VM. + internal InMageAzureV2ReplicationDetails(string instanceType, string infrastructureVmId, string vCenterInfrastructureId, string protectionStage, string vmId, string vmProtectionState, string vmProtectionStateDescription, int? resyncProgressPercentage, long? rpoInSeconds, double? compressedDataRateInMB, double? uncompressedDataRateInMB, IPAddress ipAddress, string agentVersion, DateTimeOffset? agentExpireOn, string isAgentUpdateRequired, string isRebootAfterUpdateRequired, DateTimeOffset? lastHeartbeat, Guid? processServerId, string processServerName, string multiVmGroupId, string multiVmGroupName, string multiVmSyncStatus, IReadOnlyList protectedDisks, string diskResized, string masterTargetId, int? sourceVmCpuCount, int? sourceVmRamSizeInMB, string osType, string vhdName, string osDiskId, IReadOnlyList azureVmDiskDetails, string recoveryAzureVmName, string recoveryAzureVmSize, string recoveryAzureStorageAccount, ResourceIdentifier recoveryAzureLogStorageAccountId, IReadOnlyList vmNics, ResourceIdentifier selectedRecoveryAzureNetworkId, ResourceIdentifier selectedTfoAzureNetworkId, string selectedSourceNicId, string discoveryType, string enableRdpOnTargetOption, IReadOnlyList datastores, string targetVmId, ResourceIdentifier recoveryAzureResourceGroupId, ResourceIdentifier recoveryAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, string useManagedDisks, string licenseType, string sqlServerLicenseType, IReadOnlyList validationErrors, DateTimeOffset? lastRpoCalculatedOn, DateTimeOffset? lastUpdateReceivedOn, string replicaId, string osVersion, IReadOnlyList protectedManagedDisks, DateTimeOffset? lastRecoveryPointReceived, string firmwareType, string azureVmGeneration, bool? isAdditionalStatsAvailable, long? totalDataTransferred, string totalProgressHealth, IReadOnlyDictionary targetVmTags, IReadOnlyDictionary seedManagedDiskTags, IReadOnlyDictionary targetManagedDiskTags, IReadOnlyDictionary targetNicTags, IReadOnlyList switchProviderBlockingErrorDetails, InMageAzureV2SwitchProviderDetails switchProviderDetails, IReadOnlyList supportedOSVersions, IReadOnlyList allAvailableOSUpgradeConfigurations, string osName) : base(instanceType) { InfrastructureVmId = infrastructureVmId; VCenterInfrastructureId = vCenterInfrastructureId; @@ -170,6 +175,9 @@ internal InMageAzureV2ReplicationDetails(string instanceType, string infrastruct TargetNicTags = targetNicTags; SwitchProviderBlockingErrorDetails = switchProviderBlockingErrorDetails; SwitchProviderDetails = switchProviderDetails; + SupportedOSVersions = supportedOSVersions; + AllAvailableOSUpgradeConfigurations = allAvailableOSUpgradeConfigurations; + OSName = osName; InstanceType = instanceType ?? "InMageAzureV2"; } @@ -307,5 +315,11 @@ internal InMageAzureV2ReplicationDetails(string instanceType, string infrastruct public IReadOnlyList SwitchProviderBlockingErrorDetails { get; } /// The switch provider blocking error information. public InMageAzureV2SwitchProviderDetails SwitchProviderDetails { get; } + /// A value indicating the inplace OS Upgrade version. + public IReadOnlyList SupportedOSVersions { get; } + /// A value indicating all available inplace OS Upgrade configurations. + public IReadOnlyList AllAvailableOSUpgradeConfigurations { get; } + /// The name of the OS on the VM. + public string OSName { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.Serialization.cs index d70b996761db..80aad10b3cf3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.Serialization.cs @@ -20,6 +20,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("recoveryPointId"u8); writer.WriteStringValue(RecoveryPointId); } + 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/InMageAzureV2TestFailoverContent.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.cs index 9d0f65a6c399..1564d527ed46 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2TestFailoverContent.cs @@ -20,5 +20,7 @@ public InMageAzureV2TestFailoverContent() /// The recovery point id to be passed to test failover to a particular recovery point. In case of latest recovery point, null should be passed. public ResourceIdentifier RecoveryPointId { get; set; } + /// 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/InMageAzureV2UnplannedFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UnplannedFailoverContent.Serialization.cs index ac4fc5971405..f17b05a80dc0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UnplannedFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UnplannedFailoverContent.Serialization.cs @@ -20,6 +20,11 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("recoveryPointId"u8); writer.WriteStringValue(RecoveryPointId); } + 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/InMageAzureV2UnplannedFailoverContent.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UnplannedFailoverContent.cs index c91b5dbdb741..427724e7ed7a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UnplannedFailoverContent.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UnplannedFailoverContent.cs @@ -20,5 +20,7 @@ public InMageAzureV2UnplannedFailoverContent() /// The recovery point id to be passed to failover to a particular recovery point. In case of latest recovery point, null should be passed. public ResourceIdentifier RecoveryPointId { get; set; } + /// 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/OSUpgradeSupportedVersions.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.Serialization.cs new file mode 100644 index 000000000000..bd420750f8c9 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.Serialization.cs @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + public partial class OSUpgradeSupportedVersions + { + internal static OSUpgradeSupportedVersions DeserializeOSUpgradeSupportedVersions(JsonElement element) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + Optional supportedSourceOSVersion = default; + Optional> supportedTargetOSVersions = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("supportedSourceOsVersion"u8)) + { + supportedSourceOSVersion = property.Value.GetString(); + continue; + } + if (property.NameEquals("supportedTargetOsVersions"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + supportedTargetOSVersions = array; + continue; + } + } + return new OSUpgradeSupportedVersions(supportedSourceOSVersion.Value, Optional.ToList(supportedTargetOSVersions)); + } + } +} diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.cs new file mode 100644 index 000000000000..c4e3206b51f9 --- /dev/null +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/OSUpgradeSupportedVersions.cs @@ -0,0 +1,36 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models +{ + /// Supported OS upgrade versions. + public partial class OSUpgradeSupportedVersions + { + /// Initializes a new instance of OSUpgradeSupportedVersions. + internal OSUpgradeSupportedVersions() + { + SupportedTargetOSVersions = new ChangeTrackingList(); + } + + /// Initializes a new instance of OSUpgradeSupportedVersions. + /// The source OS version name. + /// The target OS version names. + internal OSUpgradeSupportedVersions(string supportedSourceOSVersion, IReadOnlyList supportedTargetOSVersions) + { + SupportedSourceOSVersion = supportedSourceOSVersion; + SupportedTargetOSVersions = supportedTargetOSVersions; + } + + /// The source OS version name. + public string SupportedSourceOSVersion { get; } + /// The target OS version names. + public IReadOnlyList SupportedTargetOSVersions { get; } + } +} 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 fd51c57ea0eb..f0a1ca94307a 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 @@ -53,15 +53,21 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J Optional migrationProgressPercentage = default; Optional resyncProgressPercentage = default; Optional resumeProgressPercentage = default; + Optional deltaSyncProgressPercentage = default; + Optional isCheckSumResyncCycle = default; Optional initialSeedingRetryCount = default; Optional resyncRetryCount = default; Optional resumeRetryCount = default; + Optional deltaSyncRetryCount = default; Optional resyncRequired = default; Optional resyncState = default; Optional performAutoResync = default; Optional> seedDiskTags = default; Optional> targetDiskTags = default; Optional> supportedOSVersions = default; + Optional applianceMonitoringDetails = default; + Optional gatewayOperationDetails = default; + Optional operationName = default; string instanceType = default; foreach (var property in element.EnumerateObject()) { @@ -342,6 +348,20 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J resumeProgressPercentage = property.Value.GetInt32(); continue; } + if (property.NameEquals("deltaSyncProgressPercentage"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + deltaSyncProgressPercentage = property.Value.GetInt32(); + continue; + } + if (property.NameEquals("isCheckSumResyncCycle"u8)) + { + isCheckSumResyncCycle = property.Value.GetString(); + continue; + } if (property.NameEquals("initialSeedingRetryCount"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -369,6 +389,15 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J resumeRetryCount = property.Value.GetInt64(); continue; } + if (property.NameEquals("deltaSyncRetryCount"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + deltaSyncRetryCount = property.Value.GetInt64(); + continue; + } if (property.NameEquals("resyncRequired"u8)) { resyncRequired = property.Value.GetString(); @@ -430,13 +459,36 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J supportedOSVersions = array; continue; } + if (property.NameEquals("applianceMonitoringDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + applianceMonitoringDetails = ApplianceMonitoringDetails.DeserializeApplianceMonitoringDetails(property.Value); + continue; + } + if (property.NameEquals("gatewayOperationDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + gatewayOperationDetails = GatewayOperationDetails.DeserializeGatewayOperationDetails(property.Value); + continue; + } + if (property.NameEquals("operationName"u8)) + { + operationName = property.Value.GetString(); + continue; + } if (property.NameEquals("instanceType"u8)) { instanceType = property.Value.GetString(); continue; } } - 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)); + 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(deltaSyncProgressPercentage), isCheckSumResyncCycle.Value, Optional.ToNullable(initialSeedingRetryCount), Optional.ToNullable(resyncRetryCount), Optional.ToNullable(resumeRetryCount), Optional.ToNullable(deltaSyncRetryCount), resyncRequired.Value, Optional.ToNullable(resyncState), performAutoResync.Value, Optional.ToDictionary(seedDiskTags), Optional.ToDictionary(targetDiskTags), Optional.ToList(supportedOSVersions), applianceMonitoringDetails.Value, gatewayOperationDetails.Value, operationName.Value); } } } 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 1b941af9ad4f..1bf4e1f07b6b 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 @@ -62,16 +62,22 @@ internal VMwareCbtMigrationDetails() /// The migration progress percentage. /// The resync progress percentage. /// The resume progress percentage. + /// The delta sync progress percentage. + /// A value indicating whether checksum resync cycle is in progress. /// The initial seeding retry count. /// The resync retry count. /// The resume retry count. + /// The delta sync retry count. /// A value indicating whether resync is required. /// The resync state. /// A value indicating whether auto resync is to be done. /// The tags for the seed disks. /// The tags for the target disks. - /// List of supported inplace OS Upgrade versions. - internal VMwareCbtMigrationDetails(string instanceType, ResourceIdentifier vmwareMachineId, string osType, string osName, string firmwareType, string targetGeneration, string licenseType, string sqlServerLicenseType, ResourceIdentifier dataMoverRunAsAccountId, ResourceIdentifier snapshotRunAsAccountId, ResourceIdentifier storageAccountId, string targetVmName, string targetVmSize, string targetLocation, ResourceIdentifier targetResourceGroupId, ResourceIdentifier targetAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, ResourceIdentifier confidentialVmKeyVaultId, VMwareCbtSecurityProfileProperties targetVmSecurityProfile, ResourceIdentifier targetBootDiagnosticsStorageAccountId, IReadOnlyDictionary targetVmTags, IReadOnlyList protectedDisks, ResourceIdentifier targetNetworkId, ResourceIdentifier testNetworkId, IReadOnlyList vmNics, IReadOnlyDictionary targetNicTags, ResourceIdentifier migrationRecoveryPointId, DateTimeOffset? lastRecoveryPointReceived, ResourceIdentifier lastRecoveryPointId, int? initialSeedingProgressPercentage, int? migrationProgressPercentage, int? resyncProgressPercentage, int? resumeProgressPercentage, long? initialSeedingRetryCount, long? resyncRetryCount, long? resumeRetryCount, string resyncRequired, SiteRecoveryResyncState? resyncState, string performAutoResync, IReadOnlyDictionary seedDiskTags, IReadOnlyDictionary targetDiskTags, IReadOnlyList supportedOSVersions) : base(instanceType) + /// A value indicating the inplace OS Upgrade version. + /// A value indicating the appliance monitoring details. + /// A value indicating the gateway operation details. + /// A value indicating the SRS operation name. + internal VMwareCbtMigrationDetails(string instanceType, ResourceIdentifier vmwareMachineId, string osType, string osName, string firmwareType, string targetGeneration, string licenseType, string sqlServerLicenseType, ResourceIdentifier dataMoverRunAsAccountId, ResourceIdentifier snapshotRunAsAccountId, ResourceIdentifier storageAccountId, string targetVmName, string targetVmSize, string targetLocation, ResourceIdentifier targetResourceGroupId, ResourceIdentifier targetAvailabilitySetId, string targetAvailabilityZone, ResourceIdentifier targetProximityPlacementGroupId, ResourceIdentifier confidentialVmKeyVaultId, VMwareCbtSecurityProfileProperties targetVmSecurityProfile, ResourceIdentifier targetBootDiagnosticsStorageAccountId, IReadOnlyDictionary targetVmTags, IReadOnlyList protectedDisks, ResourceIdentifier targetNetworkId, ResourceIdentifier testNetworkId, IReadOnlyList vmNics, IReadOnlyDictionary targetNicTags, ResourceIdentifier migrationRecoveryPointId, DateTimeOffset? lastRecoveryPointReceived, ResourceIdentifier lastRecoveryPointId, int? initialSeedingProgressPercentage, int? migrationProgressPercentage, int? resyncProgressPercentage, int? resumeProgressPercentage, int? deltaSyncProgressPercentage, string isCheckSumResyncCycle, long? initialSeedingRetryCount, long? resyncRetryCount, long? resumeRetryCount, long? deltaSyncRetryCount, string resyncRequired, SiteRecoveryResyncState? resyncState, string performAutoResync, IReadOnlyDictionary seedDiskTags, IReadOnlyDictionary targetDiskTags, IReadOnlyList supportedOSVersions, ApplianceMonitoringDetails applianceMonitoringDetails, GatewayOperationDetails gatewayOperationDetails, string operationName) : base(instanceType) { VMwareMachineId = vmwareMachineId; OSType = osType; @@ -106,15 +112,21 @@ internal VMwareCbtMigrationDetails(string instanceType, ResourceIdentifier vmwar MigrationProgressPercentage = migrationProgressPercentage; ResyncProgressPercentage = resyncProgressPercentage; ResumeProgressPercentage = resumeProgressPercentage; + DeltaSyncProgressPercentage = deltaSyncProgressPercentage; + IsCheckSumResyncCycle = isCheckSumResyncCycle; InitialSeedingRetryCount = initialSeedingRetryCount; ResyncRetryCount = resyncRetryCount; ResumeRetryCount = resumeRetryCount; + DeltaSyncRetryCount = deltaSyncRetryCount; ResyncRequired = resyncRequired; ResyncState = resyncState; PerformAutoResync = performAutoResync; SeedDiskTags = seedDiskTags; TargetDiskTags = targetDiskTags; SupportedOSVersions = supportedOSVersions; + ApplianceMonitoringDetails = applianceMonitoringDetails; + GatewayOperationDetails = gatewayOperationDetails; + OperationName = operationName; InstanceType = instanceType ?? "VMwareCbt"; } @@ -184,12 +196,18 @@ internal VMwareCbtMigrationDetails(string instanceType, ResourceIdentifier vmwar public int? ResyncProgressPercentage { get; } /// The resume progress percentage. public int? ResumeProgressPercentage { get; } + /// The delta sync progress percentage. + public int? DeltaSyncProgressPercentage { get; } + /// A value indicating whether checksum resync cycle is in progress. + public string IsCheckSumResyncCycle { get; } /// The initial seeding retry count. public long? InitialSeedingRetryCount { get; } /// The resync retry count. public long? ResyncRetryCount { get; } /// The resume retry count. public long? ResumeRetryCount { get; } + /// The delta sync retry count. + public long? DeltaSyncRetryCount { get; } /// A value indicating whether resync is required. public string ResyncRequired { get; } /// The resync state. @@ -200,7 +218,13 @@ internal VMwareCbtMigrationDetails(string instanceType, ResourceIdentifier vmwar public IReadOnlyDictionary SeedDiskTags { get; } /// The tags for the target disks. public IReadOnlyDictionary TargetDiskTags { get; } - /// List of supported inplace OS Upgrade versions. + /// A value indicating the inplace OS Upgrade version. public IReadOnlyList SupportedOSVersions { get; } + /// A value indicating the appliance monitoring details. + public ApplianceMonitoringDetails ApplianceMonitoringDetails { get; } + /// A value indicating the gateway operation details. + public GatewayOperationDetails GatewayOperationDetails { get; } + /// A value indicating the SRS operation name. + public string OperationName { get; } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs index fb12b01df1cc..70b68125fbd5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs @@ -33,6 +33,7 @@ internal static VMwareCbtProtectedDiskDetails DeserializeVMwareCbtProtectedDiskD Optional targetManagedDiskId = default; Optional targetBlobUri = default; Optional targetDiskName = default; + Optional gatewayOperationDetails = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("diskId"u8)) @@ -129,8 +130,17 @@ internal static VMwareCbtProtectedDiskDetails DeserializeVMwareCbtProtectedDiskD targetDiskName = property.Value.GetString(); continue; } + if (property.NameEquals("gatewayOperationDetails"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + gatewayOperationDetails = GatewayOperationDetails.DeserializeGatewayOperationDetails(property.Value); + continue; + } } - return new VMwareCbtProtectedDiskDetails(diskId.Value, diskName.Value, Optional.ToNullable(diskType), diskPath.Value, isOSDisk.Value, Optional.ToNullable(capacityInBytes), logStorageAccountId.Value, logStorageAccountSasSecretName.Value, diskEncryptionSetId.Value, seedManagedDiskId.Value, seedBlobUri.Value, targetManagedDiskId.Value, targetBlobUri.Value, targetDiskName.Value); + return new VMwareCbtProtectedDiskDetails(diskId.Value, diskName.Value, Optional.ToNullable(diskType), diskPath.Value, isOSDisk.Value, Optional.ToNullable(capacityInBytes), logStorageAccountId.Value, logStorageAccountSasSecretName.Value, diskEncryptionSetId.Value, seedManagedDiskId.Value, seedBlobUri.Value, targetManagedDiskId.Value, targetBlobUri.Value, targetDiskName.Value, gatewayOperationDetails.Value); } } } diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.cs index 709fc772e2b9..b971c9729c7f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.cs @@ -33,7 +33,8 @@ internal VMwareCbtProtectedDiskDetails() /// The ARM Id of the target managed disk. /// The uri of the target blob. /// The name for the target managed disk. - internal VMwareCbtProtectedDiskDetails(string diskId, string diskName, SiteRecoveryDiskAccountType? diskType, string diskPath, string isOSDisk, long? capacityInBytes, ResourceIdentifier logStorageAccountId, string logStorageAccountSasSecretName, ResourceIdentifier diskEncryptionSetId, string seedManagedDiskId, Uri seedBlobUri, string targetManagedDiskId, Uri targetBlobUri, string targetDiskName) + /// A value indicating the gateway operation details. + internal VMwareCbtProtectedDiskDetails(string diskId, string diskName, SiteRecoveryDiskAccountType? diskType, string diskPath, string isOSDisk, long? capacityInBytes, ResourceIdentifier logStorageAccountId, string logStorageAccountSasSecretName, ResourceIdentifier diskEncryptionSetId, string seedManagedDiskId, Uri seedBlobUri, string targetManagedDiskId, Uri targetBlobUri, string targetDiskName, GatewayOperationDetails gatewayOperationDetails) { DiskId = diskId; DiskName = diskName; @@ -49,6 +50,7 @@ internal VMwareCbtProtectedDiskDetails(string diskId, string diskName, SiteRecov TargetManagedDiskId = targetManagedDiskId; TargetBlobUri = targetBlobUri; TargetDiskName = targetDiskName; + GatewayOperationDetails = gatewayOperationDetails; } /// The disk id. @@ -79,5 +81,7 @@ internal VMwareCbtProtectedDiskDetails(string diskId, string diskName, SiteRecov public Uri TargetBlobUri { get; } /// The name for the target managed disk. public string TargetDiskName { get; } + /// A value indicating the gateway operation details. + public GatewayOperationDetails GatewayOperationDetails { get; } } } 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 71c8a170cdf9..30367e611fa9 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 42370bd818e4..7a23bc1a87c4 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 b82bd35906ea..015490ae0f56 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 68d62d897a91..c97f74556ca4 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 5118f9f56221..0962d2698f06 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 a3f8e5d46b61..9f5ae83cfded 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 8a0e33e0bf51..c14cd4d3b739 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 d086b9f97c34..9d9a0e94837a 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 5494aa7c12ae..50775934686b 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 4b7e019f3bd6..ebd4f2b85dc5 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 965070ae2712..4ce44657da66 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 151809d9aacc..b811af7b8265 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 43bf0764f723..e3434f4b8a35 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 8203b359205e..b63751be343d 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 820b9b8c6426..cd32ce6b0ac0 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 09309c19a25d..8684c45dc8e0 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 9a2cd3436763..8599c613f77c 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 3ecd1c16ded2..dee83d0ea21f 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 c5eaa6f4c8d5..5529c232119c 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 81655fd2c608..138a732bab4b 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 e377c5d49203..9dffe8c64156 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 d433640171a8..63fe96a61945 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 693f47ba566d..21260376d7d6 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 36d3b47c610d..a858e0ebfd40 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 9c5d53502661..efaec3b9c249 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 6239d3082562..94ba1397bab7 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 1e4f416ef787..fa11717bfe69 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 ?? "2023-04-01"; + _apiVersion = apiVersion ?? "2023-06-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 ef2e0f8db53f..a4bd94f0dfa4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/autorest.md @@ -8,7 +8,7 @@ azure-arm: true csharp: true library-name: RecoveryServicesSiteRecovery namespace: Azure.ResourceManager.RecoveryServicesSiteRecovery -require: https://github.com/Azure/azure-rest-api-specs/blob/d03c1964cb76ffd6884d10a1871bbe779a2f68ef/specification/recoveryservicessiterecovery/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/recoveryservicessiterecovery/resource-manager/readme.md #tag: package-2023-04 output-folder: $(this-folder)/Generated clear-output-folder: true