diff --git a/packages/@azure/arm-recoveryservicesbackup/LICENSE.txt b/packages/@azure/arm-recoveryservicesbackup/LICENSE.txt index 5431ba98b936..8f3d856145c5 100644 --- a/packages/@azure/arm-recoveryservicesbackup/LICENSE.txt +++ b/packages/@azure/arm-recoveryservicesbackup/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2019 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupEnginesMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupEnginesMappers.ts index 16e1619dc7b4..b1341e385275 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupEnginesMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupEnginesMappers.ts @@ -93,6 +93,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -101,8 +102,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -132,8 +133,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureFileShareBackupRequest, AzureFileShareProtectableItem, AzureFileShareRecoveryPoint, @@ -144,6 +143,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -166,6 +169,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupFabricsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupFabricsMappers.ts new file mode 100644 index 000000000000..d8381b409451 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupFabricsMappers.ts @@ -0,0 +1,208 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + GenericBackupFabricResourceList, + ResourceList, + GenericBackupFabricResource, + Resource, + BaseResource, + GenericBackupFabric, + CloudError, + ProtectedItemResource, + ProtectedItem, + ProtectedItemResourceList, + ProtectionContainerResource, + ProtectionContainer, + ProtectionContainerResourceList, + ProtectionPolicyResource, + ProtectionPolicy, + ProtectionPolicyResourceList, + JobResource, + Job, + JobResourceList, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + ProtectionIntentResourceList, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupEngineBaseResourceList, + BackupRequestResource, + BackupRequest, + BackupResourceConfigResource, + BackupResourceConfig, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + ProtectableContainerResourceList, + RecoveryPointResource, + RecoveryPoint, + RecoveryPointResourceList, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadItemResourceList, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + WorkloadProtectableItemResourceList, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureIaaSVMProtectionPolicy, + AzureSqlContainer, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureSqlProtectionPolicy, + AzureStorageContainer, + AzureVmWorkloadProtectedItem, + ErrorDetail, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + GenericProtectedItem, + GenericProtectionPolicy, + IaaSVMContainer, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + MabProtectionPolicy, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureBackupServerContainer, + AzureIaaSClassicComputeVMContainer, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMContainer, + AzureIaaSComputeVMProtectedItem, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupJobsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupJobsMappers.ts index 39ef4405362b..b905d527a4b6 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupJobsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupJobsMappers.ts @@ -100,12 +100,13 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -131,8 +132,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -144,6 +143,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -166,6 +169,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupPoliciesMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupPoliciesMappers.ts index 979cbe165068..2ce466a8ddaa 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupPoliciesMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupPoliciesMappers.ts @@ -107,6 +107,7 @@ export { AzureVmWorkloadProtectedItem, ErrorDetail, AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -115,8 +116,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -131,8 +132,6 @@ export { EncryptionDetails, MabFileFolderProtectedItem, MabFileFolderProtectedItemExtendedInfo, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -144,6 +143,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -166,6 +169,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectableItemsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectableItemsMappers.ts index 88e28099a7b0..def7442f45ad 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectableItemsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectableItemsMappers.ts @@ -36,6 +36,8 @@ export { AzureFileShareProtectableItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseSystemProtectableItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaSystemProtectableItem, AzureVmWorkloadSQLAvailabilityGroupProtectableItem, @@ -101,6 +103,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -109,8 +112,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -140,8 +143,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareRecoveryPoint, @@ -152,6 +153,8 @@ export { AzureStorageProtectableContainer, AzureVMAppContainerProtectableContainer, AzureVmWorkloadItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemWorkloadItem, AzureVmWorkloadSQLDatabaseWorkloadItem, @@ -169,6 +172,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -185,14 +189,17 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSComputeVMContainer, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsInContainerMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsInContainerMappers.ts new file mode 100644 index 000000000000..4e63d8200f37 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsInContainerMappers.ts @@ -0,0 +1,208 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ProtectedItemResourceList, + ResourceList, + ProtectedItemResource, + Resource, + BaseResource, + ProtectedItem, + CloudError, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureVmWorkloadProtectedItem, + ErrorDetail, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericBackupFabricResource, + GenericBackupFabric, + GenericBackupFabricResourceList, + GenericProtectedItem, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + ProtectionContainerResource, + ProtectionContainer, + ProtectionContainerResourceList, + ProtectionPolicyResource, + ProtectionPolicy, + ProtectionPolicyResourceList, + JobResource, + Job, + JobResourceList, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + ProtectionIntentResourceList, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupEngineBaseResourceList, + BackupRequestResource, + BackupRequest, + BackupResourceConfigResource, + BackupResourceConfig, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + ProtectableContainerResourceList, + RecoveryPointResource, + RecoveryPoint, + RecoveryPointResourceList, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadItemResourceList, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + WorkloadProtectableItemResourceList, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMProtectedItem, + AzureIaaSVMProtectionPolicy, + AzureSqlContainer, + AzureSqlProtectionPolicy, + AzureStorageContainer, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + GenericProtectionPolicy, + IaaSVMContainer, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + MabProtectionPolicy, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureBackupServerContainer, + AzureIaaSClassicComputeVMContainer, + AzureIaaSComputeVMContainer, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsMappers.ts index 242358b37e98..0b1d23078f42 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectedItemsMappers.ts @@ -27,6 +27,7 @@ export { AzureVmWorkloadProtectedItem, ErrorDetail, AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, DPMProtectedItem, @@ -107,8 +108,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -133,8 +134,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -146,6 +145,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -168,6 +171,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MabContainer, MabContainerExtendedInfo, MABContainerHealthDetails, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersInFabricMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersInFabricMappers.ts new file mode 100644 index 000000000000..beeb8eda2c59 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersInFabricMappers.ts @@ -0,0 +1,208 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ProtectionContainerResourceList, + ResourceList, + ProtectionContainerResource, + Resource, + BaseResource, + ProtectionContainer, + CloudError, + AzureSqlContainer, + AzureStorageContainer, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + ErrorDetail, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + GenericBackupFabricResource, + GenericBackupFabric, + GenericBackupFabricResourceList, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + IaaSVMContainer, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + ProtectedItemResource, + ProtectedItem, + ProtectedItemResourceList, + ProtectionPolicyResource, + ProtectionPolicy, + ProtectionPolicyResourceList, + JobResource, + Job, + JobResourceList, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + ProtectionIntentResourceList, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupEngineBaseResourceList, + BackupRequestResource, + BackupRequest, + BackupResourceConfigResource, + BackupResourceConfig, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + ProtectableContainerResourceList, + RecoveryPointResource, + RecoveryPoint, + RecoveryPointResourceList, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadItemResourceList, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + WorkloadProtectableItemResourceList, + AzureBackupServerContainer, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSClassicComputeVMContainer, + AzureIaaSComputeVMContainer, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureIaaSVMProtectionPolicy, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureSqlProtectionPolicy, + AzureVMAppContainerProtectionContainer, + AzureVmWorkloadProtectedItem, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericProtectedItem, + GenericProtectionPolicy, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + MabProtectionPolicy, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersMappers.ts index acb4baf90cc6..ce448457025f 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionContainersMappers.ts @@ -33,8 +33,6 @@ export { ProtectionPolicyResource, ProtectionPolicy, ProtectionPolicyResourceList, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureSqlContainer, AzureStorageContainer, AzureWorkloadContainer, @@ -56,6 +54,7 @@ export { BackupResourceVaultConfig, DpmBackupEngine, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -110,6 +109,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -118,8 +118,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -149,6 +149,7 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, + AzureBackupServerContainer, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -162,6 +163,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -187,12 +192,14 @@ export { RecoveryPointTierInformation, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMProtectableItem, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionIntentMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionIntentMappers.ts index 549fd465820b..6ab5563470f2 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionIntentMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupProtectionIntentMappers.ts @@ -94,6 +94,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadJob, @@ -101,8 +102,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, DpmJob, @@ -131,8 +132,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -144,6 +143,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -166,6 +169,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigMappers.ts new file mode 100644 index 000000000000..16fcb826e3f9 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigMappers.ts @@ -0,0 +1,196 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + BackupResourceConfigResource, + Resource, + BaseResource, + BackupResourceConfig, + CloudError, + GenericBackupFabricResource, + GenericBackupFabric, + ProtectedItemResource, + ProtectedItem, + ProtectionContainerResource, + ProtectionContainer, + ProtectionPolicyResource, + ProtectionPolicy, + JobResource, + Job, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupRequestResource, + BackupRequest, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + RecoveryPointResource, + RecoveryPoint, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureIaaSVMProtectionPolicy, + AzureSqlContainer, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureSqlProtectionPolicy, + AzureStorageContainer, + AzureVmWorkloadProtectedItem, + ErrorDetail, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + GenericProtectedItem, + GenericProtectionPolicy, + IaaSVMContainer, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + MabProtectionPolicy, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureBackupServerContainer, + AzureIaaSClassicComputeVMContainer, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMContainer, + AzureIaaSComputeVMProtectedItem, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigsMappers.ts index 412fed0b681b..cc9a9b007148 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceStorageConfigsMappers.ts @@ -81,6 +81,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -89,8 +90,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -120,8 +121,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -133,6 +132,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -155,6 +158,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceVaultConfigsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceVaultConfigsMappers.ts index 38361d0ff112..08ee0be9a0c3 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceVaultConfigsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupResourceVaultConfigsMappers.ts @@ -81,6 +81,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -89,8 +90,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -120,8 +121,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -133,6 +132,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -155,6 +158,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupWorkloadItemsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupWorkloadItemsMappers.ts index 366fc4169fb7..d587ad0ccafe 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupWorkloadItemsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupWorkloadItemsMappers.ts @@ -34,6 +34,8 @@ export { ProtectionPolicy, ProtectionPolicyResourceList, AzureVmWorkloadItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemWorkloadItem, AzureVmWorkloadSQLDatabaseWorkloadItem, @@ -98,6 +100,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -106,8 +109,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -137,8 +140,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -149,6 +150,8 @@ export { AzureVMAppContainerProtectableContainer, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseSystemProtectableItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaSystemProtectableItem, AzureVmWorkloadSQLAvailabilityGroupProtectableItem, @@ -166,6 +169,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupsMappers.ts index 34f3dd2aaa89..211fff879a82 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/backupsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/backupsMappers.ts @@ -83,6 +83,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -91,8 +92,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -122,8 +123,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareProtectableItem, AzureFileShareRecoveryPoint, @@ -134,6 +133,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -155,6 +158,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts index 2e95a1f4239a..1d2a78cc0c6e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/index.ts @@ -72,7 +72,7 @@ export interface AzureFileshareProtectedItemExtendedInfo { /** * Contains the possible cases for ProtectedItem. */ -export type ProtectedItemUnion = ProtectedItem | AzureFileshareProtectedItem | AzureIaaSVMProtectedItemUnion | AzureSqlProtectedItem | AzureVmWorkloadProtectedItemUnion | AzureVmWorkloadSQLDatabaseProtectedItem | DPMProtectedItem | GenericProtectedItem | MabFileFolderProtectedItem; +export type ProtectedItemUnion = ProtectedItem | AzureFileshareProtectedItem | AzureIaaSVMProtectedItemUnion | AzureSqlProtectedItem | AzureVmWorkloadProtectedItemUnion | DPMProtectedItem | GenericProtectedItem | MabFileFolderProtectedItem; /** * @interface @@ -97,7 +97,7 @@ export interface ProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -155,7 +155,7 @@ export interface AzureFileshareProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -307,7 +307,7 @@ export interface AzureFileShareProtectionPolicy { * management. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workLoadType?: WorkloadType; /** @@ -370,7 +370,7 @@ export interface TargetAFSRestoreInfo { /** * Contains the possible cases for RestoreRequest. */ -export type RestoreRequestUnion = RestoreRequest | AzureFileShareRestoreRequest | AzureWorkloadRestoreRequestUnion | AzureWorkloadSAPHanaRestoreRequestUnion | IaasVMRestoreRequest; +export type RestoreRequestUnion = RestoreRequest | AzureFileShareRestoreRequest | AzureWorkloadRestoreRequestUnion | IaasVMRestoreRequest; /** * @interface @@ -458,7 +458,7 @@ export interface AzureIaaSVMProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -565,7 +565,7 @@ export interface AzureIaaSClassicComputeVMProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -673,7 +673,7 @@ export interface AzureIaaSComputeVMProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -847,7 +847,7 @@ export interface AzureIaaSVMJobTaskDetails { /** * @member {string} [taskExecutionDetails] Details about execution of the * task. - * eg: number of bytes transferred etc + * eg: number of bytes transfered etc */ taskExecutionDetails?: string; } @@ -1256,7 +1256,7 @@ export interface AzureSqlProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -1550,7 +1550,7 @@ export interface AzureVmWorkloadProtectedItemExtendedInfo { /** * Contains the possible cases for AzureVmWorkloadProtectedItem. */ -export type AzureVmWorkloadProtectedItemUnion = AzureVmWorkloadProtectedItem | AzureVmWorkloadSAPHanaDatabaseProtectedItem; +export type AzureVmWorkloadProtectedItemUnion = AzureVmWorkloadProtectedItem | AzureVmWorkloadSAPAseDatabaseProtectedItem | AzureVmWorkloadSAPHanaDatabaseProtectedItem | AzureVmWorkloadSQLDatabaseProtectedItem; /** * @interface @@ -1575,7 +1575,7 @@ export interface AzureVmWorkloadProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -1740,7 +1740,7 @@ export interface AzureVmWorkloadProtectionPolicy { * management. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workLoadType?: WorkloadType; /** @@ -1754,10 +1754,129 @@ export interface AzureVmWorkloadProtectionPolicy { subProtectionPolicy?: SubProtectionPolicy[]; } +/** + * @interface + * An interface representing AzureVmWorkloadSAPAseDatabaseProtectedItem. + * Azure VM workload-specific protected item representing SAP ASE Database. + * + */ +export interface AzureVmWorkloadSAPAseDatabaseProtectedItem { + /** + * @member {string} protectedItemType Polymorphic Discriminator + */ + protectedItemType: "AzureVmWorkloadSAPAseDatabase"; + /** + * @member {BackupManagementType} [backupManagementType] Type of backup + * management for the backed up item. Possible values include: 'Invalid', + * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', + * 'AzureStorage', 'AzureWorkload', 'DefaultBackup' + */ + backupManagementType?: BackupManagementType; + /** + * @member {DataSourceType} [workloadType] Type of workload this item + * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', + * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', + * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' + */ + workloadType?: DataSourceType; + /** + * @member {string} [containerName] Unique name of container + */ + containerName?: string; + /** + * @member {string} [sourceResourceId] ARM ID of the resource to be backed + * up. + */ + sourceResourceId?: string; + /** + * @member {string} [policyId] ID of the backup policy with which this item + * is backed up. + */ + policyId?: string; + /** + * @member {Date} [lastRecoveryPoint] Timestamp when the last (latest) backup + * copy was created for this backup item. + */ + lastRecoveryPoint?: Date; + /** + * @member {string} [backupSetName] Name of the backup set the backup item + * belongs to + */ + backupSetName?: string; + /** + * @member {CreateMode} [createMode] Create mode to indicate recovery of + * existing soft deleted data source or creation of new data source. Possible + * values include: 'Invalid', 'Default', 'Recover' + */ + createMode?: CreateMode; + /** + * @member {string} [friendlyName] Friendly name of the DB represented by + * this backup item. + */ + friendlyName?: string; + /** + * @member {string} [serverName] Host/Cluster Name for instance or AG + */ + serverName?: string; + /** + * @member {string} [parentName] Parent name of the DB such as Instance or + * Availability Group. + */ + parentName?: string; + /** + * @member {string} [parentType] Parent type of protected item, example: for + * a DB, standalone server or distributed + */ + parentType?: string; + /** + * @member {string} [protectionStatus] Backup status of this backup item. + */ + protectionStatus?: string; + /** + * @member {ProtectionState} [protectionState] Backup state of this backup + * item. Possible values include: 'Invalid', 'IRPending', 'Protected', + * 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' + */ + protectionState?: ProtectionState; + /** + * @member {LastBackupStatus} [lastBackupStatus] Last backup operation + * status. Possible values: Healthy, Unhealthy. Possible values include: + * 'Invalid', 'Healthy', 'Unhealthy', 'IRPending' + */ + lastBackupStatus?: LastBackupStatus; + /** + * @member {Date} [lastBackupTime] Timestamp of the last backup operation on + * this backup item. + */ + lastBackupTime?: Date; + /** + * @member {ErrorDetail} [lastBackupErrorDetail] Error details in last backup + */ + lastBackupErrorDetail?: ErrorDetail; + /** + * @member {string} [protectedItemDataSourceId] Data ID of the protected + * item. + */ + protectedItemDataSourceId?: string; + /** + * @member {ProtectedItemHealthStatus} [protectedItemHealthStatus] Health + * status of the backup item, evaluated based on last heartbeat received. + * Possible values include: 'Invalid', 'Healthy', 'Unhealthy', + * 'NotReachable', 'IRPending' + */ + protectedItemHealthStatus?: ProtectedItemHealthStatus; + /** + * @member {AzureVmWorkloadProtectedItemExtendedInfo} [extendedInfo] + * Additional information for this backup item. + */ + extendedInfo?: AzureVmWorkloadProtectedItemExtendedInfo; +} + /** * @interface * An interface representing AzureVmWorkloadSAPHanaDatabaseProtectedItem. - * Azure VM workload-specific protected item representing SAP Hana Database. + * Azure VM workload-specific protected item representing SAP HANA Database. * */ export interface AzureVmWorkloadSAPHanaDatabaseProtectedItem { @@ -1777,7 +1896,7 @@ export interface AzureVmWorkloadSAPHanaDatabaseProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -1896,7 +2015,7 @@ export interface AzureVmWorkloadSQLDatabaseProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -1944,7 +2063,8 @@ export interface AzureVmWorkloadSQLDatabaseProtectedItem { */ parentName?: string; /** - * @member {string} [parentType] Parent type of DB, SQLAG or StandAlone + * @member {string} [parentType] Parent type of protected item, example: for + * a DB, standalone server or distributed */ parentType?: string; /** @@ -2180,7 +2300,7 @@ export interface AzureWorkloadJob { /** * Contains the possible cases for AzureWorkloadRestoreRequest. */ -export type AzureWorkloadRestoreRequestUnion = AzureWorkloadRestoreRequest | AzureWorkloadSQLRestoreRequestUnion; +export type AzureWorkloadRestoreRequestUnion = AzureWorkloadRestoreRequest | AzureWorkloadPointInTimeRestoreRequest | AzureWorkloadSAPHanaRestoreRequestUnion | AzureWorkloadSQLRestoreRequestUnion; /** * @interface @@ -2209,6 +2329,73 @@ export interface AzureWorkloadRestoreRequest { * specific property bag. */ propertyBag?: { [propertyName: string]: string }; + /** + * @member {TargetRestoreInfo} [targetInfo] Details of target database + */ + targetInfo?: TargetRestoreInfo; +} + +/** + * @interface + * An interface representing AzureWorkloadPointInTimeRestoreRequest. + * AzureWorkload SAP Hana -specific restore. Specifically for PointInTime/Log + * restore + * + */ +export interface AzureWorkloadPointInTimeRestoreRequest { + /** + * @member {string} objectType Polymorphic Discriminator + */ + objectType: "AzureWorkloadPointInTimeRestoreRequest"; + /** + * @member {RecoveryType} [recoveryType] OLR/ALR, RestoreDisks is invalid + * option. Possible values include: 'Invalid', 'OriginalLocation', + * 'AlternateLocation', 'RestoreDisks' + */ + recoveryType?: RecoveryType; + /** + * @member {string} [sourceResourceId] Fully qualified ARM ID of the VM on + * which workload that was running is being recovered. + */ + sourceResourceId?: string; + /** + * @member {{ [propertyName: string]: string }} [propertyBag] Workload + * specific property bag. + */ + propertyBag?: { [propertyName: string]: string }; + /** + * @member {TargetRestoreInfo} [targetInfo] Details of target database + */ + targetInfo?: TargetRestoreInfo; + /** + * @member {Date} [pointInTime] PointInTime value + */ + pointInTime?: Date; +} + +/** + * @interface + * An interface representing TargetRestoreInfo. + * Details about target workload during restore operation. + * + */ +export interface TargetRestoreInfo { + /** + * @member {OverwriteOptions} [overwriteOption] Can Overwrite if Target + * DataBase already exists. Possible values include: 'Invalid', + * 'FailOnConflict', 'Overwrite' + */ + overwriteOption?: OverwriteOptions; + /** + * @member {string} [containerId] Resource Id name of the container in which + * Target DataBase resides + */ + containerId?: string; + /** + * @member {string} [databaseName] Database name InstanceName/DataBaseName + * for SQL or System/DbName for SAP Hana + */ + databaseName?: string; } /** @@ -2227,10 +2414,6 @@ export interface AzureWorkloadSAPHanaRestoreRequest { * @member {string} objectType Polymorphic Discriminator */ objectType: "AzureWorkloadSAPHanaRestoreRequest"; - /** - * @member {TargetRestoreInfo} [targetInfo] Details of target database - */ - targetInfo?: TargetRestoreInfo; /** * @member {RecoveryType} [recoveryType] OLR/ALR, RestoreDisks is invalid * option. Possible values include: 'Invalid', 'OriginalLocation', @@ -2247,6 +2430,10 @@ export interface AzureWorkloadSAPHanaRestoreRequest { * specific property bag. */ propertyBag?: { [propertyName: string]: string }; + /** + * @member {TargetRestoreInfo} [targetInfo] Details of target database + */ + targetInfo?: TargetRestoreInfo; } /** @@ -2261,10 +2448,6 @@ export interface AzureWorkloadSAPHanaPointInTimeRestoreRequest { * @member {string} objectType Polymorphic Discriminator */ objectType: "AzureWorkloadSAPHanaPointInTimeRestoreRequest"; - /** - * @member {TargetRestoreInfo} [targetInfo] Details of target database - */ - targetInfo?: TargetRestoreInfo; /** * @member {RecoveryType} [recoveryType] OLR/ALR, RestoreDisks is invalid * option. Possible values include: 'Invalid', 'OriginalLocation', @@ -2282,34 +2465,13 @@ export interface AzureWorkloadSAPHanaPointInTimeRestoreRequest { */ propertyBag?: { [propertyName: string]: string }; /** - * @member {Date} [pointInTime] PointInTime value - */ - pointInTime?: Date; -} - -/** - * @interface - * An interface representing TargetRestoreInfo. - * Details about target workload during restore operation. - * - */ -export interface TargetRestoreInfo { - /** - * @member {OverwriteOptions} [overwriteOption] Can Overwrite if Target - * DataBase already exists. Possible values include: 'Invalid', - * 'FailOnConflict', 'Overwrite' - */ - overwriteOption?: OverwriteOptions; - /** - * @member {string} [containerId] Resource Id name of the container in which - * Target DataBase resides + * @member {TargetRestoreInfo} [targetInfo] Details of target database */ - containerId?: string; + targetInfo?: TargetRestoreInfo; /** - * @member {string} [databaseName] Database name InstanceName/DataBaseName - * for SQL or System/DbName for SAP Hana + * @member {Date} [pointInTime] PointInTime value */ - databaseName?: string; + pointInTime?: Date; } /** @@ -2354,7 +2516,8 @@ export interface AzureWorkloadSQLAutoProtectionIntent { /** * @member {WorkloadItemType} [workloadItemType] Workload item type of the * item for which intent is to be set. Possible values include: 'Invalid', - * 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase' + * 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', 'SAPHanaDatabase', + * 'SAPAseSystem', 'SAPAseDatabase' */ workloadItemType?: WorkloadItemType; } @@ -2391,6 +2554,10 @@ export interface AzureWorkloadSQLRestoreRequest { * specific property bag. */ propertyBag?: { [propertyName: string]: string }; + /** + * @member {TargetRestoreInfo} [targetInfo] Details of target database + */ + targetInfo?: TargetRestoreInfo; /** * @member {boolean} [shouldUseAlternateTargetLocation] Default option set to * true. If this is set to false, alternate data directory must be provided @@ -2401,10 +2568,6 @@ export interface AzureWorkloadSQLRestoreRequest { * chose to set no-recovery when restore operation is tried */ isNonRecoverable?: boolean; - /** - * @member {TargetRestoreInfo} [targetInfo] Details of target database - */ - targetInfo?: TargetRestoreInfo; /** * @member {SQLDataDirectoryMapping[]} [alternateDirectoryPaths] Data * directory details @@ -2440,6 +2603,10 @@ export interface AzureWorkloadSQLPointInTimeRestoreRequest { * specific property bag. */ propertyBag?: { [propertyName: string]: string }; + /** + * @member {TargetRestoreInfo} [targetInfo] Details of target database + */ + targetInfo?: TargetRestoreInfo; /** * @member {boolean} [shouldUseAlternateTargetLocation] Default option set to * true. If this is set to false, alternate data directory must be provided @@ -2450,10 +2617,6 @@ export interface AzureWorkloadSQLPointInTimeRestoreRequest { * chose to set no-recovery when restore operation is tried */ isNonRecoverable?: boolean; - /** - * @member {TargetRestoreInfo} [targetInfo] Details of target database - */ - targetInfo?: TargetRestoreInfo; /** * @member {SQLDataDirectoryMapping[]} [alternateDirectoryPaths] Data * directory details @@ -2554,7 +2717,7 @@ export interface BackupStatusRequest { * AzureFileShare. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ resourceType?: DataSourceType; /** @@ -2948,7 +3111,7 @@ export interface DPMProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -2992,7 +3155,7 @@ export interface DPMProtectedItem { backupEngineName?: string; /** * @member {ProtectedItemState} [protectionState] Protection state of the - * backup engine. Possible values include: 'Invalid', 'IRPending', + * backupengine. Possible values include: 'Invalid', 'IRPending', * 'Protected', 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused' */ protectionState?: ProtectedItemState; @@ -3103,7 +3266,7 @@ export interface GenericProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -3632,7 +3795,7 @@ export interface MabFileFolderProtectedItem { * represents. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: DataSourceType; /** @@ -3821,7 +3984,8 @@ export interface MabJob { * @member {WorkloadType} [workloadType] Workload type of backup item. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + * 'SAPAseDatabase' */ workloadType?: WorkloadType; /** @@ -3942,7 +4106,7 @@ export interface PreValidateEnableBackupRequest { * SqlDataBase, AzureFileShare etc. Possible values include: 'Invalid', 'VM', * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ resourceType?: DataSourceType; /** @@ -4017,7 +4181,8 @@ export interface ProtectedItemQueryObject { * @member {DataSourceType} [itemType] Type of workload this item represents. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + * 'SAPAseDatabase' */ itemType?: DataSourceType; /** @@ -4128,7 +4293,8 @@ export interface ProtectionPolicyQueryObject { * @member {WorkloadType} [workloadType] Workload type for the backup policy. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + * 'SAPAseDatabase' */ workloadType?: WorkloadType; } @@ -4298,23 +4464,10 @@ export interface ValidateOperationsResponse { validateOperationResponse?: ValidateOperationResponse; } -/** - * @interface - * An interface representing DPMContainerExtendedInfo. - * Additional information of the DPMContainer. - * - */ -export interface DPMContainerExtendedInfo { - /** - * @member {Date} [lastRefreshedAt] Last refresh time of the DPMContainer. - */ - lastRefreshedAt?: Date; -} - /** * Contains the possible cases for ProtectionContainer. */ -export type ProtectionContainerUnion = ProtectionContainer | AzureBackupServerContainer | AzureSqlContainer | AzureStorageContainer | AzureWorkloadContainerUnion | DpmContainer | GenericContainer | IaaSVMContainerUnion | MabContainer; +export type ProtectionContainerUnion = ProtectionContainer | AzureSqlContainer | AzureStorageContainer | AzureWorkloadContainerUnion | DpmContainerUnion | GenericContainer | IaaSVMContainerUnion | MabContainer; /** * @interface @@ -4351,13 +4504,87 @@ export interface ProtectionContainer { } /** - * @interface - * An interface representing AzureBackupServerContainer. - * AzureBackupServer (DPMVenus) workload-specific protection container. - * + * Contains the possible cases for DpmContainer. */ -export interface AzureBackupServerContainer { - /** +export type DpmContainerUnion = DpmContainer | AzureBackupServerContainer; + +/** + * @interface + * An interface representing DpmContainer. + * DPM workload-specific protection container. + * + */ +export interface DpmContainer { + /** + * @member {string} containerType Polymorphic Discriminator + */ + containerType: "DPMContainer"; + /** + * @member {string} [friendlyName] Friendly name of the container. + */ + friendlyName?: string; + /** + * @member {BackupManagementType} [backupManagementType] Type of backup + * management for the container. Possible values include: 'Invalid', + * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', + * 'AzureStorage', 'AzureWorkload', 'DefaultBackup' + */ + backupManagementType?: BackupManagementType; + /** + * @member {string} [registrationStatus] Status of registration of the + * container with the Recovery Services Vault. + */ + registrationStatus?: string; + /** + * @member {string} [healthStatus] Status of health of the container. + */ + healthStatus?: string; + /** + * @member {boolean} [canReRegister] Specifies whether the container is + * re-registrable. + */ + canReRegister?: boolean; + /** + * @member {string} [containerId] ID of container. + */ + containerId?: string; + /** + * @member {number} [protectedItemCount] Number of protected items in the + * BackupEngine + */ + protectedItemCount?: number; + /** + * @member {string} [dpmAgentVersion] Backup engine Agent version + */ + dpmAgentVersion?: string; + /** + * @member {string[]} [dpmServers] List of BackupEngines protecting the + * container + */ + dpmServers?: string[]; + /** + * @member {boolean} [upgradeAvailable] To check if upgrade available + */ + upgradeAvailable?: boolean; + /** + * @member {string} [protectionStatus] Protection status of the container. + */ + protectionStatus?: string; + /** + * @member {DPMContainerExtendedInfo} [extendedInfo] Extended Info of the + * container. + */ + extendedInfo?: DPMContainerExtendedInfo; +} + +/** + * @interface + * An interface representing AzureBackupServerContainer. + * AzureBackupServer (DPMVenus) workload-specific protection container. + * + */ +export interface AzureBackupServerContainer { + /** * @member {string} containerType Polymorphic Discriminator */ containerType: "AzureBackupServerContainer"; @@ -4490,7 +4717,7 @@ export interface BackupEngineBase { isDpmUpgradeAvailable?: boolean; /** * @member {BackupEngineExtendedInfo} [extendedInfo] Extended info of the - * backup engine + * backupengine */ extendedInfo?: BackupEngineExtendedInfo; } @@ -4560,7 +4787,7 @@ export interface AzureBackupServerEngine { isDpmUpgradeAvailable?: boolean; /** * @member {BackupEngineExtendedInfo} [extendedInfo] Extended info of the - * backup engine + * backupengine */ extendedInfo?: BackupEngineExtendedInfo; } @@ -4690,7 +4917,7 @@ export interface AzureFileShareProtectableItem { /** * Contains the possible cases for RecoveryPoint. */ -export type RecoveryPointUnion = RecoveryPoint | AzureFileShareRecoveryPoint | AzureWorkloadRecoveryPointUnion | AzureWorkloadSAPHanaRecoveryPointUnion | GenericRecoveryPoint | IaasVMRecoveryPoint; +export type RecoveryPointUnion = RecoveryPoint | AzureFileShareRecoveryPoint | AzureWorkloadRecoveryPointUnion | GenericRecoveryPoint | IaasVMRecoveryPoint; /** * @interface @@ -5017,7 +5244,7 @@ export interface AzureWorkloadContainer { /** * @member {string} containerType Polymorphic Discriminator */ - containerType: "AzureWorkloadBackupRequest"; + containerType: "AzureWorkloadContainer"; /** * @member {string} [friendlyName] Friendly name of the container. */ @@ -5058,9 +5285,14 @@ export interface AzureWorkloadContainer { * was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: WorkloadType; + /** + * @member {OperationType} [operationType] Re-Do Operation. Possible values + * include: 'Invalid', 'Register', 'Reregister' + */ + operationType?: OperationType; } /** @@ -5114,9 +5346,14 @@ export interface AzureSQLAGWorkloadContainerProtectionContainer { * was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: WorkloadType; + /** + * @member {OperationType} [operationType] Re-Do Operation. Possible values + * include: 'Invalid', 'Register', 'Reregister' + */ + operationType?: OperationType; } /** @@ -5355,9 +5592,14 @@ export interface AzureVMAppContainerProtectionContainer { * was sent. Possible values include: 'Invalid', 'VM', 'FileFolder', * 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: WorkloadType; + /** + * @member {OperationType} [operationType] Re-Do Operation. Possible values + * include: 'Invalid', 'Register', 'Reregister' + */ + operationType?: OperationType; } /** @@ -5385,35 +5627,263 @@ export interface WorkloadItem { /** * @member {string} [workloadType] Type of workload for the backup management */ - workloadType?: string; + workloadType?: string; + /** + * @member {string} [friendlyName] Friendly name of the backup item. + */ + friendlyName?: string; + /** + * @member {ProtectionStatus} [protectionState] State of the back up item. + * Possible values include: 'Invalid', 'NotProtected', 'Protecting', + * 'Protected', 'ProtectionFailed' + */ + protectionState?: ProtectionStatus; +} + +/** + * Contains the possible cases for AzureVmWorkloadItem. + */ +export type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWorkloadSAPAseDatabaseWorkloadItem | AzureVmWorkloadSAPAseSystemWorkloadItem | AzureVmWorkloadSAPHanaDatabaseWorkloadItem | AzureVmWorkloadSAPHanaSystemWorkloadItem | AzureVmWorkloadSQLDatabaseWorkloadItem | AzureVmWorkloadSQLInstanceWorkloadItem; + +/** + * @interface + * An interface representing AzureVmWorkloadItem. + * Azure VM workload-specific workload item. + * + */ +export interface AzureVmWorkloadItem { + /** + * @member {string} workloadItemType Polymorphic Discriminator + */ + workloadItemType: "AzureVmWorkloadItem"; + /** + * @member {string} [backupManagementType] Type of backup management to + * backup an item. + */ + backupManagementType?: string; + /** + * @member {string} [workloadType] Type of workload for the backup management + */ + workloadType?: string; + /** + * @member {string} [friendlyName] Friendly name of the backup item. + */ + friendlyName?: string; + /** + * @member {ProtectionStatus} [protectionState] State of the back up item. + * Possible values include: 'Invalid', 'NotProtected', 'Protecting', + * 'Protected', 'ProtectionFailed' + */ + protectionState?: ProtectionStatus; + /** + * @member {string} [parentName] Name for instance or AG + */ + parentName?: string; + /** + * @member {string} [serverName] Host/Cluster Name for instance or AG + */ + serverName?: string; + /** + * @member {boolean} [isAutoProtectable] Indicates if workload item is + * auto-protectable + */ + isAutoProtectable?: boolean; + /** + * @member {number} [subinquireditemcount] For instance or AG, indicates + * number of DB's present + */ + subinquireditemcount?: number; + /** + * @member {number} [subWorkloadItemCount] For instance or AG, indicates + * number of DB's to be protected + */ + subWorkloadItemCount?: number; +} + +/** + * @interface + * An interface representing PreBackupValidation. + * Pre-backup validation for Azure VM Workload provider. + * + */ +export interface PreBackupValidation { + /** + * @member {InquiryStatus} [status] Status of protectable item, i.e. + * InProgress,Succeeded,Failed. Possible values include: 'Invalid', + * 'Success', 'Failed' + */ + status?: InquiryStatus; + /** + * @member {string} [code] Error code of protectable item + */ + code?: string; + /** + * @member {string} [message] Message corresponding to the error code for the + * protectable item + */ + message?: string; +} + +/** + * Contains the possible cases for AzureVmWorkloadProtectableItem. + */ +export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPAseDatabaseProtectableItem | AzureVmWorkloadSAPAseSystemProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem; + +/** + * @interface + * An interface representing AzureVmWorkloadProtectableItem. + * Azure VM workload-specific protectable item. + * + */ +export interface AzureVmWorkloadProtectableItem { + /** + * @member {string} protectableItemType Polymorphic Discriminator + */ + protectableItemType: "AzureVmWorkloadProtectableItem"; + /** + * @member {string} [backupManagementType] Type of backup management to + * backup an item. + */ + backupManagementType?: string; + /** + * @member {string} [workloadType] Type of workload for the backup management + */ + workloadType?: string; + /** + * @member {string} [friendlyName] Friendly name of the backup item. + */ + friendlyName?: string; + /** + * @member {ProtectionStatus} [protectionState] State of the back up item. + * Possible values include: 'Invalid', 'NotProtected', 'Protecting', + * 'Protected', 'ProtectionFailed' + */ + protectionState?: ProtectionStatus; + /** + * @member {string} [parentName] Name for instance or AG + */ + parentName?: string; + /** + * @member {string} [parentUniqueName] Parent Unique Name is added to provide + * the service formatted URI Name of the Parent + * Only Applicable for data bases where the parent would be either Instance + * or a SQL AG. + */ + parentUniqueName?: string; + /** + * @member {string} [serverName] Host/Cluster Name for instance or AG + */ + serverName?: string; + /** + * @member {boolean} [isAutoProtectable] Indicates if protectable item is + * auto-protectable + */ + isAutoProtectable?: boolean; + /** + * @member {boolean} [isAutoProtected] Indicates if protectable item is + * auto-protected + */ + isAutoProtected?: boolean; + /** + * @member {number} [subinquireditemcount] For instance or AG, indicates + * number of DB's present + */ + subinquireditemcount?: number; + /** + * @member {number} [subprotectableitemcount] For instance or AG, indicates + * number of DB's to be protected + */ + subprotectableitemcount?: number; + /** + * @member {PreBackupValidation} [prebackupvalidation] Pre-backup validation + * for protectable objects + */ + prebackupvalidation?: PreBackupValidation; +} + +/** + * @interface + * An interface representing AzureVmWorkloadSAPAseDatabaseProtectableItem. + * Azure VM workload-specific protectable item representing SAP ASE Database. + * + */ +export interface AzureVmWorkloadSAPAseDatabaseProtectableItem { + /** + * @member {string} protectableItemType Polymorphic Discriminator + */ + protectableItemType: "SAPAseDatabase"; + /** + * @member {string} [backupManagementType] Type of backup management to + * backup an item. + */ + backupManagementType?: string; + /** + * @member {string} [workloadType] Type of workload for the backup management + */ + workloadType?: string; + /** + * @member {string} [friendlyName] Friendly name of the backup item. + */ + friendlyName?: string; + /** + * @member {ProtectionStatus} [protectionState] State of the back up item. + * Possible values include: 'Invalid', 'NotProtected', 'Protecting', + * 'Protected', 'ProtectionFailed' + */ + protectionState?: ProtectionStatus; + /** + * @member {string} [parentName] Name for instance or AG + */ + parentName?: string; + /** + * @member {string} [parentUniqueName] Parent Unique Name is added to provide + * the service formatted URI Name of the Parent + * Only Applicable for data bases where the parent would be either Instance + * or a SQL AG. + */ + parentUniqueName?: string; + /** + * @member {string} [serverName] Host/Cluster Name for instance or AG + */ + serverName?: string; + /** + * @member {boolean} [isAutoProtectable] Indicates if protectable item is + * auto-protectable + */ + isAutoProtectable?: boolean; + /** + * @member {boolean} [isAutoProtected] Indicates if protectable item is + * auto-protected + */ + isAutoProtected?: boolean; + /** + * @member {number} [subinquireditemcount] For instance or AG, indicates + * number of DB's present + */ + subinquireditemcount?: number; /** - * @member {string} [friendlyName] Friendly name of the backup item. + * @member {number} [subprotectableitemcount] For instance or AG, indicates + * number of DB's to be protected */ - friendlyName?: string; + subprotectableitemcount?: number; /** - * @member {ProtectionStatus} [protectionState] State of the back up item. - * Possible values include: 'Invalid', 'NotProtected', 'Protecting', - * 'Protected', 'ProtectionFailed' + * @member {PreBackupValidation} [prebackupvalidation] Pre-backup validation + * for protectable objects */ - protectionState?: ProtectionStatus; + prebackupvalidation?: PreBackupValidation; } -/** - * Contains the possible cases for AzureVmWorkloadItem. - */ -export type AzureVmWorkloadItemUnion = AzureVmWorkloadItem | AzureVmWorkloadSAPHanaDatabaseWorkloadItem | AzureVmWorkloadSAPHanaSystemWorkloadItem | AzureVmWorkloadSQLDatabaseWorkloadItem | AzureVmWorkloadSQLInstanceWorkloadItem; - /** * @interface - * An interface representing AzureVmWorkloadItem. - * Azure VM workload-specific workload item. + * An interface representing AzureVmWorkloadSAPAseDatabaseWorkloadItem. + * Azure VM workload-specific workload item representing SAP ASE Database. * */ -export interface AzureVmWorkloadItem { +export interface AzureVmWorkloadSAPAseDatabaseWorkloadItem { /** * @member {string} workloadItemType Polymorphic Discriminator */ - workloadItemType: "AzureVmWorkloadItem"; + workloadItemType: "SAPAseDatabase"; /** * @member {string} [backupManagementType] Type of backup management to * backup an item. @@ -5448,56 +5918,27 @@ export interface AzureVmWorkloadItem { isAutoProtectable?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subWorkloadItemCount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subWorkloadItemCount?: number; } /** * @interface - * An interface representing PreBackupValidation. - * Pre-backup validation for Azure VM Workload provider. - * - */ -export interface PreBackupValidation { - /** - * @member {InquiryStatus} [status] Status of protectable item, i.e. - * InProgress,Succeeded,Failed. Possible values include: 'Invalid', - * 'Success', 'Failed' - */ - status?: InquiryStatus; - /** - * @member {string} [code] Error code of protectable item - */ - code?: string; - /** - * @member {string} [message] Message corresponding to the error code for the - * protectable item - */ - message?: string; -} - -/** - * Contains the possible cases for AzureVmWorkloadProtectableItem. - */ -export type AzureVmWorkloadProtectableItemUnion = AzureVmWorkloadProtectableItem | AzureVmWorkloadSAPHanaDatabaseProtectableItem | AzureVmWorkloadSAPHanaSystemProtectableItem | AzureVmWorkloadSQLAvailabilityGroupProtectableItem | AzureVmWorkloadSQLDatabaseProtectableItem | AzureVmWorkloadSQLInstanceProtectableItem; - -/** - * @interface - * An interface representing AzureVmWorkloadProtectableItem. - * Azure VM workload-specific protectable item. + * An interface representing AzureVmWorkloadSAPAseSystemProtectableItem. + * Azure VM workload-specific protectable item representing SAP ASE System. * */ -export interface AzureVmWorkloadProtectableItem { +export interface AzureVmWorkloadSAPAseSystemProtectableItem { /** * @member {string} protectableItemType Polymorphic Discriminator */ - protectableItemType: "AzureVmWorkloadProtectableItem"; + protectableItemType: "SAPAseSystem"; /** * @member {string} [backupManagementType] Type of backup management to * backup an item. @@ -5544,12 +5985,12 @@ export interface AzureVmWorkloadProtectableItem { isAutoProtected?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subprotectableitemcount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subprotectableitemcount?: number; /** @@ -5559,10 +6000,65 @@ export interface AzureVmWorkloadProtectableItem { prebackupvalidation?: PreBackupValidation; } +/** + * @interface + * An interface representing AzureVmWorkloadSAPAseSystemWorkloadItem. + * Azure VM workload-specific workload item representing SAP ASE System. + * + */ +export interface AzureVmWorkloadSAPAseSystemWorkloadItem { + /** + * @member {string} workloadItemType Polymorphic Discriminator + */ + workloadItemType: "SAPAseSystem"; + /** + * @member {string} [backupManagementType] Type of backup management to + * backup an item. + */ + backupManagementType?: string; + /** + * @member {string} [workloadType] Type of workload for the backup management + */ + workloadType?: string; + /** + * @member {string} [friendlyName] Friendly name of the backup item. + */ + friendlyName?: string; + /** + * @member {ProtectionStatus} [protectionState] State of the back up item. + * Possible values include: 'Invalid', 'NotProtected', 'Protecting', + * 'Protected', 'ProtectionFailed' + */ + protectionState?: ProtectionStatus; + /** + * @member {string} [parentName] Name for instance or AG + */ + parentName?: string; + /** + * @member {string} [serverName] Host/Cluster Name for instance or AG + */ + serverName?: string; + /** + * @member {boolean} [isAutoProtectable] Indicates if workload item is + * auto-protectable + */ + isAutoProtectable?: boolean; + /** + * @member {number} [subinquireditemcount] For instance or AG, indicates + * number of DB's present + */ + subinquireditemcount?: number; + /** + * @member {number} [subWorkloadItemCount] For instance or AG, indicates + * number of DB's to be protected + */ + subWorkloadItemCount?: number; +} + /** * @interface * An interface representing AzureVmWorkloadSAPHanaDatabaseProtectableItem. - * Azure VM workload-specific protectable item representing SAP Hana Database. + * Azure VM workload-specific protectable item representing SAP HANA Database. * */ export interface AzureVmWorkloadSAPHanaDatabaseProtectableItem { @@ -5616,12 +6112,12 @@ export interface AzureVmWorkloadSAPHanaDatabaseProtectableItem { isAutoProtected?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subprotectableitemcount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subprotectableitemcount?: number; /** @@ -5634,7 +6130,7 @@ export interface AzureVmWorkloadSAPHanaDatabaseProtectableItem { /** * @interface * An interface representing AzureVmWorkloadSAPHanaDatabaseWorkloadItem. - * Azure VM workload-specific workload item representing SAP Hana Database. + * Azure VM workload-specific workload item representing SAP HANA Database. * */ export interface AzureVmWorkloadSAPHanaDatabaseWorkloadItem { @@ -5676,12 +6172,12 @@ export interface AzureVmWorkloadSAPHanaDatabaseWorkloadItem { isAutoProtectable?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subWorkloadItemCount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subWorkloadItemCount?: number; } @@ -5689,7 +6185,7 @@ export interface AzureVmWorkloadSAPHanaDatabaseWorkloadItem { /** * @interface * An interface representing AzureVmWorkloadSAPHanaSystemProtectableItem. - * Azure VM workload-specific protectable item representing SAP Hana System. + * Azure VM workload-specific protectable item representing SAP HANA System. * */ export interface AzureVmWorkloadSAPHanaSystemProtectableItem { @@ -5743,12 +6239,12 @@ export interface AzureVmWorkloadSAPHanaSystemProtectableItem { isAutoProtected?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subprotectableitemcount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subprotectableitemcount?: number; /** @@ -5761,7 +6257,7 @@ export interface AzureVmWorkloadSAPHanaSystemProtectableItem { /** * @interface * An interface representing AzureVmWorkloadSAPHanaSystemWorkloadItem. - * Azure VM workload-specific workload item representing SAP Hana System. + * Azure VM workload-specific workload item representing SAP HANA System. * */ export interface AzureVmWorkloadSAPHanaSystemWorkloadItem { @@ -5803,12 +6299,12 @@ export interface AzureVmWorkloadSAPHanaSystemWorkloadItem { isAutoProtectable?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subWorkloadItemCount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subWorkloadItemCount?: number; } @@ -5871,12 +6367,12 @@ export interface AzureVmWorkloadSQLAvailabilityGroupProtectableItem { isAutoProtected?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subprotectableitemcount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subprotectableitemcount?: number; /** @@ -5943,12 +6439,12 @@ export interface AzureVmWorkloadSQLDatabaseProtectableItem { isAutoProtected?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subprotectableitemcount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subprotectableitemcount?: number; /** @@ -6003,12 +6499,12 @@ export interface AzureVmWorkloadSQLDatabaseWorkloadItem { isAutoProtectable?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subWorkloadItemCount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subWorkloadItemCount?: number; } @@ -6070,12 +6566,12 @@ export interface AzureVmWorkloadSQLInstanceProtectableItem { isAutoProtected?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subprotectableitemcount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subprotectableitemcount?: number; /** @@ -6152,12 +6648,12 @@ export interface AzureVmWorkloadSQLInstanceWorkloadItem { isAutoProtectable?: boolean; /** * @member {number} [subinquireditemcount] For instance or AG, indicates - * number of DBs present + * number of DB's present */ subinquireditemcount?: number; /** * @member {number} [subWorkloadItemCount] For instance or AG, indicates - * number of DBs to be protected + * number of DB's to be protected */ subWorkloadItemCount?: number; /** @@ -6308,10 +6804,27 @@ export interface AzureWorkloadContainerExtendedInfo { nodesList?: DistributedNodesInfo[]; } +/** + * @interface + * An interface representing PointInTimeRange. + * Provides details for log ranges + * + */ +export interface PointInTimeRange { + /** + * @member {Date} [startTime] Start time of the time range for log recovery. + */ + startTime?: Date; + /** + * @member {Date} [endTime] End time of the time range for log recovery. + */ + endTime?: Date; +} + /** * Contains the possible cases for AzureWorkloadRecoveryPoint. */ -export type AzureWorkloadRecoveryPointUnion = AzureWorkloadRecoveryPoint | AzureWorkloadSQLRecoveryPointUnion; +export type AzureWorkloadRecoveryPointUnion = AzureWorkloadRecoveryPoint | AzureWorkloadPointInTimeRecoveryPointUnion | AzureWorkloadSAPHanaRecoveryPoint | AzureWorkloadSQLRecoveryPointUnion; /** * @interface @@ -6326,7 +6839,7 @@ export interface AzureWorkloadRecoveryPoint { */ objectType: "AzureWorkloadRecoveryPoint"; /** - * @member {Date} [recoveryPointTimeInUTC] UTC time at which recovery point + * @member {Date} [recoveryPointTimeInUTC] UTC time at which recoverypoint * was created */ recoveryPointTimeInUTC?: Date; @@ -6338,41 +6851,23 @@ export interface AzureWorkloadRecoveryPoint { } /** - * @interface - * An interface representing PointInTimeRange. - * Provides details for log ranges - * - */ -export interface PointInTimeRange { - /** - * @member {Date} [startTime] Start time of the time range for log recovery. - */ - startTime?: Date; - /** - * @member {Date} [endTime] End time of the time range for log recovery. - */ - endTime?: Date; -} - -/** - * Contains the possible cases for AzureWorkloadSAPHanaRecoveryPoint. + * Contains the possible cases for AzureWorkloadPointInTimeRecoveryPoint. */ -export type AzureWorkloadSAPHanaRecoveryPointUnion = AzureWorkloadSAPHanaRecoveryPoint | AzureWorkloadSAPHanaPointInTimeRecoveryPoint; +export type AzureWorkloadPointInTimeRecoveryPointUnion = AzureWorkloadPointInTimeRecoveryPoint | AzureWorkloadSAPHanaPointInTimeRecoveryPoint; /** * @interface - * An interface representing AzureWorkloadSAPHanaRecoveryPoint. - * SAPHana specific recovery point, specifically encapsulates full/diff - * recovery points + * An interface representing AzureWorkloadPointInTimeRecoveryPoint. + * Recovery point specific to PointInTime * */ -export interface AzureWorkloadSAPHanaRecoveryPoint { +export interface AzureWorkloadPointInTimeRecoveryPoint { /** * @member {string} objectType Polymorphic Discriminator */ - objectType: "AzureWorkloadSAPHanaRecoveryPoint"; + objectType: "AzureWorkloadPointInTimeRecoveryPoint"; /** - * @member {Date} [recoveryPointTimeInUTC] UTC time at which recovery point + * @member {Date} [recoveryPointTimeInUTC] UTC time at which recoverypoint * was created */ recoveryPointTimeInUTC?: Date; @@ -6381,6 +6876,10 @@ export interface AzureWorkloadSAPHanaRecoveryPoint { * include: 'Invalid', 'Full', 'Log', 'Differential' */ type?: RestorePointType; + /** + * @member {PointInTimeRange[]} [timeRanges] List of log ranges + */ + timeRanges?: PointInTimeRange[]; } /** @@ -6395,7 +6894,7 @@ export interface AzureWorkloadSAPHanaPointInTimeRecoveryPoint { */ objectType: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint"; /** - * @member {Date} [recoveryPointTimeInUTC] UTC time at which recovery point + * @member {Date} [recoveryPointTimeInUTC] UTC time at which recoverypoint * was created */ recoveryPointTimeInUTC?: Date; @@ -6410,6 +6909,30 @@ export interface AzureWorkloadSAPHanaPointInTimeRecoveryPoint { timeRanges?: PointInTimeRange[]; } +/** + * @interface + * An interface representing AzureWorkloadSAPHanaRecoveryPoint. + * SAPHana specific recoverypoint, specifically encapsulates full/diff + * recoverypoints + * + */ +export interface AzureWorkloadSAPHanaRecoveryPoint { + /** + * @member {string} objectType Polymorphic Discriminator + */ + objectType: "AzureWorkloadSAPHanaRecoveryPoint"; + /** + * @member {Date} [recoveryPointTimeInUTC] UTC time at which recoverypoint + * was created + */ + recoveryPointTimeInUTC?: Date; + /** + * @member {RestorePointType} [type] Type of restore point. Possible values + * include: 'Invalid', 'Full', 'Log', 'Differential' + */ + type?: RestorePointType; +} + /** * Contains the possible cases for AzureWorkloadSQLRecoveryPoint. */ @@ -6418,8 +6941,8 @@ export type AzureWorkloadSQLRecoveryPointUnion = AzureWorkloadSQLRecoveryPoint | /** * @interface * An interface representing AzureWorkloadSQLRecoveryPoint. - * SQL specific recovery point, specifically encapsulates full/diff recovery - * point along with extended info + * SQL specific recoverypoint, specifically encapsulates full/diff + * recoverypoint alongwith extended info * */ export interface AzureWorkloadSQLRecoveryPoint { @@ -6428,7 +6951,7 @@ export interface AzureWorkloadSQLRecoveryPoint { */ objectType: "AzureWorkloadSQLRecoveryPoint"; /** - * @member {Date} [recoveryPointTimeInUTC] UTC time at which recovery point + * @member {Date} [recoveryPointTimeInUTC] UTC time at which recoverypoint * was created */ recoveryPointTimeInUTC?: Date; @@ -6460,7 +6983,7 @@ export interface AzureWorkloadSQLPointInTimeRecoveryPoint { */ objectType: "AzureWorkloadSQLPointInTimeRecoveryPoint"; /** - * @member {Date} [recoveryPointTimeInUTC] UTC time at which recovery point + * @member {Date} [recoveryPointTimeInUTC] UTC time at which recoverypoint * was created */ recoveryPointTimeInUTC?: Date; @@ -6529,12 +7052,12 @@ export interface BackupEngineExtendedInfo { */ diskCount?: number; /** - * @member {number} [usedDiskSpace] Disk space used in the backup engine. + * @member {number} [usedDiskSpace] Diskspace used in the backup engine. */ usedDiskSpace?: number; /** - * @member {number} [availableDiskSpace] Disk space currently available in - * the backup engine. + * @member {number} [availableDiskSpace] Diskspace currently available in the + * backup engine. */ availableDiskSpace?: number; /** @@ -6783,7 +7306,8 @@ export interface BMSContainersInquiryQueryObject { * @member {WorkloadType} [workloadType] Workload type for this container. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', * 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', - * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + * 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', + * 'SAPAseDatabase' */ workloadType?: WorkloadType; } @@ -6806,7 +7330,7 @@ export interface BMSPOQueryObject { * @member {WorkloadType} [workloadType] Workload type. Possible values * include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - * 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + * 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: WorkloadType; /** @@ -6885,14 +7409,14 @@ export interface BMSWorkloadItemQueryObject { /** * @member {WorkloadItemType} [workloadItemType] Workload Item type. Possible * values include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', - * 'SAPHanaDatabase' + * 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase' */ workloadItemType?: WorkloadItemType; /** * @member {WorkloadType} [workloadType] Workload type. Possible values * include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', - * 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase' + * 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ workloadType?: WorkloadType; /** @@ -6931,7 +7455,7 @@ export interface ClientScriptForConnect { */ url?: string; /** - * @member {string} [scriptNameSuffix] Mandator suffix that should be added + * @member {string} [scriptNameSuffix] Mandatory suffix that should be added * to the name of script that is given for download to user. * If its null or empty then , ignore it. */ @@ -7029,78 +7553,22 @@ export interface DpmBackupEngine { isDpmUpgradeAvailable?: boolean; /** * @member {BackupEngineExtendedInfo} [extendedInfo] Extended info of the - * backup engine + * backupengine */ extendedInfo?: BackupEngineExtendedInfo; } /** * @interface - * An interface representing DpmContainer. - * DPM workload-specific protection container. + * An interface representing DPMContainerExtendedInfo. + * Additional information of the DPMContainer. * */ -export interface DpmContainer { - /** - * @member {string} containerType Polymorphic Discriminator - */ - containerType: "DPMContainer"; - /** - * @member {string} [friendlyName] Friendly name of the container. - */ - friendlyName?: string; - /** - * @member {BackupManagementType} [backupManagementType] Type of backup - * management for the container. Possible values include: 'Invalid', - * 'AzureIaasVM', 'MAB', 'DPM', 'AzureBackupServer', 'AzureSql', - * 'AzureStorage', 'AzureWorkload', 'DefaultBackup' - */ - backupManagementType?: BackupManagementType; - /** - * @member {string} [registrationStatus] Status of registration of the - * container with the Recovery Services Vault. - */ - registrationStatus?: string; - /** - * @member {string} [healthStatus] Status of health of the container. - */ - healthStatus?: string; - /** - * @member {boolean} [canReRegister] Specifies whether the container is - * re-registrable. - */ - canReRegister?: boolean; - /** - * @member {string} [containerId] ID of container. - */ - containerId?: string; - /** - * @member {number} [protectedItemCount] Number of protected items in the - * BackupEngine - */ - protectedItemCount?: number; - /** - * @member {string} [dpmAgentVersion] Backup engine Agent version - */ - dpmAgentVersion?: string; - /** - * @member {string[]} [dpmServers] List of BackupEngines protecting the - * container - */ - dpmServers?: string[]; - /** - * @member {boolean} [upgradeAvailable] To check if upgrade available - */ - upgradeAvailable?: boolean; - /** - * @member {string} [protectionStatus] Protection status of the container. - */ - protectionStatus?: string; +export interface DPMContainerExtendedInfo { /** - * @member {DPMContainerExtendedInfo} [extendedInfo] Extended Info of the - * container. + * @member {Date} [lastRefreshedAt] Last refresh time of the DPMContainer. */ - extendedInfo?: DPMContainerExtendedInfo; + lastRefreshedAt?: Date; } /** @@ -7311,7 +7779,7 @@ export interface KEKDetails { * 1. Secret(BEK) - Url + Backup Data + vaultId. * 2. Key(KEK) - Url + Backup Data + vaultId. * 3. EncryptionMechanism - * BEK and KEK can potentially have different vault ids. + * BEK and KEK can potentiallty have different vault ids. * */ export interface KeyAndSecretDetails { @@ -7464,7 +7932,7 @@ export interface MabContainerExtendedInfo { * with this container. Possible values include: 'Invalid', 'VM', * 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', * 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' */ backupItemType?: BackupItemType; /** @@ -8340,11 +8808,11 @@ export type HealthStatus = 'Passed' | 'ActionRequired' | 'ActionSuggested' | 'In * Defines values for WorkloadType. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' * @readonly * @enum {string} */ -export type WorkloadType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase'; +export type WorkloadType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase'; /** * Defines values for RecoveryType. @@ -8430,11 +8898,11 @@ export type OverwriteOptions = 'Invalid' | 'FailOnConflict' | 'Overwrite'; /** * Defines values for WorkloadItemType. * Possible values include: 'Invalid', 'SQLInstance', 'SQLDataBase', 'SAPHanaSystem', - * 'SAPHanaDatabase' + * 'SAPHanaDatabase', 'SAPAseSystem', 'SAPAseDatabase' * @readonly * @enum {string} */ -export type WorkloadItemType = 'Invalid' | 'SQLInstance' | 'SQLDataBase' | 'SAPHanaSystem' | 'SAPHanaDatabase'; +export type WorkloadItemType = 'Invalid' | 'SQLInstance' | 'SQLDataBase' | 'SAPHanaSystem' | 'SAPHanaDatabase' | 'SAPAseSystem' | 'SAPAseDatabase'; /** * Defines values for SQLDataDirectoryType. @@ -8457,11 +8925,11 @@ export type UsagesUnit = 'Count' | 'Bytes' | 'Seconds' | 'Percent' | 'CountPerSe * Defines values for DataSourceType. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' * @readonly * @enum {string} */ -export type DataSourceType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase'; +export type DataSourceType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase'; /** * Defines values for ProtectionStatus. @@ -8650,6 +9118,14 @@ export type InquiryStatus = 'Invalid' | 'Success' | 'Failed'; */ export type BackupType = 'Invalid' | 'Full' | 'Differential' | 'Log' | 'CopyOnlyFull'; +/** + * Defines values for OperationType. + * Possible values include: 'Invalid', 'Register', 'Reregister' + * @readonly + * @enum {string} + */ +export type OperationType = 'Invalid' | 'Register' | 'Reregister'; + /** * Defines values for RestorePointType. * Possible values include: 'Invalid', 'Full', 'Log', 'Differential' @@ -8721,11 +9197,11 @@ export type RecoveryPointTierStatus = 'Invalid' | 'Valid' | 'Disabled' | 'Delete * Defines values for BackupItemType. * Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', * 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', - * 'AzureFileShare', 'SAPHanaDatabase' + * 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase' * @readonly * @enum {string} */ -export type BackupItemType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase'; +export type BackupItemType = 'Invalid' | 'VM' | 'FileFolder' | 'AzureSqlDb' | 'SQLDB' | 'Exchange' | 'Sharepoint' | 'VMwareVM' | 'SystemState' | 'Client' | 'GenericDataSource' | 'SQLDataBase' | 'AzureFileShare' | 'SAPHanaDatabase' | 'SAPAseDatabase'; /** * Defines values for OperationStatusValues. @@ -9628,6 +10104,25 @@ export type BackupResourceStorageConfigsGetResponse = BackupResourceConfigResour }; }; +/** + * Contains response data for the update operation. + */ +export type BackupResourceStorageConfigsUpdateResponse = BackupResourceConfigResource & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + /** + * The response body as parsed JSON or XML + */ + parsedBody: BackupResourceConfigResource; + }; +}; + /** * Contains response data for the list operation. */ diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/itemLevelRecoveryConnectionsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/itemLevelRecoveryConnectionsMappers.ts index b148ff86294b..9790286ab0c5 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/itemLevelRecoveryConnectionsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/itemLevelRecoveryConnectionsMappers.ts @@ -82,6 +82,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -90,8 +91,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -121,8 +122,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -134,6 +133,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -156,6 +159,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/jobDetailsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/jobDetailsMappers.ts index a44b82b595d6..95529b85f5c9 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/jobDetailsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/jobDetailsMappers.ts @@ -89,12 +89,13 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -120,8 +121,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -133,6 +132,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -155,6 +158,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts index 120c367b576b..aaa5b012bd1d 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/mappers.ts @@ -1581,6 +1581,19 @@ export const AzureVmWorkloadProtectionPolicy: msRest.CompositeMapper = { } }; +export const AzureVmWorkloadSAPAseDatabaseProtectedItem: msRest.CompositeMapper = { + serializedName: "AzureVmWorkloadSAPAseDatabase", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectedItem.type.polymorphicDiscriminator, + uberParent: "ProtectedItem", + className: "AzureVmWorkloadSAPAseDatabaseProtectedItem", + modelProperties: { + ...AzureVmWorkloadProtectedItem.type.modelProperties + } + } +}; + export const AzureVmWorkloadSAPHanaDatabaseProtectedItem: msRest.CompositeMapper = { serializedName: "AzureVmWorkloadSAPHanaDatabase", type: { @@ -1602,81 +1615,7 @@ export const AzureVmWorkloadSQLDatabaseProtectedItem: msRest.CompositeMapper = { uberParent: "ProtectedItem", className: "AzureVmWorkloadSQLDatabaseProtectedItem", modelProperties: { - ...ProtectedItem.type.modelProperties, - friendlyName: { - serializedName: "friendlyName", - type: { - name: "String" - } - }, - serverName: { - serializedName: "serverName", - type: { - name: "String" - } - }, - parentName: { - serializedName: "parentName", - type: { - name: "String" - } - }, - parentType: { - serializedName: "parentType", - type: { - name: "String" - } - }, - protectionStatus: { - serializedName: "protectionStatus", - type: { - name: "String" - } - }, - protectionState: { - serializedName: "protectionState", - type: { - name: "String" - } - }, - lastBackupStatus: { - serializedName: "lastBackupStatus", - type: { - name: "String" - } - }, - lastBackupTime: { - serializedName: "lastBackupTime", - type: { - name: "DateTime" - } - }, - lastBackupErrorDetail: { - serializedName: "lastBackupErrorDetail", - type: { - name: "Composite", - className: "ErrorDetail" - } - }, - protectedItemDataSourceId: { - serializedName: "protectedItemDataSourceId", - type: { - name: "String" - } - }, - protectedItemHealthStatus: { - serializedName: "protectedItemHealthStatus", - type: { - name: "String" - } - }, - extendedInfo: { - serializedName: "extendedInfo", - type: { - name: "Composite", - className: "AzureVmWorkloadProtectedItemExtendedInfo" - } - } + ...AzureVmWorkloadProtectedItem.type.modelProperties } } }; @@ -1891,63 +1830,27 @@ export const AzureWorkloadRestoreRequest: msRest.CompositeMapper = { } } } - } - } - } -}; - -export const AzureWorkloadSAPHanaRestoreRequest: msRest.CompositeMapper = { - serializedName: "AzureWorkloadSAPHanaRestoreRequest", - type: { - name: "Composite", - polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator, - uberParent: "RestoreRequest", - className: "AzureWorkloadSAPHanaRestoreRequest", - modelProperties: { - ...RestoreRequest.type.modelProperties, + }, targetInfo: { serializedName: "targetInfo", type: { name: "Composite", className: "TargetRestoreInfo" } - }, - recoveryType: { - serializedName: "recoveryType", - type: { - name: "String" - } - }, - sourceResourceId: { - serializedName: "sourceResourceId", - type: { - name: "String" - } - }, - propertyBag: { - serializedName: "propertyBag", - type: { - name: "Dictionary", - value: { - type: { - name: "String" - } - } - } } } } }; -export const AzureWorkloadSAPHanaPointInTimeRestoreRequest: msRest.CompositeMapper = { - serializedName: "AzureWorkloadSAPHanaPointInTimeRestoreRequest", +export const AzureWorkloadPointInTimeRestoreRequest: msRest.CompositeMapper = { + serializedName: "AzureWorkloadPointInTimeRestoreRequest", type: { name: "Composite", polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator, uberParent: "RestoreRequest", - className: "AzureWorkloadSAPHanaPointInTimeRestoreRequest", + className: "AzureWorkloadPointInTimeRestoreRequest", modelProperties: { - ...AzureWorkloadSAPHanaRestoreRequest.type.modelProperties, + ...AzureWorkloadRestoreRequest.type.modelProperties, pointInTime: { serializedName: "pointInTime", type: { @@ -1986,6 +1889,38 @@ export const TargetRestoreInfo: msRest.CompositeMapper = { } }; +export const AzureWorkloadSAPHanaRestoreRequest: msRest.CompositeMapper = { + serializedName: "AzureWorkloadSAPHanaRestoreRequest", + type: { + name: "Composite", + polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator, + uberParent: "RestoreRequest", + className: "AzureWorkloadSAPHanaRestoreRequest", + modelProperties: { + ...AzureWorkloadRestoreRequest.type.modelProperties + } + } +}; + +export const AzureWorkloadSAPHanaPointInTimeRestoreRequest: msRest.CompositeMapper = { + serializedName: "AzureWorkloadSAPHanaPointInTimeRestoreRequest", + type: { + name: "Composite", + polymorphicDiscriminator: RestoreRequest.type.polymorphicDiscriminator, + uberParent: "RestoreRequest", + className: "AzureWorkloadSAPHanaPointInTimeRestoreRequest", + modelProperties: { + ...AzureWorkloadSAPHanaRestoreRequest.type.modelProperties, + pointInTime: { + serializedName: "pointInTime", + type: { + name: "DateTime" + } + } + } + } +}; + export const AzureWorkloadSQLAutoProtectionIntent: msRest.CompositeMapper = { serializedName: "AzureWorkloadSQLAutoProtectionIntent", type: { @@ -2026,13 +1961,6 @@ export const AzureWorkloadSQLRestoreRequest: msRest.CompositeMapper = { name: "Boolean" } }, - targetInfo: { - serializedName: "targetInfo", - type: { - name: "Composite", - className: "TargetRestoreInfo" - } - }, alternateDirectoryPaths: { serializedName: "alternateDirectoryPaths", type: { @@ -4272,22 +4200,6 @@ export const ValidateOperationsResponse: msRest.CompositeMapper = { } }; -export const DPMContainerExtendedInfo: msRest.CompositeMapper = { - serializedName: "DPMContainerExtendedInfo", - type: { - name: "Composite", - className: "DPMContainerExtendedInfo", - modelProperties: { - lastRefreshedAt: { - serializedName: "lastRefreshedAt", - type: { - name: "DateTime" - } - } - } - } -}; - export const ProtectionContainer: msRest.CompositeMapper = { serializedName: "ProtectionContainer", type: { @@ -4334,13 +4246,13 @@ export const ProtectionContainer: msRest.CompositeMapper = { } }; -export const AzureBackupServerContainer: msRest.CompositeMapper = { - serializedName: "AzureBackupServerContainer", +export const DpmContainer: msRest.CompositeMapper = { + serializedName: "DPMContainer", type: { name: "Composite", polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator, uberParent: "ProtectionContainer", - className: "AzureBackupServerContainer", + className: "DpmContainer", modelProperties: { ...ProtectionContainer.type.modelProperties, canReRegister: { @@ -4401,6 +4313,19 @@ export const AzureBackupServerContainer: msRest.CompositeMapper = { } }; +export const AzureBackupServerContainer: msRest.CompositeMapper = { + serializedName: "AzureBackupServerContainer", + type: { + name: "Composite", + polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator, + uberParent: "ProtectionContainer", + className: "AzureBackupServerContainer", + modelProperties: { + ...DpmContainer.type.modelProperties + } + } +}; + export const BackupEngineBase: msRest.CompositeMapper = { serializedName: "BackupEngineBase", type: { @@ -4783,7 +4708,7 @@ export const AzureIaaSComputeVMProtectableItem: msRest.CompositeMapper = { }; export const AzureWorkloadContainer: msRest.CompositeMapper = { - serializedName: "AzureWorkloadBackupRequest", + serializedName: "AzureWorkloadContainer", type: { name: "Composite", polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator, @@ -4815,6 +4740,12 @@ export const AzureWorkloadContainer: msRest.CompositeMapper = { type: { name: "String" } + }, + operationType: { + serializedName: "operationType", + type: { + name: "String" + } } } } @@ -5147,6 +5078,58 @@ export const AzureVmWorkloadProtectableItem: msRest.CompositeMapper = { } }; +export const AzureVmWorkloadSAPAseDatabaseProtectableItem: msRest.CompositeMapper = { + serializedName: "SAPAseDatabase", + type: { + name: "Composite", + polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator, + uberParent: "WorkloadProtectableItem", + className: "AzureVmWorkloadSAPAseDatabaseProtectableItem", + modelProperties: { + ...AzureVmWorkloadProtectableItem.type.modelProperties + } + } +}; + +export const AzureVmWorkloadSAPAseDatabaseWorkloadItem: msRest.CompositeMapper = { + serializedName: "SAPAseDatabase", + type: { + name: "Composite", + polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator, + uberParent: "WorkloadItem", + className: "AzureVmWorkloadSAPAseDatabaseWorkloadItem", + modelProperties: { + ...AzureVmWorkloadItem.type.modelProperties + } + } +}; + +export const AzureVmWorkloadSAPAseSystemProtectableItem: msRest.CompositeMapper = { + serializedName: "SAPAseSystem", + type: { + name: "Composite", + polymorphicDiscriminator: WorkloadProtectableItem.type.polymorphicDiscriminator, + uberParent: "WorkloadProtectableItem", + className: "AzureVmWorkloadSAPAseSystemProtectableItem", + modelProperties: { + ...AzureVmWorkloadProtectableItem.type.modelProperties + } + } +}; + +export const AzureVmWorkloadSAPAseSystemWorkloadItem: msRest.CompositeMapper = { + serializedName: "SAPAseSystem", + type: { + name: "Composite", + polymorphicDiscriminator: WorkloadItem.type.polymorphicDiscriminator, + uberParent: "WorkloadItem", + className: "AzureVmWorkloadSAPAseSystemWorkloadItem", + modelProperties: { + ...AzureVmWorkloadItem.type.modelProperties + } + } +}; + export const AzureVmWorkloadSAPHanaDatabaseProtectableItem: msRest.CompositeMapper = { serializedName: "SAPHanaDatabase", type: { @@ -5486,31 +5469,6 @@ export const AzureWorkloadContainerExtendedInfo: msRest.CompositeMapper = { } }; -export const AzureWorkloadRecoveryPoint: msRest.CompositeMapper = { - serializedName: "AzureWorkloadRecoveryPoint", - type: { - name: "Composite", - polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator, - uberParent: "RecoveryPoint", - className: "AzureWorkloadRecoveryPoint", - modelProperties: { - ...RecoveryPoint.type.modelProperties, - recoveryPointTimeInUTC: { - serializedName: "recoveryPointTimeInUTC", - type: { - name: "DateTime" - } - }, - type: { - serializedName: "type", - type: { - name: "String" - } - } - } - } -}; - export const PointInTimeRange: msRest.CompositeMapper = { serializedName: "PointInTimeRange", type: { @@ -5533,13 +5491,13 @@ export const PointInTimeRange: msRest.CompositeMapper = { } }; -export const AzureWorkloadSAPHanaRecoveryPoint: msRest.CompositeMapper = { - serializedName: "AzureWorkloadSAPHanaRecoveryPoint", +export const AzureWorkloadRecoveryPoint: msRest.CompositeMapper = { + serializedName: "AzureWorkloadRecoveryPoint", type: { name: "Composite", polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator, uberParent: "RecoveryPoint", - className: "AzureWorkloadSAPHanaRecoveryPoint", + className: "AzureWorkloadRecoveryPoint", modelProperties: { ...RecoveryPoint.type.modelProperties, recoveryPointTimeInUTC: { @@ -5558,15 +5516,15 @@ export const AzureWorkloadSAPHanaRecoveryPoint: msRest.CompositeMapper = { } }; -export const AzureWorkloadSAPHanaPointInTimeRecoveryPoint: msRest.CompositeMapper = { - serializedName: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint", +export const AzureWorkloadPointInTimeRecoveryPoint: msRest.CompositeMapper = { + serializedName: "AzureWorkloadPointInTimeRecoveryPoint", type: { name: "Composite", polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator, uberParent: "RecoveryPoint", - className: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint", + className: "AzureWorkloadPointInTimeRecoveryPoint", modelProperties: { - ...AzureWorkloadSAPHanaRecoveryPoint.type.modelProperties, + ...AzureWorkloadRecoveryPoint.type.modelProperties, timeRanges: { serializedName: "timeRanges", type: { @@ -5583,6 +5541,32 @@ export const AzureWorkloadSAPHanaPointInTimeRecoveryPoint: msRest.CompositeMappe } }; +export const AzureWorkloadSAPHanaPointInTimeRecoveryPoint: msRest.CompositeMapper = { + serializedName: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator, + uberParent: "RecoveryPoint", + className: "AzureWorkloadSAPHanaPointInTimeRecoveryPoint", + modelProperties: { + ...AzureWorkloadPointInTimeRecoveryPoint.type.modelProperties + } + } +}; + +export const AzureWorkloadSAPHanaRecoveryPoint: msRest.CompositeMapper = { + serializedName: "AzureWorkloadSAPHanaRecoveryPoint", + type: { + name: "Composite", + polymorphicDiscriminator: RecoveryPoint.type.polymorphicDiscriminator, + uberParent: "RecoveryPoint", + className: "AzureWorkloadSAPHanaRecoveryPoint", + modelProperties: { + ...AzureWorkloadRecoveryPoint.type.modelProperties + } + } +}; + export const AzureWorkloadSQLRecoveryPoint: msRest.CompositeMapper = { serializedName: "AzureWorkloadSQLRecoveryPoint", type: { @@ -6210,67 +6194,16 @@ export const DpmBackupEngine: msRest.CompositeMapper = { } }; -export const DpmContainer: msRest.CompositeMapper = { - serializedName: "DPMContainer", +export const DPMContainerExtendedInfo: msRest.CompositeMapper = { + serializedName: "DPMContainerExtendedInfo", type: { name: "Composite", - polymorphicDiscriminator: ProtectionContainer.type.polymorphicDiscriminator, - uberParent: "ProtectionContainer", - className: "DpmContainer", + className: "DPMContainerExtendedInfo", modelProperties: { - ...ProtectionContainer.type.modelProperties, - canReRegister: { - serializedName: "canReRegister", - type: { - name: "Boolean" - } - }, - containerId: { - serializedName: "containerId", - type: { - name: "String" - } - }, - protectedItemCount: { - serializedName: "protectedItemCount", - type: { - name: "Number" - } - }, - dpmAgentVersion: { - serializedName: "dpmAgentVersion", - type: { - name: "String" - } - }, - dpmServers: { - serializedName: "dpmServers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - upgradeAvailable: { - serializedName: "upgradeAvailable", - type: { - name: "Boolean" - } - }, - protectionStatus: { - serializedName: "protectionStatus", - type: { - name: "String" - } - }, - extendedInfo: { - serializedName: "extendedInfo", + lastRefreshedAt: { + serializedName: "lastRefreshedAt", type: { - name: "Composite", - className: "DPMContainerExtendedInfo" + name: "DateTime" } } } @@ -7622,10 +7555,12 @@ export const discriminators = { 'FeatureSupportRequest.AzureVMResourceBackup' : AzureVMResourceFeatureSupportRequest, 'ProtectedItem.AzureVmWorkloadProtectedItem' : AzureVmWorkloadProtectedItem, 'ProtectionPolicy.AzureWorkload' : AzureVmWorkloadProtectionPolicy, + 'ProtectedItem.AzureVmWorkloadSAPAseDatabase' : AzureVmWorkloadSAPAseDatabaseProtectedItem, 'ProtectedItem.AzureVmWorkloadSAPHanaDatabase' : AzureVmWorkloadSAPHanaDatabaseProtectedItem, 'ProtectedItem.AzureVmWorkloadSQLDatabase' : AzureVmWorkloadSQLDatabaseProtectedItem, 'ProtectionIntent.AzureWorkloadAutoProtectionIntent' : AzureWorkloadAutoProtectionIntent, 'Job.AzureWorkloadJob' : AzureWorkloadJob, + 'RestoreRequest.AzureWorkloadPointInTimeRestoreRequest' : AzureWorkloadPointInTimeRestoreRequest, 'RestoreRequest.AzureWorkloadRestoreRequest' : AzureWorkloadRestoreRequest, 'RestoreRequest.AzureWorkloadSAPHanaPointInTimeRestoreRequest' : AzureWorkloadSAPHanaPointInTimeRestoreRequest, 'RestoreRequest.AzureWorkloadSAPHanaRestoreRequest' : AzureWorkloadSAPHanaRestoreRequest, @@ -7674,6 +7609,10 @@ export const discriminators = { 'ProtectionContainer.VMAppContainer' : AzureVMAppContainerProtectionContainer, 'WorkloadItem.AzureVmWorkloadItem' : AzureVmWorkloadItem, 'WorkloadProtectableItem.AzureVmWorkloadProtectableItem' : AzureVmWorkloadProtectableItem, + 'WorkloadProtectableItem.SAPAseDatabase' : AzureVmWorkloadSAPAseDatabaseProtectableItem, + 'WorkloadItem.SAPAseDatabase' : AzureVmWorkloadSAPAseDatabaseWorkloadItem, + 'WorkloadProtectableItem.SAPAseSystem' : AzureVmWorkloadSAPAseSystemProtectableItem, + 'WorkloadItem.SAPAseSystem' : AzureVmWorkloadSAPAseSystemWorkloadItem, 'WorkloadProtectableItem.SAPHanaDatabase' : AzureVmWorkloadSAPHanaDatabaseProtectableItem, 'WorkloadItem.SAPHanaDatabase' : AzureVmWorkloadSAPHanaDatabaseWorkloadItem, 'WorkloadProtectableItem.SAPHanaSystem' : AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -7684,7 +7623,8 @@ export const discriminators = { 'WorkloadProtectableItem.SQLInstance' : AzureVmWorkloadSQLInstanceProtectableItem, 'WorkloadItem.SQLInstance' : AzureVmWorkloadSQLInstanceWorkloadItem, 'BackupRequest.AzureWorkloadBackupRequest' : AzureWorkloadBackupRequest, - 'ProtectionContainer.AzureWorkloadBackupRequest' : AzureWorkloadContainer, + 'ProtectionContainer.AzureWorkloadContainer' : AzureWorkloadContainer, + 'RecoveryPoint.AzureWorkloadPointInTimeRecoveryPoint' : AzureWorkloadPointInTimeRecoveryPoint, 'RecoveryPoint.AzureWorkloadRecoveryPoint' : AzureWorkloadRecoveryPoint, 'RecoveryPoint.AzureWorkloadSAPHanaPointInTimeRecoveryPoint' : AzureWorkloadSAPHanaPointInTimeRecoveryPoint, 'RecoveryPoint.AzureWorkloadSAPHanaRecoveryPoint' : AzureWorkloadSAPHanaRecoveryPoint, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/operationMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/operationMappers.ts index e2805dbd3d58..6b321079dea5 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/operationMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/operationMappers.ts @@ -21,13 +21,14 @@ export { RestoreFileSpecs, TargetAFSRestoreInfo, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, IaasVMRestoreRequest, EncryptionDetails, ValidateIaasVMRestoreOperationRequest, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectableContainersMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectableContainersMappers.ts index 9c389037fd73..170dae368a07 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectableContainersMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectableContainersMappers.ts @@ -94,6 +94,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -102,8 +103,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -133,8 +134,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -144,6 +143,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -166,6 +169,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -183,16 +187,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemOperationResultsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemOperationResultsMappers.ts index c25bf12a3820..837804d22cbe 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemOperationResultsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemOperationResultsMappers.ts @@ -25,6 +25,7 @@ export { AzureVmWorkloadProtectedItem, ErrorDetail, AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, DPMProtectedItem, @@ -96,8 +97,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -122,8 +123,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -135,6 +134,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -157,6 +160,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MabContainer, MabContainerExtendedInfo, MABContainerHealthDetails, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemsMappers.ts index c25bf12a3820..837804d22cbe 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectedItemsMappers.ts @@ -25,6 +25,7 @@ export { AzureVmWorkloadProtectedItem, ErrorDetail, AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, DPMProtectedItem, @@ -96,8 +97,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -122,8 +123,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -135,6 +134,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -157,6 +160,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MabContainer, MabContainerExtendedInfo, MABContainerHealthDetails, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainerOperationResultsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainerOperationResultsMappers.ts index 09cc9fe81032..9278639d5e11 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainerOperationResultsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainerOperationResultsMappers.ts @@ -27,8 +27,6 @@ export { ProtectionIntent, ProtectionPolicyResource, ProtectionPolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureSqlContainer, AzureStorageContainer, AzureWorkloadContainer, @@ -49,6 +47,7 @@ export { BackupResourceVaultConfig, DpmBackupEngine, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -99,6 +98,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -107,8 +107,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -138,6 +138,7 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, + AzureBackupServerContainer, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -151,6 +152,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -176,12 +181,14 @@ export { RecoveryPointTierInformation, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMProtectableItem, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainersMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainersMappers.ts index 09cc9fe81032..9278639d5e11 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainersMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionContainersMappers.ts @@ -27,8 +27,6 @@ export { ProtectionIntent, ProtectionPolicyResource, ProtectionPolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureSqlContainer, AzureStorageContainer, AzureWorkloadContainer, @@ -49,6 +47,7 @@ export { BackupResourceVaultConfig, DpmBackupEngine, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -99,6 +98,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -107,8 +107,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -138,6 +138,7 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, + AzureBackupServerContainer, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -151,6 +152,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -176,12 +181,14 @@ export { RecoveryPointTierInformation, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMProtectableItem, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionIntentOperationsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionIntentOperationsMappers.ts index d7e8abb97a68..31d60511cc9e 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionIntentOperationsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionIntentOperationsMappers.ts @@ -85,6 +85,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadJob, @@ -92,8 +93,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, DpmJob, @@ -122,8 +123,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -135,6 +134,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -157,6 +160,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -174,16 +178,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPoliciesMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPoliciesMappers.ts index c291a431765e..9526d1c72a0b 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPoliciesMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPoliciesMappers.ts @@ -96,6 +96,7 @@ export { AzureVmWorkloadProtectedItem, ErrorDetail, AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -104,8 +105,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -120,8 +121,6 @@ export { EncryptionDetails, MabFileFolderProtectedItem, MabFileFolderProtectedItemExtendedInfo, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -133,6 +132,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -155,6 +158,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPolicyOperationResultsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPolicyOperationResultsMappers.ts index c291a431765e..9526d1c72a0b 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPolicyOperationResultsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/protectionPolicyOperationResultsMappers.ts @@ -96,6 +96,7 @@ export { AzureVmWorkloadProtectedItem, ErrorDetail, AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -104,8 +105,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -120,8 +121,6 @@ export { EncryptionDetails, MabFileFolderProtectedItem, MabFileFolderProtectedItemExtendedInfo, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -133,6 +132,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -155,6 +158,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -172,16 +176,19 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/recoveryPointsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/recoveryPointsMappers.ts index 86aa72b5a346..a8c179ebbfd9 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/recoveryPointsMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/recoveryPointsMappers.ts @@ -104,6 +104,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -112,8 +113,8 @@ export { AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, @@ -143,8 +144,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -155,6 +154,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -171,10 +174,12 @@ export { WorkloadInquiryDetails, InquiryValidation, DistributedNodesInfo, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -186,8 +191,10 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLPointInTimeRestoreRequest, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/restoresMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/restoresMappers.ts index b710a7bb82bd..3a9ec27da16c 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/models/restoresMappers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/restoresMappers.ts @@ -19,8 +19,8 @@ export { RestoreFileSpecs, TargetAFSRestoreInfo, AzureWorkloadRestoreRequest, - AzureWorkloadSAPHanaRestoreRequest, TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, AzureWorkloadSQLRestoreRequest, SQLDataDirectoryMapping, IaasVMRestoreRequest, @@ -88,6 +88,7 @@ export { AzureVmWorkloadProtectionPolicy, Settings, SubProtectionPolicy, + AzureVmWorkloadSAPAseDatabaseProtectedItem, AzureVmWorkloadSAPHanaDatabaseProtectedItem, AzureVmWorkloadSQLDatabaseProtectedItem, AzureWorkloadAutoProtectionIntent, @@ -95,6 +96,7 @@ export { AzureWorkloadErrorInfo, AzureWorkloadJobExtendedInfo, AzureWorkloadJobTaskDetails, + AzureWorkloadPointInTimeRestoreRequest, AzureWorkloadSAPHanaPointInTimeRestoreRequest, AzureWorkloadSQLAutoProtectionIntent, AzureWorkloadSQLPointInTimeRestoreRequest, @@ -122,8 +124,6 @@ export { MabProtectionPolicy, SimpleRetentionPolicy, SimpleSchedulePolicy, - AzureBackupServerContainer, - DPMContainerExtendedInfo, AzureBackupServerEngine, AzureFileShareBackupRequest, AzureFileShareProtectableItem, @@ -135,6 +135,10 @@ export { AzureVmWorkloadItem, AzureVmWorkloadProtectableItem, PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, AzureVmWorkloadSAPHanaDatabaseProtectableItem, AzureVmWorkloadSAPHanaDatabaseWorkloadItem, AzureVmWorkloadSAPHanaSystemProtectableItem, @@ -157,6 +161,7 @@ export { AzureWorkloadSQLRecoveryPoint, AzureWorkloadSQLRecoveryPointExtendedInfo, DpmContainer, + DPMContainerExtendedInfo, GenericContainer, GenericContainerExtendedInfo, ContainerIdentityInfo, @@ -174,14 +179,16 @@ export { MABContainerHealthDetails, AzureIaaSClassicComputeVMProtectedItem, AzureIaaSComputeVMProtectedItem, + AzureBackupServerContainer, AzureIaaSClassicComputeVMContainer, AzureIaaSClassicComputeVMProtectableItem, AzureIaaSComputeVMContainer, AzureIaaSComputeVMProtectableItem, AzureSQLAGWorkloadContainerProtectionContainer, AzureVMAppContainerProtectionContainer, - AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadPointInTimeRecoveryPoint, PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, AzureWorkloadSQLPointInTimeRecoveryPoint } from "../models/mappers"; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedBackupPoliciesMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedBackupPoliciesMappers.ts new file mode 100644 index 000000000000..be769bd65a57 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedBackupPoliciesMappers.ts @@ -0,0 +1,208 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ProtectionPolicyResourceList, + ResourceList, + ProtectionPolicyResource, + Resource, + BaseResource, + ProtectionPolicy, + CloudError, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSVMProtectionPolicy, + AzureSqlProtectionPolicy, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + GenericBackupFabricResource, + GenericBackupFabric, + GenericBackupFabricResourceList, + GenericProtectionPolicy, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabProtectionPolicy, + ProtectedItemResource, + ProtectedItem, + ProtectedItemResourceList, + ProtectionContainerResource, + ProtectionContainer, + ProtectionContainerResourceList, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + JobResource, + Job, + JobResourceList, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + ProtectionIntentResourceList, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupEngineBaseResourceList, + BackupRequestResource, + BackupRequest, + BackupResourceConfigResource, + BackupResourceConfig, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + ProtectableContainerResourceList, + RecoveryPointResource, + RecoveryPoint, + RecoveryPointResourceList, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadItemResourceList, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + WorkloadProtectableItemResourceList, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureSqlContainer, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureStorageContainer, + AzureVmWorkloadProtectedItem, + ErrorDetail, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + GenericProtectedItem, + IaaSVMContainer, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureBackupServerContainer, + AzureIaaSClassicComputeVMContainer, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMContainer, + AzureIaaSComputeVMProtectedItem, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPoliciesMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPoliciesMappers.ts new file mode 100644 index 000000000000..9c96e3f4bac8 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPoliciesMappers.ts @@ -0,0 +1,196 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ProtectionPolicyResource, + Resource, + BaseResource, + ProtectionPolicy, + CloudError, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSVMProtectionPolicy, + AzureSqlProtectionPolicy, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + GenericBackupFabricResource, + GenericBackupFabric, + GenericProtectionPolicy, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabProtectionPolicy, + ProtectedItemResource, + ProtectedItem, + ProtectionContainerResource, + ProtectionContainer, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + JobResource, + Job, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupRequestResource, + BackupRequest, + BackupResourceConfigResource, + BackupResourceConfig, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + RecoveryPointResource, + RecoveryPoint, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureSqlContainer, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureStorageContainer, + AzureVmWorkloadProtectedItem, + ErrorDetail, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + GenericProtectedItem, + IaaSVMContainer, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureBackupServerContainer, + AzureIaaSClassicComputeVMContainer, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMContainer, + AzureIaaSComputeVMProtectedItem, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPolicyOperationResultsMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPolicyOperationResultsMappers.ts new file mode 100644 index 000000000000..9c96e3f4bac8 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPolicyOperationResultsMappers.ts @@ -0,0 +1,196 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + ProtectionPolicyResource, + Resource, + BaseResource, + ProtectionPolicy, + CloudError, + AzureFileShareProtectionPolicy, + SchedulePolicy, + RetentionPolicy, + AzureIaaSVMProtectionPolicy, + AzureSqlProtectionPolicy, + AzureVmWorkloadProtectionPolicy, + Settings, + SubProtectionPolicy, + GenericBackupFabricResource, + GenericBackupFabric, + GenericProtectionPolicy, + LogSchedulePolicy, + LongTermRetentionPolicy, + DailyRetentionSchedule, + RetentionDuration, + WeeklyRetentionSchedule, + MonthlyRetentionSchedule, + DailyRetentionFormat, + Day, + WeeklyRetentionFormat, + YearlyRetentionSchedule, + LongTermSchedulePolicy, + MabProtectionPolicy, + ProtectedItemResource, + ProtectedItem, + ProtectionContainerResource, + ProtectionContainer, + SimpleRetentionPolicy, + SimpleSchedulePolicy, + JobResource, + Job, + MabJob, + MabErrorInfo, + MabJobExtendedInfo, + MabJobTaskDetails, + ProtectionIntentResource, + ProtectionIntent, + BackupEngineBaseResource, + BackupEngineBase, + BackupEngineExtendedInfo, + BackupRequestResource, + BackupRequest, + BackupResourceConfigResource, + BackupResourceConfig, + BackupResourceVaultConfigResource, + BackupResourceVaultConfig, + DpmBackupEngine, + IaasVMBackupRequest, + ILRRequestResource, + ILRRequest, + ProtectableContainerResource, + ProtectableContainer, + RecoveryPointResource, + RecoveryPoint, + RestoreRequestResource, + RestoreRequest, + WorkloadItemResource, + WorkloadItem, + WorkloadProtectableItemResource, + WorkloadProtectableItem, + AzureFileshareProtectedItem, + AzureFileshareProtectedItemExtendedInfo, + AzureIaaSVMProtectedItem, + AzureIaaSVMHealthDetails, + AzureIaaSVMProtectedItemExtendedInfo, + AzureSqlContainer, + AzureSqlProtectedItem, + AzureSqlProtectedItemExtendedInfo, + AzureStorageContainer, + AzureVmWorkloadProtectedItem, + ErrorDetail, + AzureVmWorkloadProtectedItemExtendedInfo, + AzureVmWorkloadSAPAseDatabaseProtectedItem, + AzureVmWorkloadSAPHanaDatabaseProtectedItem, + AzureVmWorkloadSQLDatabaseProtectedItem, + AzureWorkloadContainer, + AzureWorkloadContainerExtendedInfo, + InquiryInfo, + WorkloadInquiryDetails, + InquiryValidation, + DistributedNodesInfo, + DpmContainer, + DPMContainerExtendedInfo, + DPMProtectedItem, + DPMProtectedItemExtendedInfo, + GenericContainer, + GenericContainerExtendedInfo, + ContainerIdentityInfo, + GenericProtectedItem, + IaaSVMContainer, + MabContainer, + MabContainerExtendedInfo, + MABContainerHealthDetails, + MabFileFolderProtectedItem, + MabFileFolderProtectedItemExtendedInfo, + AzureFileShareRestoreRequest, + RestoreFileSpecs, + TargetAFSRestoreInfo, + AzureIaaSVMJob, + AzureIaaSVMErrorInfo, + AzureIaaSVMJobExtendedInfo, + AzureIaaSVMJobTaskDetails, + AzureRecoveryServiceVaultProtectionIntent, + AzureResourceProtectionIntent, + AzureStorageJob, + AzureStorageErrorInfo, + AzureStorageJobExtendedInfo, + AzureStorageJobTaskDetails, + AzureWorkloadAutoProtectionIntent, + AzureWorkloadJob, + AzureWorkloadErrorInfo, + AzureWorkloadJobExtendedInfo, + AzureWorkloadJobTaskDetails, + AzureWorkloadRestoreRequest, + TargetRestoreInfo, + AzureWorkloadSAPHanaRestoreRequest, + AzureWorkloadSQLAutoProtectionIntent, + AzureWorkloadSQLRestoreRequest, + SQLDataDirectoryMapping, + DpmJob, + DpmErrorInfo, + DpmJobExtendedInfo, + DpmJobTaskDetails, + IaasVMRestoreRequest, + EncryptionDetails, + AzureBackupServerEngine, + AzureFileShareBackupRequest, + AzureFileShareProtectableItem, + AzureFileShareRecoveryPoint, + AzureStorageProtectableContainer, + AzureVMAppContainerProtectableContainer, + AzureVmWorkloadItem, + AzureVmWorkloadProtectableItem, + PreBackupValidation, + AzureVmWorkloadSAPAseDatabaseProtectableItem, + AzureVmWorkloadSAPAseDatabaseWorkloadItem, + AzureVmWorkloadSAPAseSystemProtectableItem, + AzureVmWorkloadSAPAseSystemWorkloadItem, + AzureVmWorkloadSAPHanaDatabaseProtectableItem, + AzureVmWorkloadSAPHanaDatabaseWorkloadItem, + AzureVmWorkloadSAPHanaSystemProtectableItem, + AzureVmWorkloadSAPHanaSystemWorkloadItem, + AzureVmWorkloadSQLAvailabilityGroupProtectableItem, + AzureVmWorkloadSQLDatabaseProtectableItem, + AzureVmWorkloadSQLDatabaseWorkloadItem, + AzureVmWorkloadSQLInstanceProtectableItem, + AzureVmWorkloadSQLInstanceWorkloadItem, + SQLDataDirectory, + AzureWorkloadBackupRequest, + AzureWorkloadRecoveryPoint, + AzureWorkloadSAPHanaRecoveryPoint, + AzureWorkloadSQLRecoveryPoint, + AzureWorkloadSQLRecoveryPointExtendedInfo, + GenericRecoveryPoint, + IaasVMILRRegistrationRequest, + IaaSVMProtectableItem, + IaasVMRecoveryPoint, + KeyAndSecretDetails, + KEKDetails, + BEKDetails, + RecoveryPointTierInformation, + AzureBackupServerContainer, + AzureIaaSClassicComputeVMContainer, + AzureIaaSClassicComputeVMProtectedItem, + AzureIaaSComputeVMContainer, + AzureIaaSComputeVMProtectedItem, + AzureSQLAGWorkloadContainerProtectionContainer, + AzureVMAppContainerProtectionContainer, + AzureWorkloadPointInTimeRestoreRequest, + AzureWorkloadSAPHanaPointInTimeRestoreRequest, + AzureWorkloadSQLPointInTimeRestoreRequest, + AzureIaaSClassicComputeVMProtectableItem, + AzureIaaSComputeVMProtectableItem, + AzureWorkloadPointInTimeRecoveryPoint, + PointInTimeRange, + AzureWorkloadSAPHanaPointInTimeRecoveryPoint, + AzureWorkloadSQLPointInTimeRecoveryPoint +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPolicyOperationStatusesMappers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPolicyOperationStatusesMappers.ts new file mode 100644 index 000000000000..25a3ba38b457 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/models/scopedProtectionPolicyOperationStatusesMappers.ts @@ -0,0 +1,23 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +export { + discriminators, + OperationStatus, + OperationStatusError, + OperationStatusExtendedInfo, + CloudError, + OperationStatusJobExtendedInfo, + OperationStatusJobsExtendedInfo, + OperationStatusProvisionILRExtendedInfo, + InstantItemRecoveryTarget, + ClientScriptForConnect +} from "../models/mappers"; + diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupFabrics.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupFabrics.ts new file mode 100644 index 000000000000..330cb1844fc7 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupFabrics.ts @@ -0,0 +1,350 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/backupFabricsMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a BackupFabrics. */ +export class BackupFabrics { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a BackupFabrics. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * Retruns backup fabrics registered to Recovery Services Vault. Returns a pageable list of + * fabrics. + * @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 [options] The optional parameters + * @returns Promise + */ + list(vaultName: string, resourceGroupName: string, options?: Models.BackupFabricsListOptionalParams): Promise; + /** + * @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 callback The callback + */ + list(vaultName: string, resourceGroupName: string, callback: msRest.ServiceCallback): void; + /** + * @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 options The optional parameters + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, options: Models.BackupFabricsListOptionalParams, callback: msRest.ServiceCallback): void; + list(vaultName: string, resourceGroupName: string, options?: Models.BackupFabricsListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Returns backup fabric 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 fabricName Name of the backup backup fabric. + * @param [options] The optional parameters + * @returns Promise + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.BackupFabricsGetOptionalParams): Promise; + /** + * @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 backup backup fabric. + * @param callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, callback: msRest.ServiceCallback): void; + /** + * @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 backup backup fabric. + * @param options The optional parameters + * @param callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, options: Models.BackupFabricsGetOptionalParams, callback: msRest.ServiceCallback): void; + get(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.BackupFabricsGetOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Create or Update the backup fabric in 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 backup backup fabric. + * @param parameters fabric resource item + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, parameters: Models.GenericBackupFabricResource, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 backup backup fabric. + * @param parameters fabric resource item + * @param callback The callback + */ + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, parameters: Models.GenericBackupFabricResource, callback: msRest.ServiceCallback): void; + /** + * @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 backup backup fabric. + * @param parameters fabric resource item + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, parameters: Models.GenericBackupFabricResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, parameters: Models.GenericBackupFabricResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes the backup fabric in 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 backup backup fabric. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 backup backup fabric. + * @param callback The callback + */ + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, callback: msRest.ServiceCallback): void; + /** + * @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 backup backup fabric. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + options + }, + deleteMethodOperationSpec, + callback); + } + + /** + * Retruns backup fabrics registered to Recovery Services Vault. Returns a pageable list of + * fabrics. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GenericBackupFabricResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GenericBackupFabricResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.GenericBackupFabricResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.GenericBackupFabricResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.GenericBackupFabricResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItemsInContainer.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItemsInContainer.ts new file mode 100644 index 000000000000..61a956cc0506 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectedItemsInContainer.ts @@ -0,0 +1,151 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/backupProtectedItemsInContainerMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a BackupProtectedItemsInContainer. */ +export class BackupProtectedItemsInContainer { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a BackupProtectedItemsInContainer. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * Provides a pageable list of all items that are backed up within a 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 + * @param containerName + * @param [options] The optional parameters + * @returns Promise + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: Models.BackupProtectedItemsInContainerListOptionalParams): Promise; + /** + * @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 + * @param containerName + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @param containerName + * @param options The optional parameters + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options: Models.BackupProtectedItemsInContainerListOptionalParams, callback: msRest.ServiceCallback): void; + list(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, options?: Models.BackupProtectedItemsInContainerListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + containerName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Provides a pageable list of all items that are backed up within a container. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.containerName + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter, + Parameters.skipToken + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectedItemResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectedItemResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainersInFabric.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainersInFabric.ts new file mode 100644 index 000000000000..3803a8e267cb --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupProtectionContainersInFabric.ts @@ -0,0 +1,145 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/backupProtectionContainersInFabricMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a BackupProtectionContainersInFabric. */ +export class BackupProtectionContainersInFabric { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a BackupProtectionContainersInFabric. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * Lists the containers registered to a backup fabric. + * @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 + * @param [options] The optional parameters + * @returns Promise + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.BackupProtectionContainersInFabricListOptionalParams): Promise; + /** + * @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 + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @param options The optional parameters + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, options: Models.BackupProtectionContainersInFabricListOptionalParams, callback: msRest.ServiceCallback): void; + list(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.BackupProtectionContainersInFabricListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists the containers registered to a backup fabric. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectionContainerResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectionContainerResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfig.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfig.ts new file mode 100644 index 000000000000..a94413703fab --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfig.ts @@ -0,0 +1,99 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/backupResourceStorageConfigMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a BackupResourceStorageConfig. */ +export class BackupResourceStorageConfig { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a BackupResourceStorageConfig. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * 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 parameters Vault storage config request + * @param [options] The optional parameters + * @returns Promise + */ + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 parameters Vault storage config request + * @param callback The callback + */ + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, callback: msRest.ServiceCallback): void; + /** + * @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 parameters Vault storage config request + * @param options The optional parameters + * @param callback The callback + */ + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + parameters, + options + }, + updateOperationSpec, + callback); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.BackupResourceConfigResource, + required: true + } + }, + responses: { + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts index 82404dc3ea55..32e66f98a652 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/backupResourceStorageConfigs.ts @@ -68,9 +68,9 @@ export class BackupResourceStorageConfigs { * present. * @param parameters Vault storage config request * @param [options] The optional parameters - * @returns Promise + * @returns Promise */ - update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase): Promise; + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase): Promise; /** * @param vaultName The name of the recovery services vault. * @param resourceGroupName The name of the resource group where the recovery services vault is @@ -78,7 +78,7 @@ export class BackupResourceStorageConfigs { * @param parameters Vault storage config request * @param callback The callback */ - update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, callback: msRest.ServiceCallback): void; + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, callback: msRest.ServiceCallback): void; /** * @param vaultName The name of the recovery services vault. * @param resourceGroupName The name of the resource group where the recovery services vault is @@ -87,8 +87,8 @@ export class BackupResourceStorageConfigs { * @param options The optional parameters * @param callback The callback */ - update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; - update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + update(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { return this.client.sendOperationRequest( { vaultName, @@ -97,6 +97,45 @@ export class BackupResourceStorageConfigs { options }, updateOperationSpec, + callback) as Promise; + } + + /** + * 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 parameters Vault storage config request + * @param [options] The optional parameters + * @returns Promise + */ + patch(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 parameters Vault storage config request + * @param callback The callback + */ + patch(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, callback: msRest.ServiceCallback): void; + /** + * @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 parameters Vault storage config request + * @param options The optional parameters + * @param callback The callback + */ + patch(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + patch(vaultName: string, resourceGroupName: string, parameters: Models.BackupResourceConfigResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + parameters, + options + }, + patchOperationSpec, callback); } } @@ -129,6 +168,38 @@ const getOperationSpec: msRest.OperationSpec = { }; const updateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion1 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.BackupResourceConfigResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.BackupResourceConfigResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const patchOperationSpec: msRest.OperationSpec = { httpMethod: "PATCH", path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupstorageconfig/vaultstorageconfig", urlParameters: [ diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts index 8b8ec52f0672..8ac34919e6c0 100644 --- a/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/protectableContainers.ts @@ -31,7 +31,7 @@ export class ProtectableContainers { * @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 fabricName * @param [options] The optional parameters * @returns Promise */ @@ -40,7 +40,7 @@ export class ProtectableContainers { * @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 fabricName * @param callback The callback */ list(vaultName: string, resourceGroupName: string, fabricName: string, callback: msRest.ServiceCallback): void; @@ -48,7 +48,7 @@ export class ProtectableContainers { * @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 fabricName * @param options The optional parameters * @param callback The callback */ diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedBackupPolicies.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedBackupPolicies.ts new file mode 100644 index 000000000000..0211c714cbce --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedBackupPolicies.ts @@ -0,0 +1,147 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scopedBackupPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a ScopedBackupPolicies. */ +export class ScopedBackupPolicies { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a ScopedBackupPolicies. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * 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 fabricName + * @param [options] The optional parameters + * @returns Promise + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.ScopedBackupPoliciesListOptionalParams): Promise; + /** + * @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 + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @param options The optional parameters + * @param callback The callback + */ + list(vaultName: string, resourceGroupName: string, fabricName: string, options: Models.ScopedBackupPoliciesListOptionalParams, callback: msRest.ServiceCallback): void; + list(vaultName: string, resourceGroupName: string, fabricName: string, options?: Models.ScopedBackupPoliciesListOptionalParams | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Lists of backup policies associated with Recovery Services Vault. + * API provides pagination parameters to fetch scoped results. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName + ], + queryParameters: [ + Parameters.apiVersion0, + Parameters.filter + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectionPolicyResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectionPolicyResourceList + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicies.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicies.ts new file mode 100644 index 000000000000..0329f784cc67 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicies.ts @@ -0,0 +1,255 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scopedProtectionPoliciesMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a ScopedProtectionPolicies. */ +export class ScopedProtectionPolicies { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a ScopedProtectionPolicies. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * 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 + * GetScopedPolicyOperationResult 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 + * @param policyName Backup policy information to be fetched. + * @param [options] The optional parameters + * @returns Promise + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 + * @param policyName Backup policy information to be fetched. + * @param callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @param policyName Backup policy information to be fetched. + * @param options The optional parameters + * @param callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + policyName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or modifies a backup policy. This is an asynchronous operation. Status of the + * operation can be fetched using GetScopedPolicyOperationResult 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 + * @param policyName Backup policy to be created. + * @param parameters resource backup policy + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, parameters: Models.ProtectionPolicyResource, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 + * @param policyName Backup policy to be created. + * @param parameters resource backup policy + * @param callback The callback + */ + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, parameters: Models.ProtectionPolicyResource, callback: msRest.ServiceCallback): void; + /** + * @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 + * @param policyName Backup policy to be created. + * @param parameters resource backup policy + * @param options The optional parameters + * @param callback The callback + */ + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, parameters: Models.ProtectionPolicyResource, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + createOrUpdate(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, parameters: Models.ProtectionPolicyResource, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + policyName, + parameters, + options + }, + createOrUpdateOperationSpec, + callback) as Promise; + } + + /** + * Deletes specified backup policy from your Backup Fabric. This is an asynchronous operation. + * Status of the operation can be fetched using GetScopedPolicyOperationResult 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 + * @param policyName Backup policy to be deleted. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 + * @param policyName Backup policy to be deleted. + * @param callback The callback + */ + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @param policyName Backup policy to be deleted. + * @param options The optional parameters + * @param callback The callback + */ + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + deleteMethod(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + policyName, + options + }, + deleteMethodOperationSpec, + callback); + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.policyName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectionPolicyResource + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const createOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.policyName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.ProtectionPolicyResource, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ProtectionPolicyResource + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const deleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.policyName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicyOperationResults.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicyOperationResults.ts new file mode 100644 index 000000000000..f07bc7be7f9d --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicyOperationResults.ts @@ -0,0 +1,106 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scopedProtectionPolicyOperationResultsMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a ScopedProtectionPolicyOperationResults. */ +export class ScopedProtectionPolicyOperationResults { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a ScopedProtectionPolicyOperationResults. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * 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 fabricName + * @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 [options] The optional parameters + * @returns Promise + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 + * @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 callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @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 options The optional parameters + * @param callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + policyName, + operationId, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}/operationResults/{operationId}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.policyName, + Parameters.operationId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ProtectionPolicyResource + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicyOperationStatuses.ts b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicyOperationStatuses.ts new file mode 100644 index 000000000000..9537e0923558 --- /dev/null +++ b/packages/@azure/arm-recoveryservicesbackup/lib/operations/scopedProtectionPolicyOperationStatuses.ts @@ -0,0 +1,108 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "ms-rest-js"; +import * as Models from "../models"; +import * as Mappers from "../models/scopedProtectionPolicyOperationStatusesMappers"; +import * as Parameters from "../models/parameters"; +import { RecoveryServicesBackupClientContext } from "../recoveryServicesBackupClientContext"; + +/** Class representing a ScopedProtectionPolicyOperationStatuses. */ +export class ScopedProtectionPolicyOperationStatuses { + private readonly client: RecoveryServicesBackupClientContext; + + /** + * Create a ScopedProtectionPolicyOperationStatuses. + * @param {RecoveryServicesBackupClientContext} client Reference to the service client. + */ + constructor(client: RecoveryServicesBackupClientContext) { + this.client = client; + } + + /** + * Provides the status of the asynchronous operations like backup, restore. The status can + * be in progress, completed or failed. You can refer to the Operation Status enum for all + * the possible states of an operation. Some 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 fabricName + * @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 [options] The optional parameters + * @returns Promise + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @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 + * @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 callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, callback: msRest.ServiceCallback): void; + /** + * @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 + * @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 options The optional parameters + * @param callback The callback + */ + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(vaultName: string, resourceGroupName: string, fabricName: string, policyName: string, operationId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + vaultName, + resourceGroupName, + fabricName, + policyName, + operationId, + options + }, + getOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/policies/{policyName}/operations/{operationId}", + urlParameters: [ + Parameters.vaultName, + Parameters.resourceGroupName, + Parameters.subscriptionId, + Parameters.fabricName, + Parameters.policyName, + Parameters.operationId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.OperationStatus + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +};