diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/CHANGELOG.md b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/CHANGELOG.md
index 641b64303ef1..0165b456457c 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/CHANGELOG.md
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/CHANGELOG.md
@@ -1,14 +1,2052 @@
# Release History
-## 1.7.0-beta.1 (Unreleased)
+## 1.7.0-beta.1 (2026-02-09)
+
+- Azure Resource Manager Recovery Services Backup client library for Java. This package contains Microsoft Azure SDK for Recovery Services Backup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package api-version 2026-01-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+
+### Breaking Changes
+
+#### `models.ProtectionIntentResourceList` was removed
+
+#### `models.ResourceGuardProxies` was removed
+
+#### `models.JobResourceList` was removed
+
+#### `models.RecoveryPointResourceList` was removed
+
+#### `models.ProtectableContainerResourceList` was removed
+
+#### `models.WorkloadItemResourceList` was removed
+
+#### `models.ResourceGuardProxyBaseResourceList` was removed
+
+#### `models.ProtectedItemResourceList` was removed
+
+#### `models.ProtectionContainerResourceList` was removed
+
+#### `models.BackupManagementUsageList` was removed
+
+#### `models.ProtectionPolicyResourceList` was removed
+
+#### `models.BackupEngineBaseResourceList` was removed
+
+#### `models.IaaSvmProtectableItem` was removed
+
+#### `models.WorkloadProtectableItemResourceList` was removed
+
+#### `models.ClientDiscoveryResponse` was removed
+
+#### `models.AzureWorkloadSqlPointInTimeRecoveryPoint` was modified
+
+* `AzureWorkloadSqlPointInTimeRecoveryPoint()` was changed to private access
+* `withTimeRanges(java.util.List)` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+* `validate()` was removed
+* `withType(models.RestorePointType)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withExtendedInfo(models.AzureWorkloadSqlRecoveryPointExtendedInfo)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+
+#### `models.MabJobTaskDetails` was modified
+
+* `MabJobTaskDetails()` was changed to private access
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withStatus(java.lang.String)` was removed
+* `validate()` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withTaskId(java.lang.String)` was removed
+
+#### `models.AzureIaaSClassicComputeVMContainer` was modified
+
+* `validate()` was removed
+
+#### `models.IaaSvmContainer` was modified
+
+* `validate()` was removed
+
+#### `models.OperationStatusExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.TargetRestoreInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapAsePointInTimeRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.RestoreFileSpecs` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSComputeVMProtectedItem` was modified
+
+* `validate()` was removed
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+
+#### `models.AzureWorkloadPointInTimeRecoveryPoint` was modified
+
+* `validate()` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `models.AzureWorkloadPointInTimeRecoveryPoint withTimeRanges(java.util.List)` -> `models.AzureWorkloadPointInTimeRecoveryPoint withTimeRanges(java.util.List)`
+* `withType(models.RestorePointType)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+
+#### `models.AzureFileShareProvisionIlrRequest` was modified
+
+* `validate()` was removed
+
+#### `models.RetentionDuration` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapHanaHsr` was modified
+
+* `AzureVmWorkloadSapHanaHsr()` was changed to private access
+* `withFriendlyName(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `validate()` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+
+#### `models.AzureWorkloadRecoveryPoint` was modified
+
+* `validate()` was removed
+* `models.AzureWorkloadRecoveryPoint withRecoveryPointMoveReadinessInfo(java.util.Map)` -> `models.AzureWorkloadRecoveryPoint withRecoveryPointMoveReadinessInfo(java.util.Map)`
+* `models.AzureWorkloadRecoveryPoint withRecoveryPointProperties(models.RecoveryPointProperties)` -> `models.AzureWorkloadRecoveryPoint withRecoveryPointProperties(models.RecoveryPointProperties)`
+* `models.AzureWorkloadRecoveryPoint withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` -> `models.AzureWorkloadRecoveryPoint withRecoveryPointTimeInUtc(java.time.OffsetDateTime)`
+* `models.AzureWorkloadRecoveryPoint withRecoveryPointTierDetails(java.util.List)` -> `models.AzureWorkloadRecoveryPoint withRecoveryPointTierDetails(java.util.List)`
+* `models.AzureWorkloadRecoveryPoint withType(models.RestorePointType)` -> `models.AzureWorkloadRecoveryPoint withType(models.RestorePointType)`
+
+#### `models.OperationStatusValidateOperationExtendedInfo` was modified
+
+* `OperationStatusValidateOperationExtendedInfo()` was changed to private access
+* `withValidateOperationResponse(models.ValidateOperationResponse)` was removed
+* `validate()` was removed
+
+#### `models.AzureVMAppContainerProtectableContainer` was modified
+
+* `AzureVMAppContainerProtectableContainer()` was changed to private access
+* `withHealthStatus(java.lang.String)` was removed
+* `withContainerId(java.lang.String)` was removed
+* `validate()` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+
+#### `models.AzureVmWorkloadSapHanaSystemWorkloadItem` was modified
+
+* `AzureVmWorkloadSapHanaSystemWorkloadItem()` was changed to private access
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withSubWorkloadItemCount(java.lang.Integer)` was removed
+* `validate()` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withServerName(java.lang.String)` was removed
+
+#### `models.IaasVMRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.OperationStatusProvisionIlrExtendedInfo` was modified
+
+* `OperationStatusProvisionIlrExtendedInfo()` was changed to private access
+* `validate()` was removed
+* `withRecoveryTarget(models.InstantItemRecoveryTarget)` was removed
+
+#### `models.AzureVmWorkloadSapHanaDatabaseWorkloadItem` was modified
+
+* `AzureVmWorkloadSapHanaDatabaseWorkloadItem()` was changed to private access
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withSubWorkloadItemCount(java.lang.Integer)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `validate()` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+
+#### `models.MabFileFolderProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.GenericRecoveryPoint` was modified
+
+* `GenericRecoveryPoint()` was changed to private access
+* `withFriendlyName(java.lang.String)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withRecoveryPointTime(java.time.OffsetDateTime)` was removed
+* `validate()` was removed
+* `withRecoveryPointAdditionalInfo(java.lang.String)` was removed
+* `withRecoveryPointType(java.lang.String)` was removed
+
+#### `models.IaasVMBackupRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ListRecoveryPointsRecommendedForMoveRequest` was modified
+
+* `validate()` was removed
+
+#### `models.DpmBackupEngine` was modified
+
+* `DpmBackupEngine()` was changed to private access
+* `withIsAzureBackupAgentUpgradeAvailable(java.lang.Boolean)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withDpmVersion(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withBackupEngineId(java.lang.String)` was removed
+* `withIsDpmUpgradeAvailable(java.lang.Boolean)` was removed
+* `withExtendedInfo(models.BackupEngineExtendedInfo)` was removed
+* `withCanReRegister(java.lang.Boolean)` was removed
+* `withRegistrationStatus(java.lang.String)` was removed
+* `withAzureBackupAgentVersion(java.lang.String)` was removed
+* `withHealthStatus(java.lang.String)` was removed
+* `withBackupEngineState(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.MabContainerExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSqlRecoveryPoint` was modified
+
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `validate()` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withType(models.RestorePointType)` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+* `models.AzureWorkloadSqlRecoveryPoint withExtendedInfo(models.AzureWorkloadSqlRecoveryPointExtendedInfo)` -> `models.AzureWorkloadSqlRecoveryPoint withExtendedInfo(models.AzureWorkloadSqlRecoveryPointExtendedInfo)`
+
+#### `models.GenericContainerExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureStorageProtectableContainer` was modified
+
+* `AzureStorageProtectableContainer()` was changed to private access
+* `withContainerId(java.lang.String)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `validate()` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withHealthStatus(java.lang.String)` was removed
+
+#### `models.NameInfo` was modified
+
+* `NameInfo()` was changed to private access
+* `withValue(java.lang.String)` was removed
+* `withLocalizedValue(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.MoveRPAcrossTiersRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapHanaDBInstance` was modified
+
+* `AzureVmWorkloadSapHanaDBInstance()` was changed to private access
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `validate()` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+
+#### `models.FetchTieringCostInfoForRehydrationRequest` was modified
+
+* `validate()` was removed
+
+#### `models.BackupEngineBase` was modified
+
+* `models.BackupEngineBase withDpmVersion(java.lang.String)` -> `models.BackupEngineBase withDpmVersion(java.lang.String)`
+* `validate()` was removed
+* `models.BackupEngineBase withRegistrationStatus(java.lang.String)` -> `models.BackupEngineBase withRegistrationStatus(java.lang.String)`
+* `models.BackupEngineBase withHealthStatus(java.lang.String)` -> `models.BackupEngineBase withHealthStatus(java.lang.String)`
+* `models.BackupEngineBase withExtendedInfo(models.BackupEngineExtendedInfo)` -> `models.BackupEngineBase withExtendedInfo(models.BackupEngineExtendedInfo)`
+* `models.BackupEngineBase withIsAzureBackupAgentUpgradeAvailable(java.lang.Boolean)` -> `models.BackupEngineBase withIsAzureBackupAgentUpgradeAvailable(java.lang.Boolean)`
+* `models.BackupEngineBase withBackupEngineId(java.lang.String)` -> `models.BackupEngineBase withBackupEngineId(java.lang.String)`
+* `models.BackupEngineBase withAzureBackupAgentVersion(java.lang.String)` -> `models.BackupEngineBase withAzureBackupAgentVersion(java.lang.String)`
+* `models.BackupEngineBase withIsDpmUpgradeAvailable(java.lang.Boolean)` -> `models.BackupEngineBase withIsDpmUpgradeAvailable(java.lang.Boolean)`
+* `models.BackupEngineBase withFriendlyName(java.lang.String)` -> `models.BackupEngineBase withFriendlyName(java.lang.String)`
+* `models.BackupEngineBase withCanReRegister(java.lang.Boolean)` -> `models.BackupEngineBase withCanReRegister(java.lang.Boolean)`
+* `models.BackupEngineBase withBackupEngineState(java.lang.String)` -> `models.BackupEngineBase withBackupEngineState(java.lang.String)`
+* `models.BackupEngineBase withBackupManagementType(models.BackupManagementType)` -> `models.BackupEngineBase withBackupManagementType(models.BackupManagementType)`
+
+#### `models.OperationWorkerResponse` was modified
+
+* `validate()` was removed
+* `models.OperationWorkerResponse withHeaders(java.util.Map)` -> `models.OperationWorkerResponse withHeaders(java.util.Map)`
+* `models.OperationWorkerResponse withStatusCode(models.HttpStatusCode)` -> `models.OperationWorkerResponse withStatusCode(models.HttpStatusCode)`
+
+#### `models.RestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ProtectableContainer` was modified
+
+* `models.ProtectableContainer withContainerId(java.lang.String)` -> `models.ProtectableContainer withContainerId(java.lang.String)`
+* `models.ProtectableContainer withFriendlyName(java.lang.String)` -> `models.ProtectableContainer withFriendlyName(java.lang.String)`
+* `models.ProtectableContainer withBackupManagementType(models.BackupManagementType)` -> `models.ProtectableContainer withBackupManagementType(models.BackupManagementType)`
+* `models.ProtectableContainer withHealthStatus(java.lang.String)` -> `models.ProtectableContainer withHealthStatus(java.lang.String)`
+* `validate()` was removed
+
+#### `models.PrepareDataMoveRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileShareBackupRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapHanaPointInTimeRestoreWithRehydrateRequest` was modified
+
+* `validate()` was removed
+
+#### `models.IdentityInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapHanaDatabaseProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.LongTermSchedulePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSqlInstanceProtectableItem` was modified
+
+* `AzureVmWorkloadSqlInstanceProtectableItem()` was changed to private access
+* `withBackupManagementType(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSqlAvailabilityGroupProtectableItem` was modified
+
+* `AzureVmWorkloadSqlAvailabilityGroupProtectableItem()` was changed to private access
+* `withNodesList(java.util.List)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `validate()` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+
+#### `models.YearlyRetentionSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapAseDatabaseProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.AzureFileShareProtectableItem` was modified
+
+* `AzureFileShareProtectableItem()` was changed to private access
+* `withWorkloadType(java.lang.String)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `validate()` was removed
+* `withAzureFileShareType(models.AzureFileShareType)` was removed
+* `withParentContainerFabricId(java.lang.String)` was removed
+* `withParentContainerFriendlyName(java.lang.String)` was removed
+
+#### `models.RecoveryPointMoveReadinessInfo` was modified
+
+* `RecoveryPointMoveReadinessInfo()` was changed to private access
+* `withIsReadyForMove(java.lang.Boolean)` was removed
+* `withAdditionalInfo(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.PointInTimeRange` was modified
+
+* `PointInTimeRange()` was changed to private access
+* `validate()` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+
+#### `models.AzureWorkloadErrorInfo` was modified
+
+* `AzureWorkloadErrorInfo()` was changed to private access
+* `withRecommendations(java.util.List)` was removed
+* `withErrorString(java.lang.String)` was removed
+* `withErrorCode(java.lang.Integer)` was removed
+* `withErrorTitle(java.lang.String)` was removed
+* `validate()` was removed
+* `withAdditionalDetails(java.lang.String)` was removed
+
+#### `models.AzureWorkloadSqlRestoreWithRehydrateRequest` was modified
+
+* `validate()` was removed
+
+#### `models.MabContainer` was modified
+
+* `validate()` was removed
+
+#### `models.UserAssignedIdentityProperties` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSvmJobExtendedInfo` was modified
+
+* `AzureIaaSvmJobExtendedInfo()` was changed to private access
+* `withEstimatedRemainingDuration(java.lang.String)` was removed
+* `withTasksList(java.util.List)` was removed
+* `withPropertyBag(java.util.Map)` was removed
+* `withInternalPropertyBag(java.util.Map)` was removed
+* `validate()` was removed
+* `withDynamicErrorMessage(java.lang.String)` was removed
+* `withProgressPercentage(java.lang.Double)` was removed
+
+#### `models.ResourceHealthDetails` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadJobTaskDetails` was modified
+
+* `AzureWorkloadJobTaskDetails()` was changed to private access
+* `withTaskId(java.lang.String)` was removed
+* `validate()` was removed
+* `withStatus(java.lang.String)` was removed
+
+#### `models.AzureIaaSvmErrorInfo` was modified
+
+* `AzureIaaSvmErrorInfo()` was changed to private access
+* `validate()` was removed
+
+#### `models.BackupResourceVaultConfig` was modified
+
+* `validate()` was removed
+
+#### `models.GenericProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.SqlDataDirectory` was modified
+
+* `SqlDataDirectory()` was changed to private access
+* `withPath(java.lang.String)` was removed
+* `validate()` was removed
+* `withLogicalName(java.lang.String)` was removed
+* `withType(models.SqlDataDirectoryType)` was removed
+
+#### `models.BackupResourceEncryptionConfig` was modified
+
+* `validate()` was removed
+
+#### `models.ClientDiscoveryForServiceSpecification` was modified
+
+* `ClientDiscoveryForServiceSpecification()` was changed to private access
+* `withLogSpecifications(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.IaasVMRestoreWithRehydrationRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ValidateOperationRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapHanaPointInTimeRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSqlPointInTimeRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSqlAutoProtectionIntent` was modified
+
+* `validate()` was removed
+
+#### `models.BackupRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceGuardOperationDetail` was modified
+
+* `validate()` was removed
+
+#### `models.SubProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.DpmContainerExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.MabJob` was modified
+
+* `MabJob()` was changed to private access
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withErrorDetails(java.util.List)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withExtendedInfo(models.MabJobExtendedInfo)` was removed
+* `withMabServerName(java.lang.String)` was removed
+* `withWorkloadType(models.WorkloadType)` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withActivityId(java.lang.String)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+* `withMabServerType(models.MabServerType)` was removed
+* `validate()` was removed
+* `withActionsInfo(java.util.List)` was removed
+
+#### `models.AzureStorageJobTaskDetails` was modified
+
+* `AzureStorageJobTaskDetails()` was changed to private access
+* `withTaskId(java.lang.String)` was removed
+* `validate()` was removed
+* `withStatus(java.lang.String)` was removed
+
+#### `models.AzureFileShareRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.KeyAndSecretDetails` was modified
+
+* `KeyAndSecretDetails()` was changed to private access
+* `withBekDetails(models.BekDetails)` was removed
+* `withEncryptionMechanism(java.lang.String)` was removed
+* `validate()` was removed
+* `withKekDetails(models.KekDetails)` was removed
+
+#### `models.ErrorDetail` was modified
+
+* `validate()` was removed
+
+#### `models.ProtectionContainer` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadContainerExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapHanaPointInTimeRecoveryPoint` was modified
+
+* `AzureWorkloadSapHanaPointInTimeRecoveryPoint()` was changed to private access
+* `validate()` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withType(models.RestorePointType)` was removed
+* `withTimeRanges(java.util.List)` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+
+#### `models.AzureWorkloadSapAseRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSComputeVMProtectableItem` was modified
+
+* `AzureIaaSComputeVMProtectableItem()` was changed to private access
+* `withResourceGroup(java.lang.String)` was removed
+* `withVirtualMachineId(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withVirtualMachineVersion(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.MonthlyRetentionSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.RetentionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.TargetDiskNetworkAccessSettings` was modified
+
+* `validate()` was removed
+
+#### `models.PrivateEndpoint` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapHanaRestoreWithRehydrateRequest` was modified
+
+* `validate()` was removed
+
+#### `models.BackupResourceEncryptionConfigExtended` was modified
+
+* `BackupResourceEncryptionConfigExtended()` was changed to private access
+* `withEncryptionAtRestType(models.EncryptionAtRestType)` was removed
+* `validate()` was removed
+* `withInfrastructureEncryptionState(models.InfrastructureEncryptionState)` was removed
+* `withSubscriptionId(java.lang.String)` was removed
+* `withLastUpdateStatus(models.LastUpdateStatus)` was removed
+* `withKeyUri(java.lang.String)` was removed
+* `withUserAssignedIdentity(java.lang.String)` was removed
+* `withUseSystemAssignedIdentity(java.lang.Boolean)` was removed
+
+#### `models.MabErrorInfo` was modified
+
+* `MabErrorInfo()` was changed to private access
+* `validate()` was removed
+
+#### `models.Settings` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSvmProtectedItem` was modified
+
+* `validate()` was removed
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+
+#### `models.ContainerIdentityInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadContainerAutoProtectionIntent` was modified
+
+* `validate()` was removed
+
+#### `models.InstantItemRecoveryTarget` was modified
+
+* `InstantItemRecoveryTarget()` was changed to private access
+* `withClientScripts(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.WorkloadProtectableItemResource` was modified
+
+* `etag()` was removed
+
+#### `models.ProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.ValidateOperationResponse` was modified
+
+* `ValidateOperationResponse()` was changed to private access
+* `validate()` was removed
+* `withValidationResults(java.util.List)` was removed
+
+#### `models.DpmErrorInfo` was modified
+
+* `DpmErrorInfo()` was changed to private access
+* `withErrorString(java.lang.String)` was removed
+* `validate()` was removed
+* `withRecommendations(java.util.List)` was removed
+
+#### `models.InstantRPAdditionalDetails` was modified
+
+* `validate()` was removed
+
+#### `models.WorkloadItem` was modified
+
+* `models.WorkloadItem withFriendlyName(java.lang.String)` -> `models.WorkloadItem withFriendlyName(java.lang.String)`
+* `validate()` was removed
+* `models.WorkloadItem withBackupManagementType(java.lang.String)` -> `models.WorkloadItem withBackupManagementType(java.lang.String)`
+* `models.WorkloadItem withWorkloadType(java.lang.String)` -> `models.WorkloadItem withWorkloadType(java.lang.String)`
+* `models.WorkloadItem withProtectionState(models.ProtectionStatus)` -> `models.WorkloadItem withProtectionState(models.ProtectionStatus)`
+
+#### `models.HourlySchedule` was modified
+
+* `validate()` was removed
+
+#### `models.VaultJobExtendedInfo` was modified
+
+* `VaultJobExtendedInfo()` was changed to private access
+* `validate()` was removed
+* `withPropertyBag(java.util.Map)` was removed
+
+#### `models.RecoveryPointProperties` was modified
+
+* `RecoveryPointProperties()` was changed to private access
+* `withIsSoftDeleted(java.lang.Boolean)` was removed
+* `validate()` was removed
+* `withExpiryTime(java.lang.String)` was removed
+* `withRuleName(java.lang.String)` was removed
+
+#### `models.AzureWorkloadJob` was modified
+
+* `AzureWorkloadJob()` was changed to private access
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withActionsInfo(java.util.List)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `validate()` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+* `withExtendedInfo(models.AzureWorkloadJobExtendedInfo)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withActivityId(java.lang.String)` was removed
+* `withErrorDetails(java.util.List)` was removed
+
+#### `models.OperationResultInfoBase` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapAseDatabaseProtectableItem` was modified
+
+* `AzureVmWorkloadSapAseDatabaseProtectableItem()` was changed to private access
+* `withWorkloadType(java.lang.String)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `validate()` was removed
+* `withServerName(java.lang.String)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+
+#### `models.DpmProtectedItemExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSvmJob` was modified
+
+* `AzureIaaSvmJob()` was changed to private access
+* `withDuration(java.time.Duration)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withIsUserTriggered(java.lang.Boolean)` was removed
+* `validate()` was removed
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withErrorDetails(java.util.List)` was removed
+* `withActionsInfo(java.util.List)` was removed
+* `withExtendedInfo(models.AzureIaaSvmJobExtendedInfo)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withContainerName(java.lang.String)` was removed
+* `withVirtualMachineVersion(java.lang.String)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+* `withActivityId(java.lang.String)` was removed
+
+#### `models.FetchTieringCostSavingsInfoForVaultRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapAsePointInTimeRecoveryPoint` was modified
+
+* `AzureWorkloadSapAsePointInTimeRecoveryPoint()` was changed to private access
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+* `withType(models.RestorePointType)` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withTimeRanges(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.AzureStorageErrorInfo` was modified
+
+* `AzureStorageErrorInfo()` was changed to private access
+* `validate()` was removed
+* `withErrorCode(java.lang.Integer)` was removed
+* `withRecommendations(java.util.List)` was removed
+* `withErrorString(java.lang.String)` was removed
+
+#### `models.ExtendedProperties` was modified
+
+* `validate()` was removed
+
+#### `models.DailyRetentionFormat` was modified
+
+* `validate()` was removed
+
+#### `models.SimpleRetentionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.BackupStatusRequest` was modified
+
+* `validate()` was removed
+
+#### `models.WorkloadInquiryDetails` was modified
+
+* `validate()` was removed
+
+#### `models.DpmJobExtendedInfo` was modified
+
+* `DpmJobExtendedInfo()` was changed to private access
+* `withDynamicErrorMessage(java.lang.String)` was removed
+* `withTasksList(java.util.List)` was removed
+* `validate()` was removed
+* `withPropertyBag(java.util.Map)` was removed
+
+#### `models.EncryptionDetails` was modified
+
+* `validate()` was removed
+
+#### `models.PreBackupValidation` was modified
+
+* `PreBackupValidation()` was changed to private access
+* `withStatus(models.InquiryStatus)` was removed
+* `withCode(java.lang.String)` was removed
+* `validate()` was removed
+* `withMessage(java.lang.String)` was removed
+
+#### `models.UserAssignedManagedIdentityDetails` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSvmProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.LongTermRetentionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapAseSystemWorkloadItem` was modified
+
+* `AzureVmWorkloadSapAseSystemWorkloadItem()` was changed to private access
+* `withFriendlyName(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withSubWorkloadItemCount(java.lang.Integer)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `validate()` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+
+#### `models.IaasVmilrRegistrationRequest` was modified
+
+* `validate()` was removed
+
+#### `models.InquiryValidation` was modified
+
+* `validate()` was removed
+
+#### `models.DpmJobTaskDetails` was modified
+
+* `DpmJobTaskDetails()` was changed to private access
+* `withTaskId(java.lang.String)` was removed
+* `validate()` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withStatus(java.lang.String)` was removed
+
+#### `models.MabFileFolderProtectedItemExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureSqlProtectedItemExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.DailyRetentionSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.RecoveryPointDiskConfiguration` was modified
+
+* `RecoveryPointDiskConfiguration()` was changed to private access
+* `withExcludedDiskList(java.util.List)` was removed
+* `validate()` was removed
+* `withNumberOfDisksIncludedInBackup(java.lang.Integer)` was removed
+* `withIncludedDiskList(java.util.List)` was removed
+* `withNumberOfDisksAttachedToVm(java.lang.Integer)` was removed
+
+#### `models.RestoreRequestResource` was modified
+
+* `withEtag(java.lang.String)` was removed
+* `validate()` was removed
+* `etag()` was removed
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.UnlockDeleteRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureSqlProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.ValidateIaasVMRestoreOperationRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureStorageJob` was modified
+
+* `AzureStorageJob()` was changed to private access
+* `withStorageAccountName(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withActionsInfo(java.util.List)` was removed
+* `withActivityId(java.lang.String)` was removed
+* `withExtendedInfo(models.AzureStorageJobExtendedInfo)` was removed
+* `withStorageAccountVersion(java.lang.String)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withIsUserTriggered(java.lang.Boolean)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withErrorDetails(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.WeeklyRetentionSchedule` was modified
+
+* `validate()` was removed
+
+#### `models.WeeklySchedule` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSqlDatabaseProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.RecoveryPointRehydrationInfo` was modified
+
+* `validate()` was removed
+
+#### `models.WorkloadProtectableItem` was modified
+
+* `models.WorkloadProtectableItem withWorkloadType(java.lang.String)` -> `models.WorkloadProtectableItem withWorkloadType(java.lang.String)`
+* `models.WorkloadProtectableItem withFriendlyName(java.lang.String)` -> `models.WorkloadProtectableItem withFriendlyName(java.lang.String)`
+* `models.WorkloadProtectableItem withProtectionState(models.ProtectionStatus)` -> `models.WorkloadProtectableItem withProtectionState(models.ProtectionStatus)`
+* `validate()` was removed
+* `models.WorkloadProtectableItem withBackupManagementType(java.lang.String)` -> `models.WorkloadProtectableItem withBackupManagementType(java.lang.String)`
+
+#### `models.SimpleSchedulePolicyV2` was modified
+
+* `validate()` was removed
+
+#### `models.VaultRetentionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadItem` was modified
+
+* `models.AzureVmWorkloadItem withSubinquireditemcount(java.lang.Integer)` -> `models.AzureVmWorkloadItem withSubinquireditemcount(java.lang.Integer)`
+* `withBackupManagementType(java.lang.String)` was removed
+* `validate()` was removed
+* `models.AzureVmWorkloadItem withSubWorkloadItemCount(java.lang.Integer)` -> `models.AzureVmWorkloadItem withSubWorkloadItemCount(java.lang.Integer)`
+* `withWorkloadType(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `models.AzureVmWorkloadItem withIsAutoProtectable(java.lang.Boolean)` -> `models.AzureVmWorkloadItem withIsAutoProtectable(java.lang.Boolean)`
+* `models.AzureVmWorkloadItem withParentName(java.lang.String)` -> `models.AzureVmWorkloadItem withParentName(java.lang.String)`
+* `models.AzureVmWorkloadItem withServerName(java.lang.String)` -> `models.AzureVmWorkloadItem withServerName(java.lang.String)`
+
+#### `models.AzureVmWorkloadSqlInstanceWorkloadItem` was modified
+
+* `AzureVmWorkloadSqlInstanceWorkloadItem()` was changed to private access
+* `withFriendlyName(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withSubWorkloadItemCount(java.lang.Integer)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withParentName(java.lang.String)` was removed
+* `validate()` was removed
+* `withDataDirectoryPaths(java.util.List)` was removed
+
+#### `models.IdentityBasedRestoreDetails` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.SchedulePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.ProtectionIntent` was modified
+
+* `validate()` was removed
+
+#### `models.AzureResourceProtectionIntent` was modified
+
+* `validate()` was removed
+
+#### `models.SecurityPinBase` was modified
+
+* `validate()` was removed
+
+#### `models.ProtectedItem` was modified
+
+* `validate()` was removed
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `softDeleteRetentionPeriod()` was removed
+
+#### `models.AzureSqlContainer` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapHanaSystemProtectableItem` was modified
+
+* `AzureVmWorkloadSapHanaSystemProtectableItem()` was changed to private access
+* `withBackupManagementType(java.lang.String)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `validate()` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+
+#### `models.AzureSqlagWorkloadContainerProtectionContainer` was modified
+
+* `validate()` was removed
+
+#### `models.RecoveryPointTierInformationV2` was modified
+
+* `RecoveryPointTierInformationV2()` was changed to private access
+* `withStatus(models.RecoveryPointTierStatus)` was removed
+* `withType(models.RecoveryPointTierType)` was removed
+* `withExtendedInfo(java.util.Map)` was removed
+* `validate()` was removed
+
+#### `models.BackupResourceEncryptionConfigResource` was modified
+
+* `validate()` was removed
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.AzureWorkloadSqlRecoveryPointExtendedInfo` was modified
+
+* `AzureWorkloadSqlRecoveryPointExtendedInfo()` was changed to private access
+* `withDataDirectoryPaths(java.util.List)` was removed
+* `validate()` was removed
+* `withDataDirectoryTimeInUtc(java.time.OffsetDateTime)` was removed
+
+#### `models.AzureIaaSvmJobTaskDetails` was modified
+
+* `AzureIaaSvmJobTaskDetails()` was changed to private access
+* `validate()` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withInstanceId(java.lang.String)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withProgressPercentage(java.lang.Double)` was removed
+* `withTaskId(java.lang.String)` was removed
+* `withTaskExecutionDetails(java.lang.String)` was removed
+
+#### `models.InquiryInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapAseDatabaseWorkloadItem` was modified
+
+* `AzureVmWorkloadSapAseDatabaseWorkloadItem()` was changed to private access
+* `withWorkloadType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withSubWorkloadItemCount(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.KekDetails` was modified
+
+* `KekDetails()` was changed to private access
+* `withKeyUrl(java.lang.String)` was removed
+* `withKeyBackupData(java.lang.String)` was removed
+* `withKeyVaultId(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.MabJobExtendedInfo` was modified
+
+* `MabJobExtendedInfo()` was changed to private access
+* `withPropertyBag(java.util.Map)` was removed
+* `validate()` was removed
+* `withDynamicErrorMessage(java.lang.String)` was removed
+* `withTasksList(java.util.List)` was removed
+
+#### `models.TriggerDataMoveRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.VaultJob` was modified
+
+* `VaultJob()` was changed to private access
+* `withOperation(java.lang.String)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withExtendedInfo(models.VaultJobExtendedInfo)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withDuration(java.time.Duration)` was removed
+* `withErrorDetails(java.util.List)` was removed
+* `validate()` was removed
+* `withActivityId(java.lang.String)` was removed
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withActionsInfo(java.util.List)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+
+#### `models.IlrRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSqlDatabaseWorkloadItem` was modified
+
+* `AzureVmWorkloadSqlDatabaseWorkloadItem()` was changed to private access
+* `withBackupManagementType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withSubWorkloadItemCount(java.lang.Integer)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadProtectableItem` was modified
+
+* `models.AzureVmWorkloadProtectableItem withParentUniqueName(java.lang.String)` -> `models.AzureVmWorkloadProtectableItem withParentUniqueName(java.lang.String)`
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `models.AzureVmWorkloadProtectableItem withPrebackupvalidation(models.PreBackupValidation)` -> `models.AzureVmWorkloadProtectableItem withPrebackupvalidation(models.PreBackupValidation)`
+* `models.AzureVmWorkloadProtectableItem withSubprotectableitemcount(java.lang.Integer)` -> `models.AzureVmWorkloadProtectableItem withSubprotectableitemcount(java.lang.Integer)`
+* `withWorkloadType(java.lang.String)` was removed
+* `validate()` was removed
+* `models.AzureVmWorkloadProtectableItem withIsAutoProtectable(java.lang.Boolean)` -> `models.AzureVmWorkloadProtectableItem withIsAutoProtectable(java.lang.Boolean)`
+* `models.AzureVmWorkloadProtectableItem withParentName(java.lang.String)` -> `models.AzureVmWorkloadProtectableItem withParentName(java.lang.String)`
+* `models.AzureVmWorkloadProtectableItem withIsAutoProtected(java.lang.Boolean)` -> `models.AzureVmWorkloadProtectableItem withIsAutoProtected(java.lang.Boolean)`
+* `models.AzureVmWorkloadProtectableItem withSubinquireditemcount(java.lang.Integer)` -> `models.AzureVmWorkloadProtectableItem withSubinquireditemcount(java.lang.Integer)`
+* `models.AzureVmWorkloadProtectableItem withServerName(java.lang.String)` -> `models.AzureVmWorkloadProtectableItem withServerName(java.lang.String)`
+* `models.AzureVmWorkloadProtectableItem withIsProtectable(java.lang.Boolean)` -> `models.AzureVmWorkloadProtectableItem withIsProtectable(java.lang.Boolean)`
+
+#### `models.SecuredVMDetails` was modified
+
+* `validate()` was removed
+
+#### `models.GenericContainer` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceProviders` was modified
+
+* `void bmsTriggerDataMove(java.lang.String,java.lang.String,models.TriggerDataMoveRequest)` -> `models.OkResponse bmsTriggerDataMove(java.lang.String,java.lang.String,models.TriggerDataMoveRequest)`
+* `void bmsPrepareDataMove(java.lang.String,java.lang.String,models.PrepareDataMoveRequest,com.azure.core.util.Context)` -> `models.OkResponse bmsPrepareDataMove(java.lang.String,java.lang.String,models.PrepareDataMoveRequest,com.azure.core.util.Context)`
+* `void bmsPrepareDataMove(java.lang.String,java.lang.String,models.PrepareDataMoveRequest)` -> `models.OkResponse bmsPrepareDataMove(java.lang.String,java.lang.String,models.PrepareDataMoveRequest)`
+* `void bmsTriggerDataMove(java.lang.String,java.lang.String,models.TriggerDataMoveRequest,com.azure.core.util.Context)` -> `models.OkResponse bmsTriggerDataMove(java.lang.String,java.lang.String,models.TriggerDataMoveRequest,com.azure.core.util.Context)`
+
+#### `models.AzureVMAppContainerProtectionContainer` was modified
+
+* `validate()` was removed
+
+#### `models.ClientDiscoveryDisplay` was modified
+
+* `ClientDiscoveryDisplay()` was changed to private access
+* `withOperation(java.lang.String)` was removed
+* `withDescription(java.lang.String)` was removed
+* `withProvider(java.lang.String)` was removed
+* `withResource(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.TieringCostRehydrationInfo` was modified
+
+* `TieringCostRehydrationInfo()` was changed to private access
+* `withRetailRehydrationCostPerGBPerMonth(double)` was removed
+* `withRehydrationSizeInBytes(long)` was removed
+* `validate()` was removed
+
+#### `models.IaasVMRecoveryPoint` was modified
+
+* `IaasVMRecoveryPoint()` was changed to private access
+* `withOsType(java.lang.String)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withRecoveryPointType(java.lang.String)` was removed
+* `withRecoveryPointDiskConfiguration(models.RecoveryPointDiskConfiguration)` was removed
+* `withIsInstantIlrSessionActive(java.lang.Boolean)` was removed
+* `withOriginalStorageAccountOption(java.lang.Boolean)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `validate()` was removed
+* `withRecoveryPointAdditionalInfo(java.lang.String)` was removed
+* `withSecurityType(java.lang.String)` was removed
+* `withSourceVMStorageType(java.lang.String)` was removed
+* `withIsSourceVMEncrypted(java.lang.Boolean)` was removed
+* `withIsPrivateAccessEnabledOnAnyDisk(java.lang.Boolean)` was removed
+* `withVirtualMachineSize(java.lang.String)` was removed
+* `withExtendedLocation(models.ExtendedLocation)` was removed
+* `withZones(java.util.List)` was removed
+* `withKeyAndSecret(models.KeyAndSecretDetails)` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withIsManagedVirtualMachine(java.lang.Boolean)` was removed
+* `withRecoveryPointTime(java.time.OffsetDateTime)` was removed
+
+#### `models.ClientDiscoveryForProperties` was modified
+
+* `ClientDiscoveryForProperties()` was changed to private access
+* `withServiceSpecification(models.ClientDiscoveryForServiceSpecification)` was removed
+* `validate()` was removed
+
+#### `models.IlrRequestResource` was modified
+
+* `withTags(java.util.Map)` was removed
+* `etag()` was removed
+* `validate()` was removed
+* `withEtag(java.lang.String)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.AzureVmWorkloadSapHanaDBInstanceProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.AzureBackupServerContainer` was modified
+
+* `validate()` was removed
+
+#### `models.AzureBackupServerEngine` was modified
+
+* `AzureBackupServerEngine()` was changed to private access
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withIsAzureBackupAgentUpgradeAvailable(java.lang.Boolean)` was removed
+* `withBackupEngineState(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withDpmVersion(java.lang.String)` was removed
+* `withHealthStatus(java.lang.String)` was removed
+* `withBackupEngineId(java.lang.String)` was removed
+* `withExtendedInfo(models.BackupEngineExtendedInfo)` was removed
+* `withCanReRegister(java.lang.Boolean)` was removed
+* `withAzureBackupAgentVersion(java.lang.String)` was removed
+* `withIsDpmUpgradeAvailable(java.lang.Boolean)` was removed
+* `withRegistrationStatus(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.DailySchedule` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSClassicComputeVMProtectableItem` was modified
+
+* `AzureIaaSClassicComputeVMProtectableItem()` was changed to private access
+* `withBackupManagementType(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withResourceGroup(java.lang.String)` was removed
+* `withVirtualMachineVersion(java.lang.String)` was removed
+* `validate()` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withVirtualMachineId(java.lang.String)` was removed
+
+#### `models.ExportJobsOperationResultInfo` was modified
+
+* `ExportJobsOperationResultInfo()` was changed to private access
+* `withBlobSasKey(java.lang.String)` was removed
+* `withExcelFileBlobSasKey(java.lang.String)` was removed
+* `validate()` was removed
+* `withBlobUrl(java.lang.String)` was removed
+* `withExcelFileBlobUrl(java.lang.String)` was removed
+
+#### `models.TieringPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.ValidateOperationRequestResource` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileShareRecoveryPoint` was modified
+
+* `AzureFileShareRecoveryPoint()` was changed to private access
+* `withRecoveryPointSizeInGB(java.lang.Integer)` was removed
+* `withRecoveryPointType(java.lang.String)` was removed
+* `withFileShareSnapshotUri(java.lang.String)` was removed
+* `validate()` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withRecoveryPointTime(java.time.OffsetDateTime)` was removed
+
+#### `models.OperationStatusJobExtendedInfo` was modified
+
+* `OperationStatusJobExtendedInfo()` was changed to private access
+* `validate()` was removed
+* `withJobId(java.lang.String)` was removed
+
+#### `models.ResourceList` was modified
+
+* `models.ResourceList withNextLink(java.lang.String)` -> `models.ResourceList withNextLink(java.lang.String)`
+* `validate()` was removed
+
+#### `models.AzureWorkloadBackupRequest` was modified
+
+* `validate()` was removed
+
+#### `models.WorkloadItemResource` was modified
+
+* `etag()` was removed
+
+#### `models.AzureWorkloadContainer` was modified
+
+* `validate()` was removed
+
+#### `models.ResourceGuardProxyBase` was modified
+
+* `validate()` was removed
+
+#### `models.FeatureSupportRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ValidateRestoreOperationRequest` was modified
+
+* `validate()` was removed
+
+#### `models.RecoveryPointTierInformation` was modified
+
+* `models.RecoveryPointTierInformation withStatus(models.RecoveryPointTierStatus)` -> `models.RecoveryPointTierInformation withStatus(models.RecoveryPointTierStatus)`
+* `validate()` was removed
+* `models.RecoveryPointTierInformation withType(models.RecoveryPointTierType)` -> `models.RecoveryPointTierInformation withType(models.RecoveryPointTierType)`
+* `models.RecoveryPointTierInformation withExtendedInfo(java.util.Map)` -> `models.RecoveryPointTierInformation withExtendedInfo(java.util.Map)`
+
+#### `models.AzureWorkloadAutoProtectionIntent` was modified
+
+* `validate()` was removed
+
+#### `models.FetchTieringCostInfoRequest` was modified
+
+* `validate()` was removed
+
+#### `models.Day` was modified
+
+* `validate()` was removed
+
+#### `models.DpmJob` was modified
+
+* `DpmJob()` was changed to private access
+* `withActivityId(java.lang.String)` was removed
+* `withErrorDetails(java.util.List)` was removed
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withExtendedInfo(models.DpmJobExtendedInfo)` was removed
+* `withOperation(java.lang.String)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withContainerType(java.lang.String)` was removed
+* `withContainerName(java.lang.String)` was removed
+* `validate()` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withActionsInfo(java.util.List)` was removed
+* `withDpmServerName(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withDuration(java.time.Duration)` was removed
+
+#### `models.AzureVMResourceFeatureSupportRequest` was modified
+
+* `validate()` was removed
+
+#### `models.BackupEngineExtendedInfo` was modified
+
+* `BackupEngineExtendedInfo()` was changed to private access
+* `withRefreshedAt(java.time.OffsetDateTime)` was removed
+* `withAzureProtectedInstances(java.lang.Integer)` was removed
+* `withProtectedItemsCount(java.lang.Integer)` was removed
+* `withProtectedServersCount(java.lang.Integer)` was removed
+* `withDiskCount(java.lang.Integer)` was removed
+* `withUsedDiskSpace(java.lang.Double)` was removed
+* `withAvailableDiskSpace(java.lang.Double)` was removed
+* `validate()` was removed
+* `withDatabaseName(java.lang.String)` was removed
+
+#### `models.AzureIaaSvmHealthDetails` was modified
+
+* `validate()` was removed
+
+#### `models.RecoveryPointTierStatus` was modified
+
+* `valueOf(java.lang.String)` was removed
+* `toString()` was removed
+* `models.RecoveryPointTierStatus[] values()` -> `java.util.Collection values()`
+
+#### `models.PrivateLinkServiceConnectionState` was modified
+
+* `validate()` was removed
+
+#### `models.SnapshotRestoreParameters` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSClassicComputeVMProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `RecoveryServicesBackupManager` was modified
+
+* `fluent.RecoveryServicesBackupClient serviceClient()` -> `fluent.RecoveryServicesBackupManagementClient serviceClient()`
+* `resourceGuardProxies()` was removed
+
+#### `models.GenericProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.VaultJobErrorInfo` was modified
+
+* `VaultJobErrorInfo()` was changed to private access
+* `withRecommendations(java.util.List)` was removed
+* `validate()` was removed
+* `withErrorCode(java.lang.Integer)` was removed
+* `withErrorString(java.lang.String)` was removed
+
+#### `models.AzureVmWorkloadProtectedItemExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapHanaRecoveryPoint` was modified
+
+* `AzureWorkloadSapHanaRecoveryPoint()` was changed to private access
+* `validate()` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withType(models.RestorePointType)` was removed
+
+#### `models.OperationStatusJobsExtendedInfo` was modified
+
+* `OperationStatusJobsExtendedInfo()` was changed to private access
+* `withFailedJobsError(java.util.Map)` was removed
+* `withJobIds(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.RecoveryPoint` was modified
+
+* `validate()` was removed
+
+#### `models.OperationStatusError` was modified
+
+* `OperationStatusError()` was changed to private access
+* `withMessage(java.lang.String)` was removed
+* `validate()` was removed
+* `withCode(java.lang.String)` was removed
+
+#### `models.PrivateEndpointConnection` was modified
+
+* `validate()` was removed
+
+#### `models.AzureBackupGoalFeatureSupportRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSqlDatabaseProtectableItem` was modified
+
+* `AzureVmWorkloadSqlDatabaseProtectableItem()` was changed to private access
+* `withServerName(java.lang.String)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `validate()` was removed
+
+#### `models.SimpleSchedulePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.SqlDataDirectoryMapping` was modified
+
+* `validate()` was removed
+
+#### `models.AzureVmWorkloadSapAseSystemProtectableItem` was modified
+
+* `AzureVmWorkloadSapAseSystemProtectableItem()` was changed to private access
+* `validate()` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withParentName(java.lang.String)` was removed
+* `withServerName(java.lang.String)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+
+#### `models.ClientScriptForConnect` was modified
+
+* `ClientScriptForConnect()` was changed to private access
+* `withUrl(java.lang.String)` was removed
+* `withScriptExtension(java.lang.String)` was removed
+* `withScriptNameSuffix(java.lang.String)` was removed
+* `withScriptContent(java.lang.String)` was removed
+* `withOsType(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.MabProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.SnapshotBackupAdditionalDetails` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileshareProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.AzureStorageJobExtendedInfo` was modified
+
+* `AzureStorageJobExtendedInfo()` was changed to private access
+* `withTasksList(java.util.List)` was removed
+* `withPropertyBag(java.util.Map)` was removed
+* `validate()` was removed
+* `withDynamicErrorMessage(java.lang.String)` was removed
+
+#### `models.Job` was modified
+
+* `models.Job withBackupManagementType(models.BackupManagementType)` -> `models.Job withBackupManagementType(models.BackupManagementType)`
+* `models.Job withStartTime(java.time.OffsetDateTime)` -> `models.Job withStartTime(java.time.OffsetDateTime)`
+* `models.Job withEndTime(java.time.OffsetDateTime)` -> `models.Job withEndTime(java.time.OffsetDateTime)`
+* `models.Job withStatus(java.lang.String)` -> `models.Job withStatus(java.lang.String)`
+* `models.Job withOperation(java.lang.String)` -> `models.Job withOperation(java.lang.String)`
+* `validate()` was removed
+* `models.Job withEntityFriendlyName(java.lang.String)` -> `models.Job withEntityFriendlyName(java.lang.String)`
+* `models.Job withActivityId(java.lang.String)` -> `models.Job withActivityId(java.lang.String)`
+
+#### `models.PreValidateEnableBackupRequest` was modified
+
+* `validate()` was removed
+
+#### `models.KpiResourceHealthDetails` was modified
+
+* `validate()` was removed
+
+#### `models.WeeklyRetentionFormat` was modified
+
+* `validate()` was removed
+
+#### `models.DistributedNodesInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadJobExtendedInfo` was modified
+
+* `AzureWorkloadJobExtendedInfo()` was changed to private access
+* `withPropertyBag(java.util.Map)` was removed
+* `withDynamicErrorMessage(java.lang.String)` was removed
+* `withTasksList(java.util.List)` was removed
+* `validate()` was removed
+
+#### `models.AzureRecoveryServiceVaultProtectionIntent` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileshareProtectedItemExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureFileShareProtectionPolicy` was modified
+
+* `validate()` was removed
+
+#### `models.DiskExclusionProperties` was modified
+
+* `validate()` was removed
+
+#### `models.FetchTieringCostSavingsInfoForProtectedItemRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureSqlProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+* `validate()` was removed
+
+#### `models.BackupRequestResource` was modified
+
+* `withEtag(java.lang.String)` was removed
+* `validate()` was removed
+* `etag()` was removed
+* `withTags(java.util.Map)` was removed
+* `withLocation(java.lang.String)` was removed
+
+#### `models.AzureIaaSvmProtectedItemExtendedInfo` was modified
+
+* `validate()` was removed
+
+#### `models.OperationResultInfo` was modified
+
+* `OperationResultInfo()` was changed to private access
+* `validate()` was removed
+* `withJobList(java.util.List)` was removed
+
+#### `models.ClientDiscoveryForLogSpecification` was modified
+
+* `ClientDiscoveryForLogSpecification()` was changed to private access
+* `withBlobDuration(java.lang.String)` was removed
+* `withDisplayName(java.lang.String)` was removed
+* `withName(java.lang.String)` was removed
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapHanaRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.LogSchedulePolicy` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSqlPointInTimeRestoreWithRehydrateRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ExtendedLocation` was modified
+
+* `validate()` was removed
+
+#### `models.DiskInformation` was modified
+
+* `DiskInformation()` was changed to private access
+* `withName(java.lang.String)` was removed
+* `validate()` was removed
+* `withLun(java.lang.Integer)` was removed
+
+#### `models.AzureWorkloadPointInTimeRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSqlRestoreRequest` was modified
+
+* `validate()` was removed
+
+#### `models.AzureWorkloadSapAseRecoveryPoint` was modified
+
+* `AzureWorkloadSapAseRecoveryPoint()` was changed to private access
+* `withRecoveryPointProperties(models.RecoveryPointProperties)` was removed
+* `withRecoveryPointTierDetails(java.util.List)` was removed
+* `withType(models.RestorePointType)` was removed
+* `validate()` was removed
+* `withRecoveryPointMoveReadinessInfo(java.util.Map)` was removed
+* `withRecoveryPointTimeInUtc(java.time.OffsetDateTime)` was removed
+
+#### `models.BekDetails` was modified
+
+* `BekDetails()` was changed to private access
+* `withSecretUrl(java.lang.String)` was removed
+* `withSecretData(java.lang.String)` was removed
+* `validate()` was removed
+* `withSecretVaultId(java.lang.String)` was removed
+
+#### `models.AzureIaaSvmJobV2` was modified
+
+* `AzureIaaSvmJobV2()` was changed to private access
+* `withVirtualMachineVersion(java.lang.String)` was removed
+* `withActivityId(java.lang.String)` was removed
+* `withContainerName(java.lang.String)` was removed
+* `withEntityFriendlyName(java.lang.String)` was removed
+* `withOperation(java.lang.String)` was removed
+* `withExtendedInfo(models.AzureIaaSvmJobExtendedInfo)` was removed
+* `withEndTime(java.time.OffsetDateTime)` was removed
+* `withBackupManagementType(models.BackupManagementType)` was removed
+* `validate()` was removed
+* `withErrorDetails(java.util.List)` was removed
+* `withStartTime(java.time.OffsetDateTime)` was removed
+* `withStatus(java.lang.String)` was removed
+* `withActionsInfo(java.util.List)` was removed
+* `withDuration(java.time.Duration)` was removed
+
+#### `models.PrepareDataMoveResponse` was modified
+
+* `PrepareDataMoveResponse()` was changed to private access
+* `withCorrelationId(java.lang.String)` was removed
+* `withSourceVaultProperties(java.util.Map)` was removed
+* `validate()` was removed
+
+#### `models.AzureStorageContainer` was modified
+
+* `validate()` was removed
+
+#### `models.TieringCostSavingInfo` was modified
+
+* `TieringCostSavingInfo()` was changed to private access
+* `withSourceTierSizeReductionInBytes(long)` was removed
+* `withRetailSourceTierCostPerGBPerMonth(double)` was removed
+* `withTargetTierSizeIncreaseInBytes(long)` was removed
+* `validate()` was removed
+* `withRetailTargetTierCostPerGBPerMonth(double)` was removed
+
+#### `models.FetchTieringCostSavingsInfoForPolicyRequest` was modified
+
+* `validate()` was removed
+
+#### `models.ProtectableContainerResource` was modified
+
+* `etag()` was removed
+
+#### `models.MabContainerHealthDetails` was modified
+
+* `validate()` was removed
+
+#### `models.TargetAfsRestoreInfo` was modified
+
+* `validate()` was removed
+
+#### `models.AzureIaaSComputeVMContainer` was modified
+
+* `validate()` was removed
+
+#### `models.DpmContainer` was modified
+
+* `validate()` was removed
+
+#### `models.BackupResourceConfig` was modified
+
+* `validate()` was removed
+
+#### `models.DpmProtectedItem` was modified
+
+* `validate()` was removed
+* `withSoftDeleteRetentionPeriod(java.lang.Integer)` was removed
+
+#### `models.AzureVmWorkloadSapHanaDatabaseProtectableItem` was modified
+
+* `AzureVmWorkloadSapHanaDatabaseProtectableItem()` was changed to private access
+* `withServerName(java.lang.String)` was removed
+* `withSubprotectableitemcount(java.lang.Integer)` was removed
+* `withFriendlyName(java.lang.String)` was removed
+* `withProtectionState(models.ProtectionStatus)` was removed
+* `withParentName(java.lang.String)` was removed
+* `validate()` was removed
+* `withIsAutoProtectable(java.lang.Boolean)` was removed
+* `withIsProtectable(java.lang.Boolean)` was removed
+* `withSubinquireditemcount(java.lang.Integer)` was removed
+* `withIsAutoProtected(java.lang.Boolean)` was removed
+* `withWorkloadType(java.lang.String)` was removed
+* `withParentUniqueName(java.lang.String)` was removed
+* `withBackupManagementType(java.lang.String)` was removed
+* `withPrebackupvalidation(models.PreBackupValidation)` was removed
### Features Added
-### Breaking Changes
+* `models.DatabaseInRP` was added
+
+* `models.ThreatInfo` was added
+
+* `models.IaasVmProtectableItem` was added
+
+* `models.InstanceProtectionReadiness` was added
+
+* `models.SourceSideScanSummary` was added
+
+* `models.OkResponse` was added
+
+* `models.VMWorkloadPolicyType` was added
+
+* `models.ProtectionLevel` was added
+
+* `models.AzureVmWorkloadSAPHanaScaleoutProtectableItem` was added
+
+* `models.ThreatStatus` was added
+
+* `models.ThreatSeverity` was added
-### Bugs Fixed
+* `models.SourceSideScanStatus` was added
-### Other Changes
+* `models.SourceSideScanInfo` was added
+
+* `models.UpdateRecoveryPointRequest` was added
+
+* `models.ThreatState` was added
+
+* `models.PatchRecoveryPointPropertiesInput` was added
+
+* `models.AzureVmWorkloadSQLInstanceProtectedItem` was added
+
+* `models.PatchRecoveryPointInput` was added
+
+#### `models.AzureIaaSComputeVMProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.MabFileFolderProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.RecoveryPoints` was modified
+
+* `updateWithResponse(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.UpdateRecoveryPointRequest,com.azure.core.util.Context)` was added
+* `update(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,models.UpdateRecoveryPointRequest)` was added
+
+#### `models.AzureVmWorkloadSapHanaDatabaseProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+
+#### `models.BackupResourceVaultConfigResource` was modified
+
+* `systemData()` was added
+
+#### `models.AzureVmWorkloadSapAseDatabaseProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.BackupEngineBaseResource` was modified
+
+* `systemData()` was added
+
+#### `models.BackupResourceEncryptionConfigExtendedResource` was modified
+
+* `systemData()` was added
+
+#### `models.ProtectedItemResource` was modified
+
+* `systemData()` was added
+
+#### `models.AzureIaaSvmProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.WorkloadProtectableItemResource` was modified
+
+* `systemData()` was added
+* `eTag()` was added
+
+#### `models.RecoveryPointResource` was modified
+
+* `systemData()` was added
+
+#### `models.PrivateEndpointConnectionResource` was modified
+
+* `systemData()` was added
+
+#### `models.RestoreRequestResource` was modified
+
+* `systemData()` was added
+* `withETag(java.lang.String)` was added
+* `location()` was added
+* `eTag()` was added
+* `tags()` was added
+
+#### `models.AzureVmWorkloadSqlDatabaseProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `protectionLevel()` was added
+* `withParentProtectedItem(java.lang.String)` was added
+* `parentProtectedItem()` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+* `withProtectionLevel(models.ProtectionLevel)` was added
+
+#### `models.AzureVmWorkloadProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+
+#### `models.ResourceGuardProxyBaseResource` was modified
+
+* `systemData()` was added
+
+#### `models.AzureVmWorkloadProtectionPolicy` was modified
+
+* `vmWorkloadPolicyType()` was added
+* `withVmWorkloadPolicyType(models.VMWorkloadPolicyType)` was added
+
+#### `models.ProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `softDeleteRetentionPeriodInDays()` was added
+* `sourceSideScanInfo()` was added
+
+#### `models.RecoveryPointTierInformationV2` was modified
+
+* `extendedInfo()` was added
+* `status()` was added
+* `type()` was added
+
+#### `models.BackupResourceEncryptionConfigResource` was modified
+
+* `systemData()` was added
+* `location()` was added
+* `tags()` was added
+
+#### `models.AzureWorkloadSqlRecoveryPointExtendedInfo` was modified
+
+* `includedDatabases()` was added
+
+#### `models.IlrRequestResource` was modified
+
+* `location()` was added
+* `eTag()` was added
+* `systemData()` was added
+* `withETag(java.lang.String)` was added
+* `tags()` was added
+
+#### `models.AzureVmWorkloadSapHanaDBInstanceProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.WorkloadItemResource` was modified
+
+* `systemData()` was added
+* `eTag()` was added
+
+#### `models.RecoveryPointTierStatus` was modified
+
+* `RecoveryPointTierStatus()` was added
+
+#### `models.AzureIaaSClassicComputeVMProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+
+#### `models.GenericProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.RecoveryPoint` was modified
+
+* `threatStatus()` was added
+* `threatInfo()` was added
+
+#### `models.JobResource` was modified
+
+* `systemData()` was added
+
+#### `models.AzureFileshareProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+
+#### `models.ProtectionIntentResource` was modified
+
+* `systemData()` was added
+
+#### `models.ProtectionContainerResource` was modified
+
+* `systemData()` was added
+
+#### `models.AzureSqlProtectedItem` was modified
+
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+
+#### `models.BackupRequestResource` was modified
+
+* `withETag(java.lang.String)` was added
+* `eTag()` was added
+* `tags()` was added
+* `location()` was added
+* `systemData()` was added
+
+#### `models.BackupResourceConfigResource` was modified
+
+* `systemData()` was added
+
+#### `models.ProtectionPolicyResource` was modified
+
+* `systemData()` was added
+
+#### `models.ProtectableContainerResource` was modified
+
+* `eTag()` was added
+* `systemData()` was added
+
+#### `models.ResourceGuardProxyOperations` was modified
+
+* `list(java.lang.String,java.lang.String)` was added
+* `list(java.lang.String,java.lang.String,com.azure.core.util.Context)` was added
+
+#### `models.DpmProtectedItem` was modified
+
+* `withSourceSideScanInfo(models.SourceSideScanInfo)` was added
+* `withSoftDeleteRetentionPeriodInDays(java.lang.Integer)` was added
## 1.6.0 (2025-04-17)
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/README.md b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/README.md
index 0610a5b0e93c..a85cbdf888ed 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/README.md
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/README.md
@@ -1,8 +1,8 @@
-# Azure Resource Manager RecoveryServicesBackup client library for Java
+# Azure Resource Manager Recovery Services Backup client library for Java
-Azure Resource Manager RecoveryServicesBackup client library for Java.
+Azure Resource Manager Recovery Services Backup client library for Java.
-This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2025-02-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for Recovery Services Backup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package api-version 2026-01-01-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-recoveryservicesbackup
- 1.6.0
+ 1.7.0-beta.1
```
[//]: # ({x-version-update-end})
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/SAMPLE.md b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/SAMPLE.md
index 67a939f482bb..230baadb47e3 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/SAMPLE.md
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/SAMPLE.md
@@ -193,22 +193,12 @@
- [Get](#recoverypoints_get)
- [List](#recoverypoints_list)
+- [Update](#recoverypoints_update)
## RecoveryPointsRecommendedForMove
- [List](#recoverypointsrecommendedformove_list)
-## ResourceGuardProxies
-
-- [Get](#resourceguardproxies_get)
-
-## ResourceGuardProxyOperation
-
-- [Delete](#resourceguardproxyoperation_delete)
-- [Get](#resourceguardproxyoperation_get)
-- [Put](#resourceguardproxyoperation_put)
-- [UnlockDelete](#resourceguardproxyoperation_unlockdelete)
-
## ResourceProvider
- [BmsPrepareDataMove](#resourceprovider_bmspreparedatamove)
@@ -247,9 +237,7 @@
*/
public final class BackupEnginesGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/Dpm/
- * BackupEngines_Get.json
+ * x-ms-original-file: 2026-01-01-preview/Dpm/BackupEngines_Get.json
*/
/**
* Sample code: Get Dpm/AzureBackupServer/Lajolla Backup Engine Details.
@@ -272,9 +260,7 @@ public final class BackupEnginesGetSamples {
*/
public final class BackupEnginesListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/Dpm/
- * BackupEngines_List.json
+ * x-ms-original-file: 2026-01-01-preview/Dpm/BackupEngines_List.json
*/
/**
* Sample code: List Dpm/AzureBackupServer/Lajolla Backup Engines.
@@ -296,9 +282,7 @@ public final class BackupEnginesListSamples {
*/
public final class BackupJobsListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ListJobs.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ListJobs.json
*/
/**
* Sample code: List All Jobs.
@@ -311,9 +295,7 @@ public final class BackupJobsListSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ListJobsWithAllSupportedFilters.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ListJobsWithAllSupportedFilters.json
*/
/**
* Sample code: List Jobs With Filters.
@@ -329,9 +311,7 @@ public final class BackupJobsListSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ListJobsWithStartTimeAndEndTimeFilters.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ListJobsWithStartTimeAndEndTimeFilters.json
*/
/**
* Sample code: List Jobs With Time Filter.
@@ -356,9 +336,7 @@ public final class BackupJobsListSamples {
*/
public final class BackupOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ProtectedItem_Delete_OperationResult.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ProtectedItem_Delete_OperationResult.json
*/
/**
* Sample code: Get Result for Protected Item Delete Operation.
@@ -382,9 +360,7 @@ public final class BackupOperationResultsGetSamples {
*/
public final class BackupOperationStatusesGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ProtectedItem_Delete_OperationStatus.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ProtectedItem_Delete_OperationStatus.json
*/
/**
* Sample code: Get Protected Item Delete Operation Status.
@@ -408,9 +384,7 @@ public final class BackupOperationStatusesGetSamples {
*/
public final class BackupPoliciesListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/BackupPolicies_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/BackupPolicies_List.json
*/
/**
* Sample code: List protection policies with backupManagementType filter as AzureWorkload.
@@ -425,9 +399,7 @@ public final class BackupPoliciesListSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/V2Policy/v2-List-Policies.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/V2Policy/v2-List-Policies.json
*/
/**
* Sample code: List protection policies with backupManagementType filter as AzureIaasVm with both V1 and V2
@@ -443,9 +415,7 @@ public final class BackupPoliciesListSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/BackupPolicies_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/BackupPolicies_List.json
*/
/**
* Sample code: List protection policies with backupManagementType filter as AzureIaasVm.
@@ -469,9 +439,7 @@ public final class BackupPoliciesListSamples {
*/
public final class BackupProtectableItemsListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/BackupProtectableItems_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/BackupProtectableItems_List.json
*/
/**
* Sample code: List protectable items with backupManagementType filter as AzureIaasVm.
@@ -495,9 +463,7 @@ public final class BackupProtectableItemsListSamples {
*/
public final class BackupProtectedItemsListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/BackupProtectedItems_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/BackupProtectedItems_List.json
*/
/**
* Sample code: List protected items with backupManagementType filter as AzureIaasVm.
@@ -521,9 +487,7 @@ public final class BackupProtectedItemsListSamples {
*/
public final class BackupProtectionContainersListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionContainers_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionContainers_List.json
*/
/**
* Sample code: List Backup Protection Containers.
@@ -546,9 +510,7 @@ public final class BackupProtectionContainersListSamples {
*/
public final class BackupProtectionIntentListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/BackupProtectionIntent_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/BackupProtectionIntent_List.json
*/
/**
* Sample code: List protection intent with backupManagementType filter.
@@ -570,9 +532,7 @@ public final class BackupProtectionIntentListSamples {
*/
public final class BackupResourceEncryptionConfigsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * BackupResourceEncryptionConfig_Get.json
+ * x-ms-original-file: 2026-01-01-preview/BackupResourceEncryptionConfig_Get.json
*/
/**
* Sample code: Get Vault Encryption Configuration.
@@ -600,9 +560,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.InfrastructureEnc
*/
public final class BackupResourceEncryptionConfigsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * BackupResourceEncryptionConfig_Put.json
+ * x-ms-original-file: 2026-01-01-preview/BackupResourceEncryptionConfig_Put.json
*/
/**
* Sample code: Update Vault Encryption Configuration.
@@ -631,9 +589,7 @@ public final class BackupResourceEncryptionConfigsUpdateSamples {
*/
public final class BackupResourceStorageConfigsNonCrrGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupStorageConfig_Get.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupStorageConfig_Get.json
*/
/**
* Sample code: Get Vault Storage Configuration.
@@ -661,9 +617,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.StorageTypeState;
*/
public final class BackupResourceStorageConfigsNonCrrPatchSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupStorageConfig_Patch.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupStorageConfig_Patch.json
*/
/**
* Sample code: Update Vault Storage Configuration.
@@ -695,9 +649,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.StorageTypeState;
*/
public final class BackupResourceStorageConfigsNonCrrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupStorageConfig_Put.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupStorageConfig_Put.json
*/
/**
* Sample code: Update Vault Storage Configuration.
@@ -724,9 +676,7 @@ public final class BackupResourceStorageConfigsNonCrrUpdateSamples {
*/
public final class BackupResourceVaultConfigsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupResourceVaultConfigs_Get.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupResourceVaultConfigs_Get.json
*/
/**
* Sample code: Get Vault Security Config.
@@ -754,9 +704,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.SoftDeleteFeature
*/
public final class BackupResourceVaultConfigsPutSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupResourceVaultConfigs_Put.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupResourceVaultConfigs_Put.json
*/
/**
* Sample code: Update Vault Security Config.
@@ -787,9 +735,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.EnhancedSecurityS
*/
public final class BackupResourceVaultConfigsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupResourceVaultConfigs_Patch.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupResourceVaultConfigs_Patch.json
*/
/**
* Sample code: Update Vault Security Config.
@@ -818,9 +764,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.DataSourceType;
*/
public final class BackupStatusGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/GetBackupStatus.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/GetBackupStatus.json
*/
/**
* Sample code: Get Azure Virtual Machine Backup Status.
@@ -846,9 +790,7 @@ public final class BackupStatusGetSamples {
*/
public final class BackupUsageSummariesListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupProtectedItem_UsageSummary_Get.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupProtectedItem_UsageSummary_Get.json
*/
/**
* Sample code: Get Protected Items Usages Summary.
@@ -863,9 +805,7 @@ public final class BackupUsageSummariesListSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupProtectionContainers_UsageSummary_Get.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupProtectionContainers_UsageSummary_Get.json
*/
/**
* Sample code: Get Protected Containers Usages Summary.
@@ -889,9 +829,7 @@ public final class BackupUsageSummariesListSamples {
*/
public final class BackupWorkloadItemsListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/BackupWorkloadItems_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/BackupWorkloadItems_List.json
*/
/**
* Sample code: List Workload Items in Container.
@@ -918,9 +856,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.IaasVMBackupReque
*/
public final class BackupsTriggerSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/TriggerBackup_Post.json
+ * x-ms-original-file: 2026-01-01-preview/Common/TriggerBackup_Post.json
*/
/**
* Sample code: Trigger Backup.
@@ -946,9 +882,7 @@ public final class BackupsTriggerSamples {
*/
public final class BmsPrepareDataMoveOperationResultGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * BackupDataMove/PrepareDataMoveOperationResult_Get.json
+ * x-ms-original-file: 2026-01-01-preview/BackupDataMove/PrepareDataMoveOperationResult_Get.json
*/
/**
* Sample code: Get operation result for PrepareDataMove.
@@ -972,9 +906,7 @@ public final class BmsPrepareDataMoveOperationResultGetSamples {
*/
public final class DeletedProtectionContainersListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/SoftDeletedContainers_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/SoftDeletedContainers_List.json
*/
/**
* Sample code: List Backup Protection Containers.
@@ -997,9 +929,7 @@ public final class DeletedProtectionContainersListSamples {
*/
public final class ExportJobsOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ExportJobsOperationResult.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ExportJobsOperationResult.json
*/
/**
* Sample code: Export Jobs Operation Results.
@@ -1025,9 +955,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.AzureVMResourceFe
*/
public final class FeatureSupportValidateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/BackupFeature_Validate.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/BackupFeature_Validate.json
*/
/**
* Sample code: Check Azure Vm Backup Feature Support.
@@ -1059,9 +987,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.RehydrationPriori
*/
public final class FetchTieringCostPostSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TieringCost/FetchTieringCostForRehydrate.json
+ * x-ms-original-file: 2026-01-01-preview/TieringCost/FetchTieringCostForRehydrate.json
*/
/**
* Sample code: Get the rehydration cost for recovery point.
@@ -1082,9 +1008,7 @@ public final class FetchTieringCostPostSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TieringCost/FetchTieringCostForProtectedItem.json
+ * x-ms-original-file: 2026-01-01-preview/TieringCost/FetchTieringCostForProtectedItem.json
*/
/**
* Sample code: Get the tiering savings cost info for protected item.
@@ -1104,9 +1028,7 @@ public final class FetchTieringCostPostSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TieringCost/FetchTieringCostForPolicy.json
+ * x-ms-original-file: 2026-01-01-preview/TieringCost/FetchTieringCostForPolicy.json
*/
/**
* Sample code: Get the tiering savings cost info for policy.
@@ -1124,9 +1046,7 @@ public final class FetchTieringCostPostSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TieringCost/FetchTieringCostForVault.json
+ * x-ms-original-file: 2026-01-01-preview/TieringCost/FetchTieringCostForVault.json
*/
/**
* Sample code: Get the tiering savings cost info for vault.
@@ -1152,9 +1072,7 @@ public final class FetchTieringCostPostSamples {
*/
public final class GetTieringCostOperationResultGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TieringCost/GetTieringCostOperationResult.json
+ * x-ms-original-file: 2026-01-01-preview/TieringCost/GetTieringCostOperationResult.json
*/
/**
* Sample code: Fetch Tiering Cost Operation Result.
@@ -1181,9 +1099,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.IlrRequestResourc
*/
public final class ItemLevelRecoveryConnectionsProvisionSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/Provision_Ilr.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/Provision_Ilr.json
*/
/**
* Sample code: Provision Instant Item Level Recovery for Azure Vm.
@@ -1215,9 +1131,7 @@ public final class ItemLevelRecoveryConnectionsProvisionSamples {
*/
public final class ItemLevelRecoveryConnectionsRevokeSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/Revoke_Ilr.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/Revoke_Ilr.json
*/
/**
* Sample code: Revoke Instant Item Level Recovery for Azure Vm.
@@ -1242,9 +1156,7 @@ public final class ItemLevelRecoveryConnectionsRevokeSamples {
*/
public final class JobCancellationsTriggerSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/TriggerCancelJob.json
+ * x-ms-original-file: 2026-01-01-preview/Common/TriggerCancelJob.json
*/
/**
* Sample code: Cancel Job.
@@ -1268,9 +1180,7 @@ public final class JobCancellationsTriggerSamples {
*/
public final class JobDetailsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/GetJobDetails.json
+ * x-ms-original-file: 2026-01-01-preview/Common/GetJobDetails.json
*/
/**
* Sample code: Get Job Details.
@@ -1294,9 +1204,7 @@ public final class JobDetailsGetSamples {
*/
public final class JobOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/CancelJobOperationResult.json
+ * x-ms-original-file: 2026-01-01-preview/Common/CancelJobOperationResult.json
*/
/**
* Sample code: Cancel Job Operation Result.
@@ -1320,9 +1228,7 @@ public final class JobOperationResultsGetSamples {
*/
public final class JobsExportSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/TriggerExportJobs.json
+ * x-ms-original-file: 2026-01-01-preview/Common/TriggerExportJobs.json
*/
/**
* Sample code: Export Jobs.
@@ -1352,9 +1258,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperation
*/
public final class OperationOperationValidateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ValidateOperation_RestoreDisk.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ValidateOperation_RestoreDisk.json
*/
/**
* Sample code: Validate Operation.
@@ -1384,9 +1288,7 @@ public final class OperationOperationValidateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ValidateOperation_RestoreDisk_IdentityBasedRestoreDetails.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ValidateOperation_RestoreDisk_IdentityBasedRestoreDetails.json
*/
/**
* Sample code: Validate Operation with identityBasedRestoreDetails.
@@ -1425,9 +1327,7 @@ public final class OperationOperationValidateSamples {
*/
public final class OperationsListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * ListOperations.json
+ * x-ms-original-file: 2026-01-01-preview/ListOperations.json
*/
/**
* Sample code: ListOperations.
@@ -1449,9 +1349,7 @@ public final class OperationsListSamples {
*/
public final class PrivateEndpointGetOperationStatusSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * PrivateEndpointConnection/GetPrivateEndpointConnectionOperationStatus.json
+ * x-ms-original-file: 2026-01-01-preview/PrivateEndpointConnection/GetPrivateEndpointConnectionOperationStatus.json
*/
/**
* Sample code: Get OperationStatus.
@@ -1476,9 +1374,7 @@ public final class PrivateEndpointGetOperationStatusSamples {
*/
public final class PrivateEndpointConnectionDeleteSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * PrivateEndpointConnection/DeletePrivateEndpointConnection.json
+ * x-ms-original-file: 2026-01-01-preview/PrivateEndpointConnection/DeletePrivateEndpointConnection.json
*/
/**
* Sample code: Delete PrivateEndpointConnection.
@@ -1502,9 +1398,7 @@ public final class PrivateEndpointConnectionDeleteSamples {
*/
public final class PrivateEndpointConnectionGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * PrivateEndpointConnection/GetPrivateEndpointConnection.json
+ * x-ms-original-file: 2026-01-01-preview/PrivateEndpointConnection/GetPrivateEndpointConnection.json
*/
/**
* Sample code: Get PrivateEndpointConnection.
@@ -1537,9 +1431,7 @@ import java.util.Arrays;
*/
public final class PrivateEndpointConnectionPutSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * PrivateEndpointConnection/PutPrivateEndpointConnection.json
+ * x-ms-original-file: 2026-01-01-preview/PrivateEndpointConnection/PutPrivateEndpointConnection.json
*/
/**
* Sample code: Update PrivateEndpointConnection.
@@ -1573,9 +1465,7 @@ public final class PrivateEndpointConnectionPutSamples {
*/
public final class ProtectableContainersListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectableContainers_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectableContainers_List.json
*/
/**
* Sample code: List protectable items with backupManagementType filter as AzureStorage.
@@ -1600,9 +1490,7 @@ public final class ProtectableContainersListSamples {
*/
public final class ProtectedItemOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectedItemOperationResults.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectedItemOperationResults.json
*/
/**
* Sample code: Get Operation Results of Protected Vm.
@@ -1628,9 +1516,7 @@ public final class ProtectedItemOperationResultsGetSamples {
*/
public final class ProtectedItemOperationStatusesGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectedItemOperationStatus.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectedItemOperationStatus.json
*/
/**
* Sample code: Get Operation Status of Protected Vm.
@@ -1659,9 +1545,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionState;
*/
public final class ProtectedItemsCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/StopProtection.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/StopProtection.json
*/
/**
* Sample code: Stop Protection with retain data on Azure IaasVm.
@@ -1672,7 +1556,6 @@ public final class ProtectedItemsCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectedItems()
.define("VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1")
- .withRegion((String) null)
.withExistingProtectionContainer("NetSDKTestRsVault", "SwaggerTestRg", "Azure",
"IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1")
.withProperties(new AzureIaaSComputeVMProtectedItem().withSourceResourceId(
@@ -1682,9 +1565,7 @@ public final class ProtectedItemsCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ConfigureProtection.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ConfigureProtection.json
*/
/**
* Sample code: Enable Protection on Azure IaasVm.
@@ -1695,7 +1576,6 @@ public final class ProtectedItemsCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectedItems()
.define("VM;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1")
- .withRegion((String) null)
.withExistingProtectionContainer("NetSDKTestRsVault", "SwaggerTestRg", "Azure",
"IaasVMContainer;iaasvmcontainerv2;netsdktestrg;netvmtestv2vm1")
.withProperties(new AzureIaaSComputeVMProtectedItem().withSourceResourceId(
@@ -1715,9 +1595,7 @@ public final class ProtectedItemsCreateOrUpdateSamples {
*/
public final class ProtectedItemsDeleteSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/ProtectedItem_Delete.json
+ * x-ms-original-file: 2026-01-01-preview/Common/ProtectedItem_Delete.json
*/
/**
* Sample code: Delete Protection from Azure Virtual Machine.
@@ -1742,9 +1620,7 @@ public final class ProtectedItemsDeleteSamples {
*/
public final class ProtectedItemsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ClassicCompute_ProtectedItem_Get.json
*/
/**
* Sample code: Get Protected Classic Virtual Machine Details.
@@ -1760,9 +1636,7 @@ public final class ProtectedItemsGetSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/Compute_ProtectedItem_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/Compute_ProtectedItem_Get.json
*/
/**
* Sample code: Get Protected Virtual Machine Details.
@@ -1787,9 +1661,7 @@ public final class ProtectedItemsGetSamples {
*/
public final class ProtectionContainerOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionContainers_Inquire_Result.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionContainers_Inquire_Result.json
*/
/**
* Sample code: Get Azure Storage Protection Container Operation Result.
@@ -1813,9 +1685,7 @@ public final class ProtectionContainerOperationResultsGetSamples {
*/
public final class ProtectionContainerRefreshOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/RefreshContainers_OperationResults.json
+ * x-ms-original-file: 2026-01-01-preview/Common/RefreshContainers_OperationResults.json
*/
/**
* Sample code: Azure Vm Discovery Operation Result.
@@ -1839,9 +1709,7 @@ public final class ProtectionContainerRefreshOperationResultsGetSamples {
*/
public final class ProtectionContainersGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/ProtectionContainers_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/ProtectionContainers_Get.json
*/
/**
* Sample code: Get Protection Container Details.
@@ -1865,9 +1733,7 @@ public final class ProtectionContainersGetSamples {
*/
public final class ProtectionContainersInquireSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionContainers_Inquire.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionContainers_Inquire.json
*/
/**
* Sample code: Inquire Azure Storage Protection Containers.
@@ -1891,9 +1757,7 @@ public final class ProtectionContainersInquireSamples {
*/
public final class ProtectionContainersRefreshSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/RefreshContainers.json
+ * x-ms-original-file: 2026-01-01-preview/Common/RefreshContainers.json
*/
/**
* Sample code: Trigger Azure Vm Discovery.
@@ -1920,9 +1784,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.BackupManagementT
*/
public final class ProtectionContainersRegisterSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionContainers_Register.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionContainers_Register.json
*/
/**
* Sample code: RegisterAzure Storage ProtectionContainers.
@@ -1933,7 +1795,6 @@ public final class ProtectionContainersRegisterSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionContainers()
.define("StorageContainer;Storage;SwaggerTestRg;swaggertestsa")
- .withRegion((String) null)
.withExistingBackupFabric("swaggertestvault", "SwaggerTestRg", "Azure")
.withProperties(new AzureStorageContainer().withFriendlyName("swaggertestsa")
.withBackupManagementType(BackupManagementType.AZURE_STORAGE)
@@ -1953,9 +1814,7 @@ public final class ProtectionContainersRegisterSamples {
*/
public final class ProtectionContainersUnregisterSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/ProtectionContainers_Unregister.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/ProtectionContainers_Unregister.json
*/
/**
* Sample code: Unregister Protection Container.
@@ -1981,9 +1840,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.AzureResourceProt
*/
public final class ProtectionIntentCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionIntent_CreateOrUpdate.json
*/
/**
* Sample code: Create or Update Azure Vm Protection Intent.
@@ -1994,7 +1851,6 @@ public final class ProtectionIntentCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionIntents()
.define("vm;iaasvmcontainerv2;chamsrgtest;chamscandel")
- .withRegion((String) null)
.withExistingBackupFabric("myVault", "myRG", "Azure")
.withProperties(new AzureResourceProtectionIntent().withSourceResourceId(
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/chamsrgtest/providers/Microsoft.Compute/virtualMachines/chamscandel")
@@ -2013,9 +1869,7 @@ public final class ProtectionIntentCreateOrUpdateSamples {
*/
public final class ProtectionIntentDeleteSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/BackupProtectionIntent_Delete.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/BackupProtectionIntent_Delete.json
*/
/**
* Sample code: Delete Protection intent from item.
@@ -2039,9 +1893,7 @@ public final class ProtectionIntentDeleteSamples {
*/
public final class ProtectionIntentGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/BackupProtectionIntent_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/BackupProtectionIntent_Get.json
*/
/**
* Sample code: Get ProtectionIntent for an item.
@@ -2068,9 +1920,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.PreValidateEnable
*/
public final class ProtectionIntentValidateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionIntent_Validate.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionIntent_Validate.json
*/
/**
* Sample code: Validate Enable Protection on Azure Vm.
@@ -2116,7 +1966,11 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.Settings;
import com.azure.resourcemanager.recoveryservicesbackup.models.SimpleRetentionPolicy;
import com.azure.resourcemanager.recoveryservicesbackup.models.SimpleSchedulePolicy;
import com.azure.resourcemanager.recoveryservicesbackup.models.SimpleSchedulePolicyV2;
+import com.azure.resourcemanager.recoveryservicesbackup.models.SnapshotBackupAdditionalDetails;
import com.azure.resourcemanager.recoveryservicesbackup.models.SubProtectionPolicy;
+import com.azure.resourcemanager.recoveryservicesbackup.models.UserAssignedIdentityProperties;
+import com.azure.resourcemanager.recoveryservicesbackup.models.UserAssignedManagedIdentityDetails;
+import com.azure.resourcemanager.recoveryservicesbackup.models.VMWorkloadPolicyType;
import com.azure.resourcemanager.recoveryservicesbackup.models.VaultRetentionPolicy;
import com.azure.resourcemanager.recoveryservicesbackup.models.WeekOfMonth;
import com.azure.resourcemanager.recoveryservicesbackup.models.WeeklyRetentionFormat;
@@ -2131,9 +1985,31 @@ import java.util.Arrays;
*/
public final class ProtectionPoliciesCreateOrUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
+ */
+ /**
+ * Sample code: Create or Update Simple Azure Vm Protection Policy.
+ *
+ * @param manager Entry point to RecoveryServicesBackupManager.
+ */
+ public static void createOrUpdateSimpleAzureVmProtectionPolicy(
+ com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
+ manager.protectionPolicies()
+ .define("testPolicy1")
+ .withExistingVault("NetSDKTestRsVault", "SwaggerTestRg")
+ .withProperties(new AzureIaaSvmProtectionPolicy()
+ .withSchedulePolicy(new SimpleSchedulePolicy().withScheduleRunFrequency(ScheduleRunType.DAILY)
+ .withScheduleRunTimes(Arrays.asList(OffsetDateTime.parse("2018-01-24T02:00:00Z"))))
+ .withRetentionPolicy(new LongTermRetentionPolicy().withDailySchedule(new DailyRetentionSchedule()
+ .withRetentionTimes(Arrays.asList(OffsetDateTime.parse("2018-01-24T02:00:00Z")))
+ .withRetentionDuration(
+ new RetentionDuration().withCount(1).withDurationType(RetentionDurationType.DAYS))))
+ .withTimeZone("Pacific Standard Time"))
+ .create();
+ }
+
+ /*
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/ProtectionPolicies_CreateOrUpdate_Complex.json
*/
/**
* Sample code: Create or Update Full Azure Workload Protection Policy.
@@ -2144,7 +2020,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("testPolicy1")
- .withRegion((String) null)
.withExistingVault("NetSDKTestRsVault", "SwaggerTestRg")
.withProperties(
new AzureVmWorkloadProtectionPolicy().withWorkLoadType(WorkloadType.SQLDATA_BASE)
@@ -2197,36 +2072,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Simple.json
- */
- /**
- * Sample code: Create or Update Simple Azure Vm Protection Policy.
- *
- * @param manager Entry point to RecoveryServicesBackupManager.
- */
- public static void createOrUpdateSimpleAzureVmProtectionPolicy(
- com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.protectionPolicies()
- .define("testPolicy1")
- .withRegion((String) null)
- .withExistingVault("NetSDKTestRsVault", "SwaggerTestRg")
- .withProperties(new AzureIaaSvmProtectionPolicy()
- .withSchedulePolicy(new SimpleSchedulePolicy().withScheduleRunFrequency(ScheduleRunType.DAILY)
- .withScheduleRunTimes(Arrays.asList(OffsetDateTime.parse("2018-01-24T02:00:00Z"))))
- .withRetentionPolicy(new LongTermRetentionPolicy().withDailySchedule(new DailyRetentionSchedule()
- .withRetentionTimes(Arrays.asList(OffsetDateTime.parse("2018-01-24T02:00:00Z")))
- .withRetentionDuration(
- new RetentionDuration().withCount(1).withDurationType(RetentionDurationType.DAYS))))
- .withTimeZone("Pacific Standard Time"))
- .create();
- }
-
- /*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionPolicies_CreateOrUpdate_Daily.json
*/
/**
* Sample code: Create or Update Daily Azure Storage Protection Policy.
@@ -2237,7 +2083,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("dailyPolicy2")
- .withRegion((String) null)
.withExistingVault("swaggertestvault", "SwaggerTestRg")
.withProperties(
new AzureFileShareProtectionPolicy().withWorkLoadType(WorkloadType.AZURE_FILE_SHARE)
@@ -2277,9 +2122,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionPolicies_CreateOrUpdate_Hardened.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hardened.json
*/
/**
* Sample code: Create or Update Azure Storage Vault Standard Protection Policy.
@@ -2290,7 +2133,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("newPolicyV2")
- .withRegion((String) null)
.withExistingVault("swaggertestvault", "SwaggerTestRg")
.withProperties(
new AzureFileShareProtectionPolicy().withWorkLoadType(WorkloadType.AZURE_FILE_SHARE)
@@ -2335,9 +2177,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json
+ * x-ms-original-file: 2026-01-01-preview/AzureStorage/ProtectionPolicies_CreateOrUpdate_Hourly.json
*/
/**
* Sample code: Create or Update Hourly Azure Storage Protection Policy.
@@ -2348,7 +2188,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("newPolicy2")
- .withRegion((String) null)
.withExistingVault("swaggertestvault", "SwaggerTestRg")
.withProperties(
new AzureFileShareProtectionPolicy().withWorkLoadType(WorkloadType.AZURE_FILE_SHARE)
@@ -2383,9 +2222,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionPolicies_CreateOrUpdate_Complex.json
*/
/**
* Sample code: Create or Update Full Azure Vm Protection Policy.
@@ -2396,7 +2233,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("testPolicy1")
- .withRegion((String) null)
.withExistingVault("NetSDKTestRsVault", "SwaggerTestRg")
.withProperties(
new AzureIaaSvmProtectionPolicy()
@@ -2436,9 +2272,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/V2Policy/IaaS_v2_hourly.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/V2Policy/IaaS_v2_hourly.json
*/
/**
* Sample code: Create or Update Enhanced Azure Vm Protection Policy with Hourly backup.
@@ -2449,7 +2283,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("v2-daily-sample")
- .withRegion((String) null)
.withExistingVault("NetSDKTestRsVault", "SwaggerTestRg")
.withProperties(
new AzureIaaSvmProtectionPolicy()
@@ -2493,9 +2326,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/V2Policy/IaaS_v2_daily.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/V2Policy/IaaS_v2_daily.json
*/
/**
* Sample code: Create or Update Enhanced Azure Vm Protection Policy with daily backup.
@@ -2506,7 +2337,6 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
manager.protectionPolicies()
.define("v2-daily-sample")
- .withRegion((String) null)
.withExistingVault("NetSDKTestRsVault", "SwaggerTestRg")
.withProperties(
new AzureIaaSvmProtectionPolicy()
@@ -2547,6 +2377,73 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
.withSnapshotConsistencyType(IaasVMSnapshotConsistencyType.ONLY_CRASH_CONSISTENT))
.create();
}
+
+ /*
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/ProtectionPolicies_CreateOrUpdate_SapHanaDBInstance.json
+ */
+ /**
+ * Sample code: Create or Update Sap Hana DB Instance Workload Protection Policy.
+ *
+ * @param manager Entry point to RecoveryServicesBackupManager.
+ */
+ public static void createOrUpdateSapHanaDBInstanceWorkloadProtectionPolicy(
+ com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
+ manager.protectionPolicies()
+ .define("testHanaSnapshotV2Policy1")
+ .withExistingVault("HanaTestRsVault", "SwaggerTestRg")
+ .withProperties(new AzureVmWorkloadProtectionPolicy().withProtectedItemsCount(0)
+ .withWorkLoadType(WorkloadType.SAPHANA_DBINSTANCE)
+ .withVmWorkloadPolicyType(VMWorkloadPolicyType.SNAPSHOT_V2)
+ .withSettings(new Settings().withTimeZone("UTC").withIssqlcompression(false).withIsCompression(false))
+ .withSubProtectionPolicy(
+ Arrays.asList(new SubProtectionPolicy().withPolicyType(PolicyType.SNAPSHOT_FULL)
+ .withSchedulePolicy(new SimpleSchedulePolicy().withScheduleRunFrequency(ScheduleRunType.DAILY)
+ .withScheduleRunTimes(Arrays.asList(OffsetDateTime.parse("2024-10-01T03:30:00.000Z"))))
+ .withRetentionPolicy(
+ new LongTermRetentionPolicy()
+ .withDailySchedule(new DailyRetentionSchedule()
+ .withRetentionTimes(Arrays.asList(OffsetDateTime.parse("2023-12-19T20:00:00.000Z")))
+ .withRetentionDuration(new RetentionDuration().withCount(30)
+ .withDurationType(RetentionDurationType.DAYS)))
+ .withWeeklySchedule(new WeeklyRetentionSchedule()
+ .withDaysOfTheWeek(Arrays.asList(DayOfWeek.SUNDAY))
+ .withRetentionTimes(Arrays.asList(OffsetDateTime.parse("2023-12-19T20:00:00.000Z")))
+ .withRetentionDuration(new RetentionDuration().withCount(10)
+ .withDurationType(RetentionDurationType.WEEKS)))
+ .withMonthlySchedule(
+ new MonthlyRetentionSchedule()
+ .withRetentionScheduleFormatType(RetentionScheduleFormat.WEEKLY)
+ .withRetentionScheduleWeekly(new WeeklyRetentionFormat()
+ .withDaysOfTheWeek(Arrays.asList(DayOfWeek.SUNDAY))
+ .withWeeksOfTheMonth(Arrays.asList(WeekOfMonth.SECOND)))
+ .withRetentionTimes(
+ Arrays.asList(OffsetDateTime.parse("2023-12-15T20:00:00.000Z")))
+ .withRetentionDuration(new RetentionDuration().withCount(6)
+ .withDurationType(RetentionDurationType.MONTHS)))
+ .withYearlySchedule(
+ new YearlyRetentionSchedule()
+ .withRetentionScheduleFormatType(RetentionScheduleFormat.WEEKLY)
+ .withMonthsOfYear(Arrays.asList(MonthOfYear.JANUARY))
+ .withRetentionScheduleWeekly(new WeeklyRetentionFormat()
+ .withDaysOfTheWeek(Arrays.asList(DayOfWeek.SUNDAY))
+ .withWeeksOfTheMonth(Arrays.asList(WeekOfMonth.LAST)))
+ .withRetentionTimes(
+ Arrays.asList(OffsetDateTime.parse("2023-12-19T20:00:00.000Z")))
+ .withRetentionDuration(new RetentionDuration()
+ .withCount(2)
+ .withDurationType(RetentionDurationType.YEARS))))
+ .withSnapshotBackupAdditionalDetails(new SnapshotBackupAdditionalDetails()
+ .withInstantRpRetentionRangeInDays(5)
+ .withInstantRPDetails("SwaggerTestRG")
+ .withUserAssignedManagedIdentityDetails(new UserAssignedManagedIdentityDetails()
+ .withIdentityArmId(
+ "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/SwaggerMsiRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/SwaggerUMI")
+ .withIdentityName("SwaggerUMI")
+ .withUserAssignedIdentityProperties(new UserAssignedIdentityProperties()
+ .withClientId("00000000-0000-0000-0000-000000000000")
+ .withPrincipalId("00000000-0000-0000-0000-000000000000")))))))
+ .create();
+ }
}
```
@@ -2558,9 +2455,7 @@ public final class ProtectionPoliciesCreateOrUpdateSamples {
*/
public final class ProtectionPoliciesDeleteSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionPolicies_Delete.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionPolicies_Delete.json
*/
/**
* Sample code: Delete Azure Vm Protection Policy.
@@ -2583,9 +2478,7 @@ public final class ProtectionPoliciesDeleteSamples {
*/
public final class ProtectionPoliciesGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionPolicies_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionPolicies_Get.json
*/
/**
* Sample code: Get Azure IaasVm Protection Policy Details.
@@ -2599,9 +2492,7 @@ public final class ProtectionPoliciesGetSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/V2Policy/v2-Get-Policy.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/V2Policy/v2-Get-Policy.json
*/
/**
* Sample code: Get Azure IaasVm Enhanced Protection Policy Details.
@@ -2613,6 +2504,21 @@ public final class ProtectionPoliciesGetSamples {
manager.protectionPolicies()
.getWithResponse("NetSDKTestRsVault", "SwaggerTestRg", "v2-daily-sample", com.azure.core.util.Context.NONE);
}
+
+ /*
+ * x-ms-original-file: 2026-01-01-preview/AzureWorkload/ProtectionPolicies_Get_SapHanaDBInstance.json
+ */
+ /**
+ * Sample code: Get Sap Hana DB Instance Workload Protection Policy Details.
+ *
+ * @param manager Entry point to RecoveryServicesBackupManager.
+ */
+ public static void getSapHanaDBInstanceWorkloadProtectionPolicyDetails(
+ com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
+ manager.protectionPolicies()
+ .getWithResponse("HanaTestRsVault", "SwaggerTestRg", "testHanaSnapshotV2Policy1",
+ com.azure.core.util.Context.NONE);
+ }
}
```
@@ -2624,9 +2530,7 @@ public final class ProtectionPoliciesGetSamples {
*/
public final class ProtectionPolicyOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionPolicyOperationResults_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionPolicyOperationResults_Get.json
*/
/**
* Sample code: Get Protection Policy Operation Results.
@@ -2650,9 +2554,7 @@ public final class ProtectionPolicyOperationResultsGetSamples {
*/
public final class ProtectionPolicyOperationStatusesGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ProtectionPolicyOperationStatuses_Get.json
*/
/**
* Sample code: Get Protection Policy Operation Status.
@@ -2676,9 +2578,7 @@ public final class ProtectionPolicyOperationStatusesGetSamples {
*/
public final class RecoveryPointsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/RecoveryPoints_Get.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/RecoveryPoints_Get.json
*/
/**
* Sample code: Get Azure Vm Recovery Point Details.
@@ -2703,9 +2603,7 @@ public final class RecoveryPointsGetSamples {
*/
public final class RecoveryPointsListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/RecoveryPoints_List.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/RecoveryPoints_List.json
*/
/**
* Sample code: Get Protected Azure Vm Recovery Points.
@@ -2722,175 +2620,67 @@ public final class RecoveryPointsListSamples {
}
```
-### RecoveryPointsRecommendedForMove_List
+### RecoveryPoints_Update
```java
-import com.azure.resourcemanager.recoveryservicesbackup.models.ListRecoveryPointsRecommendedForMoveRequest;
-import java.util.Arrays;
-
-/**
- * Samples for RecoveryPointsRecommendedForMove List.
- */
-public final class RecoveryPointsRecommendedForMoveListSamples {
- /*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/RecoveryPointsRecommendedForMove_List.json
- */
- /**
- * Sample code: Get Protected Azure Vm Recovery Points Recommended for Move.
- *
- * @param manager Entry point to RecoveryServicesBackupManager.
- */
- public static void getProtectedAzureVmRecoveryPointsRecommendedForMove(
- com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.recoveryPointsRecommendedForMoves()
- .list("rshvault", "rshhtestmdvmrg", "Azure",
- "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
- "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
- new ListRecoveryPointsRecommendedForMoveRequest()
- .withObjectType("ListRecoveryPointsRecommendedForMoveRequest")
- .withExcludedRPList(Arrays.asList("348916168024334", "348916168024335")),
- com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ResourceGuardProxies_Get
-
-```java
-/**
- * Samples for ResourceGuardProxies Get.
- */
-public final class ResourceGuardProxiesGetSamples {
- /*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * ResourceGuardProxyCRUD/ListResourceGuardProxy.json
- */
- /**
- * Sample code: Get VaultGuardProxies.
- *
- * @param manager Entry point to RecoveryServicesBackupManager.
- */
- public static void
- getVaultGuardProxies(com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.resourceGuardProxies().get("sampleVault", "SampleResourceGroup", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ResourceGuardProxyOperation_Delete
+import com.azure.resourcemanager.recoveryservicesbackup.models.PatchRecoveryPointInput;
+import com.azure.resourcemanager.recoveryservicesbackup.models.PatchRecoveryPointPropertiesInput;
+import com.azure.resourcemanager.recoveryservicesbackup.models.UpdateRecoveryPointRequest;
+import java.time.OffsetDateTime;
-```java
/**
- * Samples for ResourceGuardProxyOperation Delete.
+ * Samples for RecoveryPoints Update.
*/
-public final class ResourceGuardProxyOperationDeleteSamples {
+public final class RecoveryPointsUpdateSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * ResourceGuardProxyCRUD/DeleteResourceGuardProxy.json
+ * x-ms-original-file: 2026-01-01-preview/Common/RecoveryPoints_Update.json
*/
/**
- * Sample code: Delete ResourceGuardProxy.
+ * Sample code: Update Azure Vm Recovery Point Details.
*
* @param manager Entry point to RecoveryServicesBackupManager.
*/
- public static void deleteResourceGuardProxy(
+ public static void updateAzureVmRecoveryPointDetails(
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.resourceGuardProxyOperations()
- .deleteWithResponse("sampleVault", "SampleResourceGroup", "swaggerExample",
+ manager.recoveryPoints()
+ .updateWithResponse("hanasnapshottesting", "HanaSnapshotTest", "Azure",
+ "VMAppContainer;compute;hanasnapshottesting;hana-eacan-2", "SAPHanaDatabase;hye;hye",
+ "2265668074516978193",
+ new UpdateRecoveryPointRequest().withProperties(
+ new PatchRecoveryPointInput().withRecoveryPointProperties(new PatchRecoveryPointPropertiesInput()
+ .withExpiryTime(OffsetDateTime.parse("2025-01-02T00:00:00.0000000Z")))),
com.azure.core.util.Context.NONE);
}
}
```
-### ResourceGuardProxyOperation_Get
-
-```java
-/**
- * Samples for ResourceGuardProxyOperation Get.
- */
-public final class ResourceGuardProxyOperationGetSamples {
- /*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * ResourceGuardProxyCRUD/GetResourceGuardProxy.json
- */
- /**
- * Sample code: Get ResourceGuardProxy.
- *
- * @param manager Entry point to RecoveryServicesBackupManager.
- */
- public static void
- getResourceGuardProxy(com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.resourceGuardProxyOperations()
- .getWithResponse("sampleVault", "SampleResourceGroup", "swaggerExample", com.azure.core.util.Context.NONE);
- }
-}
-```
-
-### ResourceGuardProxyOperation_Put
-
-```java
-import com.azure.resourcemanager.recoveryservicesbackup.models.ResourceGuardProxyBase;
-
-/**
- * Samples for ResourceGuardProxyOperation Put.
- */
-public final class ResourceGuardProxyOperationPutSamples {
- /*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * ResourceGuardProxyCRUD/PutResourceGuardProxy.json
- */
- /**
- * Sample code: Create ResourceGuardProxy.
- *
- * @param manager Entry point to RecoveryServicesBackupManager.
- */
- public static void createResourceGuardProxy(
- com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.resourceGuardProxyOperations()
- .define("swaggerExample")
- .withRegion((String) null)
- .withExistingVault("sampleVault", "SampleResourceGroup")
- .withProperties(new ResourceGuardProxyBase().withResourceGuardResourceId(
- "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew"))
- .create();
- }
-}
-```
-
-### ResourceGuardProxyOperation_UnlockDelete
+### RecoveryPointsRecommendedForMove_List
```java
-import com.azure.resourcemanager.recoveryservicesbackup.models.UnlockDeleteRequest;
+import com.azure.resourcemanager.recoveryservicesbackup.models.ListRecoveryPointsRecommendedForMoveRequest;
import java.util.Arrays;
/**
- * Samples for ResourceGuardProxyOperation UnlockDelete.
+ * Samples for RecoveryPointsRecommendedForMove List.
*/
-public final class ResourceGuardProxyOperationUnlockDeleteSamples {
+public final class RecoveryPointsRecommendedForMoveListSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * ResourceGuardProxyCRUD/UnlockDeleteResourceGuardProxy.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/RecoveryPointsRecommendedForMove_List.json
*/
/**
- * Sample code: UnlockDelete ResourceGuardProxy.
+ * Sample code: Get Protected Azure Vm Recovery Points Recommended for Move.
*
* @param manager Entry point to RecoveryServicesBackupManager.
*/
- public static void unlockDeleteResourceGuardProxy(
+ public static void getProtectedAzureVmRecoveryPointsRecommendedForMove(
com.azure.resourcemanager.recoveryservicesbackup.RecoveryServicesBackupManager manager) {
- manager.resourceGuardProxyOperations()
- .unlockDeleteWithResponse("sampleVault", "SampleResourceGroup", "swaggerExample", new UnlockDeleteRequest()
- .withResourceGuardOperationRequests(Arrays.asList(
- "/subscriptions/c999d45b-944f-418c-a0d8-c3fcfd1802c8/resourceGroups/vaultguardRGNew/providers/Microsoft.DataProtection/resourceGuards/VaultGuardTestNew/deleteProtectedItemRequests/default"))
- .withResourceToBeDeleted(
- "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/gaallarg/providers/Microsoft.RecoveryServices/vaults/MercuryCrrVault/backupFabrics/Azure/protectionContainers/VMAppContainer;compute;crrtestrg;crrtestvm/protectedItems/SQLDataBase;mssqlserver;testdb"),
+ manager.recoveryPointsRecommendedForMoves()
+ .list("rshvault", "rshhtestmdvmrg", "Azure",
+ "IaasVMContainer;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
+ "VM;iaasvmcontainerv2;rshhtestmdvmrg;rshmdvmsmall",
+ new ListRecoveryPointsRecommendedForMoveRequest()
+ .withObjectType("ListRecoveryPointsRecommendedForMoveRequest")
+ .withExcludedRPList(Arrays.asList("348916168024334", "348916168024335")),
com.azure.core.util.Context.NONE);
}
}
@@ -2907,9 +2697,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.PrepareDataMoveRe
*/
public final class ResourceProviderBmsPrepareDataMoveSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * BackupDataMove/PrepareDataMove_Post.json
+ * x-ms-original-file: 2026-01-01-preview/BackupDataMove/PrepareDataMove_Post.json
*/
/**
* Sample code: Prepare Data Move.
@@ -2938,9 +2726,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.TriggerDataMoveRe
*/
public final class ResourceProviderBmsTriggerDataMoveSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * BackupDataMove/TriggerDataMove_Post.json
+ * x-ms-original-file: 2026-01-01-preview/BackupDataMove/TriggerDataMove_Post.json
*/
/**
* Sample code: Trigger Data Move.
@@ -2968,9 +2754,7 @@ public final class ResourceProviderBmsTriggerDataMoveSamples {
*/
public final class ResourceProviderGetOperationStatusSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * BackupDataMove/BackupDataMoveOperationStatus_Get.json
+ * x-ms-original-file: 2026-01-01-preview/BackupDataMove/BackupDataMoveOperationStatus_Get.json
*/
/**
* Sample code: Get OperationStatus.
@@ -2997,9 +2781,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTier
*/
public final class ResourceProviderMoveRecoveryPointSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TriggerRecoveryPointMove_Post.json
+ * x-ms-original-file: 2026-01-01-preview/TriggerRecoveryPointMove_Post.json
*/
/**
* Sample code: Trigger RP Move Operation.
@@ -3041,9 +2823,7 @@ import java.util.Arrays;
*/
public final class RestoresTriggerSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreWithRehydrationRequest.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreWithRehydrationRequest.json
*/
/**
* Sample code: Restore to New Azure IaasVm with IaasVMRestoreWithRehydrationRequest.
@@ -3082,9 +2862,7 @@ public final class RestoresTriggerSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest.json
*/
/**
* Sample code: Restore to New Azure IaasVm with IaasVMRestoreRequest.
@@ -3122,8 +2900,7 @@ public final class RestoresTriggerSamples {
/*
* x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreWithRehydrationRequest.json
+ * 2026-01-01-preview/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreWithRehydrationRequest.json
*/
/**
* Sample code: Restore Disks with IaasVMRestoreWithRehydrationRequest.
@@ -3155,8 +2932,7 @@ public final class RestoresTriggerSamples {
/*
* x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
+ * 2026-01-01-preview/AzureIaasVm/TriggerRestore_ALR_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
*/
/**
* Sample code: Restore to New Azure IaasVm with IaasVMRestoreRequest with identityBasedRestoreDetails.
@@ -3193,9 +2969,7 @@ public final class RestoresTriggerSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest.json
*/
/**
* Sample code: Restore Disks with IaasVMRestoreRequest.
@@ -3232,8 +3006,7 @@ public final class RestoresTriggerSamples {
/*
* x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
+ * 2026-01-01-preview/AzureIaasVm/TriggerRestore_RestoreDisks_IaasVMRestoreRequest_IdentityBasedRestoreDetails.json
*/
/**
* Sample code: Restore Disks with IaasVMRestoreRequest with IdentityBasedRestoreDetails.
@@ -3264,9 +3037,7 @@ public final class RestoresTriggerSamples {
}
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerRestore_ResourceGuardEnabled.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/TriggerRestore_ResourceGuardEnabled.json
*/
/**
* Sample code: Restore with Resource Guard Enabled.
@@ -3309,9 +3080,7 @@ public final class RestoresTriggerSamples {
*/
public final class SecurityPINsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * Common/BackupSecurityPin_Get.json
+ * x-ms-original-file: 2026-01-01-preview/Common/BackupSecurityPin_Get.json
*/
/**
* Sample code: Get Vault Security Pin.
@@ -3333,9 +3102,7 @@ public final class SecurityPINsGetSamples {
*/
public final class TieringCostOperationStatusGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * TieringCost/GetTieringCostOperationStatus.json
+ * x-ms-original-file: 2026-01-01-preview/TieringCost/GetTieringCostOperationStatus.json
*/
/**
* Sample code: Fetch Tiering Cost Operation Status.
@@ -3366,9 +3133,7 @@ import com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperation
*/
public final class ValidateOperationTriggerSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/TriggerValidateOperation_RestoreDisk.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/TriggerValidateOperation_RestoreDisk.json
*/
/**
* Sample code: Trigger Validate Operation.
@@ -3407,9 +3172,7 @@ public final class ValidateOperationTriggerSamples {
*/
public final class ValidateOperationResultsGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ValidateOperationResults.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ValidateOperationResults.json
*/
/**
* Sample code: Get Operation Results of Validate Operation.
@@ -3433,9 +3196,7 @@ public final class ValidateOperationResultsGetSamples {
*/
public final class ValidateOperationStatusesGetSamples {
/*
- * x-ms-original-file:
- * specification/recoveryservicesbackup/resource-manager/Microsoft.RecoveryServices/stable/2025-02-01/examples/
- * AzureIaasVm/ValidateOperationStatus.json
+ * x-ms-original-file: 2026-01-01-preview/AzureIaasVm/ValidateOperationStatus.json
*/
/**
* Sample code: Get Operation Status of Validate Operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/pom.xml b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/pom.xml
index 9d263f33b46b..5e1bcb94078d 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/pom.xml
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/pom.xml
@@ -1,7 +1,7 @@
4.0.0
@@ -17,8 +17,8 @@
1.7.0-beta.1
jar
- Microsoft Azure SDK for RecoveryServicesBackup Management
- This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2025-02-01.
+ Microsoft Azure SDK for Recovery Services Backup Management
+ This package contains Microsoft Azure SDK for Recovery Services Backup Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package api-version 2026-01-01-preview.
https://github.com/Azure/azure-sdk-for-java
@@ -45,7 +45,7 @@
UTF-8
0
0
- false
+ true
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/RecoveryServicesBackupManager.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/RecoveryServicesBackupManager.java
index e5f9531671d3..54c24fb41522 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/RecoveryServicesBackupManager.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/RecoveryServicesBackupManager.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup;
@@ -24,7 +24,7 @@
import com.azure.core.util.Configuration;
import com.azure.core.util.CoreUtils;
import com.azure.core.util.logging.ClientLogger;
-import com.azure.resourcemanager.recoveryservicesbackup.fluent.RecoveryServicesBackupClient;
+import com.azure.resourcemanager.recoveryservicesbackup.fluent.RecoveryServicesBackupManagementClient;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.BackupEnginesImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.BackupJobsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.BackupOperationResultsImpl;
@@ -69,8 +69,7 @@
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ProtectionPolicyOperationStatusesImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.RecoveryPointsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.RecoveryPointsRecommendedForMovesImpl;
-import com.azure.resourcemanager.recoveryservicesbackup.implementation.RecoveryServicesBackupClientBuilder;
-import com.azure.resourcemanager.recoveryservicesbackup.implementation.ResourceGuardProxiesImpl;
+import com.azure.resourcemanager.recoveryservicesbackup.implementation.RecoveryServicesBackupManagementClientBuilder;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ResourceGuardProxyOperationsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ResourceProvidersImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.RestoresImpl;
@@ -123,7 +122,6 @@
import com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionPolicyOperationStatuses;
import com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoints;
import com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointsRecommendedForMoves;
-import com.azure.resourcemanager.recoveryservicesbackup.models.ResourceGuardProxies;
import com.azure.resourcemanager.recoveryservicesbackup.models.ResourceGuardProxyOperations;
import com.azure.resourcemanager.recoveryservicesbackup.models.ResourceProviders;
import com.azure.resourcemanager.recoveryservicesbackup.models.Restores;
@@ -145,92 +143,86 @@
* Open API 2.0 Specs for Azure RecoveryServices Backup service.
*/
public final class RecoveryServicesBackupManager {
- private BackupResourceStorageConfigsNonCrrs backupResourceStorageConfigsNonCrrs;
-
- private ProtectionIntents protectionIntents;
-
- private BackupStatus backupStatus;
-
- private FeatureSupports featureSupports;
+ private ResourceProviders resourceProviders;
- private BackupProtectionIntents backupProtectionIntents;
+ private Operations operations;
- private BackupUsageSummaries backupUsageSummaries;
+ private BackupResourceStorageConfigsNonCrrs backupResourceStorageConfigsNonCrrs;
- private Operations operations;
+ private BmsPrepareDataMoveOperationResults bmsPrepareDataMoveOperationResults;
private BackupResourceVaultConfigs backupResourceVaultConfigs;
private BackupResourceEncryptionConfigs backupResourceEncryptionConfigs;
- private PrivateEndpointConnections privateEndpointConnections;
-
- private PrivateEndpoints privateEndpoints;
+ private ProtectedItems protectedItems;
- private ResourceProviders resourceProviders;
+ private Backups backups;
- private BmsPrepareDataMoveOperationResults bmsPrepareDataMoveOperationResults;
+ private RecoveryPointsRecommendedForMoves recoveryPointsRecommendedForMoves;
- private ProtectedItems protectedItems;
+ private ProtectedItemOperationStatuses protectedItemOperationStatuses;
private ProtectedItemOperationResults protectedItemOperationResults;
+ private ProtectionContainers protectionContainers;
+
+ private BackupWorkloadItems backupWorkloadItems;
+
+ private ProtectionContainerOperationResults protectionContainerOperationResults;
+
private RecoveryPoints recoveryPoints;
private Restores restores;
- private BackupPolicies backupPolicies;
+ private ItemLevelRecoveryConnections itemLevelRecoveryConnections;
private ProtectionPolicies protectionPolicies;
+ private BackupPolicies backupPolicies;
+
private ProtectionPolicyOperationResults protectionPolicyOperationResults;
- private BackupJobs backupJobs;
+ private ProtectionPolicyOperationStatuses protectionPolicyOperationStatuses;
private JobDetails jobDetails;
+ private BackupJobs backupJobs;
+
private JobCancellations jobCancellations;
private JobOperationResults jobOperationResults;
private ExportJobsOperationResults exportJobsOperationResults;
+ private BackupEngines backupEngines;
+
+ private BackupStatus backupStatus;
+
+ private FeatureSupports featureSupports;
+
+ private BackupProtectionIntents backupProtectionIntents;
+
+ private BackupUsageSummaries backupUsageSummaries;
+
private Jobs jobs;
private BackupProtectedItems backupProtectedItems;
- private OperationOperations operationOperations;
-
private ValidateOperations validateOperations;
private ValidateOperationResults validateOperationResults;
private ValidateOperationStatuses validateOperationStatuses;
- private BackupEngines backupEngines;
-
private ProtectionContainerRefreshOperationResults protectionContainerRefreshOperationResults;
private ProtectableContainers protectableContainers;
- private ProtectionContainers protectionContainers;
-
- private BackupWorkloadItems backupWorkloadItems;
-
- private ProtectionContainerOperationResults protectionContainerOperationResults;
-
- private Backups backups;
-
- private ProtectedItemOperationStatuses protectedItemOperationStatuses;
-
- private ItemLevelRecoveryConnections itemLevelRecoveryConnections;
-
private BackupOperationResults backupOperationResults;
private BackupOperationStatuses backupOperationStatuses;
- private ProtectionPolicyOperationStatuses protectionPolicyOperationStatuses;
-
private BackupProtectableItems backupProtectableItems;
private BackupProtectionContainers backupProtectionContainers;
@@ -239,25 +231,29 @@ public final class RecoveryServicesBackupManager {
private SecurityPINs securityPINs;
- private RecoveryPointsRecommendedForMoves recoveryPointsRecommendedForMoves;
-
- private ResourceGuardProxies resourceGuardProxies;
-
- private ResourceGuardProxyOperations resourceGuardProxyOperations;
-
private FetchTieringCosts fetchTieringCosts;
private GetTieringCostOperationResults getTieringCostOperationResults;
private TieringCostOperationStatus tieringCostOperationStatus;
- private final RecoveryServicesBackupClient clientObject;
+ private ProtectionIntents protectionIntents;
+
+ private PrivateEndpointConnections privateEndpointConnections;
+
+ private PrivateEndpoints privateEndpoints;
+
+ private ResourceGuardProxyOperations resourceGuardProxyOperations;
+
+ private OperationOperations operationOperations;
+
+ private final RecoveryServicesBackupManagementClient clientObject;
private RecoveryServicesBackupManager(HttpPipeline httpPipeline, AzureProfile profile,
Duration defaultPollInterval) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
Objects.requireNonNull(profile, "'profile' cannot be null.");
- this.clientObject = new RecoveryServicesBackupClientBuilder().pipeline(httpPipeline)
+ this.clientObject = new RecoveryServicesBackupManagementClientBuilder().pipeline(httpPipeline)
.endpoint(profile.getEnvironment().getResourceManagerEndpoint())
.subscriptionId(profile.getSubscriptionId())
.defaultPollInterval(defaultPollInterval)
@@ -265,11 +261,11 @@ private RecoveryServicesBackupManager(HttpPipeline httpPipeline, AzureProfile pr
}
/**
- * Creates an instance of RecoveryServicesBackup service API entry point.
+ * Creates an instance of Recovery Services Backup service API entry point.
*
* @param credential the credential to use.
* @param profile the Azure profile for client.
- * @return the RecoveryServicesBackup service API instance.
+ * @return the Recovery Services Backup service API instance.
*/
public static RecoveryServicesBackupManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
@@ -278,11 +274,11 @@ public static RecoveryServicesBackupManager authenticate(TokenCredential credent
}
/**
- * Creates an instance of RecoveryServicesBackup service API entry point.
+ * Creates an instance of Recovery Services Backup service API entry point.
*
* @param httpPipeline the {@link HttpPipeline} configured with Azure authentication credential.
* @param profile the Azure profile for client.
- * @return the RecoveryServicesBackup service API instance.
+ * @return the Recovery Services Backup service API instance.
*/
public static RecoveryServicesBackupManager authenticate(HttpPipeline httpPipeline, AzureProfile profile) {
Objects.requireNonNull(httpPipeline, "'httpPipeline' cannot be null.");
@@ -405,11 +401,11 @@ public Configurable withDefaultPollInterval(Duration defaultPollInterval) {
}
/**
- * Creates an instance of RecoveryServicesBackup service API entry point.
+ * Creates an instance of Recovery Services Backup service API entry point.
*
* @param credential the credential to use.
* @param profile the Azure profile for client.
- * @return the RecoveryServicesBackup service API instance.
+ * @return the Recovery Services Backup service API instance.
*/
public RecoveryServicesBackupManager authenticate(TokenCredential credential, AzureProfile profile) {
Objects.requireNonNull(credential, "'credential' cannot be null.");
@@ -469,89 +465,53 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
}
/**
- * Gets the resource collection API of BackupResourceStorageConfigsNonCrrs.
- *
- * @return Resource collection API of BackupResourceStorageConfigsNonCrrs.
- */
- public BackupResourceStorageConfigsNonCrrs backupResourceStorageConfigsNonCrrs() {
- if (this.backupResourceStorageConfigsNonCrrs == null) {
- this.backupResourceStorageConfigsNonCrrs = new BackupResourceStorageConfigsNonCrrsImpl(
- clientObject.getBackupResourceStorageConfigsNonCrrs(), this);
- }
- return backupResourceStorageConfigsNonCrrs;
- }
-
- /**
- * Gets the resource collection API of ProtectionIntents. It manages ProtectionIntentResource.
- *
- * @return Resource collection API of ProtectionIntents.
- */
- public ProtectionIntents protectionIntents() {
- if (this.protectionIntents == null) {
- this.protectionIntents = new ProtectionIntentsImpl(clientObject.getProtectionIntents(), this);
- }
- return protectionIntents;
- }
-
- /**
- * Gets the resource collection API of BackupStatus.
- *
- * @return Resource collection API of BackupStatus.
- */
- public BackupStatus backupStatus() {
- if (this.backupStatus == null) {
- this.backupStatus = new BackupStatusImpl(clientObject.getBackupStatus(), this);
- }
- return backupStatus;
- }
-
- /**
- * Gets the resource collection API of FeatureSupports.
+ * Gets the resource collection API of ResourceProviders.
*
- * @return Resource collection API of FeatureSupports.
+ * @return Resource collection API of ResourceProviders.
*/
- public FeatureSupports featureSupports() {
- if (this.featureSupports == null) {
- this.featureSupports = new FeatureSupportsImpl(clientObject.getFeatureSupports(), this);
+ public ResourceProviders resourceProviders() {
+ if (this.resourceProviders == null) {
+ this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
}
- return featureSupports;
+ return resourceProviders;
}
/**
- * Gets the resource collection API of BackupProtectionIntents.
+ * Gets the resource collection API of Operations.
*
- * @return Resource collection API of BackupProtectionIntents.
+ * @return Resource collection API of Operations.
*/
- public BackupProtectionIntents backupProtectionIntents() {
- if (this.backupProtectionIntents == null) {
- this.backupProtectionIntents
- = new BackupProtectionIntentsImpl(clientObject.getBackupProtectionIntents(), this);
+ public Operations operations() {
+ if (this.operations == null) {
+ this.operations = new OperationsImpl(clientObject.getOperations(), this);
}
- return backupProtectionIntents;
+ return operations;
}
/**
- * Gets the resource collection API of BackupUsageSummaries.
+ * Gets the resource collection API of BackupResourceStorageConfigsNonCrrs.
*
- * @return Resource collection API of BackupUsageSummaries.
+ * @return Resource collection API of BackupResourceStorageConfigsNonCrrs.
*/
- public BackupUsageSummaries backupUsageSummaries() {
- if (this.backupUsageSummaries == null) {
- this.backupUsageSummaries = new BackupUsageSummariesImpl(clientObject.getBackupUsageSummaries(), this);
+ public BackupResourceStorageConfigsNonCrrs backupResourceStorageConfigsNonCrrs() {
+ if (this.backupResourceStorageConfigsNonCrrs == null) {
+ this.backupResourceStorageConfigsNonCrrs = new BackupResourceStorageConfigsNonCrrsImpl(
+ clientObject.getBackupResourceStorageConfigsNonCrrs(), this);
}
- return backupUsageSummaries;
+ return backupResourceStorageConfigsNonCrrs;
}
/**
- * Gets the resource collection API of Operations.
+ * Gets the resource collection API of BmsPrepareDataMoveOperationResults.
*
- * @return Resource collection API of Operations.
+ * @return Resource collection API of BmsPrepareDataMoveOperationResults.
*/
- public Operations operations() {
- if (this.operations == null) {
- this.operations = new OperationsImpl(clientObject.getOperations(), this);
+ public BmsPrepareDataMoveOperationResults bmsPrepareDataMoveOperationResults() {
+ if (this.bmsPrepareDataMoveOperationResults == null) {
+ this.bmsPrepareDataMoveOperationResults = new BmsPrepareDataMoveOperationResultsImpl(
+ clientObject.getBmsPrepareDataMoveOperationResults(), this);
}
- return operations;
+ return bmsPrepareDataMoveOperationResults;
}
/**
@@ -581,65 +541,53 @@ public BackupResourceEncryptionConfigs backupResourceEncryptionConfigs() {
}
/**
- * Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnectionResource.
- *
- * @return Resource collection API of PrivateEndpointConnections.
- */
- public PrivateEndpointConnections privateEndpointConnections() {
- if (this.privateEndpointConnections == null) {
- this.privateEndpointConnections
- = new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
- }
- return privateEndpointConnections;
- }
-
- /**
- * Gets the resource collection API of PrivateEndpoints.
+ * Gets the resource collection API of ProtectedItems. It manages ProtectedItemResource.
*
- * @return Resource collection API of PrivateEndpoints.
+ * @return Resource collection API of ProtectedItems.
*/
- public PrivateEndpoints privateEndpoints() {
- if (this.privateEndpoints == null) {
- this.privateEndpoints = new PrivateEndpointsImpl(clientObject.getPrivateEndpoints(), this);
+ public ProtectedItems protectedItems() {
+ if (this.protectedItems == null) {
+ this.protectedItems = new ProtectedItemsImpl(clientObject.getProtectedItems(), this);
}
- return privateEndpoints;
+ return protectedItems;
}
/**
- * Gets the resource collection API of ResourceProviders.
+ * Gets the resource collection API of Backups.
*
- * @return Resource collection API of ResourceProviders.
+ * @return Resource collection API of Backups.
*/
- public ResourceProviders resourceProviders() {
- if (this.resourceProviders == null) {
- this.resourceProviders = new ResourceProvidersImpl(clientObject.getResourceProviders(), this);
+ public Backups backups() {
+ if (this.backups == null) {
+ this.backups = new BackupsImpl(clientObject.getBackups(), this);
}
- return resourceProviders;
+ return backups;
}
/**
- * Gets the resource collection API of BmsPrepareDataMoveOperationResults.
+ * Gets the resource collection API of RecoveryPointsRecommendedForMoves.
*
- * @return Resource collection API of BmsPrepareDataMoveOperationResults.
+ * @return Resource collection API of RecoveryPointsRecommendedForMoves.
*/
- public BmsPrepareDataMoveOperationResults bmsPrepareDataMoveOperationResults() {
- if (this.bmsPrepareDataMoveOperationResults == null) {
- this.bmsPrepareDataMoveOperationResults = new BmsPrepareDataMoveOperationResultsImpl(
- clientObject.getBmsPrepareDataMoveOperationResults(), this);
+ public RecoveryPointsRecommendedForMoves recoveryPointsRecommendedForMoves() {
+ if (this.recoveryPointsRecommendedForMoves == null) {
+ this.recoveryPointsRecommendedForMoves
+ = new RecoveryPointsRecommendedForMovesImpl(clientObject.getRecoveryPointsRecommendedForMoves(), this);
}
- return bmsPrepareDataMoveOperationResults;
+ return recoveryPointsRecommendedForMoves;
}
/**
- * Gets the resource collection API of ProtectedItems. It manages ProtectedItemResource.
+ * Gets the resource collection API of ProtectedItemOperationStatuses.
*
- * @return Resource collection API of ProtectedItems.
+ * @return Resource collection API of ProtectedItemOperationStatuses.
*/
- public ProtectedItems protectedItems() {
- if (this.protectedItems == null) {
- this.protectedItems = new ProtectedItemsImpl(clientObject.getProtectedItems(), this);
+ public ProtectedItemOperationStatuses protectedItemOperationStatuses() {
+ if (this.protectedItemOperationStatuses == null) {
+ this.protectedItemOperationStatuses
+ = new ProtectedItemOperationStatusesImpl(clientObject.getProtectedItemOperationStatuses(), this);
}
- return protectedItems;
+ return protectedItemOperationStatuses;
}
/**
@@ -656,39 +604,77 @@ public ProtectedItemOperationResults protectedItemOperationResults() {
}
/**
- * Gets the resource collection API of RecoveryPoints.
+ * Gets the resource collection API of ProtectionContainers. It manages ProtectionContainerResource.
*
- * @return Resource collection API of RecoveryPoints.
+ * @return Resource collection API of ProtectionContainers.
*/
- public RecoveryPoints recoveryPoints() {
- if (this.recoveryPoints == null) {
- this.recoveryPoints = new RecoveryPointsImpl(clientObject.getRecoveryPoints(), this);
+ public ProtectionContainers protectionContainers() {
+ if (this.protectionContainers == null) {
+ this.protectionContainers = new ProtectionContainersImpl(clientObject.getProtectionContainers(), this);
}
- return recoveryPoints;
+ return protectionContainers;
}
/**
- * Gets the resource collection API of Restores.
+ * Gets the resource collection API of BackupWorkloadItems.
*
- * @return Resource collection API of Restores.
+ * @return Resource collection API of BackupWorkloadItems.
*/
- public Restores restores() {
- if (this.restores == null) {
- this.restores = new RestoresImpl(clientObject.getRestores(), this);
+ public BackupWorkloadItems backupWorkloadItems() {
+ if (this.backupWorkloadItems == null) {
+ this.backupWorkloadItems = new BackupWorkloadItemsImpl(clientObject.getBackupWorkloadItems(), this);
}
- return restores;
+ return backupWorkloadItems;
}
/**
- * Gets the resource collection API of BackupPolicies.
+ * Gets the resource collection API of ProtectionContainerOperationResults.
*
- * @return Resource collection API of BackupPolicies.
+ * @return Resource collection API of ProtectionContainerOperationResults.
*/
- public BackupPolicies backupPolicies() {
- if (this.backupPolicies == null) {
- this.backupPolicies = new BackupPoliciesImpl(clientObject.getBackupPolicies(), this);
+ public ProtectionContainerOperationResults protectionContainerOperationResults() {
+ if (this.protectionContainerOperationResults == null) {
+ this.protectionContainerOperationResults = new ProtectionContainerOperationResultsImpl(
+ clientObject.getProtectionContainerOperationResults(), this);
}
- return backupPolicies;
+ return protectionContainerOperationResults;
+ }
+
+ /**
+ * Gets the resource collection API of RecoveryPoints.
+ *
+ * @return Resource collection API of RecoveryPoints.
+ */
+ public RecoveryPoints recoveryPoints() {
+ if (this.recoveryPoints == null) {
+ this.recoveryPoints = new RecoveryPointsImpl(clientObject.getRecoveryPoints(), this);
+ }
+ return recoveryPoints;
+ }
+
+ /**
+ * Gets the resource collection API of Restores.
+ *
+ * @return Resource collection API of Restores.
+ */
+ public Restores restores() {
+ if (this.restores == null) {
+ this.restores = new RestoresImpl(clientObject.getRestores(), this);
+ }
+ return restores;
+ }
+
+ /**
+ * Gets the resource collection API of ItemLevelRecoveryConnections.
+ *
+ * @return Resource collection API of ItemLevelRecoveryConnections.
+ */
+ public ItemLevelRecoveryConnections itemLevelRecoveryConnections() {
+ if (this.itemLevelRecoveryConnections == null) {
+ this.itemLevelRecoveryConnections
+ = new ItemLevelRecoveryConnectionsImpl(clientObject.getItemLevelRecoveryConnections(), this);
+ }
+ return itemLevelRecoveryConnections;
}
/**
@@ -703,6 +689,18 @@ public ProtectionPolicies protectionPolicies() {
return protectionPolicies;
}
+ /**
+ * Gets the resource collection API of BackupPolicies.
+ *
+ * @return Resource collection API of BackupPolicies.
+ */
+ public BackupPolicies backupPolicies() {
+ if (this.backupPolicies == null) {
+ this.backupPolicies = new BackupPoliciesImpl(clientObject.getBackupPolicies(), this);
+ }
+ return backupPolicies;
+ }
+
/**
* Gets the resource collection API of ProtectionPolicyOperationResults.
*
@@ -717,15 +715,16 @@ public ProtectionPolicyOperationResults protectionPolicyOperationResults() {
}
/**
- * Gets the resource collection API of BackupJobs.
+ * Gets the resource collection API of ProtectionPolicyOperationStatuses.
*
- * @return Resource collection API of BackupJobs.
+ * @return Resource collection API of ProtectionPolicyOperationStatuses.
*/
- public BackupJobs backupJobs() {
- if (this.backupJobs == null) {
- this.backupJobs = new BackupJobsImpl(clientObject.getBackupJobs(), this);
+ public ProtectionPolicyOperationStatuses protectionPolicyOperationStatuses() {
+ if (this.protectionPolicyOperationStatuses == null) {
+ this.protectionPolicyOperationStatuses
+ = new ProtectionPolicyOperationStatusesImpl(clientObject.getProtectionPolicyOperationStatuses(), this);
}
- return backupJobs;
+ return protectionPolicyOperationStatuses;
}
/**
@@ -740,6 +739,18 @@ public JobDetails jobDetails() {
return jobDetails;
}
+ /**
+ * Gets the resource collection API of BackupJobs.
+ *
+ * @return Resource collection API of BackupJobs.
+ */
+ public BackupJobs backupJobs() {
+ if (this.backupJobs == null) {
+ this.backupJobs = new BackupJobsImpl(clientObject.getBackupJobs(), this);
+ }
+ return backupJobs;
+ }
+
/**
* Gets the resource collection API of JobCancellations.
*
@@ -777,6 +788,67 @@ public ExportJobsOperationResults exportJobsOperationResults() {
return exportJobsOperationResults;
}
+ /**
+ * Gets the resource collection API of BackupEngines.
+ *
+ * @return Resource collection API of BackupEngines.
+ */
+ public BackupEngines backupEngines() {
+ if (this.backupEngines == null) {
+ this.backupEngines = new BackupEnginesImpl(clientObject.getBackupEngines(), this);
+ }
+ return backupEngines;
+ }
+
+ /**
+ * Gets the resource collection API of BackupStatus.
+ *
+ * @return Resource collection API of BackupStatus.
+ */
+ public BackupStatus backupStatus() {
+ if (this.backupStatus == null) {
+ this.backupStatus = new BackupStatusImpl(clientObject.getBackupStatus(), this);
+ }
+ return backupStatus;
+ }
+
+ /**
+ * Gets the resource collection API of FeatureSupports.
+ *
+ * @return Resource collection API of FeatureSupports.
+ */
+ public FeatureSupports featureSupports() {
+ if (this.featureSupports == null) {
+ this.featureSupports = new FeatureSupportsImpl(clientObject.getFeatureSupports(), this);
+ }
+ return featureSupports;
+ }
+
+ /**
+ * Gets the resource collection API of BackupProtectionIntents.
+ *
+ * @return Resource collection API of BackupProtectionIntents.
+ */
+ public BackupProtectionIntents backupProtectionIntents() {
+ if (this.backupProtectionIntents == null) {
+ this.backupProtectionIntents
+ = new BackupProtectionIntentsImpl(clientObject.getBackupProtectionIntents(), this);
+ }
+ return backupProtectionIntents;
+ }
+
+ /**
+ * Gets the resource collection API of BackupUsageSummaries.
+ *
+ * @return Resource collection API of BackupUsageSummaries.
+ */
+ public BackupUsageSummaries backupUsageSummaries() {
+ if (this.backupUsageSummaries == null) {
+ this.backupUsageSummaries = new BackupUsageSummariesImpl(clientObject.getBackupUsageSummaries(), this);
+ }
+ return backupUsageSummaries;
+ }
+
/**
* Gets the resource collection API of Jobs.
*
@@ -801,18 +873,6 @@ public BackupProtectedItems backupProtectedItems() {
return backupProtectedItems;
}
- /**
- * Gets the resource collection API of OperationOperations.
- *
- * @return Resource collection API of OperationOperations.
- */
- public OperationOperations operationOperations() {
- if (this.operationOperations == null) {
- this.operationOperations = new OperationOperationsImpl(clientObject.getOperationOperations(), this);
- }
- return operationOperations;
- }
-
/**
* Gets the resource collection API of ValidateOperations.
*
@@ -851,18 +911,6 @@ public ValidateOperationStatuses validateOperationStatuses() {
return validateOperationStatuses;
}
- /**
- * Gets the resource collection API of BackupEngines.
- *
- * @return Resource collection API of BackupEngines.
- */
- public BackupEngines backupEngines() {
- if (this.backupEngines == null) {
- this.backupEngines = new BackupEnginesImpl(clientObject.getBackupEngines(), this);
- }
- return backupEngines;
- }
-
/**
* Gets the resource collection API of ProtectionContainerRefreshOperationResults.
*
@@ -888,81 +936,6 @@ public ProtectableContainers protectableContainers() {
return protectableContainers;
}
- /**
- * Gets the resource collection API of ProtectionContainers. It manages ProtectionContainerResource.
- *
- * @return Resource collection API of ProtectionContainers.
- */
- public ProtectionContainers protectionContainers() {
- if (this.protectionContainers == null) {
- this.protectionContainers = new ProtectionContainersImpl(clientObject.getProtectionContainers(), this);
- }
- return protectionContainers;
- }
-
- /**
- * Gets the resource collection API of BackupWorkloadItems.
- *
- * @return Resource collection API of BackupWorkloadItems.
- */
- public BackupWorkloadItems backupWorkloadItems() {
- if (this.backupWorkloadItems == null) {
- this.backupWorkloadItems = new BackupWorkloadItemsImpl(clientObject.getBackupWorkloadItems(), this);
- }
- return backupWorkloadItems;
- }
-
- /**
- * Gets the resource collection API of ProtectionContainerOperationResults.
- *
- * @return Resource collection API of ProtectionContainerOperationResults.
- */
- public ProtectionContainerOperationResults protectionContainerOperationResults() {
- if (this.protectionContainerOperationResults == null) {
- this.protectionContainerOperationResults = new ProtectionContainerOperationResultsImpl(
- clientObject.getProtectionContainerOperationResults(), this);
- }
- return protectionContainerOperationResults;
- }
-
- /**
- * Gets the resource collection API of Backups.
- *
- * @return Resource collection API of Backups.
- */
- public Backups backups() {
- if (this.backups == null) {
- this.backups = new BackupsImpl(clientObject.getBackups(), this);
- }
- return backups;
- }
-
- /**
- * Gets the resource collection API of ProtectedItemOperationStatuses.
- *
- * @return Resource collection API of ProtectedItemOperationStatuses.
- */
- public ProtectedItemOperationStatuses protectedItemOperationStatuses() {
- if (this.protectedItemOperationStatuses == null) {
- this.protectedItemOperationStatuses
- = new ProtectedItemOperationStatusesImpl(clientObject.getProtectedItemOperationStatuses(), this);
- }
- return protectedItemOperationStatuses;
- }
-
- /**
- * Gets the resource collection API of ItemLevelRecoveryConnections.
- *
- * @return Resource collection API of ItemLevelRecoveryConnections.
- */
- public ItemLevelRecoveryConnections itemLevelRecoveryConnections() {
- if (this.itemLevelRecoveryConnections == null) {
- this.itemLevelRecoveryConnections
- = new ItemLevelRecoveryConnectionsImpl(clientObject.getItemLevelRecoveryConnections(), this);
- }
- return itemLevelRecoveryConnections;
- }
-
/**
* Gets the resource collection API of BackupOperationResults.
*
@@ -989,19 +962,6 @@ public BackupOperationStatuses backupOperationStatuses() {
return backupOperationStatuses;
}
- /**
- * Gets the resource collection API of ProtectionPolicyOperationStatuses.
- *
- * @return Resource collection API of ProtectionPolicyOperationStatuses.
- */
- public ProtectionPolicyOperationStatuses protectionPolicyOperationStatuses() {
- if (this.protectionPolicyOperationStatuses == null) {
- this.protectionPolicyOperationStatuses
- = new ProtectionPolicyOperationStatusesImpl(clientObject.getProtectionPolicyOperationStatuses(), this);
- }
- return protectionPolicyOperationStatuses;
- }
-
/**
* Gets the resource collection API of BackupProtectableItems.
*
@@ -1053,44 +1013,6 @@ public SecurityPINs securityPINs() {
return securityPINs;
}
- /**
- * Gets the resource collection API of RecoveryPointsRecommendedForMoves.
- *
- * @return Resource collection API of RecoveryPointsRecommendedForMoves.
- */
- public RecoveryPointsRecommendedForMoves recoveryPointsRecommendedForMoves() {
- if (this.recoveryPointsRecommendedForMoves == null) {
- this.recoveryPointsRecommendedForMoves
- = new RecoveryPointsRecommendedForMovesImpl(clientObject.getRecoveryPointsRecommendedForMoves(), this);
- }
- return recoveryPointsRecommendedForMoves;
- }
-
- /**
- * Gets the resource collection API of ResourceGuardProxies.
- *
- * @return Resource collection API of ResourceGuardProxies.
- */
- public ResourceGuardProxies resourceGuardProxies() {
- if (this.resourceGuardProxies == null) {
- this.resourceGuardProxies = new ResourceGuardProxiesImpl(clientObject.getResourceGuardProxies(), this);
- }
- return resourceGuardProxies;
- }
-
- /**
- * Gets the resource collection API of ResourceGuardProxyOperations. It manages ResourceGuardProxyBaseResource.
- *
- * @return Resource collection API of ResourceGuardProxyOperations.
- */
- public ResourceGuardProxyOperations resourceGuardProxyOperations() {
- if (this.resourceGuardProxyOperations == null) {
- this.resourceGuardProxyOperations
- = new ResourceGuardProxyOperationsImpl(clientObject.getResourceGuardProxyOperations(), this);
- }
- return resourceGuardProxyOperations;
- }
-
/**
* Gets the resource collection API of FetchTieringCosts.
*
@@ -1130,12 +1052,74 @@ public TieringCostOperationStatus tieringCostOperationStatus() {
}
/**
- * Gets wrapped service client RecoveryServicesBackupClient providing direct access to the underlying auto-generated
- * API implementation, based on Azure REST API.
+ * Gets the resource collection API of ProtectionIntents. It manages ProtectionIntentResource.
+ *
+ * @return Resource collection API of ProtectionIntents.
+ */
+ public ProtectionIntents protectionIntents() {
+ if (this.protectionIntents == null) {
+ this.protectionIntents = new ProtectionIntentsImpl(clientObject.getProtectionIntents(), this);
+ }
+ return protectionIntents;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateEndpointConnections. It manages PrivateEndpointConnectionResource.
+ *
+ * @return Resource collection API of PrivateEndpointConnections.
+ */
+ public PrivateEndpointConnections privateEndpointConnections() {
+ if (this.privateEndpointConnections == null) {
+ this.privateEndpointConnections
+ = new PrivateEndpointConnectionsImpl(clientObject.getPrivateEndpointConnections(), this);
+ }
+ return privateEndpointConnections;
+ }
+
+ /**
+ * Gets the resource collection API of PrivateEndpoints.
+ *
+ * @return Resource collection API of PrivateEndpoints.
+ */
+ public PrivateEndpoints privateEndpoints() {
+ if (this.privateEndpoints == null) {
+ this.privateEndpoints = new PrivateEndpointsImpl(clientObject.getPrivateEndpoints(), this);
+ }
+ return privateEndpoints;
+ }
+
+ /**
+ * Gets the resource collection API of ResourceGuardProxyOperations. It manages ResourceGuardProxyBaseResource.
+ *
+ * @return Resource collection API of ResourceGuardProxyOperations.
+ */
+ public ResourceGuardProxyOperations resourceGuardProxyOperations() {
+ if (this.resourceGuardProxyOperations == null) {
+ this.resourceGuardProxyOperations
+ = new ResourceGuardProxyOperationsImpl(clientObject.getResourceGuardProxyOperations(), this);
+ }
+ return resourceGuardProxyOperations;
+ }
+
+ /**
+ * Gets the resource collection API of OperationOperations.
+ *
+ * @return Resource collection API of OperationOperations.
+ */
+ public OperationOperations operationOperations() {
+ if (this.operationOperations == null) {
+ this.operationOperations = new OperationOperationsImpl(clientObject.getOperationOperations(), this);
+ }
+ return operationOperations;
+ }
+
+ /**
+ * Gets wrapped service client RecoveryServicesBackupManagementClient providing direct access to the underlying
+ * auto-generated API implementation, based on Azure REST API.
*
- * @return Wrapped service client RecoveryServicesBackupClient.
+ * @return Wrapped service client RecoveryServicesBackupManagementClient.
*/
- public RecoveryServicesBackupClient serviceClient() {
+ public RecoveryServicesBackupManagementClient serviceClient() {
return this.clientObject;
}
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupEnginesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupEnginesClient.java
index ea9e3bb0195a..3d30f087ef6e 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupEnginesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupEnginesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -15,41 +15,11 @@
* An instance of this class provides access to all the operations defined in BackupEnginesClient.
*/
public interface BackupEnginesClient {
- /**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String vaultName, String resourceGroupName);
-
- /**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param filter OData filter options.
- * @param skipToken skipToken Filter.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable list(String vaultName, String resourceGroupName, String filter,
- String skipToken, Context context);
-
/**
* Returns backup management server registered to Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param backupEngineName Name of the backup management server.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
@@ -66,8 +36,8 @@ Response getWithResponse(String vaultName, String
/**
* Returns backup management server registered to Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param backupEngineName Name of the backup management server.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -76,4 +46,34 @@ Response getWithResponse(String vaultName, String
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BackupEngineBaseResourceInner get(String vaultName, String resourceGroupName, String backupEngineName);
+
+ /**
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String vaultName, String resourceGroupName);
+
+ /**
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param filter OData filter options.
+ * @param skipToken skipToken Filter.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String vaultName, String resourceGroupName, String filter,
+ String skipToken, Context context);
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupJobsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupJobsClient.java
index 4f9ae0326581..20817534556c 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupJobsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupJobsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,8 +17,8 @@ public interface BackupJobsClient {
/**
* Provides a pageable list of jobs.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -30,8 +30,8 @@ public interface BackupJobsClient {
/**
* Provides a pageable list of jobs.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationResultsClient.java
index 4ea795a6d852..5f5c850e4693 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -21,7 +21,7 @@ public interface BackupOperationResultsClient {
* part of the Location header of the operation response.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID which represents the operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -40,7 +40,7 @@ public interface BackupOperationResultsClient {
* part of the Location header of the operation response.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID which represents the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationStatusesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationStatusesClient.java
index 8d47d48b5da6..34e204ebad92 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationStatusesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationStatusesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,7 +20,7 @@ public interface BackupOperationStatusesClient {
* create jobs. This method returns the list of jobs when the operation is complete.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID which represents the operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -38,7 +38,7 @@ Response getWithResponse(String vaultName, String resource
* create jobs. This method returns the list of jobs when the operation is complete.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID which represents the operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupPoliciesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupPoliciesClient.java
index df3bf1d867f1..7ff7ffe64d8f 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupPoliciesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupPoliciesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,8 +18,8 @@ public interface BackupPoliciesClient {
* Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
* scoped results.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -32,8 +32,8 @@ public interface BackupPoliciesClient {
* Lists of backup policies associated with Recovery Services Vault. API provides pagination parameters to fetch
* scoped results.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectableItemsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectableItemsClient.java
index 7da9a7ee1b86..e22f75cefc6a 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectableItemsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectableItemsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,7 +19,7 @@ public interface BackupProtectableItemsClient {
* pagination parameters.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -33,7 +33,7 @@ public interface BackupProtectableItemsClient {
* pagination parameters.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectedItemsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectedItemsClient.java
index ceff8e466610..568996aa1a40 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectedItemsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectedItemsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface BackupProtectedItemsClient {
* Provides a pageable list of all items that are backed up within a vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -31,7 +31,7 @@ public interface BackupProtectedItemsClient {
* Provides a pageable list of all items that are backed up within a vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionContainersClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionContainersClient.java
index a7eb06bc343d..c677861318fc 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionContainersClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface BackupProtectionContainersClient {
* Lists the containers registered to Recovery Services Vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -31,7 +31,7 @@ public interface BackupProtectionContainersClient {
* Lists the containers registered to Recovery Services Vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionIntentsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionIntentsClient.java
index 9dbd497ad003..82f4e78b1909 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionIntentsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupProtectionIntentsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface BackupProtectionIntentsClient {
* Provides a pageable list of all intents that are present within a vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -31,7 +31,7 @@ public interface BackupProtectionIntentsClient {
* Provides a pageable list of all intents that are present within a vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceEncryptionConfigsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceEncryptionConfigsClient.java
index 40931c72d807..63210b8fc9aa 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceEncryptionConfigsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceEncryptionConfigsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,8 +18,8 @@ public interface BackupResourceEncryptionConfigsClient {
/**
* Fetches Vault Encryption config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,8 +33,8 @@ Response getWithResponse(St
/**
* Fetches Vault Encryption config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -46,8 +46,8 @@ Response getWithResponse(St
/**
* Updates Vault encryption config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Vault encryption input config request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -62,8 +62,8 @@ Response updateWithResponse(String vaultName, String resourceGroupName,
/**
* Updates Vault encryption config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Vault encryption input config request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceStorageConfigsNonCrrsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceStorageConfigsNonCrrsClient.java
index eecc7a6ede46..cf503ca82a88 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceStorageConfigsNonCrrsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceStorageConfigsNonCrrsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,8 +17,8 @@ public interface BackupResourceStorageConfigsNonCrrsClient {
/**
* Fetches resource storage config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -32,8 +32,8 @@ Response getWithResponse(String vaultName, St
/**
* Fetches resource storage config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -45,8 +45,8 @@ Response getWithResponse(String vaultName, St
/**
* Updates vault storage model type.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Vault storage config request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -61,8 +61,8 @@ Response updateWithResponse(String vaultName,
/**
* Updates vault storage model type.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Vault storage config request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -76,8 +76,8 @@ BackupResourceConfigResourceInner update(String vaultName, String resourceGroupN
/**
* Updates vault storage model type.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Vault storage config request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -92,8 +92,8 @@ Response patchWithResponse(String vaultName, String resourceGroupName,
/**
* Updates vault storage model type.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Vault storage config request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceVaultConfigsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceVaultConfigsClient.java
index d78a57965536..62c6d7ea1373 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceVaultConfigsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceVaultConfigsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,8 +17,8 @@ public interface BackupResourceVaultConfigsClient {
/**
* Fetches resource vault config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -32,8 +32,8 @@ Response getWithResponse(String vaultNam
/**
* Fetches resource vault config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -45,8 +45,8 @@ Response getWithResponse(String vaultNam
/**
* Updates vault security config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource config request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -55,14 +55,14 @@ Response getWithResponse(String vaultNam
* @return backup resource vault config details along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response updateWithResponse(String vaultName, String resourceGroupName,
+ Response putWithResponse(String vaultName, String resourceGroupName,
BackupResourceVaultConfigResourceInner parameters, Context context);
/**
* Updates vault security config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource config request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -70,14 +70,14 @@ Response updateWithResponse(String vault
* @return backup resource vault config details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupResourceVaultConfigResourceInner update(String vaultName, String resourceGroupName,
+ BackupResourceVaultConfigResourceInner put(String vaultName, String resourceGroupName,
BackupResourceVaultConfigResourceInner parameters);
/**
* Updates vault security config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource config request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -86,14 +86,14 @@ BackupResourceVaultConfigResourceInner update(String vaultName, String resourceG
* @return backup resource vault config details along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response putWithResponse(String vaultName, String resourceGroupName,
+ Response updateWithResponse(String vaultName, String resourceGroupName,
BackupResourceVaultConfigResourceInner parameters, Context context);
/**
* Updates vault security config.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource config request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -101,6 +101,6 @@ Response putWithResponse(String vaultNam
* @return backup resource vault config details.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- BackupResourceVaultConfigResourceInner put(String vaultName, String resourceGroupName,
+ BackupResourceVaultConfigResourceInner update(String vaultName, String resourceGroupName,
BackupResourceVaultConfigResourceInner parameters);
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupStatusClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupStatusClient.java
index 303e494cb856..0e5acd72ed4c 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupStatusClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupStatusClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupUsageSummariesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupUsageSummariesClient.java
index ae2ed88aa7c8..828878881df4 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupUsageSummariesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupUsageSummariesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface BackupUsageSummariesClient {
* Fetches the backup management usage summaries of the vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -31,7 +31,7 @@ public interface BackupUsageSummariesClient {
* Fetches the backup management usage summaries of the vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupWorkloadItemsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupWorkloadItemsClient.java
index 43817f0d367b..8bd383448336 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupWorkloadItemsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupWorkloadItemsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,10 +19,10 @@ public interface BackupWorkloadItemsClient {
* pagination
* parameters.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Name of the container.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -37,10 +37,10 @@ PagedIterable list(String vaultName, String resourceG
* pagination
* parameters.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Name of the container.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupsClient.java
index 428222718134..4c4cbd0998cd 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,11 +18,11 @@ public interface BackupsClient {
* Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the
* operation, call GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Backup item for which backup needs to be triggered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param parameters resource backup request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -38,11 +38,11 @@ Response triggerWithResponse(String vaultName, String resourceGroupName, S
* Triggers backup for specified backed up item. This is an asynchronous operation. To know the status of the
* operation, call GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Backup item for which backup needs to be triggered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param parameters resource backup request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BmsPrepareDataMoveOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BmsPrepareDataMoveOperationResultsClient.java
index ce4b0994bf90..4f1170f70b9c 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BmsPrepareDataMoveOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BmsPrepareDataMoveOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -15,11 +15,11 @@
*/
public interface BmsPrepareDataMoveOperationResultsClient {
/**
- * Fetches Operation Result for Prepare Data Move.
+ * Fetches operation status for data move operation on vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param operationId The operationId parameter.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param operationId The name of the BackupResourceConfigResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -31,11 +31,11 @@ Response getWithResponse(String
String operationId, Context context);
/**
- * Fetches Operation Result for Prepare Data Move.
+ * Fetches operation status for data move operation on vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param operationId The operationId parameter.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param operationId The name of the BackupResourceConfigResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/DeletedProtectionContainersClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/DeletedProtectionContainersClient.java
index 34fffe273bab..624f241c505a 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/DeletedProtectionContainersClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/DeletedProtectionContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,7 +17,7 @@ public interface DeletedProtectionContainersClient {
/**
* Lists the soft deleted containers registered to Recovery Services Vault.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -30,7 +30,7 @@ public interface DeletedProtectionContainersClient {
/**
* Lists the soft deleted containers registered to Recovery Services Vault.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param filter OData filter options.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ExportJobsOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ExportJobsOperationResultsClient.java
index 04bebbffd934..845a68ee6946 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ExportJobsOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ExportJobsOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,9 +19,9 @@ public interface ExportJobsOperationResultsClient {
* contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized
* format.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param operationId OperationID which represents the export job.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param operationId The name of the JobResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -37,9 +37,9 @@ Response getWithResponse(String vaultName,
* contains URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized
* format.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param operationId OperationID which represents the export job.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param operationId The name of the JobResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FeatureSupportsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FeatureSupportsClient.java
index 53b66d28a408..04d8d53dfc96 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FeatureSupportsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FeatureSupportsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FetchTieringCostsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FetchTieringCostsClient.java
index cb9a8056e3ed..0b91fc9c5fd5 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FetchTieringCostsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/FetchTieringCostsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -21,7 +21,7 @@ public interface FetchTieringCostsClient {
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -38,7 +38,7 @@ SyncPoller, TieringCostInfoInner> beginPost(Str
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @param context The context to associate with this operation.
@@ -56,7 +56,7 @@ SyncPoller, TieringCostInfoInner> beginPost(Str
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -72,7 +72,7 @@ SyncPoller, TieringCostInfoInner> beginPost(Str
* Status of the operation can be fetched using GetTieringCostOperationStatus API and result using
* GetTieringCostOperationResult API.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param parameters Fetch Tiering Cost Request.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/GetTieringCostOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/GetTieringCostOperationResultsClient.java
index 22236873f91d..f0e996f218bb 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/GetTieringCostOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/GetTieringCostOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,7 +17,7 @@ public interface GetTieringCostOperationResultsClient {
/**
* Gets the result of async operation for tiering cost.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param operationId The operationId parameter.
* @param context The context to associate with this operation.
@@ -33,7 +33,7 @@ Response getWithResponse(String resourceGroupName, String
/**
* Gets the result of async operation for tiering cost.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param operationId The operationId parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ItemLevelRecoveryConnectionsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ItemLevelRecoveryConnectionsClient.java
index d7a35fb6f5db..496af3cdaa1f 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ItemLevelRecoveryConnectionsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ItemLevelRecoveryConnectionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,13 +20,12 @@ public interface ItemLevelRecoveryConnectionsClient {
* of
* provisioning, call GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item name whose files/folders are to be restored.
- * @param recoveryPointId Recovery point ID which represents backed up data. iSCSI connection will be provisioned
- * for this backed up data.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters resource ILR request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -45,13 +44,12 @@ Response provisionWithResponse(String vaultName, String resourceGroupName,
* of
* provisioning, call GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item name whose files/folders are to be restored.
- * @param recoveryPointId Recovery point ID which represents backed up data. iSCSI connection will be provisioned
- * for this backed up data.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters resource ILR request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -65,13 +63,12 @@ void provision(String vaultName, String resourceGroupName, String fabricName, St
* Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer
* displaying all recoverable files and folders. This is an asynchronous operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item name whose files/folders are to be restored.
- * @param recoveryPointId Recovery point ID which represents backed up data. iSCSI connection will be revoked for
- * this backed up data.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -86,13 +83,12 @@ Response revokeWithResponse(String vaultName, String resourceGroupName, St
* Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer
* displaying all recoverable files and folders. This is an asynchronous operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item name whose files/folders are to be restored.
- * @param recoveryPointId Recovery point ID which represents backed up data. iSCSI connection will be revoked for
- * this backed up data.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobCancellationsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobCancellationsClient.java
index e56816e9c7d7..46268b3c813a 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobCancellationsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobCancellationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,9 +17,9 @@ public interface JobCancellationsClient {
* Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call
* GetCancelOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param jobName Name of the job to cancel.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the job whose details are to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,9 +33,9 @@ public interface JobCancellationsClient {
* Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call
* GetCancelOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param jobName Name of the job to cancel.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName Name of the job whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobDetailsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobDetailsClient.java
index 6ecbe4129daa..ac4aaf22ee46 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobDetailsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobDetailsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,8 +17,8 @@ public interface JobDetailsClient {
/**
* Gets extended information associated with the job.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Name of the job whose details are to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -33,8 +33,8 @@ Response getWithResponse(String vaultName, String resourceGrou
/**
* Gets extended information associated with the job.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param jobName Name of the job whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobOperationResultsClient.java
index 2a33e2c149bc..5b6844050255 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -16,10 +16,10 @@ public interface JobOperationResultsClient {
/**
* Fetches the result of any operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param jobName Job name whose operation result has to be fetched.
- * @param operationId OperationID which represents the operation whose result has to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName The name of the JobResource.
+ * @param operationId The name of the JobResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,10 +33,10 @@ Response getWithResponse(String vaultName, String resourceGroupName, Strin
/**
* Fetches the result of any operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param jobName Job name whose operation result has to be fetched.
- * @param operationId OperationID which represents the operation whose result has to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param jobName The name of the JobResource.
+ * @param operationId The name of the JobResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobsClient.java
index d7fcc56ea801..80d2e6efc93d 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/JobsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,7 +17,7 @@ public interface JobsClient {
* Triggers export of jobs specified by filters and returns an OperationID to track.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -32,7 +32,7 @@ public interface JobsClient {
* Triggers export of jobs specified by filters and returns an OperationID to track.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationOperationsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationOperationsClient.java
index 613d9b0ece7b..1605f4b0e651 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationOperationsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationOperationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,7 +19,7 @@ public interface OperationOperationsClient {
* Validate operation for specified backed up item. This is a synchronous operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource validate operation request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -35,7 +35,7 @@ Response validateWithResponse(String vaultName,
* Validate operation for specified backed up item. This is a synchronous operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource validate operation request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationsClient.java
index 1076bda133fa..666357241a9a 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/OperationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -15,7 +15,7 @@
*/
public interface OperationsClient {
/**
- * Returns the list of available operations.
+ * List the operations for the provider.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -26,7 +26,7 @@ public interface OperationsClient {
PagedIterable list();
/**
- * Returns the list of available operations.
+ * List the operations for the provider.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointConnectionsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointConnectionsClient.java
index 42e87d6e9f34..53660a836cda 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointConnectionsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointConnectionsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,8 +19,8 @@ public interface PrivateEndpointConnectionsClient {
/**
* Get Private Endpoint Connection. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -35,8 +35,8 @@ Response getWithResponse(String vaultNam
/**
* Get Private Endpoint Connection. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -50,8 +50,8 @@ PrivateEndpointConnectionResourceInner get(String vaultName, String resourceGrou
/**
* Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -67,8 +67,8 @@ SyncPoller, PrivateEndpointCo
/**
* Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param parameters Request body for operation.
* @param context The context to associate with this operation.
@@ -85,8 +85,8 @@ SyncPoller, PrivateEndpointCo
/**
* Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -101,8 +101,8 @@ PrivateEndpointConnectionResourceInner put(String vaultName, String resourceGrou
/**
* Approve or Reject Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param parameters Request body for operation.
* @param context The context to associate with this operation.
@@ -118,8 +118,8 @@ PrivateEndpointConnectionResourceInner put(String vaultName, String resourceGrou
/**
* Delete Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -133,8 +133,8 @@ SyncPoller, Void> beginDelete(String vaultName, String resource
/**
* Delete Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -149,8 +149,8 @@ SyncPoller, Void> beginDelete(String vaultName, String resource
/**
* Delete Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -162,8 +162,8 @@ SyncPoller, Void> beginDelete(String vaultName, String resource
/**
* Delete Private Endpoint requests. This call is made by Backup Admin.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateEndpointConnectionName The name of the private endpoint connection.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointsClient.java
index 4824733ee9dd..d3b0058c8e32 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/PrivateEndpointsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,10 +17,10 @@ public interface PrivateEndpointsClient {
/**
* Gets the operation status for a private endpoint connection.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param privateEndpointConnectionName The name of the private endpoint connection.
- * @param operationId Operation id.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the PrivateEndpointConnectionResource.
+ * @param operationId The name of the PrivateEndpointConnectionResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -34,10 +34,10 @@ Response getOperationStatusWithResponse(String vaultName,
/**
* Gets the operation status for a private endpoint connection.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param privateEndpointConnectionName The name of the private endpoint connection.
- * @param operationId Operation id.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param privateEndpointConnectionName The name of the PrivateEndpointConnectionResource.
+ * @param operationId The name of the PrivateEndpointConnectionResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectableContainersClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectableContainersClient.java
index 46c7ba6b99a6..5ddd54a353af 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectableContainersClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectableContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface ProtectableContainersClient {
* Lists the containers that can be registered to Recovery Services Vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fabricName The fabricName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -33,7 +33,7 @@ PagedIterable list(String vaultName, String r
* Lists the containers that can be registered to Recovery Services Vault.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fabricName The fabricName parameter.
* @param filter OData filter options.
* @param context The context to associate with this operation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationResultsClient.java
index 944b84bd7b3c..adbd5d0278fa 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,12 +17,12 @@ public interface ProtectedItemOperationResultsClient {
/**
* Fetches the result of any operation on the backup item.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Backup item name whose details are to be fetched.
- * @param operationId OperationID which represents the operation whose result needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName backupFabrics.
+ * @param containerName The name of the ProtectionContainerResource.
+ * @param protectedItemName The name of the ProtectedItemResource.
+ * @param operationId The name of the ProtectedItemResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -36,12 +36,12 @@ Response getWithResponse(String vaultName, String re
/**
* Fetches the result of any operation on the backup item.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Backup item name whose details are to be fetched.
- * @param operationId OperationID which represents the operation whose result needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName backupFabrics.
+ * @param containerName The name of the ProtectionContainerResource.
+ * @param protectedItemName The name of the ProtectedItemResource.
+ * @param operationId The name of the ProtectedItemResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationStatusesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationStatusesClient.java
index 5759692ff55d..b3bac26cbb34 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationStatusesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemOperationStatusesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,12 +20,12 @@ public interface ProtectedItemOperationStatusesClient {
* operations
* create jobs. This method returns the list of jobs associated with the operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Backup item name whose details are to be fetched.
- * @param operationId OperationID represents the operation whose status needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName backupFabrics.
+ * @param containerName The name of the ProtectionContainerResource.
+ * @param protectedItemName The name of the ProtectedItemResource.
+ * @param operationId The name of the ProtectedItemResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -42,12 +42,12 @@ Response getWithResponse(String vaultName, String resource
* operations
* create jobs. This method returns the list of jobs associated with the operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Backup item name whose details are to be fetched.
- * @param operationId OperationID represents the operation whose status needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName backupFabrics.
+ * @param containerName The name of the ProtectionContainerResource.
+ * @param protectedItemName The name of the ProtectedItemResource.
+ * @param operationId The name of the ProtectedItemResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemsClient.java
index 08443967e1a6..a338c1f8416e 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectedItemsClient.java
@@ -1,13 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
+import com.azure.core.management.polling.PollResult;
import com.azure.core.util.Context;
+import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ProtectedItemResourceInner;
/**
@@ -19,10 +21,10 @@ public interface ProtectedItemsClient {
* operation,
* call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
- * @param containerName Container name associated with the backed up item.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param protectedItemName Backed up item name whose details are to be fetched.
* @param filter OData filter options.
* @param context The context to associate with this operation.
@@ -40,10 +42,10 @@ Response getWithResponse(String vaultName, String re
* operation,
* call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
- * @param containerName Container name associated with the backed up item.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param protectedItemName Backed up item name whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -58,32 +60,52 @@ ProtectedItemResourceInner get(String vaultName, String resourceGroupName, Strin
* Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
* asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Item name to be backed up.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param parameters resource backed up item.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the {@link SyncPoller} for polling of base class for backup items.
+ */
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ProtectedItemResourceInner> beginCreateOrUpdate(String vaultName,
+ String resourceGroupName, String fabricName, String containerName, String protectedItemName,
+ ProtectedItemResourceInner parameters);
+
+ /**
+ * Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
+ * asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param parameters resource backed up item.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return base class for backup items along with {@link Response}.
+ * @return the {@link SyncPoller} for polling of base class for backup items.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response createOrUpdateWithResponse(String vaultName, String resourceGroupName,
- String fabricName, String containerName, String protectedItemName, ProtectedItemResourceInner parameters,
- Context context);
+ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
+ SyncPoller, ProtectedItemResourceInner> beginCreateOrUpdate(String vaultName,
+ String resourceGroupName, String fabricName, String containerName, String protectedItemName,
+ ProtectedItemResourceInner parameters, Context context);
/**
* Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
* asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param containerName Container name associated with the backup item.
- * @param protectedItemName Item name to be backed up.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param parameters resource backed up item.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -94,16 +116,36 @@ Response createOrUpdateWithResponse(String vaultName
ProtectedItemResourceInner createOrUpdate(String vaultName, String resourceGroupName, String fabricName,
String containerName, String protectedItemName, ProtectedItemResourceInner parameters);
+ /**
+ * Enables backup of an item or to modifies the backup policy information of an already backed up item. This is an
+ * asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param parameters resource backed up item.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return base class for backup items.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ ProtectedItemResourceInner createOrUpdate(String vaultName, String resourceGroupName, String fabricName,
+ String containerName, String protectedItemName, ProtectedItemResourceInner parameters, Context context);
+
/**
* Used to disable backup of an item within a container. This is an asynchronous operation. To know the status of
* the
* request, call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
- * @param containerName Container name associated with the backed up item.
- * @param protectedItemName Backed up item to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -119,11 +161,11 @@ Response deleteWithResponse(String vaultName, String resourceGroupName, St
* the
* request, call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
- * @param containerName Container name associated with the backed up item.
- * @param protectedItemName Backed up item to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerOperationResultsClient.java
index f565ee7dab85..4b8205a54885 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,11 +17,11 @@ public interface ProtectionContainerOperationResultsClient {
/**
* Fetches the result of any operation on the container.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Container name whose information should be fetched.
- * @param operationId Operation ID which represents the operation whose result needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName backupFabrics.
+ * @param containerName The name of the ProtectionContainerResource.
+ * @param operationId The name of the ProtectionContainerResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -35,11 +35,11 @@ Response getWithResponse(String vaultName, Str
/**
* Fetches the result of any operation on the container.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Container name whose information should be fetched.
- * @param operationId Operation ID which represents the operation whose result needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName backupFabrics.
+ * @param containerName The name of the ProtectionContainerResource.
+ * @param operationId The name of the ProtectionContainerResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerRefreshOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerRefreshOperationResultsClient.java
index 3e002fc4f661..fe5847d07330 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerRefreshOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainerRefreshOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface ProtectionContainerRefreshOperationResultsClient {
* Provides the result of the refresh operation triggered by the BeginRefresh operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fabricName Fabric name associated with the container.
* @param operationId Operation ID associated with the operation whose result needs to be fetched.
* @param context The context to associate with this operation.
@@ -35,7 +35,7 @@ Response getWithResponse(String vaultName, String resourceGroupName, Strin
* Provides the result of the refresh operation triggered by the BeginRefresh operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fabricName Fabric name associated with the container.
* @param operationId Operation ID associated with the operation whose result needs to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainersClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainersClient.java
index 7fd6a4992dda..218446294f6f 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainersClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionContainersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,9 +19,9 @@ public interface ProtectionContainersClient {
/**
* Gets details of the specific container registered to your Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Name of the fabric where the container belongs.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
* @param containerName Name of the container whose details need to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -36,9 +36,9 @@ Response getWithResponse(String vaultName, Str
/**
* Gets details of the specific container registered to your Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Name of the fabric where the container belongs.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
* @param containerName Name of the container whose details need to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -55,10 +55,10 @@ ProtectionContainerResourceInner get(String vaultName, String resourceGroupName,
* of
* the operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Name of the container to be registered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -76,10 +76,10 @@ SyncPoller, ProtectionContainerReso
* of
* the operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Name of the container to be registered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param parameters Request body for operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -98,10 +98,10 @@ SyncPoller, ProtectionContainerReso
* of
* the operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Name of the container to be registered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -118,10 +118,10 @@ ProtectionContainerResourceInner register(String vaultName, String resourceGroup
* of
* the operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the container.
- * @param containerName Name of the container to be registered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param parameters Request body for operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -138,10 +138,10 @@ ProtectionContainerResourceInner register(String vaultName, String resourceGroup
* determine
* whether the backend service has finished processing the request, call Get Container Operation Result API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Name of the fabric where the container belongs.
- * @param containerName Name of the container which needs to be unregistered from the Recovery Services Vault.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -157,10 +157,10 @@ Response unregisterWithResponse(String vaultName, String resourceGroupName
* determine
* whether the backend service has finished processing the request, call Get Container Operation Result API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Name of the fabric where the container belongs.
- * @param containerName Name of the container which needs to be unregistered from the Recovery Services Vault.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -169,14 +169,12 @@ Response unregisterWithResponse(String vaultName, String resourceGroupName
void unregister(String vaultName, String resourceGroupName, String fabricName, String containerName);
/**
- * Inquires all the protectable items under the given container.
- *
* This is an async operation and the results should be tracked using location header or Azure-async-url.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric Name associated with the container.
- * @param containerName Name of the container in which inquiry needs to be triggered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @param filter OData filter options.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -189,14 +187,12 @@ Response inquireWithResponse(String vaultName, String resourceGroupName, S
String containerName, String filter, Context context);
/**
- * Inquires all the protectable items under the given container.
- *
* This is an async operation and the results should be tracked using location header or Azure-async-url.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric Name associated with the container.
- * @param containerName Name of the container in which inquiry needs to be triggered.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -209,7 +205,7 @@ Response inquireWithResponse(String vaultName, String resourceGroupName, S
* asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fabricName Fabric name associated the container.
* @param filter OData filter options.
* @param context The context to associate with this operation.
@@ -227,7 +223,7 @@ Response refreshWithResponse(String vaultName, String resourceGroupName, S
* asynchronous operation. To know the status of the operation, call GetRefreshOperationResult API.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param fabricName Fabric name associated the container.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionIntentsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionIntentsClient.java
index 5fea840f2d8a..3d1ce92f71b0 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionIntentsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionIntentsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -16,48 +16,14 @@
* An instance of this class provides access to all the operations defined in ProtectionIntentsClient.
*/
public interface ProtectionIntentsClient {
- /**
- * It will validate followings
- * 1. Vault capacity
- * 2. VM is already protected
- * 3. Any VM related configuration passed in properties.
- *
- * @param azureRegion Azure region to hit Api.
- * @param parameters Enable backup validation request on Virtual Machine.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response contract for enable backup validation request along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response validateWithResponse(String azureRegion,
- PreValidateEnableBackupRequest parameters, Context context);
-
- /**
- * It will validate followings
- * 1. Vault capacity
- * 2. VM is already protected
- * 3. Any VM related configuration passed in properties.
- *
- * @param azureRegion Azure region to hit Api.
- * @param parameters Enable backup validation request on Virtual Machine.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return response contract for enable backup validation request.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- PreValidateEnableBackupResponseInner validate(String azureRegion, PreValidateEnableBackupRequest parameters);
-
/**
* Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of
* the operation,
* call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
* @param intentObjectName Backed up item name whose details are to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -74,9 +40,9 @@ Response getWithResponse(String vaultName, String
* the operation,
* call the GetItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
* @param intentObjectName Backed up item name whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -90,10 +56,10 @@ ProtectionIntentResourceInner get(String vaultName, String resourceGroupName, St
/**
* Create Intent for Enabling backup of an item. This is a synchronous operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param intentObjectName Intent object name.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param intentObjectName Backed up item name whose details are to be fetched.
* @param parameters resource backed up item.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -108,10 +74,10 @@ Response createOrUpdateWithResponse(String vaultN
/**
* Create Intent for Enabling backup of an item. This is a synchronous operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backup item.
- * @param intentObjectName Intent object name.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param intentObjectName Backed up item name whose details are to be fetched.
* @param parameters resource backed up item.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -125,10 +91,10 @@ ProtectionIntentResourceInner createOrUpdate(String vaultName, String resourceGr
/**
* Used to remove intent from an item.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the intent.
- * @param intentObjectName Intent to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param intentObjectName Backed up item name whose details are to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -142,14 +108,48 @@ Response deleteWithResponse(String vaultName, String resourceGroupName, St
/**
* Used to remove intent from an item.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the intent.
- * @param intentObjectName Intent to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param intentObjectName Backed up item name whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String vaultName, String resourceGroupName, String fabricName, String intentObjectName);
+
+ /**
+ * It will validate followings
+ * 1. Vault capacity
+ * 2. VM is already protected
+ * 3. Any VM related configuration passed in properties.
+ *
+ * @param azureRegion Azure region to hit Api.
+ * @param parameters Enable backup validation request on Virtual Machine.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return response contract for enable backup validation request along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response validateWithResponse(String azureRegion,
+ PreValidateEnableBackupRequest parameters, Context context);
+
+ /**
+ * It will validate followings
+ * 1. Vault capacity
+ * 2. VM is already protected
+ * 3. Any VM related configuration passed in properties.
+ *
+ * @param azureRegion Azure region to hit Api.
+ * @param parameters Enable backup validation request on Virtual Machine.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return response contract for enable backup validation request.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ PreValidateEnableBackupResponseInner validate(String azureRegion, PreValidateEnableBackupRequest parameters);
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPoliciesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPoliciesClient.java
index 01ee92d17d99..1537bf0a1601 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPoliciesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPoliciesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,8 +20,8 @@ public interface ProtectionPoliciesClient {
* Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
* operation. Status of the operation can be fetched using GetPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param policyName Backup policy information to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -37,8 +37,8 @@ Response getWithResponse(String vaultName, String
* Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous
* operation. Status of the operation can be fetched using GetPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param policyName Backup policy information to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -52,9 +52,9 @@ Response getWithResponse(String vaultName, String
* Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
* using GetPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy to be created.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName Backup policy information to be fetched.
* @param parameters resource backup policy.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -70,9 +70,9 @@ Response createOrUpdateWithResponse(String vaultN
* Creates or modifies a backup policy. This is an asynchronous operation. Status of the operation can be fetched
* using GetPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy to be created.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName Backup policy information to be fetched.
* @param parameters resource backup policy.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -88,9 +88,9 @@ ProtectionPolicyResourceInner createOrUpdate(String vaultName, String resourceGr
* the
* operation can be fetched using GetProtectionPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName Backup policy information to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -104,9 +104,9 @@ ProtectionPolicyResourceInner createOrUpdate(String vaultName, String resourceGr
* the
* operation can be fetched using GetProtectionPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName Backup policy information to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -122,9 +122,9 @@ SyncPoller, Void> beginDelete(String vaultName, String resource
* the
* operation can be fetched using GetProtectionPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName Backup policy information to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -137,9 +137,9 @@ SyncPoller, Void> beginDelete(String vaultName, String resource
* the
* operation can be fetched using GetProtectionPolicyOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy to be deleted.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName Backup policy information to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationResultsClient.java
index 07b755f7562d..685f94eaba2a 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,10 +17,10 @@ public interface ProtectionPolicyOperationResultsClient {
/**
* Provides the result of an operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy name whose operation's result needs to be fetched.
- * @param operationId Operation ID which represents the operation whose result needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName The name of the ProtectionPolicyResource.
+ * @param operationId The name of the ProtectionPolicyResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -34,10 +34,10 @@ Response getWithResponse(String vaultName, String
/**
* Provides the result of an operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy name whose operation's result needs to be fetched.
- * @param operationId Operation ID which represents the operation whose result needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName The name of the ProtectionPolicyResource.
+ * @param operationId The name of the ProtectionPolicyResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationStatusesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationStatusesClient.java
index e0cce043dc2a..5dd0a4aa8798 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationStatusesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ProtectionPolicyOperationStatusesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,10 +20,10 @@ public interface ProtectionPolicyOperationStatusesClient {
* operations
* create jobs. This method returns the list of jobs associated with operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy name whose operation's status needs to be fetched.
- * @param operationId Operation ID which represents an operation whose status needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName The name of the ProtectionPolicyResource.
+ * @param operationId The name of the ProtectionPolicyResource.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -40,10 +40,10 @@ Response getWithResponse(String vaultName, String resource
* operations
* create jobs. This method returns the list of jobs associated with operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param policyName Backup policy name whose operation's status needs to be fetched.
- * @param operationId Operation ID which represents an operation whose status needs to be fetched.
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param policyName The name of the ProtectionPolicyResource.
+ * @param operationId The name of the ProtectionPolicyResource.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsClient.java
index 22d909dc1230..5fad2408774b 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -10,19 +10,61 @@
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.RecoveryPointResourceInner;
+import com.azure.resourcemanager.recoveryservicesbackup.models.UpdateRecoveryPointRequest;
/**
* An instance of this class provides access to all the operations defined in RecoveryPointsClient.
*/
public interface RecoveryPointsClient {
+ /**
+ * Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous
+ * operation.
+ * To know the status of the operation, call the GetProtectedItemOperationResult API.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return base class for backup copies along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getWithResponse(String vaultName, String resourceGroupName, String fabricName,
+ String containerName, String protectedItemName, String recoveryPointId, Context context);
+
+ /**
+ * Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous
+ * operation.
+ * To know the status of the operation, call the GetProtectedItemOperationResult API.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return base class for backup copies.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ RecoveryPointResourceInner get(String vaultName, String resourceGroupName, String fabricName, String containerName,
+ String protectedItemName, String recoveryPointId);
+
/**
* Lists the backup copies for the backed up item.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
- * @param containerName Container name associated with the backed up item.
- * @param protectedItemName Backed up item whose backup copies are to be fetched.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
@@ -35,11 +77,11 @@ PagedIterable list(String vaultName, String resource
/**
* Lists the backup copies for the backed up item.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up item.
- * @param containerName Container name associated with the backed up item.
- * @param protectedItemName Backed up item whose backup copies are to be fetched.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param filter OData filter options.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -52,16 +94,15 @@ PagedIterable list(String vaultName, String resource
String containerName, String protectedItemName, String filter, Context context);
/**
- * Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous
- * operation.
- * To know the status of the operation, call the GetProtectedItemOperationResult API.
+ * UpdateRecoveryPoint to update recovery point for given RecoveryPointID.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with backed up item.
- * @param containerName Container name associated with backed up item.
- * @param protectedItemName Backed up item name whose backup data needs to be fetched.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param vaultName The name of the VaultResource.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
+ * @param parameters Request body for operation.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -69,26 +110,26 @@ PagedIterable list(String vaultName, String resource
* @return base class for backup copies along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- Response getWithResponse(String vaultName, String resourceGroupName, String fabricName,
- String containerName, String protectedItemName, String recoveryPointId, Context context);
+ Response updateWithResponse(String resourceGroupName, String vaultName,
+ String fabricName, String containerName, String protectedItemName, String recoveryPointId,
+ UpdateRecoveryPointRequest parameters, Context context);
/**
- * Provides the information of the backed up data identified using RecoveryPointID. This is an asynchronous
- * operation.
- * To know the status of the operation, call the GetProtectedItemOperationResult API.
+ * UpdateRecoveryPoint to update recovery point for given RecoveryPointID.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with backed up item.
- * @param containerName Container name associated with backed up item.
- * @param protectedItemName Backed up item name whose backup data needs to be fetched.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param vaultName The name of the VaultResource.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
+ * @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return base class for backup copies.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- RecoveryPointResourceInner get(String vaultName, String resourceGroupName, String fabricName, String containerName,
- String protectedItemName, String recoveryPointId);
+ RecoveryPointResourceInner update(String resourceGroupName, String vaultName, String fabricName,
+ String containerName, String protectedItemName, String recoveryPointId, UpdateRecoveryPointRequest parameters);
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsRecommendedForMovesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsRecommendedForMovesClient.java
index 719030238499..495487b3e183 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsRecommendedForMovesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryPointsRecommendedForMovesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,11 +18,11 @@ public interface RecoveryPointsRecommendedForMovesClient {
/**
* Lists the recovery points recommended for move to another tier.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName The fabricName parameter.
- * @param containerName The containerName parameter.
- * @param protectedItemName The protectedItemName parameter.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param parameters List Recovery points Recommended for Move Request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -36,11 +36,11 @@ PagedIterable list(String vaultName, String resource
/**
* Lists the recovery points recommended for move to another tier.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName The fabricName parameter.
- * @param containerName The containerName parameter.
- * @param protectedItemName The protectedItemName parameter.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
* @param parameters List Recovery points Recommended for Move Request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryServicesBackupClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryServicesBackupManagementClient.java
similarity index 96%
rename from sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryServicesBackupClient.java
rename to sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryServicesBackupManagementClient.java
index 585bf1b39f59..4fbf3fbeea52 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryServicesBackupClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RecoveryServicesBackupManagementClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -8,30 +8,30 @@
import java.time.Duration;
/**
- * The interface for RecoveryServicesBackupClient class.
+ * The interface for RecoveryServicesBackupManagementClient class.
*/
-public interface RecoveryServicesBackupClient {
+public interface RecoveryServicesBackupManagementClient {
/**
- * Gets The subscription Id.
- *
- * @return the subscriptionId value.
- */
- String getSubscriptionId();
-
- /**
- * Gets server parameter.
+ * Gets Service host.
*
* @return the endpoint value.
*/
String getEndpoint();
/**
- * Gets Api Version.
+ * Gets Version parameter.
*
* @return the apiVersion value.
*/
String getApiVersion();
+ /**
+ * Gets The ID of the target subscription. The value must be an UUID.
+ *
+ * @return the subscriptionId value.
+ */
+ String getSubscriptionId();
+
/**
* Gets The HTTP pipeline to send requests through.
*
@@ -47,109 +47,102 @@ public interface RecoveryServicesBackupClient {
Duration getDefaultPollInterval();
/**
- * Gets the BackupResourceStorageConfigsNonCrrsClient object to access its operations.
- *
- * @return the BackupResourceStorageConfigsNonCrrsClient object.
- */
- BackupResourceStorageConfigsNonCrrsClient getBackupResourceStorageConfigsNonCrrs();
-
- /**
- * Gets the ProtectionIntentsClient object to access its operations.
+ * Gets the ResourceProvidersClient object to access its operations.
*
- * @return the ProtectionIntentsClient object.
+ * @return the ResourceProvidersClient object.
*/
- ProtectionIntentsClient getProtectionIntents();
+ ResourceProvidersClient getResourceProviders();
/**
- * Gets the BackupStatusClient object to access its operations.
+ * Gets the OperationsClient object to access its operations.
*
- * @return the BackupStatusClient object.
+ * @return the OperationsClient object.
*/
- BackupStatusClient getBackupStatus();
+ OperationsClient getOperations();
/**
- * Gets the FeatureSupportsClient object to access its operations.
+ * Gets the BackupResourceStorageConfigsNonCrrsClient object to access its operations.
*
- * @return the FeatureSupportsClient object.
+ * @return the BackupResourceStorageConfigsNonCrrsClient object.
*/
- FeatureSupportsClient getFeatureSupports();
+ BackupResourceStorageConfigsNonCrrsClient getBackupResourceStorageConfigsNonCrrs();
/**
- * Gets the BackupProtectionIntentsClient object to access its operations.
+ * Gets the BmsPrepareDataMoveOperationResultsClient object to access its operations.
*
- * @return the BackupProtectionIntentsClient object.
+ * @return the BmsPrepareDataMoveOperationResultsClient object.
*/
- BackupProtectionIntentsClient getBackupProtectionIntents();
+ BmsPrepareDataMoveOperationResultsClient getBmsPrepareDataMoveOperationResults();
/**
- * Gets the BackupUsageSummariesClient object to access its operations.
+ * Gets the BackupResourceVaultConfigsClient object to access its operations.
*
- * @return the BackupUsageSummariesClient object.
+ * @return the BackupResourceVaultConfigsClient object.
*/
- BackupUsageSummariesClient getBackupUsageSummaries();
+ BackupResourceVaultConfigsClient getBackupResourceVaultConfigs();
/**
- * Gets the OperationsClient object to access its operations.
+ * Gets the BackupResourceEncryptionConfigsClient object to access its operations.
*
- * @return the OperationsClient object.
+ * @return the BackupResourceEncryptionConfigsClient object.
*/
- OperationsClient getOperations();
+ BackupResourceEncryptionConfigsClient getBackupResourceEncryptionConfigs();
/**
- * Gets the BackupResourceVaultConfigsClient object to access its operations.
+ * Gets the ProtectedItemsClient object to access its operations.
*
- * @return the BackupResourceVaultConfigsClient object.
+ * @return the ProtectedItemsClient object.
*/
- BackupResourceVaultConfigsClient getBackupResourceVaultConfigs();
+ ProtectedItemsClient getProtectedItems();
/**
- * Gets the BackupResourceEncryptionConfigsClient object to access its operations.
+ * Gets the BackupsClient object to access its operations.
*
- * @return the BackupResourceEncryptionConfigsClient object.
+ * @return the BackupsClient object.
*/
- BackupResourceEncryptionConfigsClient getBackupResourceEncryptionConfigs();
+ BackupsClient getBackups();
/**
- * Gets the PrivateEndpointConnectionsClient object to access its operations.
+ * Gets the RecoveryPointsRecommendedForMovesClient object to access its operations.
*
- * @return the PrivateEndpointConnectionsClient object.
+ * @return the RecoveryPointsRecommendedForMovesClient object.
*/
- PrivateEndpointConnectionsClient getPrivateEndpointConnections();
+ RecoveryPointsRecommendedForMovesClient getRecoveryPointsRecommendedForMoves();
/**
- * Gets the PrivateEndpointsClient object to access its operations.
+ * Gets the ProtectedItemOperationStatusesClient object to access its operations.
*
- * @return the PrivateEndpointsClient object.
+ * @return the ProtectedItemOperationStatusesClient object.
*/
- PrivateEndpointsClient getPrivateEndpoints();
+ ProtectedItemOperationStatusesClient getProtectedItemOperationStatuses();
/**
- * Gets the ResourceProvidersClient object to access its operations.
+ * Gets the ProtectedItemOperationResultsClient object to access its operations.
*
- * @return the ResourceProvidersClient object.
+ * @return the ProtectedItemOperationResultsClient object.
*/
- ResourceProvidersClient getResourceProviders();
+ ProtectedItemOperationResultsClient getProtectedItemOperationResults();
/**
- * Gets the BmsPrepareDataMoveOperationResultsClient object to access its operations.
+ * Gets the ProtectionContainersClient object to access its operations.
*
- * @return the BmsPrepareDataMoveOperationResultsClient object.
+ * @return the ProtectionContainersClient object.
*/
- BmsPrepareDataMoveOperationResultsClient getBmsPrepareDataMoveOperationResults();
+ ProtectionContainersClient getProtectionContainers();
/**
- * Gets the ProtectedItemsClient object to access its operations.
+ * Gets the BackupWorkloadItemsClient object to access its operations.
*
- * @return the ProtectedItemsClient object.
+ * @return the BackupWorkloadItemsClient object.
*/
- ProtectedItemsClient getProtectedItems();
+ BackupWorkloadItemsClient getBackupWorkloadItems();
/**
- * Gets the ProtectedItemOperationResultsClient object to access its operations.
+ * Gets the ProtectionContainerOperationResultsClient object to access its operations.
*
- * @return the ProtectedItemOperationResultsClient object.
+ * @return the ProtectionContainerOperationResultsClient object.
*/
- ProtectedItemOperationResultsClient getProtectedItemOperationResults();
+ ProtectionContainerOperationResultsClient getProtectionContainerOperationResults();
/**
* Gets the RecoveryPointsClient object to access its operations.
@@ -166,11 +159,11 @@ public interface RecoveryServicesBackupClient {
RestoresClient getRestores();
/**
- * Gets the BackupPoliciesClient object to access its operations.
+ * Gets the ItemLevelRecoveryConnectionsClient object to access its operations.
*
- * @return the BackupPoliciesClient object.
+ * @return the ItemLevelRecoveryConnectionsClient object.
*/
- BackupPoliciesClient getBackupPolicies();
+ ItemLevelRecoveryConnectionsClient getItemLevelRecoveryConnections();
/**
* Gets the ProtectionPoliciesClient object to access its operations.
@@ -179,6 +172,13 @@ public interface RecoveryServicesBackupClient {
*/
ProtectionPoliciesClient getProtectionPolicies();
+ /**
+ * Gets the BackupPoliciesClient object to access its operations.
+ *
+ * @return the BackupPoliciesClient object.
+ */
+ BackupPoliciesClient getBackupPolicies();
+
/**
* Gets the ProtectionPolicyOperationResultsClient object to access its operations.
*
@@ -187,11 +187,11 @@ public interface RecoveryServicesBackupClient {
ProtectionPolicyOperationResultsClient getProtectionPolicyOperationResults();
/**
- * Gets the BackupJobsClient object to access its operations.
+ * Gets the ProtectionPolicyOperationStatusesClient object to access its operations.
*
- * @return the BackupJobsClient object.
+ * @return the ProtectionPolicyOperationStatusesClient object.
*/
- BackupJobsClient getBackupJobs();
+ ProtectionPolicyOperationStatusesClient getProtectionPolicyOperationStatuses();
/**
* Gets the JobDetailsClient object to access its operations.
@@ -200,6 +200,13 @@ public interface RecoveryServicesBackupClient {
*/
JobDetailsClient getJobDetails();
+ /**
+ * Gets the BackupJobsClient object to access its operations.
+ *
+ * @return the BackupJobsClient object.
+ */
+ BackupJobsClient getBackupJobs();
+
/**
* Gets the JobCancellationsClient object to access its operations.
*
@@ -221,6 +228,41 @@ public interface RecoveryServicesBackupClient {
*/
ExportJobsOperationResultsClient getExportJobsOperationResults();
+ /**
+ * Gets the BackupEnginesClient object to access its operations.
+ *
+ * @return the BackupEnginesClient object.
+ */
+ BackupEnginesClient getBackupEngines();
+
+ /**
+ * Gets the BackupStatusClient object to access its operations.
+ *
+ * @return the BackupStatusClient object.
+ */
+ BackupStatusClient getBackupStatus();
+
+ /**
+ * Gets the FeatureSupportsClient object to access its operations.
+ *
+ * @return the FeatureSupportsClient object.
+ */
+ FeatureSupportsClient getFeatureSupports();
+
+ /**
+ * Gets the BackupProtectionIntentsClient object to access its operations.
+ *
+ * @return the BackupProtectionIntentsClient object.
+ */
+ BackupProtectionIntentsClient getBackupProtectionIntents();
+
+ /**
+ * Gets the BackupUsageSummariesClient object to access its operations.
+ *
+ * @return the BackupUsageSummariesClient object.
+ */
+ BackupUsageSummariesClient getBackupUsageSummaries();
+
/**
* Gets the JobsClient object to access its operations.
*
@@ -235,13 +277,6 @@ public interface RecoveryServicesBackupClient {
*/
BackupProtectedItemsClient getBackupProtectedItems();
- /**
- * Gets the OperationOperationsClient object to access its operations.
- *
- * @return the OperationOperationsClient object.
- */
- OperationOperationsClient getOperationOperations();
-
/**
* Gets the ValidateOperationsClient object to access its operations.
*
@@ -263,13 +298,6 @@ public interface RecoveryServicesBackupClient {
*/
ValidateOperationStatusesClient getValidateOperationStatuses();
- /**
- * Gets the BackupEnginesClient object to access its operations.
- *
- * @return the BackupEnginesClient object.
- */
- BackupEnginesClient getBackupEngines();
-
/**
* Gets the ProtectionContainerRefreshOperationResultsClient object to access its operations.
*
@@ -284,48 +312,6 @@ public interface RecoveryServicesBackupClient {
*/
ProtectableContainersClient getProtectableContainers();
- /**
- * Gets the ProtectionContainersClient object to access its operations.
- *
- * @return the ProtectionContainersClient object.
- */
- ProtectionContainersClient getProtectionContainers();
-
- /**
- * Gets the BackupWorkloadItemsClient object to access its operations.
- *
- * @return the BackupWorkloadItemsClient object.
- */
- BackupWorkloadItemsClient getBackupWorkloadItems();
-
- /**
- * Gets the ProtectionContainerOperationResultsClient object to access its operations.
- *
- * @return the ProtectionContainerOperationResultsClient object.
- */
- ProtectionContainerOperationResultsClient getProtectionContainerOperationResults();
-
- /**
- * Gets the BackupsClient object to access its operations.
- *
- * @return the BackupsClient object.
- */
- BackupsClient getBackups();
-
- /**
- * Gets the ProtectedItemOperationStatusesClient object to access its operations.
- *
- * @return the ProtectedItemOperationStatusesClient object.
- */
- ProtectedItemOperationStatusesClient getProtectedItemOperationStatuses();
-
- /**
- * Gets the ItemLevelRecoveryConnectionsClient object to access its operations.
- *
- * @return the ItemLevelRecoveryConnectionsClient object.
- */
- ItemLevelRecoveryConnectionsClient getItemLevelRecoveryConnections();
-
/**
* Gets the BackupOperationResultsClient object to access its operations.
*
@@ -340,13 +326,6 @@ public interface RecoveryServicesBackupClient {
*/
BackupOperationStatusesClient getBackupOperationStatuses();
- /**
- * Gets the ProtectionPolicyOperationStatusesClient object to access its operations.
- *
- * @return the ProtectionPolicyOperationStatusesClient object.
- */
- ProtectionPolicyOperationStatusesClient getProtectionPolicyOperationStatuses();
-
/**
* Gets the BackupProtectableItemsClient object to access its operations.
*
@@ -376,44 +355,58 @@ public interface RecoveryServicesBackupClient {
SecurityPINsClient getSecurityPINs();
/**
- * Gets the RecoveryPointsRecommendedForMovesClient object to access its operations.
+ * Gets the FetchTieringCostsClient object to access its operations.
*
- * @return the RecoveryPointsRecommendedForMovesClient object.
+ * @return the FetchTieringCostsClient object.
*/
- RecoveryPointsRecommendedForMovesClient getRecoveryPointsRecommendedForMoves();
+ FetchTieringCostsClient getFetchTieringCosts();
/**
- * Gets the ResourceGuardProxiesClient object to access its operations.
+ * Gets the GetTieringCostOperationResultsClient object to access its operations.
*
- * @return the ResourceGuardProxiesClient object.
+ * @return the GetTieringCostOperationResultsClient object.
*/
- ResourceGuardProxiesClient getResourceGuardProxies();
+ GetTieringCostOperationResultsClient getGetTieringCostOperationResults();
/**
- * Gets the ResourceGuardProxyOperationsClient object to access its operations.
+ * Gets the TieringCostOperationStatusClient object to access its operations.
*
- * @return the ResourceGuardProxyOperationsClient object.
+ * @return the TieringCostOperationStatusClient object.
*/
- ResourceGuardProxyOperationsClient getResourceGuardProxyOperations();
+ TieringCostOperationStatusClient getTieringCostOperationStatus();
/**
- * Gets the FetchTieringCostsClient object to access its operations.
+ * Gets the ProtectionIntentsClient object to access its operations.
*
- * @return the FetchTieringCostsClient object.
+ * @return the ProtectionIntentsClient object.
*/
- FetchTieringCostsClient getFetchTieringCosts();
+ ProtectionIntentsClient getProtectionIntents();
/**
- * Gets the GetTieringCostOperationResultsClient object to access its operations.
+ * Gets the PrivateEndpointConnectionsClient object to access its operations.
*
- * @return the GetTieringCostOperationResultsClient object.
+ * @return the PrivateEndpointConnectionsClient object.
*/
- GetTieringCostOperationResultsClient getGetTieringCostOperationResults();
+ PrivateEndpointConnectionsClient getPrivateEndpointConnections();
/**
- * Gets the TieringCostOperationStatusClient object to access its operations.
+ * Gets the PrivateEndpointsClient object to access its operations.
*
- * @return the TieringCostOperationStatusClient object.
+ * @return the PrivateEndpointsClient object.
*/
- TieringCostOperationStatusClient getTieringCostOperationStatus();
+ PrivateEndpointsClient getPrivateEndpoints();
+
+ /**
+ * Gets the ResourceGuardProxyOperationsClient object to access its operations.
+ *
+ * @return the ResourceGuardProxyOperationsClient object.
+ */
+ ResourceGuardProxyOperationsClient getResourceGuardProxyOperations();
+
+ /**
+ * Gets the OperationOperationsClient object to access its operations.
+ *
+ * @return the OperationOperationsClient object.
+ */
+ OperationOperationsClient getOperationOperations();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxiesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxiesClient.java
deleted file mode 100644
index 368ed5826ecc..000000000000
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxiesClient.java
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
-
-package com.azure.resourcemanager.recoveryservicesbackup.fluent;
-
-import com.azure.core.annotation.ReturnType;
-import com.azure.core.annotation.ServiceMethod;
-import com.azure.core.http.rest.PagedIterable;
-import com.azure.core.util.Context;
-import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ResourceGuardProxyBaseResourceInner;
-
-/**
- * An instance of this class provides access to all the operations defined in ResourceGuardProxiesClient.
- */
-public interface ResourceGuardProxiesClient {
- /**
- * List the ResourceGuardProxies under vault.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of ResourceGuardProxyBase resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable get(String vaultName, String resourceGroupName);
-
- /**
- * List the ResourceGuardProxies under vault.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of ResourceGuardProxyBase resources as paginated response with {@link PagedIterable}.
- */
- @ServiceMethod(returns = ReturnType.COLLECTION)
- PagedIterable get(String vaultName, String resourceGroupName, Context context);
-}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxyOperationsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxyOperationsClient.java
index 5cf2f0247315..b094676bae14 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxyOperationsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceGuardProxyOperationsClient.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
+import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.ResourceGuardProxyBaseResourceInner;
@@ -19,8 +20,8 @@ public interface ResourceGuardProxyOperationsClient {
/**
* Returns ResourceGuardProxy under vault and with the name referenced in request.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -35,8 +36,8 @@ Response getWithResponse(String vaultName,
/**
* Returns ResourceGuardProxy under vault and with the name referenced in request.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -50,8 +51,8 @@ Response getWithResponse(String vaultName,
* Add or Update ResourceGuardProxy under vault
* Secures vault critical operations.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @param parameters Request body for operation.
* @param context The context to associate with this operation.
@@ -68,8 +69,8 @@ Response putWithResponse(String vaultName,
* Add or Update ResourceGuardProxy under vault
* Secures vault critical operations.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -84,8 +85,8 @@ ResourceGuardProxyBaseResourceInner put(String vaultName, String resourceGroupNa
/**
* Delete ResourceGuardProxy under vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -100,8 +101,8 @@ Response deleteWithResponse(String vaultName, String resourceGroupName, St
/**
* Delete ResourceGuardProxy under vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -113,8 +114,8 @@ Response deleteWithResponse(String vaultName, String resourceGroupName, St
/**
* Secures delete ResourceGuardProxy operations.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @param parameters Request body for operation.
* @param context The context to associate with this operation.
@@ -130,8 +131,8 @@ Response unlockDeleteWithResponse(String vaultName, S
/**
* Secures delete ResourceGuardProxy operations.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceGuardProxyName The resourceGuardProxyName parameter.
* @param parameters Request body for operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -142,4 +143,32 @@ Response unlockDeleteWithResponse(String vaultName, S
@ServiceMethod(returns = ReturnType.SINGLE)
UnlockDeleteResponseInner unlockDelete(String vaultName, String resourceGroupName, String resourceGuardProxyName,
UnlockDeleteRequest parameters);
+
+ /**
+ * List the ResourceGuardProxies under vault.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of ResourceGuardProxyBase resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String vaultName, String resourceGroupName);
+
+ /**
+ * List the ResourceGuardProxies under vault.
+ *
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return list of ResourceGuardProxyBase resources as paginated response with {@link PagedIterable}.
+ */
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ PagedIterable list(String vaultName, String resourceGroupName,
+ Context context);
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceProvidersClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceProvidersClient.java
index d2f1cc172afc..08bb48a41814 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceProvidersClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ResourceProvidersClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -12,6 +12,7 @@
import com.azure.core.util.polling.SyncPoller;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.OperationStatusInner;
import com.azure.resourcemanager.recoveryservicesbackup.models.MoveRPAcrossTiersRequest;
+import com.azure.resourcemanager.recoveryservicesbackup.models.OkResponse;
import com.azure.resourcemanager.recoveryservicesbackup.models.PrepareDataMoveRequest;
import com.azure.resourcemanager.recoveryservicesbackup.models.TriggerDataMoveRequest;
@@ -19,41 +20,11 @@
* An instance of this class provides access to all the operations defined in ResourceProvidersClient.
*/
public interface ResourceProvidersClient {
- /**
- * Fetches operation status for data move operation on vault.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param operationId The operationId parameter.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return operation status along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- Response getOperationStatusWithResponse(String vaultName, String resourceGroupName,
- String operationId, Context context);
-
- /**
- * Fetches operation status for data move operation on vault.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param operationId The operationId parameter.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return operation status.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- OperationStatusInner getOperationStatus(String vaultName, String resourceGroupName, String operationId);
-
/**
* Prepares source vault for Data Move operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Prepare data move request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -61,14 +32,14 @@ Response getOperationStatusWithResponse(String vaultName,
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginBmsPrepareDataMove(String vaultName, String resourceGroupName,
+ SyncPoller, OkResponse> beginBmsPrepareDataMove(String vaultName, String resourceGroupName,
PrepareDataMoveRequest parameters);
/**
* Prepares source vault for Data Move operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Prepare data move request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -77,42 +48,44 @@ SyncPoller, Void> beginBmsPrepareDataMove(String vaultName, Str
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginBmsPrepareDataMove(String vaultName, String resourceGroupName,
+ SyncPoller, OkResponse> beginBmsPrepareDataMove(String vaultName, String resourceGroupName,
PrepareDataMoveRequest parameters, Context context);
/**
* Prepares source vault for Data Move operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Prepare data move request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataMoveRequest parameters);
+ OkResponse bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataMoveRequest parameters);
/**
* Prepares source vault for Data Move operation.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Prepare data move request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataMoveRequest parameters,
+ OkResponse bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataMoveRequest parameters,
Context context);
/**
* Triggers Data Move Operation on target vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Trigger data move request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -120,14 +93,14 @@ void bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataM
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginBmsTriggerDataMove(String vaultName, String resourceGroupName,
+ SyncPoller, OkResponse> beginBmsTriggerDataMove(String vaultName, String resourceGroupName,
TriggerDataMoveRequest parameters);
/**
* Triggers Data Move Operation on target vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Trigger data move request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -136,46 +109,78 @@ SyncPoller, Void> beginBmsTriggerDataMove(String vaultName, Str
* @return the {@link SyncPoller} for polling of long-running operation.
*/
@ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION)
- SyncPoller, Void> beginBmsTriggerDataMove(String vaultName, String resourceGroupName,
+ SyncPoller, OkResponse> beginBmsTriggerDataMove(String vaultName, String resourceGroupName,
TriggerDataMoveRequest parameters, Context context);
/**
* Triggers Data Move Operation on target vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Trigger data move request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void bmsTriggerDataMove(String vaultName, String resourceGroupName, TriggerDataMoveRequest parameters);
+ OkResponse bmsTriggerDataMove(String vaultName, String resourceGroupName, TriggerDataMoveRequest parameters);
/**
* Triggers Data Move Operation on target vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters Trigger data move request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- void bmsTriggerDataMove(String vaultName, String resourceGroupName, TriggerDataMoveRequest parameters,
+ OkResponse bmsTriggerDataMove(String vaultName, String resourceGroupName, TriggerDataMoveRequest parameters,
Context context);
+ /**
+ * Fetches Operation Result for Prepare Data Move.
+ *
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param operationId The name of the BackupResourceConfigResource.
+ * @param context The context to associate with this operation.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return operation status along with {@link Response}.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ Response getOperationStatusWithResponse(String vaultName, String resourceGroupName,
+ String operationId, Context context);
+
+ /**
+ * Fetches Operation Result for Prepare Data Move.
+ *
+ * @param vaultName vaults.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param operationId The name of the BackupResourceConfigResource.
+ * @throws IllegalArgumentException thrown if parameters fail the validation.
+ * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
+ * @return operation status.
+ */
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ OperationStatusInner getOperationStatus(String vaultName, String resourceGroupName, String operationId);
+
/**
* Move recovery point from one datastore to another store.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName The fabricName parameter.
- * @param containerName The containerName parameter.
- * @param protectedItemName The protectedItemName parameter.
- * @param recoveryPointId The recoveryPointId parameter.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters Move Resource Across Tiers Request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -190,12 +195,12 @@ SyncPoller, Void> beginMoveRecoveryPoint(String vaultName, Stri
/**
* Move recovery point from one datastore to another store.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName The fabricName parameter.
- * @param containerName The containerName parameter.
- * @param protectedItemName The protectedItemName parameter.
- * @param recoveryPointId The recoveryPointId parameter.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters Move Resource Across Tiers Request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -211,12 +216,12 @@ SyncPoller, Void> beginMoveRecoveryPoint(String vaultName, Stri
/**
* Move recovery point from one datastore to another store.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName The fabricName parameter.
- * @param containerName The containerName parameter.
- * @param protectedItemName The protectedItemName parameter.
- * @param recoveryPointId The recoveryPointId parameter.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters Move Resource Across Tiers Request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -229,12 +234,12 @@ void moveRecoveryPoint(String vaultName, String resourceGroupName, String fabric
/**
* Move recovery point from one datastore to another store.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName The fabricName parameter.
- * @param containerName The containerName parameter.
- * @param protectedItemName The protectedItemName parameter.
- * @param recoveryPointId The recoveryPointId parameter.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters Move Resource Across Tiers Request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RestoresClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RestoresClient.java
index d10f53eb8c14..fb85fcd55fe6 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RestoresClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/RestoresClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,12 +20,12 @@ public interface RestoresClient {
* use
* GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item to be restored.
- * @param recoveryPointId Recovery point ID which represents the backed up data to be restored.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters resource restore request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -41,12 +41,12 @@ SyncPoller, Void> beginTrigger(String vaultName, String resourc
* use
* GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item to be restored.
- * @param recoveryPointId Recovery point ID which represents the backed up data to be restored.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters resource restore request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -64,12 +64,12 @@ SyncPoller, Void> beginTrigger(String vaultName, String resourc
* use
* GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item to be restored.
- * @param recoveryPointId Recovery point ID which represents the backed up data to be restored.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters resource restore request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -84,12 +84,12 @@ void trigger(String vaultName, String resourceGroupName, String fabricName, Stri
* use
* GetProtectedItemOperationResult API.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param fabricName Fabric name associated with the backed up items.
- * @param containerName Container name associated with the backed up items.
- * @param protectedItemName Backed up item to be restored.
- * @param recoveryPointId Recovery point ID which represents the backed up data to be restored.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param fabricName The name of the BackupFabricResource.
+ * @param containerName Name of the container whose details need to be fetched.
+ * @param protectedItemName Backed up item name whose details are to be fetched.
+ * @param recoveryPointId RecoveryPointID represents the backed up data to be fetched.
* @param parameters resource restore request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/SecurityPINsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/SecurityPINsClient.java
index e83156f1320c..4ba46a06d262 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/SecurityPINsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/SecurityPINsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -19,7 +19,7 @@ public interface SecurityPINsClient {
* Get the security PIN.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters security pin request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -35,7 +35,7 @@ Response getWithResponse(String vaultName, String resourc
* Get the security PIN.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/TieringCostOperationStatusClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/TieringCostOperationStatusClient.java
index f24a2cefc12f..0ec600be6c37 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/TieringCostOperationStatusClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/TieringCostOperationStatusClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -17,7 +17,7 @@ public interface TieringCostOperationStatusClient {
/**
* Gets the status of async operations of tiering cost.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param operationId The operationId parameter.
* @param context The context to associate with this operation.
@@ -33,7 +33,7 @@ Response getWithResponse(String resourceGroupName, String
/**
* Gets the status of async operations of tiering cost.
*
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the recovery services vault.
* @param operationId The operationId parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationResultsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationResultsClient.java
index 8861572fc3b6..53f413ffb076 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationResultsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationResultsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -18,7 +18,7 @@ public interface ValidateOperationResultsClient {
* Fetches the result of a triggered validate operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID which represents the operation whose result needs to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -34,7 +34,7 @@ Response getWithResponse(String vaultName, Stri
* Fetches the result of a triggered validate operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID which represents the operation whose result needs to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationStatusesClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationStatusesClient.java
index 8ca399cd19a7..9c7c582e180a 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationStatusesClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationStatusesClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,7 +20,7 @@ public interface ValidateOperationStatusesClient {
* If operation has completed, this method returns the list of errors obtained while validating the operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID represents the operation whose status needs to be fetched.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -38,7 +38,7 @@ Response getWithResponse(String vaultName, String resource
* If operation has completed, this method returns the list of errors obtained while validating the operation.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param operationId OperationID represents the operation whose status needs to be fetched.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationsClient.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationsClient.java
index 5e376d99c6d9..64e1486cefd2 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationsClient.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/ValidateOperationsClient.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
@@ -20,7 +20,7 @@ public interface ValidateOperationsClient {
* headers which can be tracked using GetValidateOperationResult API.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource validate operation request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -36,7 +36,7 @@ SyncPoller, Void> beginTrigger(String vaultName, String resourc
* headers which can be tracked using GetValidateOperationResult API.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource validate operation request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
@@ -53,7 +53,7 @@ SyncPoller, Void> beginTrigger(String vaultName, String resourc
* headers which can be tracked using GetValidateOperationResult API.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource validate operation request.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
@@ -67,7 +67,7 @@ SyncPoller, Void> beginTrigger(String vaultName, String resourc
* headers which can be tracked using GetValidateOperationResult API.
*
* @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param parameters resource validate operation request.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/AzureVMResourceFeatureSupportResponseInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/AzureVMResourceFeatureSupportResponseInner.java
index aa91d018d1f1..cdfe35e0ec3e 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/AzureVMResourceFeatureSupportResponseInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/AzureVMResourceFeatureSupportResponseInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
@@ -15,7 +15,7 @@
/**
* Response for feature support requests for Azure IaasVm.
*/
-@Fluent
+@Immutable
public final class AzureVMResourceFeatureSupportResponseInner
implements JsonSerializable {
/*
@@ -26,7 +26,7 @@ public final class AzureVMResourceFeatureSupportResponseInner
/**
* Creates an instance of AzureVMResourceFeatureSupportResponseInner class.
*/
- public AzureVMResourceFeatureSupportResponseInner() {
+ private AzureVMResourceFeatureSupportResponseInner() {
}
/**
@@ -38,25 +38,6 @@ public SupportStatus supportStatus() {
return this.supportStatus;
}
- /**
- * Set the supportStatus property: Support status of feature.
- *
- * @param supportStatus the supportStatus value to set.
- * @return the AzureVMResourceFeatureSupportResponseInner object itself.
- */
- public AzureVMResourceFeatureSupportResponseInner withSupportStatus(SupportStatus supportStatus) {
- this.supportStatus = supportStatus;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-
/**
* {@inheritDoc}
*/
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupEngineBaseResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupEngineBaseResourceInner.java
index 20f1fcdaa4ec..2f64728baee0 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupEngineBaseResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupEngineBaseResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -16,18 +17,33 @@
/**
* The base backup engine class. All workload specific backup engines derive from this class.
*/
-@Fluent
-public final class BackupEngineBaseResourceInner extends Resource {
+@Immutable
+public final class BackupEngineBaseResourceInner extends ProxyResource {
/*
* BackupEngineBaseResource properties
*/
private BackupEngineBase properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -46,7 +62,7 @@ public final class BackupEngineBaseResourceInner extends Resource {
/**
* Creates an instance of BackupEngineBaseResourceInner class.
*/
- public BackupEngineBaseResourceInner() {
+ private BackupEngineBaseResourceInner() {
}
/**
@@ -59,14 +75,21 @@ public BackupEngineBase properties() {
}
/**
- * Set the properties property: BackupEngineBaseResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the BackupEngineBaseResourceInner object itself.
+ * @return the tags value.
*/
- public BackupEngineBaseResourceInner withProperties(BackupEngineBase properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
}
/**
@@ -79,14 +102,12 @@ public String etag() {
}
/**
- * Set the etag property: Optional ETag.
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
- * @param etag the etag value to set.
- * @return the BackupEngineBaseResourceInner object itself.
+ * @return the systemData value.
*/
- public BackupEngineBaseResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -119,44 +140,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupEngineBaseResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupEngineBaseResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,15 +176,17 @@ public static BackupEngineBaseResourceInner fromJson(JsonReader jsonReader) thro
deserializedBackupEngineBaseResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBackupEngineBaseResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedBackupEngineBaseResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedBackupEngineBaseResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedBackupEngineBaseResourceInner.properties = BackupEngineBase.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedBackupEngineBaseResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedBackupEngineBaseResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedBackupEngineBaseResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedBackupEngineBaseResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupManagementUsageInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupManagementUsageInner.java
index 243febb2cb24..8e7a084fca9e 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupManagementUsageInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupManagementUsageInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.util.CoreUtils;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
@@ -19,7 +19,7 @@
/**
* Backup management usages of a vault.
*/
-@Fluent
+@Immutable
public final class BackupManagementUsageInner implements JsonSerializable {
/*
* Unit of the usage.
@@ -54,7 +54,7 @@ public final class BackupManagementUsageInner implements JsonSerializable tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public BackupResourceConfigResourceInner withProperties(BackupResourceConfig pro
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the BackupResourceConfigResourceInner object itself.
+ */
+ public BackupResourceConfigResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the BackupResourceConfigResourceInner object itself.
+ */
+ public BackupResourceConfigResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public BackupResourceConfigResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupResourceConfigResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupResourceConfigResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,15 +220,17 @@ public static BackupResourceConfigResourceInner fromJson(JsonReader jsonReader)
deserializedBackupResourceConfigResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBackupResourceConfigResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedBackupResourceConfigResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedBackupResourceConfigResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedBackupResourceConfigResourceInner.properties = BackupResourceConfig.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedBackupResourceConfigResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedBackupResourceConfigResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedBackupResourceConfigResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedBackupResourceConfigResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceEncryptionConfigExtendedResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceEncryptionConfigExtendedResourceInner.java
index 35c88d48cb76..37ebeecc14c9 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceEncryptionConfigExtendedResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceEncryptionConfigExtendedResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -16,18 +17,33 @@
/**
* The BackupResourceEncryptionConfigExtendedResource model.
*/
-@Fluent
-public final class BackupResourceEncryptionConfigExtendedResourceInner extends Resource {
+@Immutable
+public final class BackupResourceEncryptionConfigExtendedResourceInner extends ProxyResource {
/*
* BackupResourceEncryptionConfigExtendedResource properties
*/
private BackupResourceEncryptionConfigExtended properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -46,7 +62,7 @@ public final class BackupResourceEncryptionConfigExtendedResourceInner extends R
/**
* Creates an instance of BackupResourceEncryptionConfigExtendedResourceInner class.
*/
- public BackupResourceEncryptionConfigExtendedResourceInner() {
+ private BackupResourceEncryptionConfigExtendedResourceInner() {
}
/**
@@ -59,15 +75,21 @@ public BackupResourceEncryptionConfigExtended properties() {
}
/**
- * Set the properties property: BackupResourceEncryptionConfigExtendedResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the BackupResourceEncryptionConfigExtendedResourceInner object itself.
+ * @return the tags value.
*/
- public BackupResourceEncryptionConfigExtendedResourceInner
- withProperties(BackupResourceEncryptionConfigExtended properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
}
/**
@@ -80,14 +102,12 @@ public String etag() {
}
/**
- * Set the etag property: Optional ETag.
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
- * @param etag the etag value to set.
- * @return the BackupResourceEncryptionConfigExtendedResourceInner object itself.
+ * @return the systemData value.
*/
- public BackupResourceEncryptionConfigExtendedResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -120,44 +140,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupResourceEncryptionConfigExtendedResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupResourceEncryptionConfigExtendedResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -186,16 +177,19 @@ public static BackupResourceEncryptionConfigExtendedResourceInner fromJson(JsonR
deserializedBackupResourceEncryptionConfigExtendedResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBackupResourceEncryptionConfigExtendedResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedBackupResourceEncryptionConfigExtendedResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedBackupResourceEncryptionConfigExtendedResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedBackupResourceEncryptionConfigExtendedResourceInner.properties
= BackupResourceEncryptionConfigExtended.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedBackupResourceEncryptionConfigExtendedResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedBackupResourceEncryptionConfigExtendedResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedBackupResourceEncryptionConfigExtendedResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedBackupResourceEncryptionConfigExtendedResourceInner.systemData
+ = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceVaultConfigResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceVaultConfigResourceInner.java
index 7c7b29803cb2..493883050d40 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceVaultConfigResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupResourceVaultConfigResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* Backup resource vault config details.
*/
@Fluent
-public final class BackupResourceVaultConfigResourceInner extends Resource {
+public final class BackupResourceVaultConfigResourceInner extends ProxyResource {
/*
* BackupResourceVaultConfigResource properties
*/
private BackupResourceVaultConfig properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public BackupResourceVaultConfigResourceInner withProperties(BackupResourceVault
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the BackupResourceVaultConfigResourceInner object itself.
+ */
+ public BackupResourceVaultConfigResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the BackupResourceVaultConfigResourceInner object itself.
+ */
+ public BackupResourceVaultConfigResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public BackupResourceVaultConfigResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupResourceVaultConfigResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public BackupResourceVaultConfigResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,16 +220,18 @@ public static BackupResourceVaultConfigResourceInner fromJson(JsonReader jsonRea
deserializedBackupResourceVaultConfigResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedBackupResourceVaultConfigResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedBackupResourceVaultConfigResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedBackupResourceVaultConfigResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedBackupResourceVaultConfigResourceInner.properties
= BackupResourceVaultConfig.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedBackupResourceVaultConfigResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedBackupResourceVaultConfigResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedBackupResourceVaultConfigResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedBackupResourceVaultConfigResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupStatusResponseInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupStatusResponseInner.java
index fe6490917191..644bf8ebf817 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupStatusResponseInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/BackupStatusResponseInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
import com.azure.json.JsonToken;
@@ -17,7 +17,7 @@
/**
* BackupStatus response.
*/
-@Fluent
+@Immutable
public final class BackupStatusResponseInner implements JsonSerializable {
/*
* Specifies whether the container is registered or not
@@ -77,7 +77,7 @@ public final class BackupStatusResponseInner implements JsonSerializable {
/*
@@ -42,7 +42,7 @@ public final class ClientDiscoveryValueForSingleApiInner
/**
* Creates an instance of ClientDiscoveryValueForSingleApiInner class.
*/
- public ClientDiscoveryValueForSingleApiInner() {
+ private ClientDiscoveryValueForSingleApiInner() {
}
/**
@@ -54,17 +54,6 @@ public String name() {
return this.name;
}
- /**
- * Set the name property: Name of the Operation.
- *
- * @param name the name value to set.
- * @return the ClientDiscoveryValueForSingleApiInner object itself.
- */
- public ClientDiscoveryValueForSingleApiInner withName(String name) {
- this.name = name;
- return this;
- }
-
/**
* Get the display property: Contains the localized display information for this particular operation.
*
@@ -74,17 +63,6 @@ public ClientDiscoveryDisplay display() {
return this.display;
}
- /**
- * Set the display property: Contains the localized display information for this particular operation.
- *
- * @param display the display value to set.
- * @return the ClientDiscoveryValueForSingleApiInner object itself.
- */
- public ClientDiscoveryValueForSingleApiInner withDisplay(ClientDiscoveryDisplay display) {
- this.display = display;
- return this;
- }
-
/**
* Get the origin property: The intended executor of the operation;governs the display of the operation in the RBAC
* UX and the audit logs UX.
@@ -95,18 +73,6 @@ public String origin() {
return this.origin;
}
- /**
- * Set the origin property: The intended executor of the operation;governs the display of the operation in the RBAC
- * UX and the audit logs UX.
- *
- * @param origin the origin value to set.
- * @return the ClientDiscoveryValueForSingleApiInner object itself.
- */
- public ClientDiscoveryValueForSingleApiInner withOrigin(String origin) {
- this.origin = origin;
- return this;
- }
-
/**
* Get the properties property: ShoeBox properties for the given operation.
*
@@ -116,31 +82,6 @@ public ClientDiscoveryForProperties properties() {
return this.properties;
}
- /**
- * Set the properties property: ShoeBox properties for the given operation.
- *
- * @param properties the properties value to set.
- * @return the ClientDiscoveryValueForSingleApiInner object itself.
- */
- public ClientDiscoveryValueForSingleApiInner withProperties(ClientDiscoveryForProperties properties) {
- this.properties = properties;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (display() != null) {
- display().validate();
- }
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/JobResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/JobResourceInner.java
index f270ac4dbe13..daecf685b58e 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/JobResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/JobResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -16,18 +17,33 @@
/**
* Defines workload agnostic properties for a job.
*/
-@Fluent
-public final class JobResourceInner extends Resource {
+@Immutable
+public final class JobResourceInner extends ProxyResource {
/*
* JobResource properties
*/
private Job properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -46,7 +62,7 @@ public final class JobResourceInner extends Resource {
/**
* Creates an instance of JobResourceInner class.
*/
- public JobResourceInner() {
+ private JobResourceInner() {
}
/**
@@ -59,14 +75,21 @@ public Job properties() {
}
/**
- * Set the properties property: JobResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the JobResourceInner object itself.
+ * @return the tags value.
*/
- public JobResourceInner withProperties(Job properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
}
/**
@@ -79,14 +102,12 @@ public String etag() {
}
/**
- * Set the etag property: Optional ETag.
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
- * @param etag the etag value to set.
- * @return the JobResourceInner object itself.
+ * @return the systemData value.
*/
- public JobResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -119,44 +140,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public JobResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public JobResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -183,15 +175,17 @@ public static JobResourceInner fromJson(JsonReader jsonReader) throws IOExceptio
deserializedJobResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedJobResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedJobResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedJobResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedJobResourceInner.properties = Job.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedJobResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedJobResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedJobResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedJobResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationResultInfoBaseResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationResultInfoBaseResourceInner.java
index bacc0dcec57a..b2071c140e35 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationResultInfoBaseResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationResultInfoBaseResourceInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -18,17 +18,27 @@
/**
* Base class for operation result info.
*/
-@Fluent
+@Immutable
public final class OperationResultInfoBaseResourceInner extends OperationWorkerResponse {
/*
* OperationResultInfoBaseResource operation
*/
private OperationResultInfoBase operation;
+ /*
+ * HTTP headers associated with this operation.
+ */
+ private Map> headers;
+
+ /*
+ * HTTP Status Code of the operation.
+ */
+ private HttpStatusCode statusCode;
+
/**
* Creates an instance of OperationResultInfoBaseResourceInner class.
*/
- public OperationResultInfoBaseResourceInner() {
+ private OperationResultInfoBaseResourceInner() {
}
/**
@@ -41,44 +51,23 @@ public OperationResultInfoBase operation() {
}
/**
- * Set the operation property: OperationResultInfoBaseResource operation.
+ * Get the headers property: HTTP headers associated with this operation.
*
- * @param operation the operation value to set.
- * @return the OperationResultInfoBaseResourceInner object itself.
- */
- public OperationResultInfoBaseResourceInner withOperation(OperationResultInfoBase operation) {
- this.operation = operation;
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public OperationResultInfoBaseResourceInner withStatusCode(HttpStatusCode statusCode) {
- super.withStatusCode(statusCode);
- return this;
- }
-
- /**
- * {@inheritDoc}
+ * @return the headers value.
*/
@Override
- public OperationResultInfoBaseResourceInner withHeaders(Map> headers) {
- super.withHeaders(headers);
- return this;
+ public Map> headers() {
+ return this.headers;
}
/**
- * Validates the instance.
+ * Get the statusCode property: HTTP Status Code of the operation.
*
- * @throws IllegalArgumentException thrown if the instance is not valid.
+ * @return the statusCode value.
*/
@Override
- public void validate() {
- if (operation() != null) {
- operation().validate();
- }
+ public HttpStatusCode statusCode() {
+ return this.statusCode;
}
/**
@@ -111,12 +100,12 @@ public static OperationResultInfoBaseResourceInner fromJson(JsonReader jsonReade
reader.nextToken();
if ("statusCode".equals(fieldName)) {
- deserializedOperationResultInfoBaseResourceInner
- .withStatusCode(HttpStatusCode.fromString(reader.getString()));
+ deserializedOperationResultInfoBaseResourceInner.statusCode
+ = HttpStatusCode.fromString(reader.getString());
} else if ("headers".equals(fieldName)) {
Map> headers
= reader.readMap(reader1 -> reader1.readArray(reader2 -> reader2.getString()));
- deserializedOperationResultInfoBaseResourceInner.withHeaders(headers);
+ deserializedOperationResultInfoBaseResourceInner.headers = headers;
} else if ("operation".equals(fieldName)) {
deserializedOperationResultInfoBaseResourceInner.operation
= OperationResultInfoBase.fromJson(reader);
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationStatusInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationStatusInner.java
index a4d748ee05a8..e6bdffeb6bc9 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationStatusInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/OperationStatusInner.java
@@ -1,10 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
+import com.azure.core.annotation.Immutable;
import com.azure.core.util.CoreUtils;
import com.azure.json.JsonReader;
import com.azure.json.JsonSerializable;
@@ -20,7 +20,7 @@
/**
* Operation status.
*/
-@Fluent
+@Immutable
public final class OperationStatusInner implements JsonSerializable {
/*
* ID of the operation.
@@ -60,7 +60,7 @@ public final class OperationStatusInner implements JsonSerializable {
/*
@@ -53,7 +53,7 @@ public final class PreValidateEnableBackupResponseInner
/**
* Creates an instance of PreValidateEnableBackupResponseInner class.
*/
- public PreValidateEnableBackupResponseInner() {
+ private PreValidateEnableBackupResponseInner() {
}
/**
@@ -65,17 +65,6 @@ public ValidationStatus status() {
return this.status;
}
- /**
- * Set the status property: Validation Status.
- *
- * @param status the status value to set.
- * @return the PreValidateEnableBackupResponseInner object itself.
- */
- public PreValidateEnableBackupResponseInner withStatus(ValidationStatus status) {
- this.status = status;
- return this;
- }
-
/**
* Get the errorCode property: Response error code.
*
@@ -85,17 +74,6 @@ public String errorCode() {
return this.errorCode;
}
- /**
- * Set the errorCode property: Response error code.
- *
- * @param errorCode the errorCode value to set.
- * @return the PreValidateEnableBackupResponseInner object itself.
- */
- public PreValidateEnableBackupResponseInner withErrorCode(String errorCode) {
- this.errorCode = errorCode;
- return this;
- }
-
/**
* Get the errorMessage property: Response error message.
*
@@ -105,17 +83,6 @@ public String errorMessage() {
return this.errorMessage;
}
- /**
- * Set the errorMessage property: Response error message.
- *
- * @param errorMessage the errorMessage value to set.
- * @return the PreValidateEnableBackupResponseInner object itself.
- */
- public PreValidateEnableBackupResponseInner withErrorMessage(String errorMessage) {
- this.errorMessage = errorMessage;
- return this;
- }
-
/**
* Get the recommendation property: Recommended action for user.
*
@@ -125,17 +92,6 @@ public String recommendation() {
return this.recommendation;
}
- /**
- * Set the recommendation property: Recommended action for user.
- *
- * @param recommendation the recommendation value to set.
- * @return the PreValidateEnableBackupResponseInner object itself.
- */
- public PreValidateEnableBackupResponseInner withRecommendation(String recommendation) {
- this.recommendation = recommendation;
- return this;
- }
-
/**
* Get the containerName property: Specifies the product specific container name. E.g.
* iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required
@@ -147,19 +103,6 @@ public String containerName() {
return this.containerName;
}
- /**
- * Set the containerName property: Specifies the product specific container name. E.g.
- * iaasvmcontainer;iaasvmcontainer;rgname;vmname. This is required
- * for portal.
- *
- * @param containerName the containerName value to set.
- * @return the PreValidateEnableBackupResponseInner object itself.
- */
- public PreValidateEnableBackupResponseInner withContainerName(String containerName) {
- this.containerName = containerName;
- return this;
- }
-
/**
* Get the protectedItemName property: Specifies the product specific ds name. E.g.
* vm;iaasvmcontainer;rgname;vmname. This is required for portal.
@@ -170,26 +113,6 @@ public String protectedItemName() {
return this.protectedItemName;
}
- /**
- * Set the protectedItemName property: Specifies the product specific ds name. E.g.
- * vm;iaasvmcontainer;rgname;vmname. This is required for portal.
- *
- * @param protectedItemName the protectedItemName value to set.
- * @return the PreValidateEnableBackupResponseInner object itself.
- */
- public PreValidateEnableBackupResponseInner withProtectedItemName(String protectedItemName) {
- this.protectedItemName = protectedItemName;
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- }
-
/**
* {@inheritDoc}
*/
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/PrivateEndpointConnectionResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/PrivateEndpointConnectionResourceInner.java
index 7e13904804f0..423ca1d6aaff 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/PrivateEndpointConnectionResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/PrivateEndpointConnectionResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* Private Endpoint Connection Response Properties.
*/
@Fluent
-public final class PrivateEndpointConnectionResourceInner extends Resource {
+public final class PrivateEndpointConnectionResourceInner extends ProxyResource {
/*
* PrivateEndpointConnectionResource properties
*/
private PrivateEndpointConnection properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public PrivateEndpointConnectionResourceInner withProperties(PrivateEndpointConn
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the PrivateEndpointConnectionResourceInner object itself.
+ */
+ public PrivateEndpointConnectionResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the PrivateEndpointConnectionResourceInner object itself.
+ */
+ public PrivateEndpointConnectionResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public PrivateEndpointConnectionResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public PrivateEndpointConnectionResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public PrivateEndpointConnectionResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,16 +220,18 @@ public static PrivateEndpointConnectionResourceInner fromJson(JsonReader jsonRea
deserializedPrivateEndpointConnectionResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedPrivateEndpointConnectionResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedPrivateEndpointConnectionResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedPrivateEndpointConnectionResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedPrivateEndpointConnectionResourceInner.properties
= PrivateEndpointConnection.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedPrivateEndpointConnectionResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedPrivateEndpointConnectionResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedPrivateEndpointConnectionResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectableContainerResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectableContainerResourceInner.java
index ae6416a44041..c539e78b76f5 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectableContainerResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectableContainerResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -16,17 +17,32 @@
/**
* Protectable Container Class.
*/
-@Fluent
-public final class ProtectableContainerResourceInner extends Resource {
+@Immutable
+public final class ProtectableContainerResourceInner extends ProxyResource {
+ /*
+ * Resource location.
+ */
+ private String location;
+
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * Optional ETag.
+ */
+ private String eTag;
+
/*
* ProtectableContainerResource properties
*/
private ProtectableContainer properties;
/*
- * Optional ETag.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
- private String etag;
+ private SystemData systemData;
/*
* The type of the resource.
@@ -46,47 +62,52 @@ public final class ProtectableContainerResourceInner extends Resource {
/**
* Creates an instance of ProtectableContainerResourceInner class.
*/
- public ProtectableContainerResourceInner() {
+ private ProtectableContainerResourceInner() {
}
/**
- * Get the properties property: ProtectableContainerResource properties.
+ * Get the location property: Resource location.
*
- * @return the properties value.
+ * @return the location value.
*/
- public ProtectableContainer properties() {
- return this.properties;
+ public String location() {
+ return this.location;
}
/**
- * Set the properties property: ProtectableContainerResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the ProtectableContainerResourceInner object itself.
+ * @return the tags value.
*/
- public ProtectableContainerResourceInner withProperties(ProtectableContainer properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
}
/**
- * Get the etag property: Optional ETag.
+ * Get the eTag property: Optional ETag.
*
- * @return the etag value.
+ * @return the eTag value.
*/
- public String etag() {
- return this.etag;
+ public String eTag() {
+ return this.eTag;
}
/**
- * Set the etag property: Optional ETag.
+ * Get the properties property: ProtectableContainerResource properties.
*
- * @param etag the etag value to set.
- * @return the ProtectableContainerResourceInner object itself.
+ * @return the properties value.
*/
- public ProtectableContainerResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public ProtectableContainer properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -119,45 +140,16 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectableContainerResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectableContainerResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("eTag", this.eTag);
jsonWriter.writeJsonField("properties", this.properties);
- jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -185,14 +177,16 @@ public static ProtectableContainerResourceInner fromJson(JsonReader jsonReader)
} else if ("type".equals(fieldName)) {
deserializedProtectableContainerResourceInner.type = reader.getString();
} else if ("location".equals(fieldName)) {
- deserializedProtectableContainerResourceInner.withLocation(reader.getString());
+ deserializedProtectableContainerResourceInner.location = reader.getString();
} else if ("tags".equals(fieldName)) {
Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedProtectableContainerResourceInner.withTags(tags);
+ deserializedProtectableContainerResourceInner.tags = tags;
+ } else if ("eTag".equals(fieldName)) {
+ deserializedProtectableContainerResourceInner.eTag = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedProtectableContainerResourceInner.properties = ProtectableContainer.fromJson(reader);
- } else if ("eTag".equals(fieldName)) {
- deserializedProtectableContainerResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedProtectableContainerResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectedItemResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectedItemResourceInner.java
index 42f943c659c7..71133e692280 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectedItemResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectedItemResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* Base class for backup items.
*/
@Fluent
-public final class ProtectedItemResourceInner extends Resource {
+public final class ProtectedItemResourceInner extends ProxyResource {
/*
* ProtectedItemResource properties
*/
private ProtectedItem properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public ProtectedItemResourceInner withProperties(ProtectedItem properties) {
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the ProtectedItemResourceInner object itself.
+ */
+ public ProtectedItemResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the ProtectedItemResourceInner object itself.
+ */
+ public ProtectedItemResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public ProtectedItemResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectedItemResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectedItemResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -183,15 +219,17 @@ public static ProtectedItemResourceInner fromJson(JsonReader jsonReader) throws
deserializedProtectedItemResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedProtectedItemResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedProtectedItemResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedProtectedItemResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedProtectedItemResourceInner.properties = ProtectedItem.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedProtectedItemResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedProtectedItemResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedProtectedItemResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedProtectedItemResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionContainerResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionContainerResourceInner.java
index 128477b68015..44939e8fbd26 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionContainerResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionContainerResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* Base class for container with backup items. Containers with specific workloads are derived from this class.
*/
@Fluent
-public final class ProtectionContainerResourceInner extends Resource {
+public final class ProtectionContainerResourceInner extends ProxyResource {
/*
* ProtectionContainerResource properties
*/
private ProtectionContainer properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public ProtectionContainerResourceInner withProperties(ProtectionContainer prope
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the ProtectionContainerResourceInner object itself.
+ */
+ public ProtectionContainerResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the ProtectionContainerResourceInner object itself.
+ */
+ public ProtectionContainerResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public ProtectionContainerResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectionContainerResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectionContainerResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,15 +220,17 @@ public static ProtectionContainerResourceInner fromJson(JsonReader jsonReader) t
deserializedProtectionContainerResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedProtectionContainerResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedProtectionContainerResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedProtectionContainerResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedProtectionContainerResourceInner.properties = ProtectionContainer.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedProtectionContainerResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedProtectionContainerResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedProtectionContainerResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedProtectionContainerResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionIntentResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionIntentResourceInner.java
index 1f3de4c4c077..bd93bf2c88ba 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionIntentResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionIntentResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* Base class for backup ProtectionIntent.
*/
@Fluent
-public final class ProtectionIntentResourceInner extends Resource {
+public final class ProtectionIntentResourceInner extends ProxyResource {
/*
* ProtectionIntentResource properties
*/
private ProtectionIntent properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public ProtectionIntentResourceInner withProperties(ProtectionIntent properties)
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the ProtectionIntentResourceInner object itself.
+ */
+ public ProtectionIntentResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the ProtectionIntentResourceInner object itself.
+ */
+ public ProtectionIntentResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public ProtectionIntentResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectionIntentResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectionIntentResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,15 +220,17 @@ public static ProtectionIntentResourceInner fromJson(JsonReader jsonReader) thro
deserializedProtectionIntentResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedProtectionIntentResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedProtectionIntentResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedProtectionIntentResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedProtectionIntentResourceInner.properties = ProtectionIntent.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedProtectionIntentResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedProtectionIntentResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedProtectionIntentResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedProtectionIntentResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionPolicyResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionPolicyResourceInner.java
index 374e9b0bb218..f177881876d8 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionPolicyResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ProtectionPolicyResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* Base class for backup policy. Workload-specific backup policies are derived from this class.
*/
@Fluent
-public final class ProtectionPolicyResourceInner extends Resource {
+public final class ProtectionPolicyResourceInner extends ProxyResource {
/*
* ProtectionPolicyResource properties
*/
private ProtectionPolicy properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public ProtectionPolicyResourceInner withProperties(ProtectionPolicy properties)
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the ProtectionPolicyResourceInner object itself.
+ */
+ public ProtectionPolicyResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the ProtectionPolicyResourceInner object itself.
+ */
+ public ProtectionPolicyResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public ProtectionPolicyResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectionPolicyResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ProtectionPolicyResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,15 +220,17 @@ public static ProtectionPolicyResourceInner fromJson(JsonReader jsonReader) thro
deserializedProtectionPolicyResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedProtectionPolicyResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedProtectionPolicyResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedProtectionPolicyResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedProtectionPolicyResourceInner.properties = ProtectionPolicy.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedProtectionPolicyResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedProtectionPolicyResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedProtectionPolicyResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedProtectionPolicyResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/RecoveryPointResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/RecoveryPointResourceInner.java
index 17bf49c9253e..92a38550bd17 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/RecoveryPointResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/RecoveryPointResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -16,18 +17,33 @@
/**
* Base class for backup copies. Workload-specific backup copies are derived from this class.
*/
-@Fluent
-public final class RecoveryPointResourceInner extends Resource {
+@Immutable
+public final class RecoveryPointResourceInner extends ProxyResource {
/*
* RecoveryPointResource properties
*/
private RecoveryPoint properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -46,7 +62,7 @@ public final class RecoveryPointResourceInner extends Resource {
/**
* Creates an instance of RecoveryPointResourceInner class.
*/
- public RecoveryPointResourceInner() {
+ private RecoveryPointResourceInner() {
}
/**
@@ -59,14 +75,21 @@ public RecoveryPoint properties() {
}
/**
- * Set the properties property: RecoveryPointResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the RecoveryPointResourceInner object itself.
+ * @return the tags value.
*/
- public RecoveryPointResourceInner withProperties(RecoveryPoint properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
}
/**
@@ -79,14 +102,12 @@ public String etag() {
}
/**
- * Set the etag property: Optional ETag.
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
- * @param etag the etag value to set.
- * @return the RecoveryPointResourceInner object itself.
+ * @return the systemData value.
*/
- public RecoveryPointResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -119,44 +140,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public RecoveryPointResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public RecoveryPointResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -183,15 +175,17 @@ public static RecoveryPointResourceInner fromJson(JsonReader jsonReader) throws
deserializedRecoveryPointResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedRecoveryPointResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedRecoveryPointResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedRecoveryPointResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedRecoveryPointResourceInner.properties = RecoveryPoint.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedRecoveryPointResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedRecoveryPointResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedRecoveryPointResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedRecoveryPointResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ResourceGuardProxyBaseResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ResourceGuardProxyBaseResourceInner.java
index c4da158cb823..f913d1c5501b 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ResourceGuardProxyBaseResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/ResourceGuardProxyBaseResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -17,17 +18,32 @@
* The ResourceGuardProxyBaseResource model.
*/
@Fluent
-public final class ResourceGuardProxyBaseResourceInner extends Resource {
+public final class ResourceGuardProxyBaseResourceInner extends ProxyResource {
/*
* ResourceGuardProxyBaseResource properties
*/
private ResourceGuardProxyBase properties;
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * The geo-location where the resource lives
+ */
+ private String location;
+
/*
* Optional ETag.
*/
private String etag;
+ /*
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ */
+ private SystemData systemData;
+
/*
* The type of the resource.
*/
@@ -69,6 +85,46 @@ public ResourceGuardProxyBaseResourceInner withProperties(ResourceGuardProxyBase
return this;
}
+ /**
+ * Get the tags property: Resource tags.
+ *
+ * @return the tags value.
+ */
+ public Map tags() {
+ return this.tags;
+ }
+
+ /**
+ * Set the tags property: Resource tags.
+ *
+ * @param tags the tags value to set.
+ * @return the ResourceGuardProxyBaseResourceInner object itself.
+ */
+ public ResourceGuardProxyBaseResourceInner withTags(Map tags) {
+ this.tags = tags;
+ return this;
+ }
+
+ /**
+ * Get the location property: The geo-location where the resource lives.
+ *
+ * @return the location value.
+ */
+ public String location() {
+ return this.location;
+ }
+
+ /**
+ * Set the location property: The geo-location where the resource lives.
+ *
+ * @param location the location value to set.
+ * @return the ResourceGuardProxyBaseResourceInner object itself.
+ */
+ public ResourceGuardProxyBaseResourceInner withLocation(String location) {
+ this.location = location;
+ return this;
+ }
+
/**
* Get the etag property: Optional ETag.
*
@@ -89,6 +145,15 @@ public ResourceGuardProxyBaseResourceInner withEtag(String etag) {
return this;
}
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
+ }
+
/**
* Get the type property: The type of the resource.
*
@@ -119,44 +184,15 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public ResourceGuardProxyBaseResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public ResourceGuardProxyBaseResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
jsonWriter.writeJsonField("properties", this.properties);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,16 +220,18 @@ public static ResourceGuardProxyBaseResourceInner fromJson(JsonReader jsonReader
deserializedResourceGuardProxyBaseResourceInner.name = reader.getString();
} else if ("type".equals(fieldName)) {
deserializedResourceGuardProxyBaseResourceInner.type = reader.getString();
- } else if ("location".equals(fieldName)) {
- deserializedResourceGuardProxyBaseResourceInner.withLocation(reader.getString());
- } else if ("tags".equals(fieldName)) {
- Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedResourceGuardProxyBaseResourceInner.withTags(tags);
} else if ("properties".equals(fieldName)) {
deserializedResourceGuardProxyBaseResourceInner.properties
= ResourceGuardProxyBase.fromJson(reader);
+ } else if ("tags".equals(fieldName)) {
+ Map tags = reader.readMap(reader1 -> reader1.getString());
+ deserializedResourceGuardProxyBaseResourceInner.tags = tags;
+ } else if ("location".equals(fieldName)) {
+ deserializedResourceGuardProxyBaseResourceInner.location = reader.getString();
} else if ("eTag".equals(fieldName)) {
deserializedResourceGuardProxyBaseResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedResourceGuardProxyBaseResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/TieringCostInfoInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/TieringCostInfoInner.java
index cade748cd43f..87f9e0112a70 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/TieringCostInfoInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/TieringCostInfoInner.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
@@ -27,7 +27,7 @@ public class TieringCostInfoInner implements JsonSerializable {
/*
* Token value.
@@ -34,7 +34,7 @@ public final class TokenInformationInner implements JsonSerializable {
/*
* This is the time when unlock delete privileges will get expired.
@@ -24,7 +24,7 @@ public final class UnlockDeleteResponseInner implements JsonSerializable {
/*
* Base class for validate operation response.
@@ -25,7 +25,7 @@ public final class ValidateOperationsResponseInner implements JsonSerializable tags;
+
+ /*
+ * Optional ETag.
+ */
+ private String eTag;
+
/*
* WorkloadItemResource properties
*/
private WorkloadItem properties;
/*
- * Optional ETag.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
- private String etag;
+ private SystemData systemData;
/*
* The type of the resource.
@@ -46,47 +62,52 @@ public final class WorkloadItemResourceInner extends Resource {
/**
* Creates an instance of WorkloadItemResourceInner class.
*/
- public WorkloadItemResourceInner() {
+ private WorkloadItemResourceInner() {
}
/**
- * Get the properties property: WorkloadItemResource properties.
+ * Get the location property: Resource location.
*
- * @return the properties value.
+ * @return the location value.
*/
- public WorkloadItem properties() {
- return this.properties;
+ public String location() {
+ return this.location;
}
/**
- * Set the properties property: WorkloadItemResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the WorkloadItemResourceInner object itself.
+ * @return the tags value.
*/
- public WorkloadItemResourceInner withProperties(WorkloadItem properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
}
/**
- * Get the etag property: Optional ETag.
+ * Get the eTag property: Optional ETag.
*
- * @return the etag value.
+ * @return the eTag value.
*/
- public String etag() {
- return this.etag;
+ public String eTag() {
+ return this.eTag;
}
/**
- * Set the etag property: Optional ETag.
+ * Get the properties property: WorkloadItemResource properties.
*
- * @param etag the etag value to set.
- * @return the WorkloadItemResourceInner object itself.
+ * @return the properties value.
*/
- public WorkloadItemResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public WorkloadItem properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -119,45 +140,16 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public WorkloadItemResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public WorkloadItemResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("eTag", this.eTag);
jsonWriter.writeJsonField("properties", this.properties);
- jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -184,14 +176,16 @@ public static WorkloadItemResourceInner fromJson(JsonReader jsonReader) throws I
} else if ("type".equals(fieldName)) {
deserializedWorkloadItemResourceInner.type = reader.getString();
} else if ("location".equals(fieldName)) {
- deserializedWorkloadItemResourceInner.withLocation(reader.getString());
+ deserializedWorkloadItemResourceInner.location = reader.getString();
} else if ("tags".equals(fieldName)) {
Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedWorkloadItemResourceInner.withTags(tags);
+ deserializedWorkloadItemResourceInner.tags = tags;
+ } else if ("eTag".equals(fieldName)) {
+ deserializedWorkloadItemResourceInner.eTag = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedWorkloadItemResourceInner.properties = WorkloadItem.fromJson(reader);
- } else if ("eTag".equals(fieldName)) {
- deserializedWorkloadItemResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedWorkloadItemResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/WorkloadProtectableItemResourceInner.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/WorkloadProtectableItemResourceInner.java
index 3777991a6163..db1fec4584a0 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/WorkloadProtectableItemResourceInner.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/WorkloadProtectableItemResourceInner.java
@@ -1,11 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
-import com.azure.core.annotation.Fluent;
-import com.azure.core.management.Resource;
+import com.azure.core.annotation.Immutable;
+import com.azure.core.management.ProxyResource;
+import com.azure.core.management.SystemData;
import com.azure.json.JsonReader;
import com.azure.json.JsonToken;
import com.azure.json.JsonWriter;
@@ -16,17 +17,32 @@
/**
* Base class for backup item. Workload-specific backup items are derived from this class.
*/
-@Fluent
-public final class WorkloadProtectableItemResourceInner extends Resource {
+@Immutable
+public final class WorkloadProtectableItemResourceInner extends ProxyResource {
+ /*
+ * Resource location.
+ */
+ private String location;
+
+ /*
+ * Resource tags.
+ */
+ private Map tags;
+
+ /*
+ * Optional ETag.
+ */
+ private String eTag;
+
/*
* WorkloadProtectableItemResource properties
*/
private WorkloadProtectableItem properties;
/*
- * Optional ETag.
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
- private String etag;
+ private SystemData systemData;
/*
* The type of the resource.
@@ -46,47 +62,52 @@ public final class WorkloadProtectableItemResourceInner extends Resource {
/**
* Creates an instance of WorkloadProtectableItemResourceInner class.
*/
- public WorkloadProtectableItemResourceInner() {
+ private WorkloadProtectableItemResourceInner() {
}
/**
- * Get the properties property: WorkloadProtectableItemResource properties.
+ * Get the location property: Resource location.
*
- * @return the properties value.
+ * @return the location value.
*/
- public WorkloadProtectableItem properties() {
- return this.properties;
+ public String location() {
+ return this.location;
}
/**
- * Set the properties property: WorkloadProtectableItemResource properties.
+ * Get the tags property: Resource tags.
*
- * @param properties the properties value to set.
- * @return the WorkloadProtectableItemResourceInner object itself.
+ * @return the tags value.
*/
- public WorkloadProtectableItemResourceInner withProperties(WorkloadProtectableItem properties) {
- this.properties = properties;
- return this;
+ public Map tags() {
+ return this.tags;
}
/**
- * Get the etag property: Optional ETag.
+ * Get the eTag property: Optional ETag.
*
- * @return the etag value.
+ * @return the eTag value.
*/
- public String etag() {
- return this.etag;
+ public String eTag() {
+ return this.eTag;
}
/**
- * Set the etag property: Optional ETag.
+ * Get the properties property: WorkloadProtectableItemResource properties.
*
- * @param etag the etag value to set.
- * @return the WorkloadProtectableItemResourceInner object itself.
+ * @return the properties value.
*/
- public WorkloadProtectableItemResourceInner withEtag(String etag) {
- this.etag = etag;
- return this;
+ public WorkloadProtectableItem properties() {
+ return this.properties;
+ }
+
+ /**
+ * Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ *
+ * @return the systemData value.
+ */
+ public SystemData systemData() {
+ return this.systemData;
}
/**
@@ -119,45 +140,16 @@ public String id() {
return this.id;
}
- /**
- * {@inheritDoc}
- */
- @Override
- public WorkloadProtectableItemResourceInner withLocation(String location) {
- super.withLocation(location);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public WorkloadProtectableItemResourceInner withTags(Map tags) {
- super.withTags(tags);
- return this;
- }
-
- /**
- * Validates the instance.
- *
- * @throws IllegalArgumentException thrown if the instance is not valid.
- */
- public void validate() {
- if (properties() != null) {
- properties().validate();
- }
- }
-
/**
* {@inheritDoc}
*/
@Override
public JsonWriter toJson(JsonWriter jsonWriter) throws IOException {
jsonWriter.writeStartObject();
- jsonWriter.writeStringField("location", location());
- jsonWriter.writeMapField("tags", tags(), (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("location", this.location);
+ jsonWriter.writeMapField("tags", this.tags, (writer, element) -> writer.writeString(element));
+ jsonWriter.writeStringField("eTag", this.eTag);
jsonWriter.writeJsonField("properties", this.properties);
- jsonWriter.writeStringField("eTag", this.etag);
return jsonWriter.writeEndObject();
}
@@ -185,15 +177,17 @@ public static WorkloadProtectableItemResourceInner fromJson(JsonReader jsonReade
} else if ("type".equals(fieldName)) {
deserializedWorkloadProtectableItemResourceInner.type = reader.getString();
} else if ("location".equals(fieldName)) {
- deserializedWorkloadProtectableItemResourceInner.withLocation(reader.getString());
+ deserializedWorkloadProtectableItemResourceInner.location = reader.getString();
} else if ("tags".equals(fieldName)) {
Map tags = reader.readMap(reader1 -> reader1.getString());
- deserializedWorkloadProtectableItemResourceInner.withTags(tags);
+ deserializedWorkloadProtectableItemResourceInner.tags = tags;
+ } else if ("eTag".equals(fieldName)) {
+ deserializedWorkloadProtectableItemResourceInner.eTag = reader.getString();
} else if ("properties".equals(fieldName)) {
deserializedWorkloadProtectableItemResourceInner.properties
= WorkloadProtectableItem.fromJson(reader);
- } else if ("eTag".equals(fieldName)) {
- deserializedWorkloadProtectableItemResourceInner.etag = reader.getString();
+ } else if ("systemData".equals(fieldName)) {
+ deserializedWorkloadProtectableItemResourceInner.systemData = SystemData.fromJson(reader);
} else {
reader.skipChildren();
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/package-info.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/package-info.java
index f5274e2dd0b1..b3ef6b67531f 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/package-info.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/models/package-info.java
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
/**
- * Package containing the inner data models for RecoveryServicesBackupClient.
+ * Package containing the inner data models for RecoveryServicesBackup.
* Open API 2.0 Specs for Azure RecoveryServices Backup service.
*/
package com.azure.resourcemanager.recoveryservicesbackup.fluent.models;
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/package-info.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/package-info.java
index 63206c8b9fe4..f42c5372830d 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/package-info.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/package-info.java
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
/**
- * Package containing the service clients for RecoveryServicesBackupClient.
+ * Package containing the service clients for RecoveryServicesBackup.
* Open API 2.0 Specs for Azure RecoveryServices Backup service.
*/
package com.azure.resourcemanager.recoveryservicesbackup.fluent;
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/AzureVMResourceFeatureSupportResponseImpl.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/AzureVMResourceFeatureSupportResponseImpl.java
index 699cc5084a8d..a7408634b8a0 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/AzureVMResourceFeatureSupportResponseImpl.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/AzureVMResourceFeatureSupportResponseImpl.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.implementation;
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEngineBaseResourceImpl.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEngineBaseResourceImpl.java
index ff88c46202b1..b737cada8f32 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEngineBaseResourceImpl.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEngineBaseResourceImpl.java
@@ -1,9 +1,10 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.implementation;
+import com.azure.core.management.SystemData;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.BackupEngineBaseResourceInner;
import com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBase;
import com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBaseResource;
@@ -33,8 +34,8 @@ public String type() {
return this.innerModel().type();
}
- public String location() {
- return this.innerModel().location();
+ public BackupEngineBase properties() {
+ return this.innerModel().properties();
}
public Map tags() {
@@ -46,14 +47,18 @@ public Map tags() {
}
}
- public BackupEngineBase properties() {
- return this.innerModel().properties();
+ public String location() {
+ return this.innerModel().location();
}
public String etag() {
return this.innerModel().etag();
}
+ public SystemData systemData() {
+ return this.innerModel().systemData();
+ }
+
public BackupEngineBaseResourceInner innerModel() {
return this.innerObject;
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesClientImpl.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesClientImpl.java
index 5142352b9fbb..dc94039acc5b 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesClientImpl.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesClientImpl.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.implementation;
@@ -27,7 +27,7 @@
import com.azure.core.util.FluxUtil;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.BackupEnginesClient;
import com.azure.resourcemanager.recoveryservicesbackup.fluent.models.BackupEngineBaseResourceInner;
-import com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngineBaseResourceList;
+import com.azure.resourcemanager.recoveryservicesbackup.implementation.models.BackupEngineBaseResourceList;
import reactor.core.publisher.Mono;
/**
@@ -42,425 +42,292 @@ public final class BackupEnginesClientImpl implements BackupEnginesClient {
/**
* The service client containing this operation class.
*/
- private final RecoveryServicesBackupClientImpl client;
+ private final RecoveryServicesBackupManagementClientImpl client;
/**
* Initializes an instance of BackupEnginesClientImpl.
*
* @param client the instance of the service client containing this operation class.
*/
- BackupEnginesClientImpl(RecoveryServicesBackupClientImpl client) {
+ BackupEnginesClientImpl(RecoveryServicesBackupManagementClientImpl client) {
this.service
= RestProxy.create(BackupEnginesService.class, client.getHttpPipeline(), client.getSerializerAdapter());
this.client = client;
}
/**
- * The interface defining all the services for RecoveryServicesBackupClientBackupEngines to be used by the proxy
- * service to perform REST calls.
+ * The interface defining all the services for RecoveryServicesBackupManagementClientBackupEngines to be used by the
+ * proxy service to perform REST calls.
*/
- @Host("{$host}")
- @ServiceInterface(name = "RecoveryServicesBack")
+ @Host("{endpoint}")
+ @ServiceInterface(name = "RecoveryServicesBackupManagementClientBackupEngines")
public interface BackupEnginesService {
@Headers({ "Content-Type: application/json" })
- @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines")
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}")
@ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> list(@HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion, @PathParam("vaultName") String vaultName,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("subscriptionId") String subscriptionId, @QueryParam("$filter") String filter,
+ Mono> get(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vaultName") String vaultName,
+ @PathParam("backupEngineName") String backupEngineName, @QueryParam("$filter") String filter,
@QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
@Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}")
@ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> get(@HostParam("$host") String endpoint,
- @QueryParam("api-version") String apiVersion, @PathParam("vaultName") String vaultName,
- @PathParam("resourceGroupName") String resourceGroupName,
- @PathParam("subscriptionId") String subscriptionId, @PathParam("backupEngineName") String backupEngineName,
+ Response getSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vaultName") String vaultName,
+ @PathParam("backupEngineName") String backupEngineName, @QueryParam("$filter") String filter,
+ @QueryParam("$skipToken") String skipToken, @HeaderParam("Accept") String accept, Context context);
+
+ @Headers({ "Content-Type: application/json" })
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines")
+ @ExpectedResponses({ 200 })
+ @UnexpectedResponseExceptionType(ManagementException.class)
+ Mono> list(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vaultName") String vaultName,
@QueryParam("$filter") String filter, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
@Headers({ "Content-Type: application/json" })
- @Get("{nextLink}")
+ @Get("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines")
@ExpectedResponses({ 200 })
@UnexpectedResponseExceptionType(ManagementException.class)
- Mono> listNext(
- @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("$host") String endpoint,
+ Response listSync(@HostParam("endpoint") String endpoint,
+ @QueryParam("api-version") String apiVersion, @PathParam("subscriptionId") String subscriptionId,
+ @PathParam("resourceGroupName") String resourceGroupName, @PathParam("vaultName") String vaultName,
+ @QueryParam("$filter") String filter, @QueryParam("$skipToken") String skipToken,
@HeaderParam("Accept") String accept, Context context);
}
/**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
+ * Returns backup management server registered to Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param backupEngineName Name of the backup management server.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return the base backup engine class along with {@link Response} on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(String vaultName,
- String resourceGroupName, String filter, String skipToken) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (vaultName == null) {
- return Mono.error(new IllegalArgumentException("Parameter vaultName is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
+ private Mono> getWithResponseAsync(String vaultName,
+ String resourceGroupName, String backupEngineName, String filter, String skipToken) {
final String accept = "application/json";
return FluxUtil
- .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(), vaultName,
- resourceGroupName, this.client.getSubscriptionId(), filter, skipToken, accept, context))
- .>map(res -> new PagedResponseBase<>(res.getRequest(),
- res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
+ .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, vaultName, backupEngineName, filter, skipToken,
+ accept, context))
.contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
+ * Returns backup management server registered to Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param filter OData filter options.
- * @param skipToken skipToken Filter.
- * @param context The context to associate with this operation.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param backupEngineName Name of the backup management server.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return the base backup engine class on successful completion of {@link Mono}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listSinglePageAsync(String vaultName,
- String resourceGroupName, String filter, String skipToken, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (vaultName == null) {
- return Mono.error(new IllegalArgumentException("Parameter vaultName is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service
- .list(this.client.getEndpoint(), this.client.getApiVersion(), vaultName, resourceGroupName,
- this.client.getSubscriptionId(), filter, skipToken, accept, context)
- .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
- res.getValue().value(), res.getValue().nextLink(), null));
+ private Mono getAsync(String vaultName, String resourceGroupName,
+ String backupEngineName) {
+ final String filter = null;
+ final String skipToken = null;
+ return getWithResponseAsync(vaultName, resourceGroupName, backupEngineName, filter, skipToken)
+ .flatMap(res -> Mono.justOrEmpty(res.getValue()));
}
/**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
+ * Returns backup management server registered to Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param backupEngineName Name of the backup management server.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
+ * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedFlux}.
+ * @return the base backup engine class along with {@link Response}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(String vaultName, String resourceGroupName,
- String filter, String skipToken) {
- return new PagedFlux<>(() -> listSinglePageAsync(vaultName, resourceGroupName, filter, skipToken),
- nextLink -> listNextSinglePageAsync(nextLink));
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public Response getWithResponse(String vaultName, String resourceGroupName,
+ String backupEngineName, String filter, String skipToken, Context context) {
+ final String accept = "application/json";
+ return service.getSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, vaultName, backupEngineName, filter, skipToken, accept, context);
}
/**
- * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
+ * Returns backup management server registered to Recovery Services Vault.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param backupEngineName Name of the backup management server.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedFlux}.
+ * @return the base backup engine class.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(String vaultName, String resourceGroupName) {
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ public BackupEngineBaseResourceInner get(String vaultName, String resourceGroupName, String backupEngineName) {
final String filter = null;
final String skipToken = null;
- return new PagedFlux<>(() -> listSinglePageAsync(vaultName, resourceGroupName, filter, skipToken),
- nextLink -> listNextSinglePageAsync(nextLink));
+ return getWithResponse(vaultName, resourceGroupName, backupEngineName, filter, skipToken, Context.NONE)
+ .getValue();
}
/**
* Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
- * @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedFlux}.
+ * @return list of BackupEngineBase resources along with {@link PagedResponse} on successful completion of
+ * {@link Mono}.
*/
- @ServiceMethod(returns = ReturnType.COLLECTION)
- private PagedFlux listAsync(String vaultName, String resourceGroupName,
- String filter, String skipToken, Context context) {
- return new PagedFlux<>(() -> listSinglePageAsync(vaultName, resourceGroupName, filter, skipToken, context),
- nextLink -> listNextSinglePageAsync(nextLink, context));
+ @ServiceMethod(returns = ReturnType.SINGLE)
+ private Mono> listSinglePageAsync(String vaultName,
+ String resourceGroupName, String filter, String skipToken) {
+ final String accept = "application/json";
+ return FluxUtil
+ .withContext(context -> service.list(this.client.getEndpoint(), this.client.getApiVersion(),
+ this.client.getSubscriptionId(), resourceGroupName, vaultName, filter, skipToken, accept, context))
+ .>map(res -> new PagedResponseBase<>(res.getRequest(),
+ res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null))
+ .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
}
/**
* Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
+ * @param filter OData filter options.
+ * @param skipToken skipToken Filter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
+ * @return list of BackupEngineBase resources as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(String vaultName, String resourceGroupName) {
- final String filter = null;
- final String skipToken = null;
- return new PagedIterable<>(listAsync(vaultName, resourceGroupName, filter, skipToken));
+ private PagedFlux listAsync(String vaultName, String resourceGroupName,
+ String filter, String skipToken) {
+ return new PagedFlux<>(() -> listSinglePageAsync(vaultName, resourceGroupName, filter, skipToken));
}
/**
* Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param filter OData filter options.
- * @param skipToken skipToken Filter.
- * @param context The context to associate with this operation.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
+ * @return list of BackupEngineBase resources as paginated response with {@link PagedFlux}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
- public PagedIterable list(String vaultName, String resourceGroupName, String filter,
- String skipToken, Context context) {
- return new PagedIterable<>(listAsync(vaultName, resourceGroupName, filter, skipToken, context));
+ private PagedFlux listAsync(String vaultName, String resourceGroupName) {
+ final String filter = null;
+ final String skipToken = null;
+ return new PagedFlux<>(() -> listSinglePageAsync(vaultName, resourceGroupName, filter, skipToken));
}
/**
- * Returns backup management server registered to Recovery Services Vault.
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param backupEngineName Name of the backup management server.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the base backup engine class along with {@link Response} on successful completion of {@link Mono}.
+ * @return list of BackupEngineBase resources along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(String vaultName,
- String resourceGroupName, String backupEngineName, String filter, String skipToken) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (vaultName == null) {
- return Mono.error(new IllegalArgumentException("Parameter vaultName is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (backupEngineName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter backupEngineName is required and cannot be null."));
- }
+ private PagedResponse listSinglePage(String vaultName, String resourceGroupName,
+ String filter, String skipToken) {
final String accept = "application/json";
- return FluxUtil
- .withContext(context -> service.get(this.client.getEndpoint(), this.client.getApiVersion(), vaultName,
- resourceGroupName, this.client.getSubscriptionId(), backupEngineName, filter, skipToken, accept,
- context))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
+ Response res
+ = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, vaultName, filter, skipToken, accept, Context.NONE);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ null, null);
}
/**
- * Returns backup management server registered to Recovery Services Vault.
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param backupEngineName Name of the backup management server.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the base backup engine class along with {@link Response} on successful completion of {@link Mono}.
+ * @return list of BackupEngineBase resources along with {@link PagedResponse}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> getWithResponseAsync(String vaultName,
- String resourceGroupName, String backupEngineName, String filter, String skipToken, Context context) {
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- if (vaultName == null) {
- return Mono.error(new IllegalArgumentException("Parameter vaultName is required and cannot be null."));
- }
- if (resourceGroupName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."));
- }
- if (this.client.getSubscriptionId() == null) {
- return Mono.error(new IllegalArgumentException(
- "Parameter this.client.getSubscriptionId() is required and cannot be null."));
- }
- if (backupEngineName == null) {
- return Mono
- .error(new IllegalArgumentException("Parameter backupEngineName is required and cannot be null."));
- }
+ private PagedResponse listSinglePage(String vaultName, String resourceGroupName,
+ String filter, String skipToken, Context context) {
final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.get(this.client.getEndpoint(), this.client.getApiVersion(), vaultName, resourceGroupName,
- this.client.getSubscriptionId(), backupEngineName, filter, skipToken, accept, context);
+ Response res
+ = service.listSync(this.client.getEndpoint(), this.client.getApiVersion(), this.client.getSubscriptionId(),
+ resourceGroupName, vaultName, filter, skipToken, accept, context);
+ return new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(),
+ null, null);
}
/**
- * Returns backup management server registered to Recovery Services Vault.
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param backupEngineName Name of the backup management server.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the base backup engine class on successful completion of {@link Mono}.
+ * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono getAsync(String vaultName, String resourceGroupName,
- String backupEngineName) {
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String vaultName, String resourceGroupName) {
final String filter = null;
final String skipToken = null;
- return getWithResponseAsync(vaultName, resourceGroupName, backupEngineName, filter, skipToken)
- .flatMap(res -> Mono.justOrEmpty(res.getValue()));
+ return new PagedIterable<>(() -> listSinglePage(vaultName, resourceGroupName, filter, skipToken));
}
/**
- * Returns backup management server registered to Recovery Services Vault.
+ * Backup management servers registered to Recovery Services Vault. Returns a pageable list of servers.
*
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param backupEngineName Name of the backup management server.
+ * @param vaultName The name of the VaultResource.
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the base backup engine class along with {@link Response}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public Response getWithResponse(String vaultName, String resourceGroupName,
- String backupEngineName, String filter, String skipToken, Context context) {
- return getWithResponseAsync(vaultName, resourceGroupName, backupEngineName, filter, skipToken, context).block();
- }
-
- /**
- * Returns backup management server registered to Recovery Services Vault.
- *
- * @param vaultName The name of the recovery services vault.
- * @param resourceGroupName The name of the resource group where the recovery services vault is present.
- * @param backupEngineName Name of the backup management server.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return the base backup engine class.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- public BackupEngineBaseResourceInner get(String vaultName, String resourceGroupName, String backupEngineName) {
- final String filter = null;
- final String skipToken = null;
- return getWithResponse(vaultName, resourceGroupName, backupEngineName, filter, skipToken, Context.NONE)
- .getValue();
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
- */
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listNextSinglePageAsync(String nextLink) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- return FluxUtil.withContext(context -> service.listNext(nextLink, this.client.getEndpoint(), accept, context))
- .>map(res -> new PagedResponseBase<>(res.getRequest(),
- res.getStatusCode(), res.getHeaders(), res.getValue().value(), res.getValue().nextLink(), null))
- .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly()));
- }
-
- /**
- * Get the next page of items.
- *
- * @param nextLink The URL to get the next list of items.
- * @param context The context to associate with this operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation.
- * @throws ManagementException thrown if the request is rejected by server.
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
- * @return list of BackupEngineBase resources along with {@link PagedResponse} on successful completion of
- * {@link Mono}.
+ * @return list of BackupEngineBase resources as paginated response with {@link PagedIterable}.
*/
- @ServiceMethod(returns = ReturnType.SINGLE)
- private Mono> listNextSinglePageAsync(String nextLink,
- Context context) {
- if (nextLink == null) {
- return Mono.error(new IllegalArgumentException("Parameter nextLink is required and cannot be null."));
- }
- if (this.client.getEndpoint() == null) {
- return Mono.error(
- new IllegalArgumentException("Parameter this.client.getEndpoint() is required and cannot be null."));
- }
- final String accept = "application/json";
- context = this.client.mergeContext(context);
- return service.listNext(nextLink, this.client.getEndpoint(), accept, context)
- .map(res -> new PagedResponseBase<>(res.getRequest(), res.getStatusCode(), res.getHeaders(),
- res.getValue().value(), res.getValue().nextLink(), null));
+ @ServiceMethod(returns = ReturnType.COLLECTION)
+ public PagedIterable list(String vaultName, String resourceGroupName, String filter,
+ String skipToken, Context context) {
+ return new PagedIterable<>(() -> listSinglePage(vaultName, resourceGroupName, filter, skipToken, context));
}
}
diff --git a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesImpl.java b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesImpl.java
index 3220612791d9..98eab90614d7 100644
--- a/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesImpl.java
+++ b/sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/BackupEnginesImpl.java
@@ -1,6 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
-// Code generated by Microsoft (R) AutoRest Code Generator.
+// Code generated by Microsoft (R) TypeSpec Code Generator.
package com.azure.resourcemanager.recoveryservicesbackup.implementation;
@@ -27,18 +27,6 @@ public BackupEnginesImpl(BackupEnginesClient innerClient,
this.serviceManager = serviceManager;
}
- public PagedIterable list(String vaultName, String resourceGroupName) {
- PagedIterable inner = this.serviceClient().list(vaultName, resourceGroupName);
- return ResourceManagerUtils.mapPage(inner, inner1 -> new BackupEngineBaseResourceImpl(inner1, this.manager()));
- }
-
- public PagedIterable list(String vaultName, String resourceGroupName, String filter,
- String skipToken, Context context) {
- PagedIterable