diff --git a/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmPolicy.cs b/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmPolicy.cs index 547b665a43e2..e5bc26272d66 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmPolicy.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmPolicy.cs @@ -12,8 +12,6 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using Microsoft.Azure.Commands.Common.Compute.Version_2018_04.Models; - namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models { /// diff --git a/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmRecoveryPoint.cs b/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmRecoveryPoint.cs index 4a6f85b03265..32d0a7a5ca62 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmRecoveryPoint.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Models/AzureVmModels/AzureVmRecoveryPoint.cs @@ -12,8 +12,6 @@ // limitations under the License. // ---------------------------------------------------------------------------------- -using System; - namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.Models { /// diff --git a/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.Designer.cs b/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.Designer.cs index 774eabaa6f4e..3150aedc79e9 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.Designer.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Models/Properties/Resources.Designer.cs @@ -10,8 +10,8 @@ namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -22,40 +22,48 @@ namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Properties { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class Resources { - + public class Resources + { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { + internal Resources() + { } - + /// /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { + public static global::System.Resources.ResourceManager ResourceManager + { + get + { + if (object.ReferenceEquals(resourceMan, null)) + { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.Azure.Commands.RecoveryServices.Backup.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - public static global::System.Globalization.CultureInfo Culture { - get { + public static global::System.Globalization.CultureInfo Culture + { + get + { return resourceCulture; } - set { + set + { resourceCulture = value; } } @@ -86,39 +94,47 @@ public static string AFSWeeklyScheduleNotAllowed /// /// Looks up a localized string similar to Handling aggregate exception. /// - public static string AggregateException { - get { + public static string AggregateException + { + get + { return ResourceManager.GetString("AggregateException", resourceCulture); } } - + /// /// Looks up a localized string similar to Retention count in Weeks should be in between 1-520, in Months should be in between 1-120 and Years should be in between 1-10. /// - public static string AllowedSqlRetentionRange { - get { + public static string AllowedSqlRetentionRange + { + get + { return ResourceManager.GetString("AllowedSqlRetentionRange", resourceCulture); } } - + /// /// Looks up a localized string similar to All retention schedules are empty in RetentionPolicy. Alteast one is expected.. /// - public static string AllRetentionSchedulesEmptyException { - get { + public static string AllRetentionSchedulesEmptyException + { + get + { return ResourceManager.GetString("AllRetentionSchedulesEmptyException", resourceCulture); } } - + /// /// Looks up a localized string similar to Received ArgumentException. /// - public static string ArgumentException { - get { + public static string ArgumentException + { + get + { return ResourceManager.GetString("ArgumentException", resourceCulture); } } - + /// /// Looks up a localized string similar to Looks like File Shares similar to specified Azure File Share are not found. Possible causes are ///1. The Azure File Share does not exist @@ -126,26 +142,32 @@ public static string ArgumentException { ///3. The Azure File Share is already protected with another Vault. Please unprotect the Azure File Share first, unregister the Storage Account from that Vault and protect it again. ///Please contact Microsoft for further assistance.. /// - public static string AzureFileShareNotFound { - get { + public static string AzureFileShareNotFound + { + get + { return ResourceManager.GetString("AzureFileShareNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Provide SourceFilePath for File restore or remove SourceFileType for file share restore. /// - public static string AzureFileSourceFilePathMissingException { - get { + public static string AzureFileSourceFilePathMissingException + { + get + { return ResourceManager.GetString("AzureFileSourceFilePathMissingException", resourceCulture); } } - + /// /// Looks up a localized string similar to Provide SourceFileType for File restore or remove SourceFilePath for file share restore. /// - public static string AzureFileSourceFileTypeMissingException { - get { + public static string AzureFileSourceFileTypeMissingException + { + get + { return ResourceManager.GetString("AzureFileSourceFileTypeMissingException", resourceCulture); } } @@ -164,48 +186,58 @@ public static string AzureFileSourceFilePathRedundantException /// /// Looks up a localized string similar to Provide TargetFileShareName for Alternate Location restore or remove TargetStorageAccountName for Original Location restore. /// - public static string AzureFileTargetFSNameMissingException { - get { + public static string AzureFileTargetFSNameMissingException + { + get + { return ResourceManager.GetString("AzureFileTargetFSNameMissingException", resourceCulture); } } - + /// /// Looks up a localized string similar to Provide TargetStorageAccountName for Alternate Location restore or remove TargetFileShareName for Original Location restore. /// - public static string AzureFileTargetSANameMissingException { - get { + public static string AzureFileTargetSANameMissingException + { + get + { return ResourceManager.GetString("AzureFileTargetSANameMissingException", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType value should be empty for WorkloadType AzureFiles.. /// - public static string AzureFileUnsupportedBackupManagementTypeException { - get { + public static string AzureFileUnsupportedBackupManagementTypeException + { + get + { return ResourceManager.GetString("AzureFileUnsupportedBackupManagementTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Azure Sql does not support disable protection with retain data. /// - public static string AzureSqlRetainDataException { - get { + public static string AzureSqlRetainDataException + { + get + { return ResourceManager.GetString("AzureSqlRetainDataException", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType value should be empty for WorkloadType AzureSql. /// - public static string AzureSqlUnsupportedBackupManagementTypeException { - get { + public static string AzureSqlUnsupportedBackupManagementTypeException + { + get + { return ResourceManager.GetString("AzureSqlUnsupportedBackupManagementTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to The specified Azure Virtual Machine Not Found. Possible causes are ///1. VM does not exist @@ -214,17 +246,21 @@ public static string AzureSqlUnsupportedBackupManagementTypeException { /// ///Please contact Microsoft for further assistance.. /// - public static string AzureVMNotFound { - get { + public static string AzureVMNotFound + { + get + { return ResourceManager.GetString("AzureVMNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType value should be empty for WorkloadType AzureVM. /// - public static string AzureVMUnsupportedBackupManagementTypeException { - get { + public static string AzureVMUnsupportedBackupManagementTypeException + { + get + { return ResourceManager.GetString("AzureVMUnsupportedBackupManagementTypeException", resourceCulture); } } @@ -260,175 +296,213 @@ public static string AzureWorkloadRestoreLocationException { return ResourceManager.GetString("AzureWorkloadRestoreLocationException", resourceCulture); } - } + } /// /// Looks up a localized string similar to RetentionTime in retention schedule should be same as backup time specified in SchedulePolicy. /// - public static string BackupAndRetentionTimesMismatch { - get { + public static string BackupAndRetentionTimesMismatch + { + get + { return ResourceManager.GetString("BackupAndRetentionTimesMismatch", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType provider for ContainerType {0} is incorrect.. /// - public static string BackupManagementTypeIncorrectForContainerType { - get { + public static string BackupManagementTypeIncorrectForContainerType + { + get + { return ResourceManager.GetString("BackupManagementTypeIncorrectForContainerType", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType is not expected for WorkloadType: {0}. /// - public static string BackupManagementTypeNotExpectedForWorkloadType { - get { + public static string BackupManagementTypeNotExpectedForWorkloadType + { + get + { return ResourceManager.GetString("BackupManagementTypeNotExpectedForWorkloadType", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType needs to be specified for ContainerType {0}. /// - public static string BackupManagementTypeRequiredForContainerType { - get { + public static string BackupManagementTypeRequiredForContainerType + { + get + { return ResourceManager.GetString("BackupManagementTypeRequiredForContainerType", resourceCulture); } } - + /// /// Looks up a localized string similar to BackupManagementType is also required for WorkloadType: {0}. /// - public static string BackupManagementTypeRequiredForWorkloadType { - get { + public static string BackupManagementTypeRequiredForWorkloadType + { + get + { return ResourceManager.GetString("BackupManagementTypeRequiredForWorkloadType", resourceCulture); } } - + /// /// Looks up a localized string similar to For Azure VM, both cloud service name and resource group name can not be empty. /// - public static string BothCloudServiceNameAndResourceGroupNameShouldNotEmpty { - get { + public static string BothCloudServiceNameAndResourceGroupNameShouldNotEmpty + { + get + { return ResourceManager.GetString("BothCloudServiceNameAndResourceGroupNameShouldNotEmpty", resourceCulture); } } - + /// /// Looks up a localized string similar to Both RetentionPolicy and SchedulePolicy are empty, nothing to update. /// - public static string BothRetentionAndSchedulePoliciesEmpty { - get { + public static string BothRetentionAndSchedulePoliciesEmpty + { + get + { return ResourceManager.GetString("BothRetentionAndSchedulePoliciesEmpty", resourceCulture); } } - + /// /// Looks up a localized string similar to Received CloudException, ErrorCode: {0}, Message: {1}. /// - public static string CloudException { - get { + public static string CloudException + { + get + { return ResourceManager.GetString("CloudException", resourceCulture); } } - + /// /// Looks up a localized string similar to Received CloudException, StatusCode: {0}. /// - public static string CloudExceptionCodeNotFound { - get { + public static string CloudExceptionCodeNotFound + { + get + { return ResourceManager.GetString("CloudExceptionCodeNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Count of containers after BackupManagementType and friendlyName filter = {0}. /// - public static string ContainerCountAfterFilter { - get { + public static string ContainerCountAfterFilter + { + get + { return ResourceManager.GetString("ContainerCountAfterFilter", resourceCulture); } } - + /// /// Looks up a localized string similar to Container is not discovered. /// - public static string ContainerNotDiscovered { - get { + public static string ContainerNotDiscovered + { + get + { return ResourceManager.GetString("ContainerNotDiscovered", resourceCulture); } } - + /// /// Looks up a localized string similar to Daily Retention Schedule can't be null (or) IsDailyScheduleEnabled should be 'true' if Daily Backup Schedule is enabled. /// - public static string DailyRetentionScheduleNullException { - get { + public static string DailyRetentionScheduleNullException + { + get + { return ResourceManager.GetString("DailyRetentionScheduleNullException", resourceCulture); } } - + /// /// Looks up a localized string similar to RetentionPolicy: IsDailyScheduleEnabled=true but DailySchedule is NULL. /// - public static string DailyScheduleEnabledButScheduleIsNullException { - get { + public static string DailyScheduleEnabledButScheduleIsNullException + { + get + { return ResourceManager.GetString("DailyScheduleEnabledButScheduleIsNullException", resourceCulture); } } - + /// /// Looks up a localized string similar to The DaysOfWeek specified in a weekly retention schedule should be same as of DaysOfWeek value specified in the backup schedule. /// - public static string DaysofTheWeekInWeeklyRetentionException { - get { + public static string DaysofTheWeekInWeeklyRetentionException + { + get + { return ResourceManager.GetString("DaysofTheWeekInWeeklyRetentionException", resourceCulture); } } - + /// /// Looks up a localized string similar to Disabling protection for the item. /// - public static string DisableProtectionMessage { - get { + public static string DisableProtectionMessage + { + get + { return ResourceManager.GetString("DisableProtectionMessage", resourceCulture); } } - + /// /// Looks up a localized string similar to Disable Protection Operation. /// - public static string DisableProtectionOperation { - get { + public static string DisableProtectionOperation + { + get + { return ResourceManager.GetString("DisableProtectionOperation", resourceCulture); } } - + /// /// Looks up a localized string similar to Are you sure you want to disable protection for the item '{0}'. /// - public static string DisableProtectionWarning { - get { + public static string DisableProtectionWarning + { + get + { return ResourceManager.GetString("DisableProtectionWarning", resourceCulture); } } - + /// /// Looks up a localized string similar to Failed to discover VM {0} under {1} {2}. Please make sure names are correct and VM is not deleted". /// - public static string DiscoveryFailure { - get { + public static string DiscoveryFailure + { + get + { return ResourceManager.GetString("DiscoveryFailure", resourceCulture); } } - + /// /// Looks up a localized string similar to Discovery operation failed with ErrorCode: {0}. /// - public static string DiscoveryFailureErrorCode { - get { + public static string DiscoveryFailureErrorCode + { + get + { return ResourceManager.GetString("DiscoveryFailureErrorCode", resourceCulture); } } @@ -447,8 +521,10 @@ public static string UnRegisterFailureErrorCode /// /// Looks up a localized string similar to Going to retry Discovery if retry count is not exceeded". /// - public static string DiscoveryFailureErrorMessage { - get { + public static string DiscoveryFailureErrorMessage + { + get + { return ResourceManager.GetString("DiscoveryFailureErrorMessage", resourceCulture); } } @@ -478,44 +554,54 @@ public static string InclusionListRedundantError /// /// Looks up a localized string similar to Empty response received from Service Client. /// - public static string EmptyServiceClientResponseException { - get { + public static string EmptyServiceClientResponseException + { + get + { return ResourceManager.GetString("EmptyServiceClientResponseException", resourceCulture); } } - + /// /// Looks up a localized string similar to Enable Protection Operation. /// - public static string EnableProtectionOperation { - get { + public static string EnableProtectionOperation + { + get + { return ResourceManager.GetString("EnableProtectionOperation", resourceCulture); } } - + /// /// Looks up a localized string similar to Caught exception, type: {0}. /// - public static string ExceptionInExecution { - get { + public static string ExceptionInExecution + { + get + { return ResourceManager.GetString("ExceptionInExecution", resourceCulture); } } - + /// /// Looks up a localized string similar to File share is not discovered. /// - public static string FileShareNotDiscovered { - get { + public static string FileShareNotDiscovered + { + get + { return ResourceManager.GetString("FileShareNotDiscovered", resourceCulture); } } - + /// /// Looks up a localized string similar to Final operation status:. /// - public static string FinalOperationStatus { - get { + public static string FinalOperationStatus + { + get + { return ResourceManager.GetString("FinalOperationStatus", resourceCulture); } } @@ -525,7 +611,8 @@ public static string FinalOperationStatus { /// public static string FriendlyNamePassedWarning { - get { + get + { return ResourceManager.GetString("FriendlyNamePassedWarning", resourceCulture); } } @@ -533,98 +620,120 @@ public static string FriendlyNamePassedWarning /// /// Looks up a localized string similar to Name parameter will be deprecated. Please use FriendlyName instead for filtering by name.. /// - public static string GetContainerNameParamDeprecated { - get { + public static string GetContainerNameParamDeprecated + { + get + { return ResourceManager.GetString("GetContainerNameParamDeprecated", resourceCulture); } } - + /// /// Looks up a localized string similar to Please specify startdate and enddate in UTC format. /// - public static string GetRPErrorInputDatesShouldBeInUTC { - get { + public static string GetRPErrorInputDatesShouldBeInUTC + { + get + { return ResourceManager.GetString("GetRPErrorInputDatesShouldBeInUTC", resourceCulture); } } - + /// /// Looks up a localized string similar to Start date\time should be less than current UTC date\time. /// - public static string GetRPErrorStartTimeShouldBeLessThanUTCNow { - get { + public static string GetRPErrorStartTimeShouldBeLessThanUTCNow + { + get + { return ResourceManager.GetString("GetRPErrorStartTimeShouldBeLessThanUTCNow", resourceCulture); } } - + /// /// Looks up a localized string similar to GetRecoveryPointResponse is null. /// - public static string GetRPResponseIsNull { - get { + public static string GetRPResponseIsNull + { + get + { return ResourceManager.GetString("GetRPResponseIsNull", resourceCulture); } } - + /// /// Looks up a localized string similar to Another connection is already alive to this recovery point. You can either choose to terminate this or extend the deadline for access. Please run the appropriate command. /// - public static string ILRAnotherConnectionAlreadyAlive { - get { + public static string ILRAnotherConnectionAlreadyAlive + { + get + { return ResourceManager.GetString("ILRAnotherConnectionAlreadyAlive", resourceCulture); } } - + /// /// Looks up a localized string similar to No connection present to revoke. /// - public static string ILRConnectionDoesntExist { - get { + public static string ILRConnectionDoesntExist + { + get + { return ResourceManager.GetString("ILRConnectionDoesntExist", resourceCulture); } } - + /// /// Looks up a localized string similar to The connection has been extended for another 12 hours. /// - public static string ILRConnectionExtensionSuccessful { - get { + public static string ILRConnectionExtensionSuccessful + { + get + { return ResourceManager.GetString("ILRConnectionExtensionSuccessful", resourceCulture); } } - + /// /// Looks up a localized string similar to Please connect to the recovery point by running the connect command. /// - public static string ILRConnectionNotAlive { - get { + public static string ILRConnectionNotAlive + { + get + { return ResourceManager.GetString("ILRConnectionNotAlive", resourceCulture); } } - + /// /// Looks up a localized string similar to File recovery from encrypted VM backups is not supported. /// - public static string ILREncryptedVmError { - get { + public static string ILREncryptedVmError + { + get + { return ResourceManager.GetString("ILREncryptedVmError", resourceCulture); } } - + /// /// Looks up a localized string similar to Service didn't return any client scripts for this file / folder restore operation. /// - public static string ILRNoClientScriptsReturned { - get { + public static string ILRNoClientScriptsReturned + { + get + { return ResourceManager.GetString("ILRNoClientScriptsReturned", resourceCulture); } } - + /// /// Looks up a localized string similar to Provided target location doesn't exist. Please provide a valid directory to download the script.. /// - public static string ILRTargetLocationInvalid { - get { + public static string ILRTargetLocationInvalid + { + get + { return ResourceManager.GetString("ILRTargetLocationInvalid", resourceCulture); } } @@ -634,7 +743,8 @@ public static string ILRTargetLocationInvalid { /// public static string InstantRPRetentionDaysException { - get { + get + { return ResourceManager.GetString("InstantRPRetentionDaysException", resourceCulture); } } @@ -642,107 +752,131 @@ public static string InstantRPRetentionDaysException /// /// Looks up a localized string similar to Azure VM name can not be null or empty. /// - public static string InvalidAzureVMName { - get { + public static string InvalidAzureVMName + { + get + { return ResourceManager.GetString("InvalidAzureVMName", resourceCulture); } } - + /// /// Looks up a localized string similar to Only one BackupTime is Allowed in SchedulePolicy. /// - public static string InvalidBackupTimesInSchedulePolicyException { - get { + public static string InvalidBackupTimesInSchedulePolicyException + { + get + { return ResourceManager.GetString("InvalidBackupTimesInSchedulePolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly/Yearly retention schedule, Day in DaysOfMonth should be 1-28 (or) IsLast=true set for one day only. /// - public static string InvalidDayInDaysOfMonthOfMonthlyYearlyRetentionPolicyException { - get { + public static string InvalidDayInDaysOfMonthOfMonthlyYearlyRetentionPolicyException + { + get + { return ResourceManager.GetString("InvalidDayInDaysOfMonthOfMonthlyYearlyRetentionPolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly/Yearly retention schedule, DaysOfMonth is NULL or empty or contains duplicate entires. /// - public static string InvalidDaysOfMonthInMonthlyYearlyRetentionPolicyException { - get { + public static string InvalidDaysOfMonthInMonthlyYearlyRetentionPolicyException + { + get + { return ResourceManager.GetString("InvalidDaysOfMonthInMonthlyYearlyRetentionPolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly/Yearly retention schedule, DaysOfWeek is NULL or empty or contains duplicate entires. /// - public static string InvalidDaysOfWeekInMonthlyYearlyRetentionPolicyException { - get { + public static string InvalidDaysOfWeekInMonthlyYearlyRetentionPolicyException + { + get + { return ResourceManager.GetString("InvalidDaysOfWeekInMonthlyYearlyRetentionPolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to InvalidDurationType - {0}. /// - public static string InvalidDurationTypeException { - get { + public static string InvalidDurationTypeException + { + get + { return ResourceManager.GetString("InvalidDurationTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Azure file share name cannot be null or empty. /// - public static string InvalidFileShareName { - get { + public static string InvalidFileShareName + { + get + { return ResourceManager.GetString("InvalidFileShareName", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid Item - either NULL or NOT of type: {0}. /// - public static string InvalidProtectionItemException { - get { + public static string InvalidProtectionItemException + { + get + { return ResourceManager.GetString("InvalidProtectionItemException", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid ProtectionPolicy - either NULL or NOT of type: {0}. /// - public static string InvalidProtectionPolicyException { - get { + public static string InvalidProtectionPolicyException + { + get + { return ResourceManager.GetString("InvalidProtectionPolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to Invalid RetentionPolicy - either NULL or NOT of type: {0}. /// - public static string InvalidRetentionPolicyException { - get { + public static string InvalidRetentionPolicyException + { + get + { return ResourceManager.GetString("InvalidRetentionPolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to Only one RetentionTime is Allowed in RetentionSchedules. /// - public static string InvalidRetentionTimesInPolicyException { - get { - return ResourceManager.GetString("InvalidRetentionTimesInPolicyException", resourceCulture); - } + public static string InvalidRetentionTimesInPolicyException + { + get + { + return ResourceManager.GetString("InvalidRetentionTimesInPolicyException", resourceCulture); + } } - + /// /// Looks up a localized string similar to Invalid SchedulePolicy - either NULL or NOT of type: {0}. /// - public static string InvalidSchedulePolicyException { - get { + public static string InvalidSchedulePolicyException + { + get + { return ResourceManager.GetString("InvalidSchedulePolicyException", resourceCulture); } } @@ -750,165 +884,201 @@ public static string InvalidSchedulePolicyException { /// /// Looks up a localized string similar to In Schedule, if ScheduleRunFrequency is Weekly then ScheduleRunDays should not be empty and not contain duplicate entries. /// - public static string InvalidScheduleRunDaysInScheduleException { - get { + public static string InvalidScheduleRunDaysInScheduleException + { + get + { return ResourceManager.GetString("InvalidScheduleRunDaysInScheduleException", resourceCulture); } } - + /// /// Looks up a localized string similar to ScheduleTimes in Schedule should be in UTC Timezone, have ONE time and must be of multiples of 30 Mins with seconds and milliseconds set to 0. /// - public static string InvalidScheduleTimeInScheduleException { - get { + public static string InvalidScheduleTimeInScheduleException + { + get + { return ResourceManager.GetString("InvalidScheduleTimeInScheduleException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly/Yearly retention schedule, WeeksOfMonth is NULL or empty or contains duplicate entires. /// - public static string InvalidWeeksOfMonthInMonthlyYearlyRetentionPolicyException { - get { + public static string InvalidWeeksOfMonthInMonthlyYearlyRetentionPolicyException + { + get + { return ResourceManager.GetString("InvalidWeeksOfMonthInMonthlyYearlyRetentionPolicyException", resourceCulture); } } - + /// /// Looks up a localized string similar to To filter should not be more than 30 days away from From filter.. /// - public static string JobAllowedDateTimeRangeExceeded { - get { + public static string JobAllowedDateTimeRangeExceeded + { + get + { return ResourceManager.GetString("JobAllowedDateTimeRangeExceeded", resourceCulture); } } - + /// /// Looks up a localized string similar to Failed to cancel the job. Error code: {0}. /// - public static string JobCouldNotCancelJob { - get { + public static string JobCouldNotCancelJob + { + get + { return ResourceManager.GetString("JobCouldNotCancelJob", resourceCulture); } } - + /// /// Looks up a localized string similar to Please provide From filter along with To filter.. /// - public static string JobFromNotProvided { - get { + public static string JobFromNotProvided + { + get + { return ResourceManager.GetString("JobFromNotProvided", resourceCulture); } } - + /// /// Looks up a localized string similar to JobID and Job object provided don't match each other.. /// - public static string JobJobIdAndJobMismatch { - get { + public static string JobJobIdAndJobMismatch + { + get + { return ResourceManager.GetString("JobJobIdAndJobMismatch", resourceCulture); } } - + /// /// Looks up a localized string similar to There are more than 1000 jobs for the filter combination you have provided. Kindly refine your filters to fetch the job you want.. /// - public static string JobRefineFilters { - get { + public static string JobRefineFilters + { + get + { return ResourceManager.GetString("JobRefineFilters", resourceCulture); } } - + /// /// Looks up a localized string similar to From date should be less than current UTC time. /// - public static string JobStartTimeShouldBeLessThanCurrent { - get { + public static string JobStartTimeShouldBeLessThanCurrent + { + get + { return ResourceManager.GetString("JobStartTimeShouldBeLessThanCurrent", resourceCulture); } } - + /// /// Looks up a localized string similar to Please specify From and To filter values in UTC. Other timezones are not supported.. /// - public static string JobTimeFiltersShouldBeSpecifiedInUtc { - get { + public static string JobTimeFiltersShouldBeSpecifiedInUtc + { + get + { return ResourceManager.GetString("JobTimeFiltersShouldBeSpecifiedInUtc", resourceCulture); } } - + /// /// Looks up a localized string similar to To filter should not be less than From filter.. /// - public static string JobToShouldBeGreaterThanFrom { - get { + public static string JobToShouldBeGreaterThanFrom + { + get + { return ResourceManager.GetString("JobToShouldBeGreaterThanFrom", resourceCulture); } } - + /// /// Looks up a localized string similar to Please pass Job or List of Jobs as input. Your input is of type: {0}. /// - public static string JobWaitJobInvalidInput { - get { + public static string JobWaitJobInvalidInput + { + get + { return ResourceManager.GetString("JobWaitJobInvalidInput", resourceCulture); } } - + /// /// Looks up a localized string similar to Making client call. /// - public static string MakingClientCall { - get { + public static string MakingClientCall + { + get + { return ResourceManager.GetString("MakingClientCall", resourceCulture); } } - + /// /// Looks up a localized string similar to RetentionPolicy: IsMonthlyScheduleEnabled=true but MonthlySchedule is NULL. /// - public static string MonthlyScheduleEnabledButScheduleIsNullException { - get { + public static string MonthlyScheduleEnabledButScheduleIsNullException + { + get + { return ResourceManager.GetString("MonthlyScheduleEnabledButScheduleIsNullException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly and Yearly retention schedules, RetentionFormatType cannot be 'Daily' if Weekly BackupSchedule is selected. /// - public static string MonthlyYearlyInvalidDailyRetentionFormatTypeException { - get { + public static string MonthlyYearlyInvalidDailyRetentionFormatTypeException + { + get + { return ResourceManager.GetString("MonthlyYearlyInvalidDailyRetentionFormatTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly/Yearly retention schedule, if RetentionScheduleFormatType=Daily then RetentionScheduleDaily should NOT be null. /// - public static string MonthlyYearlyRetentionDailySchedulePolicyNULLException { - get { + public static string MonthlyYearlyRetentionDailySchedulePolicyNULLException + { + get + { return ResourceManager.GetString("MonthlyYearlyRetentionDailySchedulePolicyNULLException", resourceCulture); } } - + /// /// Looks up a localized string similar to The DaysOfWeek specified for monthly and yearly retention policies should be a subset of the DaysOfWeek value specified in the backup schedule. /// - public static string MonthlyYearlyRetentionDaysOfWeekException { - get { + public static string MonthlyYearlyRetentionDaysOfWeekException + { + get + { return ResourceManager.GetString("MonthlyYearlyRetentionDaysOfWeekException", resourceCulture); } } - + /// /// Looks up a localized string similar to In Monthly/Yearly retention schedule, if RetentionScheduleFormatType=Weekly then RetentionScheduleWeekly should NOT be null. /// - public static string MonthlyYearlyRetentionWeeklySchedulePolicyNULLException { - get { + public static string MonthlyYearlyRetentionWeeklySchedulePolicyNULLException + { + get + { return ResourceManager.GetString("MonthlyYearlyRetentionWeeklySchedulePolicyNULLException", resourceCulture); } } - + /// /// Looks up a localized string similar to Run this script on the machine where you want to copy the files /// @@ -916,62 +1086,76 @@ public static string MonthlyYearlyRetentionWeeklySchedulePolicyNULLException { /// ///Password to run the file: {1}. /// - public static string MountRecoveryPointInfoMessage { - get { + public static string MountRecoveryPointInfoMessage + { + get + { return ResourceManager.GetString("MountRecoveryPointInfoMessage", resourceCulture); } } - + /// /// Looks up a localized string similar to {0} failed. Error Code: {1}. Error Message: {2}. /// - public static string OperationFailed { - get { + public static string OperationFailed + { + get + { return ResourceManager.GetString("OperationFailed", resourceCulture); } } - + /// /// Looks up a localized string similar to ParentContainerFabricId is NULL or Empty. Please enter valid ParentContainerFabricId. /// - public static string ParentContainerFabricIdIsEmptyOrNull { - get { + public static string ParentContainerFabricIdIsEmptyOrNull + { + get + { return ResourceManager.GetString("ParentContainerFabricIdIsEmptyOrNull", resourceCulture); } } - + /// /// Looks up a localized string similar to A backup policy with the specified name already exists: {0}. /// - public static string PolicyAlreadyExistException { - get { + public static string PolicyAlreadyExistException + { + get + { return ResourceManager.GetString("PolicyAlreadyExistException", resourceCulture); } } - + /// /// Looks up a localized string similar to PolicyId is NULL or Empty. Please enter valid PolicyId. /// - public static string PolicyIdIsEmptyOrNull { - get { + public static string PolicyIdIsEmptyOrNull + { + get + { return ResourceManager.GetString("PolicyIdIsEmptyOrNull", resourceCulture); } } - + /// /// Looks up a localized string similar to PolicyName is NULL or Empty. Please enter valid PolicyName. /// - public static string PolicyNameIsEmptyOrNull { - get { + public static string PolicyNameIsEmptyOrNull + { + get + { return ResourceManager.GetString("PolicyNameIsEmptyOrNull", resourceCulture); } } - + /// /// Looks up a localized string similar to Backup Policy not found with name: {0}. /// - public static string PolicyNotFoundException { - get { + public static string PolicyNotFoundException + { + get + { return ResourceManager.GetString("PolicyNotFoundException", resourceCulture); } } @@ -990,71 +1174,87 @@ public static string ProtectedItemsCountExceededException /// /// Looks up a localized string similar to Successfully deleted policy. /// - public static string ProtectionPolicyDeleted { - get { + public static string ProtectionPolicyDeleted + { + get + { return ResourceManager.GetString("ProtectionPolicyDeleted", resourceCulture); } } - + /// /// Looks up a localized string similar to Backup policy name should contain alphanumeric characters and cannot start with a number. /// - public static string ProtectionPolicyNameException { - get { + public static string ProtectionPolicyNameException + { + get + { return ResourceManager.GetString("ProtectionPolicyNameException", resourceCulture); } } - + /// /// Looks up a localized string similar to Backup policy name must contain between 3 and 150 characters. /// - public static string ProtectionPolicyNameLengthException { - get { + public static string ProtectionPolicyNameLengthException + { + get + { return ResourceManager.GetString("ProtectionPolicyNameLengthException", resourceCulture); } } - + /// /// Looks up a localized string similar to Given Protection state is not valid for AzureSqlItem. Provided state : {0}. /// - public static string ProtectionStateInvalidForAzureSqlItem { - get { + public static string ProtectionStateInvalidForAzureSqlItem + { + get + { return ResourceManager.GetString("ProtectionStateInvalidForAzureSqlItem", resourceCulture); } } - + /// /// Looks up a localized string similar to Protection Status is not allowed for AzureSqlItem. protectionStatus : {0}. /// - public static string ProtectionStatusNotAllowedForAzureSqlItem { - get { + public static string ProtectionStatusNotAllowedForAzureSqlItem + { + get + { return ResourceManager.GetString("ProtectionStatusNotAllowedForAzureSqlItem", resourceCulture); } } - + /// /// Looks up a localized string similar to End date should be greater than start date. /// - public static string RecoveryPointEndDateShouldBeGreater { - get { + public static string RecoveryPointEndDateShouldBeGreater + { + get + { return ResourceManager.GetString("RecoveryPointEndDateShouldBeGreater", resourceCulture); } } - + /// /// Looks up a localized string similar to Cant convert input Item to AzureRmRecoveryServicesItemBase. /// - public static string RecoveryPointItemTypeConversionError { - get { + public static string RecoveryPointItemTypeConversionError + { + get + { return ResourceManager.GetString("RecoveryPointItemTypeConversionError", resourceCulture); } } - + /// /// Looks up a localized string similar to Unsupported Parameter set. /// - public static string RecoveryPointUnsupportedParamet { - get { + public static string RecoveryPointUnsupportedParamet + { + get + { return ResourceManager.GetString("RecoveryPointUnsupportedParamet", resourceCulture); } } @@ -1064,7 +1264,8 @@ public static string RecoveryPointUnsupportedParamet { /// public static string RegisterContainerMessage { - get { + get + { return ResourceManager.GetString("RegisterContainerMessage", resourceCulture); } } @@ -1074,7 +1275,8 @@ public static string RegisterContainerMessage /// public static string RegisterContainerWarning { - get { + get + { return ResourceManager.GetString("RegisterContainerWarning", resourceCulture); } } @@ -1082,8 +1284,10 @@ public static string RegisterContainerWarning /// /// Looks up a localized string similar to Register operation failed with ErrorCode: {0}. /// - public static string RegisterFailureErrorCode { - get { + public static string RegisterFailureErrorCode + { + get + { return ResourceManager.GetString("RegisterFailureErrorCode", resourceCulture); } } @@ -1091,71 +1295,87 @@ public static string RegisterFailureErrorCode { /// /// Looks up a localized string similar to Removing the protection policy. /// - public static string RemoveProtectionPolicyMessage { - get { + public static string RemoveProtectionPolicyMessage + { + get + { return ResourceManager.GetString("RemoveProtectionPolicyMessage", resourceCulture); } } - + /// /// Looks up a localized string similar to Are you sure you want to remove the protection policy '{0}'. /// - public static string RemoveProtectionPolicyWarning { - get { + public static string RemoveProtectionPolicyWarning + { + get + { return ResourceManager.GetString("RemoveProtectionPolicyWarning", resourceCulture); } } - + /// /// Looks up a localized string similar to The specified resource does not exist. /// - public static string ResourceNotFoundMessage { - get { + public static string ResourceNotFoundMessage + { + get + { return ResourceManager.GetString("ResourceNotFoundMessage", resourceCulture); } } - + /// /// Looks up a localized string similar to Storage account not found. /// - public static string RestoreAzureStorageNotFound { - get { + public static string RestoreAzureStorageNotFound + { + get + { return ResourceManager.GetString("RestoreAzureStorageNotFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Found more than one StorageAccount with same name. Some thing went wrong. /// - public static string RestoreDiskMoreThanOneAccFound { - get { + public static string RestoreDiskMoreThanOneAccFound + { + get + { return ResourceManager.GetString("RestoreDiskMoreThanOneAccFound", resourceCulture); } } - + /// /// Looks up a localized string similar to Please provide {0} storage type to restore the vm. /// - public static string RestoreDiskStorageTypeError { - get { + public static string RestoreDiskStorageTypeError + { + get + { return ResourceManager.GetString("RestoreDiskStorageTypeError", resourceCulture); } } - + /// /// Looks up a localized string similar to Time difference should not be more than 30 days. /// - public static string RestoreDiskTimeRangeError { - get { + public static string RestoreDiskTimeRangeError + { + get + { return ResourceManager.GetString("RestoreDiskTimeRangeError", resourceCulture); } } - + /// /// Looks up a localized string similar to Restore Azure Backup Item Operation. /// - public static string RestoreOperation { - get { + public static string RestoreOperation + { + get + { return ResourceManager.GetString("RestoreOperation", resourceCulture); } } @@ -1163,8 +1383,10 @@ public static string RestoreOperation { /// /// Looks up a localized string similar to RetentionDuration in Days should be from 7 - 9999. /// - public static string RetentionDurationCountInDaysInvalidException { - get { + public static string RetentionDurationCountInDaysInvalidException + { + get + { return ResourceManager.GetString("RetentionDurationCountInDaysInvalidException", resourceCulture); } } @@ -1172,62 +1394,76 @@ public static string RetentionDurationCountInDaysInvalidException { /// /// Looks up a localized string similar to RetentionDuration in Days/Weeks/Months/Years should be from 1 - 9999. /// - public static string RetentionDurationCountInvalidException { - get { + public static string RetentionDurationCountInvalidException + { + get + { return ResourceManager.GetString("RetentionDurationCountInvalidException", resourceCulture); } } - + /// /// Looks up a localized string similar to RetentionPolicy is empty, nothing to update. /// - public static string RetentionPolicyEmptyInAzureSql { - get { + public static string RetentionPolicyEmptyInAzureSql + { + get + { return ResourceManager.GetString("RetentionPolicyEmptyInAzureSql", resourceCulture); } } - + /// /// Looks up a localized string similar to RecoveryServicesBackupVault.Name. /// - public static string RsVaultResNameNullOrEmpty { - get { + public static string RsVaultResNameNullOrEmpty + { + get + { return ResourceManager.GetString("RsVaultResNameNullOrEmpty", resourceCulture); } } - + /// /// Looks up a localized string similar to RecoveryServicesBackupVault.ResourceGroupName. /// - public static string RsVaultRGNameNullOrEmpty { - get { + public static string RsVaultRGNameNullOrEmpty + { + get + { return ResourceManager.GetString("RsVaultRGNameNullOrEmpty", resourceCulture); } } - + /// /// Looks up a localized string similar to SchedulePolicy Object is not required for WorkloadType AzureSql. /// - public static string SchedulePolicyObjectNotRequiredForAzureSql { - get { + public static string SchedulePolicyObjectNotRequiredForAzureSql + { + get + { return ResourceManager.GetString("SchedulePolicyObjectNotRequiredForAzureSql", resourceCulture); } } - + /// /// Looks up a localized string similar to ScheduleRunTimes in Schedule Policy should be in UTC Timezone. /// - public static string ScheduleTimeNotInUTCTimeZoneException { - get { + public static string ScheduleTimeNotInUTCTimeZoneException + { + get + { return ResourceManager.GetString("ScheduleTimeNotInUTCTimeZoneException", resourceCulture); } } - + /// /// Looks up a localized string similar to Set vault context first using cmdlet Set-AzRecoveryServicesVaultContext. /// - public static string SetVaultContextFirst { - get { + public static string SetVaultContextFirst + { + get + { return ResourceManager.GetString("SetVaultContextFirst", resourceCulture); } } @@ -1246,8 +1482,10 @@ public static string SoftdeleteNotImplementedException /// /// Looks up a localized string similar to For Azure File share, Storage account name can not be empty. /// - public static string StorageAccountNameShouldNotBeEmpty { - get { + public static string StorageAccountNameShouldNotBeEmpty + { + get + { return ResourceManager.GetString("StorageAccountNameShouldNotBeEmpty", resourceCulture); } } @@ -1277,161 +1515,197 @@ public static string TargetResourcegroupNotSupported /// /// Looks up a localized string similar to Tracking operation status URL for completion:. /// - public static string TrackingOperationStatusURLForCompletion { - get { + public static string TrackingOperationStatusURLForCompletion + { + get + { return ResourceManager.GetString("TrackingOperationStatusURLForCompletion", resourceCulture); } } - + /// /// Looks up a localized string similar to Trigger Backup Operation. /// - public static string TriggerBackupOperation { - get { + public static string TriggerBackupOperation + { + get + { return ResourceManager.GetString("TriggerBackupOperation", resourceCulture); } } - + /// /// Looks up a localized string similar to Trigger Enquiry operation failed with ErrorCode: {0}. /// - public static string TriggerEnquiryFailureErrorCode { - get { + public static string TriggerEnquiryFailureErrorCode + { + get + { return ResourceManager.GetString("TriggerEnquiryFailureErrorCode", resourceCulture); } } - + /// /// Looks up a localized string similar to Storage account location should be same as vault location. /// - public static string TriggerRestoreIncorrectRegion { - get { + public static string TriggerRestoreIncorrectRegion + { + get + { return ResourceManager.GetString("TriggerRestoreIncorrectRegion", resourceCulture); } } - + /// /// Looks up a localized string similar to Unexpected BackupManagementType - expected:{0}, current:{1}. /// - public static string UnExpectedBackupManagementTypeException { - get { + public static string UnExpectedBackupManagementTypeException + { + get + { return ResourceManager.GetString("UnExpectedBackupManagementTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Unexpected ContainerType - expected:{0}, current:{1}. /// - public static string UnExpectedContainerTypeException { - get { + public static string UnExpectedContainerTypeException + { + get + { return ResourceManager.GetString("UnExpectedContainerTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Unexpected WorkloadType - expected:{0}, current:{1}. /// - public static string UnExpectedWorkLoadTypeException { - get { + public static string UnExpectedWorkLoadTypeException + { + get + { return ResourceManager.GetString("UnExpectedWorkLoadTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to The backup VM is unmanaged and hence the disks will be restored to the storage account provided.. /// - public static string UnManagedBackupVmWarning { - get { + public static string UnManagedBackupVmWarning + { + get + { return ResourceManager.GetString("UnManagedBackupVmWarning", resourceCulture); } } - + /// /// Looks up a localized string similar to Please provide AzureRmBackupManagementServer of BackupEngineType as DpmEngine or DpmVenusEngine and provide BackupManagementType as SCDPM. Provided AzureRmBackupManagementServer has BackupEngineType {0} and backupManagementType {1} which is not valid.. /// - public static string UnsupportedAzureRmBackupManagementServerException { - get { + public static string UnsupportedAzureRmBackupManagementServerException + { + get + { return ResourceManager.GetString("UnsupportedAzureRmBackupManagementServerException", resourceCulture); } } - + /// /// Looks up a localized string similar to Please provide Container of containerType as Windows and backupManagementType as MARS or Container of containerType as AzureSQL and backupManagementType as AzureSQL or Container of containerType as AzureStorage and backupManagementType as AzureStorage. Provided Container has containerType {0} and backupManagementType {1} which is invalid.. /// - public static string UnsupportedContainerException { - get { + public static string UnsupportedContainerException + { + get + { return ResourceManager.GetString("UnsupportedContainerException", resourceCulture); } } - + /// /// Looks up a localized string similar to Unsupported containerType: {0}. /// - public static string UnsupportedContainerType { - get { + public static string UnsupportedContainerType + { + get + { return ResourceManager.GetString("UnsupportedContainerType", resourceCulture); } } - + /// /// Looks up a localized string similar to Got some unsupported jobs. /// - public static string UnsupportedJobWarning { - get { + public static string UnsupportedJobWarning + { + get + { return ResourceManager.GetString("UnsupportedJobWarning", resourceCulture); } } - + /// /// Looks up a localized string similar to The resource type {0} is currently not supported.. /// - public static string UnsupportedResourceTypeException { - get { + public static string UnsupportedResourceTypeException + { + get + { return ResourceManager.GetString("UnsupportedResourceTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Selected storage account is of type: {0}. Blob storage accounts are not supported for Restore. Please select a Page blob type storage account.. /// - public static string UnsupportedStorageAccountException { - get { + public static string UnsupportedStorageAccountException + { + get + { return ResourceManager.GetString("UnsupportedStorageAccountException", resourceCulture); } } - + /// /// Looks up a localized string similar to Unsupported combination for WorkloadType: {0}, BackupManagementType:{1}. /// - public static string UnsupportedWorkloadBackupManagementTypeException { - get { + public static string UnsupportedWorkloadBackupManagementTypeException + { + get + { return ResourceManager.GetString("UnsupportedWorkloadBackupManagementTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Unsupported WorkloadType: {0}. /// - public static string UnsupportedWorkloadTypeException { - get { + public static string UnsupportedWorkloadTypeException + { + get + { return ResourceManager.GetString("UnsupportedWorkloadTypeException", resourceCulture); } } - + /// /// Looks up a localized string similar to Data truncated. Please upgrade to latest version of Azure Powershell. /// - public static string UpdateToNewAzurePowershellWarning { - get { + public static string UpdateToNewAzurePowershellWarning + { + get + { return ResourceManager.GetString("UpdateToNewAzurePowershellWarning", resourceCulture); } } - + /// /// Looks up a localized string similar to {0} Uri value not found in Id {1}. /// - public static string URIValueNotFound { - get { + public static string URIValueNotFound + { + get + { return ResourceManager.GetString("URIValueNotFound", resourceCulture); } } @@ -1461,80 +1735,98 @@ public static string TargetRGUnmanagedRestoreDuplicateParamsException /// /// Looks up a localized string similar to VirtualMachineId is NULL or Empty. Please enter valid VirtualMachineId. /// - public static string VirtualMachineIdIsEmptyOrNull { - get { + public static string VirtualMachineIdIsEmptyOrNull + { + get + { return ResourceManager.GetString("VirtualMachineIdIsEmptyOrNull", resourceCulture); } } - + /// /// Looks up a localized string similar to VM {0} is not yet discovered. Triggering Discovery. /// - public static string VMNotDiscovered { - get { + public static string VMNotDiscovered + { + get + { return ResourceManager.GetString("VMNotDiscovered", resourceCulture); } } - + /// /// Looks up a localized string similar to Received WebException, Response: {0}, Status: {1}. /// - public static string WebException { - get { + public static string WebException + { + get + { return ResourceManager.GetString("WebException", resourceCulture); } } - + /// /// Looks up a localized string similar to For a weekly retention policy, DaysOfTheWeek is mandatory and should not contain duplicate entries. /// - public static string WeeklyRetentionScheduleDaysOfWeekException { - get { + public static string WeeklyRetentionScheduleDaysOfWeekException + { + get + { return ResourceManager.GetString("WeeklyRetentionScheduleDaysOfWeekException", resourceCulture); } } - + /// /// Looks up a localized string similar to If Weekly backup schedule is enabled, then IsDailyScheduleEnabled should be false and Weekly retention schedule should not be null, IsWeeklyScheduleEnabled should be true. /// - public static string WeeklyRetentionScheduleNullException { - get { + public static string WeeklyRetentionScheduleNullException + { + get + { return ResourceManager.GetString("WeeklyRetentionScheduleNullException", resourceCulture); } } - + /// /// Looks up a localized string similar to For a weekly backup schedule, DaysOfWeek parameter is mandatory. /// - public static string WeeklyScheduleDaysOfWeekException { - get { + public static string WeeklyScheduleDaysOfWeekException + { + get + { return ResourceManager.GetString("WeeklyScheduleDaysOfWeekException", resourceCulture); } } - + /// /// Looks up a localized string similar to RetentionPolicy: IsWeeklyScheduleEnabled=true but WeeklySchedule is NULL. /// - public static string WeeklyScheduleEnabledButScheduleIsNullException { - get { + public static string WeeklyScheduleEnabledButScheduleIsNullException + { + get + { return ResourceManager.GetString("WeeklyScheduleEnabledButScheduleIsNullException", resourceCulture); } } - + /// /// Looks up a localized string similar to RetentionPolicy: IsYearlyScheduleEnabled=true but YearlySchedule is NULL. /// - public static string YearlyScheduleEnabledButScheduleIsNullException { - get { + public static string YearlyScheduleEnabledButScheduleIsNullException + { + get + { return ResourceManager.GetString("YearlyScheduleEnabledButScheduleIsNullException", resourceCulture); } } - + /// /// Looks up a localized string similar to MonthsOfYear list in YearlyRetentionSchedule should not be NULL and not contain duplicate entires. /// - public static string YearlyScheduleMonthsOfYearException { - get { + public static string YearlyScheduleMonthsOfYearException + { + get + { return ResourceManager.GetString("YearlyScheduleMonthsOfYearException", resourceCulture); } } @@ -1560,5 +1852,6 @@ public static string TargetVaultStorageRedundancy return ResourceManager.GetString("TargetVaultStorageRedundancy", resourceCulture); } } + } } diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs index 0246dd81fb74..348576f51fe8 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs @@ -451,7 +451,7 @@ public RestAzureNS.AzureOperationResponse TriggerRestore() RestoreDiskLunList = restoreDiskLUNS, DiskEncryptionSetId = DiskEncryptionSetId }; - + RestoreRequestResource triggerRestoreRequest = new RestoreRequestResource(); triggerRestoreRequest.Properties = restoreRequest; diff --git a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.cs b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.cs index d398d10e36ea..ad128b5dd23d 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.cs @@ -149,7 +149,7 @@ public void TestAzureRSVaultMSI() _logger, PsBackupProviderTypes.IaasVm, "Test-AzureRSVaultMSI"); } - [Fact(Skip = "to be fixed in upcoming release")] + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] [Trait(TestConstants.Workload, TestConstants.AzureVM)] public void TestAzureVMCrossRegionRestore() diff --git a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 index 56d80397a860..edddcf9fcfac 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 +++ b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 @@ -14,7 +14,7 @@ function Test-AzureVMCrossRegionRestore { - $location = "southeastasia" + $location = "centraluseuap" $resourceGroupName = Create-ResourceGroup $location 24 try @@ -25,10 +25,6 @@ function Test-AzureVMCrossRegionRestore # waiting for service to reflect Start-TestSleep 20000 - # Assert that the vault isn't CRR enabled - $crr = Get-AzRecoveryServicesBackupProperty -Vault $vault - Assert-True { $crr.CrossRegionRestore -eq $false } - # Enable CRR Set-AzRecoveryServicesBackupProperty -Vault $vault -EnableCrossRegionRestore diff --git a/src/RecoveryServices/RecoveryServices.Backup.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Backup.Test.ScenarioTests.ItemTests/TestAzureVMCrossRegionRestore.json b/src/RecoveryServices/RecoveryServices.Backup.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Backup.Test.ScenarioTests.ItemTests/TestAzureVMCrossRegionRestore.json new file mode 100644 index 000000000000..94c588f1b080 --- /dev/null +++ b/src/RecoveryServices/RecoveryServices.Backup.Test/SessionRecords/Microsoft.Azure.Commands.RecoveryServices.Backup.Test.ScenarioTests.ItemTests/TestAzureVMCrossRegionRestore.json @@ -0,0 +1,947 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/PSTestRGfeaf2bf324?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlZ3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4009d6ea-2620-42ee-bc8f-cccaca2ff05e" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "8ee2f374-709a-48b0-b510-59e212a3c139" + ], + "x-ms-correlation-request-id": [ + "8ee2f374-709a-48b0-b510-59e212a3c139" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083143Z:8ee2f374-709a-48b0-b510-59e212a3c139" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:31:43 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "110" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceGroupNotFound\",\r\n \"message\": \"Resource group 'PSTestRGfeaf2bf324' could not be found.\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/PSTestRGfeaf2bf324?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlZ3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d9408468-30be-482d-ae18-3321d0d41b1b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "5f17310e-7050-4c6e-bdd7-1d1f46e1a796" + ], + "x-ms-correlation-request-id": [ + "5f17310e-7050-4c6e-bdd7-1d1f46e1a796" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083250Z:5f17310e-7050-4c6e-bdd7-1d1f46e1a796" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:32:49 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "196" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324\",\r\n \"name\": \"PSTestRGfeaf2bf324\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/PSTestRGfeaf2bf324?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlZ3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"centraluseuap\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2aaa1811-f37d-468f-966a-a098c8f45526" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "35" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "f44c3c8a-ba1e-4c10-bdfa-b715d7d10e24" + ], + "x-ms-correlation-request-id": [ + "f44c3c8a-ba1e-4c10-bdfa-b715d7d10e24" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083147Z:f44c3c8a-ba1e-4c10-bdfa-b715d7d10e24" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:31:46 GMT" + ], + "Content-Length": [ + "196" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324\",\r\n \"name\": \"PSTestRGfeaf2bf324\",\r\n \"location\": \"centraluseuap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzL1BTVGVzdFJTVmZlYWYyYmYzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "63a651e2-dee7-43a5-b81b-0e55c9c0ec40" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient/4.3.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "70cc1d67-c0d7-44c7-9168-13b9469cf079" + ], + "x-ms-correlation-request-id": [ + "70cc1d67-c0d7-44c7-9168-13b9469cf079" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083148Z:70cc1d67-c0d7-44c7-9168-13b9469cf079" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:31:48 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "241" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3' under resource group 'PSTestRGfeaf2bf324' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzL1BTVGVzdFJTVmZlYWYyYmYzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {},\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n },\r\n \"location\": \"centraluseuap\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e951e262-29c3-47aa-97c9-8a4e1436d2c6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient/4.3.1.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "98" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-request-id": [ + "a52e20d0-be85-43cb-9ad2-a4796c05def1" + ], + "x-ms-client-request-id": [ + "e951e262-29c3-47aa-97c9-8a4e1436d2c6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "209" + ], + "x-ms-correlation-request-id": [ + "a52e20d0-be85-43cb-9ad2-a4796c05def1" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083159Z:a52e20d0-be85-43cb-9ad2-a4796c05def1" + ], + "Date": [ + "Fri, 15 Jan 2021 08:31:58 GMT" + ], + "Content-Length": [ + "468" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"location\": \"centraluseuap\",\r\n \"name\": \"PSTestRSVfeaf2bf3\",\r\n \"etag\": \"W/\\\"datetime'2021-01-15T08%3A31%3A57.4257572Z'\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointStateForBackup\": \"None\",\r\n \"privateEndpointStateForSiteRecovery\": \"None\"\r\n },\r\n \"id\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults\",\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3/backupstorageconfig/vaultstorageconfig?api-version=2018-12-20", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzL1BTVGVzdFJTVmZlYWYyYmYzL2JhY2t1cHN0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTgtMTItMjA=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"crossRegionRestoreFlag\": true\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9c955d9a-9963-40bf-a3fb-4191770f2acc" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.Backup.RecoveryServicesBackupClient/4.1.3.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "64" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-request-id": [ + "b1017a93-684d-42ad-a659-bf31b8f8e464" + ], + "x-ms-client-request-id": [ + "9c955d9a-9963-40bf-a3fb-4191770f2acc" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "b1017a93-684d-42ad-a659-bf31b8f8e464" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083221Z:b1017a93-684d-42ad-a659-bf31b8f8e464" + ], + "Date": [ + "Fri, 15 Jan 2021 08:32:21 GMT" + ], + "Content-Length": [ + "280" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Could not perform the operation as VM no longer exists.\\r\\nStop protecting virtual machine without deleting backup data. More details at http://go.microsoft.com/fwlink/?LinkId=808124 \",\r\n \"target\": null,\r\n \"details\": null,\r\n \"innerError\": null\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3/backupstorageconfig/vaultstorageconfig?api-version=2018-12-20", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzL1BTVGVzdFJTVmZlYWYyYmYzL2JhY2t1cHN0b3JhZ2Vjb25maWcvdmF1bHRzdG9yYWdlY29uZmlnP2FwaS12ZXJzaW9uPTIwMTgtMTItMjA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "561847fa-e932-40c8-95b7-3a8e077753ae" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.Backup.RecoveryServicesBackupClient/4.1.3.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-request-id": [ + "d3dc2537-58e0-4ae2-917e-4f238b3dc814" + ], + "x-ms-client-request-id": [ + "561847fa-e932-40c8-95b7-3a8e077753ae", + "561847fa-e932-40c8-95b7-3a8e077753ae" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "149" + ], + "x-ms-correlation-request-id": [ + "d3dc2537-58e0-4ae2-917e-4f238b3dc814" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083249Z:d3dc2537-58e0-4ae2-917e-4f238b3dc814" + ], + "Date": [ + "Fri, 15 Jan 2021 08:32:49 GMT" + ], + "Content-Length": [ + "472" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3/backupstorageconfig/vaultstorageconfig\",\r\n \"name\": \"vaultstorageconfig\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults/backupstorageconfig\",\r\n \"properties\": {\r\n \"storageModelType\": \"GeoRedundant\",\r\n \"storageType\": \"GeoRedundant\",\r\n \"dedupState\": \"Disabled\",\r\n \"xcoolState\": \"Disabled\",\r\n \"storageTypeState\": \"Unlocked\",\r\n \"crossRegionRestoreFlag\": true\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4c2078ce-4934-4247-9f10-f304a7a44da5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient/4.3.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-request-id": [ + "53809e61-cc0c-4e43-8a97-a67ce7a169fe" + ], + "x-ms-client-request-id": [ + "4c2078ce-4934-4247-9f10-f304a7a44da5" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "53809e61-cc0c-4e43-8a97-a67ce7a169fe" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083251Z:53809e61-cc0c-4e43-8a97-a67ce7a169fe" + ], + "Date": [ + "Fri, 15 Jan 2021 08:32:51 GMT" + ], + "Content-Length": [ + "480" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"location\": \"centraluseuap\",\r\n \"name\": \"PSTestRSVfeaf2bf3\",\r\n \"etag\": \"W/\\\"datetime'2021-01-15T08%3A31%3A57.4257572Z'\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"privateEndpointStateForBackup\": \"None\",\r\n \"privateEndpointStateForSiteRecovery\": \"None\"\r\n },\r\n \"id\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3\",\r\n \"type\": \"Microsoft.RecoveryServices/vaults\",\r\n \"sku\": {\r\n \"name\": \"Standard\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/Subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3/backupProtectionContainers?$filter=backupManagementType%20eq%20'AzureIaasVM'%20and%20status%20eq%20'Registered'&api-version=2020-10-01", + "EncodedRequestUri": "L1N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzL1BTVGVzdFJTVmZlYWYyYmYzL2JhY2t1cFByb3RlY3Rpb25Db250YWluZXJzPyRmaWx0ZXI9YmFja3VwTWFuYWdlbWVudFR5cGUlMjBlcSUyMCdBenVyZUlhYXNWTSclMjBhbmQlMjBzdGF0dXMlMjBlcSUyMCdSZWdpc3RlcmVkJyZhcGktdmVyc2lvbj0yMDIwLTEwLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c56956b6-bea4-4fd0-9798-55f6f8166186" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.Backup.RecoveryServicesBackupClient/4.1.3.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-request-id": [ + "92b0fec4-15ea-4ba7-8431-d5a0b307939b" + ], + "x-ms-client-request-id": [ + "c56956b6-bea4-4fd0-9798-55f6f8166186", + "c56956b6-bea4-4fd0-9798-55f6f8166186" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server": [ + "Microsoft-IIS/10.0" + ], + "X-Powered-By": [ + "ASP.NET" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "149" + ], + "x-ms-correlation-request-id": [ + "92b0fec4-15ea-4ba7-8431-d5a0b307939b" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083252Z:92b0fec4-15ea-4ba7-8431-d5a0b307939b" + ], + "Date": [ + "Fri, 15 Jan 2021 08:32:51 GMT" + ], + "Content-Length": [ + "12" + ], + "Content-Type": [ + "application/json" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": []\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/PSTestRGfeaf2bf324/providers/Microsoft.RecoveryServices/vaults/PSTestRSVfeaf2bf3?api-version=2016-06-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlR3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyNC9wcm92aWRlcnMvTWljcm9zb2Z0LlJlY292ZXJ5U2VydmljZXMvdmF1bHRzL1BTVGVzdFJTVmZlYWYyYmYzP2FwaS12ZXJzaW9uPTIwMTYtMDYtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cfbdebde-5953-446f-8c49-b5eeb6414558" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient/4.3.1.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "x-ms-request-id": [ + "cd242aef-35a0-48a3-955f-c57234cdf817" + ], + "x-ms-client-request-id": [ + "cfbdebde-5953-446f-8c49-b5eeb6414558" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ + "9" + ], + "x-ms-correlation-request-id": [ + "cd242aef-35a0-48a3-955f-c57234cdf817" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083259Z:cd242aef-35a0-48a3-955f-c57234cdf817" + ], + "Date": [ + "Fri, 15 Jan 2021 08:32:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/PSTestRGfeaf2bf324?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL3Jlc291cmNlZ3JvdXBzL1BTVGVzdFJHZmVhZjJiZjMyND9hcGktdmVyc2lvbj0yMDE2LTA5LTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6a216061-a99d-4025-9eb8-4255fe23ae8b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "f654cad4-8bab-45ad-a30d-8376cc2faa51" + ], + "x-ms-correlation-request-id": [ + "f654cad4-8bab-45ad-a30d-8376cc2faa51" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083304Z:f654cad4-8bab-45ad-a30d-8376cc2faa51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:33:04 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSMFpGUVVZeVFrWXpNalF0UTBWT1ZGSkJURlZUUlZWQlVDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaVkyVnVkSEpoYkhWelpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "026d3818-6ddc-4a7d-b889-42754ec741bb" + ], + "x-ms-correlation-request-id": [ + "026d3818-6ddc-4a7d-b889-42754ec741bb" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083320Z:026d3818-6ddc-4a7d-b889-42754ec741bb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:33:19 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSMFpGUVVZeVFrWXpNalF0UTBWT1ZGSkJURlZUUlZWQlVDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaVkyVnVkSEpoYkhWelpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "5aa0df2c-1ec6-4b26-8524-3ec874680dd4" + ], + "x-ms-correlation-request-id": [ + "5aa0df2c-1ec6-4b26-8524-3ec874680dd4" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083335Z:5aa0df2c-1ec6-4b26-8524-3ec874680dd4" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:33:35 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSMFpGUVVZeVFrWXpNalF0UTBWT1ZGSkJURlZUUlZWQlVDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaVkyVnVkSEpoYkhWelpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "aeea0cf2-0d1e-4690-897a-3c8e719b62a9" + ], + "x-ms-correlation-request-id": [ + "aeea0cf2-0d1e-4690-897a-3c8e719b62a9" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083351Z:aeea0cf2-0d1e-4690-897a-3c8e719b62a9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:33:50 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1QU1RFU1RSR0ZFQUYyQkYzMjQtQ0VOVFJBTFVTRVVBUCIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMzgzMDRlMTMtMzU3ZS00MDVlLTllOWEtMjIwMzUxZGNjZThjL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFRVTFSRlUxUlNSMFpGUVVZeVFrWXpNalF0UTBWT1ZGSkJURlZUUlZWQlVDSXNJbXB2WWt4dlkyRjBhVzl1SWpvaVkyVnVkSEpoYkhWelpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.30" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "bf11657f-e10b-4e58-9996-a01a05e2f886" + ], + "x-ms-correlation-request-id": [ + "bf11657f-e10b-4e58-9996-a01a05e2f886" + ], + "x-ms-routing-request-id": [ + "WESTINDIA:20210115T083351Z:bf11657f-e10b-4e58-9996-a01a05e2f886" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Fri, 15 Jan 2021 08:33:51 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "NamingSuffix": "feaf2bf3-6e14-400f-9c23-cd5cfa242375" + } +} \ No newline at end of file diff --git a/src/RecoveryServices/RecoveryServices.Backup/Cmdlets/Restore/RestoreAzureRMRecoveryServicesBackupItem.cs b/src/RecoveryServices/RecoveryServices.Backup/Cmdlets/Restore/RestoreAzureRMRecoveryServicesBackupItem.cs index 1dcf6f825d88..a0b5e17f0243 100644 --- a/src/RecoveryServices/RecoveryServices.Backup/Cmdlets/Restore/RestoreAzureRMRecoveryServicesBackupItem.cs +++ b/src/RecoveryServices/RecoveryServices.Backup/Cmdlets/Restore/RestoreAzureRMRecoveryServicesBackupItem.cs @@ -208,14 +208,12 @@ public class RestoreAzureRmRecoveryServicesBackupItem : RSBackupVaultCmdletBase public SwitchParameter RestoreAsUnmanagedDisks { get; set; } /// - /// Disk Encryption Set to encrypt the restored VM // add more param sets + /// Disk Encryption Set to encrypt the restored VM /// [Parameter(Mandatory = false, ParameterSetName = AzureVMParameterSet, HelpMessage = ParamHelpMsgs.Encryption.DES)] [Parameter(Mandatory = false, ParameterSetName = AzureVMManagedDiskParameterSet, HelpMessage = ParamHelpMsgs.Encryption.DES)] - /* [Parameter(Mandatory = false, ParameterSetName = AzureVMRestoreManagedAsUnmanaged, - HelpMessage = ParamHelpMsgs.RestoreFS.MultipleSourceFilePath)]*/ public string DiskEncryptionSetId { get; set; } /// @@ -270,7 +268,7 @@ public override void ExecuteCmdlet() { providerParameters.Add(RestoreVMBackupItemParams.DiskEncryptionSetId, DiskEncryptionSetId); } - } + } if (StorageAccountName != null) { diff --git a/src/RecoveryServices/RecoveryServices/ChangeLog.md b/src/RecoveryServices/RecoveryServices/ChangeLog.md index 46a1a3fdd85f..11ef431f48c3 100644 --- a/src/RecoveryServices/RecoveryServices/ChangeLog.md +++ b/src/RecoveryServices/RecoveryServices/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Added Zone Redundancy for Recovery Service Vaults. ## Version 3.3.0 * Added Cross Region Restore feature. diff --git a/src/RecoveryServices/RecoveryServices/Models/PSObjects.cs b/src/RecoveryServices/RecoveryServices/Models/PSObjects.cs index 6af96074f83c..6919401c5229 100644 --- a/src/RecoveryServices/RecoveryServices/Models/PSObjects.cs +++ b/src/RecoveryServices/RecoveryServices/Models/PSObjects.cs @@ -205,6 +205,7 @@ public VaultSettingsFilePath() public enum AzureRmRecoveryServicesBackupStorageRedundancyType { GeoRedundant = 1, + ZoneRedundant, LocallyRedundant } diff --git a/src/RecoveryServices/RecoveryServices/Vault/SetAzureRmRecoveryServicesBackupProperties.cs b/src/RecoveryServices/RecoveryServices/Vault/SetAzureRmRecoveryServicesBackupProperties.cs index 3869bd7c4933..66cbad8bfc01 100644 --- a/src/RecoveryServices/RecoveryServices/Vault/SetAzureRmRecoveryServicesBackupProperties.cs +++ b/src/RecoveryServices/RecoveryServices/Vault/SetAzureRmRecoveryServicesBackupProperties.cs @@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices /// /// Sets Azure Recovery Services Vault Backup Properties. /// - [GenericBreakingChange("Set-AzRecoveryServicesBackupProperties alias will be removed in an upcoming breaking change release", "2.0.0")] + [GenericBreakingChange("Please use singular alias Set-AzRecoveryServicesBackupProperty, as Set-AzRecoveryServicesBackupProperties alias will be removed in an upcoming breaking change release", "4.0.0")] [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "RecoveryServicesBackupProperty", SupportsShouldProcess = true), OutputType(typeof(void))] [Alias("Set-AzRecoveryServicesBackupProperties")] public class SetAzureRmRecoveryServicesBackupProperties : RecoveryServicesCmdletBase diff --git a/src/RecoveryServices/RecoveryServices/help/Restore-AzRecoveryServicesBackupItem.md b/src/RecoveryServices/RecoveryServices/help/Restore-AzRecoveryServicesBackupItem.md index 644b777f7f85..885f9cf6e75d 100644 --- a/src/RecoveryServices/RecoveryServices/help/Restore-AzRecoveryServicesBackupItem.md +++ b/src/RecoveryServices/RecoveryServices/help/Restore-AzRecoveryServicesBackupItem.md @@ -495,6 +495,38 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DiskEncryptionSetId + +The DES ID to encrypt the restored disks. + +```yaml +Type: System.String +Parameter Sets: AzureVMParameterSet, AzureVMManagedDiskParameterSet +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreToSecondaryRegion + +Use this switch to trigger the Cross region restore to secondary region. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AzureIaasVM +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -VaultId ARM ID of the Recovery Services Vault. diff --git a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperty.md b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperty.md index bf523a2d8f30..b70ae7f18ae6 100644 --- a/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperty.md +++ b/src/RecoveryServices/RecoveryServices/help/Set-AzRecoveryServicesBackupProperty.md @@ -41,7 +41,7 @@ Specifies the backup storage redundancy type. Type: System.Nullable`1[Microsoft.Azure.Commands.RecoveryServices.AzureRmRecoveryServicesBackupStorageRedundancyType] Parameter Sets: (All) Aliases: -Accepted values: GeoRedundant, LocallyRedundant +Accepted values: GeoRedundant, ZoneRedundant, LocallyRedundant Required: False Position: Named