From bda4c58d09f7626b5808a9eb0f9a5ec00a7e375d Mon Sep 17 00:00:00 2001 From: hiaga Date: Fri, 21 Aug 2020 10:58:40 +0530 Subject: [PATCH] changing number of VMs from 100 to 1000 --- .../RecoveryServices.Backup.Models/Properties/Resources.resx | 2 +- .../Providers/IaasVmPsBackupProvider.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.resx b/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.resx index 36a9da729e50..2aac6aa51868 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.resx +++ b/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.resx @@ -572,7 +572,7 @@ Please contact Microsoft for further assistance. RetentionDuration in Days should be from 7 - 9999 - Cannot configure backup for more than 100 VMs per policy + Cannot configure backup for more than 1000 VMs per policy Undo-deletion is only supported for AzureVMs. This method is not supported for other workloads. diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs index 6961fc8c079d..98198e269c1e 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs @@ -986,7 +986,7 @@ public void RegisterContainer() private void ValidateProtectedItemCount(AzureVmPolicy azureVmPolicy) { - if (azureVmPolicy.ProtectedItemsCount > 100) + if (azureVmPolicy.ProtectedItemsCount > 1000) { throw new ArgumentException(Resources.ProtectedItemsCountExceededException); }