From 82028ea31ef07084d3649a87a40fe4216312f6c0 Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Mon, 30 Jun 2025 21:34:09 +0200 Subject: [PATCH] fix spelling --- .../AzureWorkloadProviderHelper.cs | 6 ++--- .../Providers/AzureFilesPsBackupProvider.cs | 2 +- .../AzureWorkloadPsBackupProvider.cs | 2 +- .../Providers/IaasVmPsBackupProvider.cs | 6 ++--- .../PsBackupProviderManager.cs | 2 +- .../BMSAPIs/RestoreDiskAPIs.cs | 2 +- .../BMSAPIs/VaultAPIs.cs | 12 +++++----- .../ScenarioTests/AzureFiles/ItemTests.ps1 | 8 +++---- .../ScenarioTests/IaasVm/ItemTests.ps1 | 4 ++-- .../ScenarioTests/A2A/AsrA2ATests.cs | 6 ++--- .../ScenarioTests/A2A/AsrA2ATests.ps1 | 4 ++-- .../ScenarioTests/B2A/AsrB2ATests.ps1 | 12 +++++----- .../ScenarioTests/E2A/AsrE2ATests.ps1 | 12 +++++----- .../ScenarioTests/E2E/AsrE2ETests.ps1 | 12 +++++----- .../Common/PSAsrClient.cs | 2 +- .../Common/PSAsrProtectionClustersClient.cs | 14 +++++------ .../PSAsrReplicationProtectedItemsClient.cs | 24 +++++++++---------- .../Models/PSConstants.cs | 4 ++-- .../Models/PSFabricDetails.cs | 4 ++-- .../Models/PSObjects.cs | 6 ++--- .../Models/PSVCenter.cs | 2 +- .../NewAzureRmAsrVmNicConfig.cs | 2 +- .../UpdateAzureRmRecoveryServicesAsrPolicy.cs | 8 +++---- .../Properties/Resources.Designer.cs | 6 ++--- .../Properties/Resources.resx | 6 ++--- ...coveryServicesAsrClusterTestFailoverJob.cs | 4 ++-- ...yServicesAsrClusterUnplannedFailoverJob.cs | 2 +- ...ryServicesAsrProtectionContainerMapping.cs | 2 +- ...coveryServicesAsrTestFailoverCleanupJob.cs | 2 +- .../Utilities/Utilities.cs | 2 +- ...tAzureRmRecoveryServicesAsrVaultContext.cs | 2 +- 31 files changed, 91 insertions(+), 91 deletions(-) diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs index 416ab1a474c6..4ec72b6f229c 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/AzureWorkloadProviderHelper.cs @@ -441,7 +441,7 @@ public void ValidateAFSSchedulePolicy(CmdletModel.SimpleSchedulePolicy policy) DateTime finalBackupTime = new DateTime(windowStartTime.Year, windowStartTime.Month, windowStartTime.Day, 23, 30, 00, 00, DateTimeKind.Utc); TimeSpan diff = finalBackupTime - windowStartTime; - // If ScheduleWindowDuration is greator than (23:30 - ScheduleWindowStartTime) then throw exception + // If ScheduleWindowDuration is greater than (23:30 - ScheduleWindowStartTime) then throw exception if (diff.TotalHours < policy.ScheduleWindowDuration) { throw new ArgumentException(String.Format(Resources.InvalidLastBackupTime)); @@ -706,7 +706,7 @@ public long calculateRPO(ProtectionPolicyResource policy) { // (Interval < ScheduleWindowDuration) // Interval can be { 4, 6, 8, 12 } only and schedule can be 4 to 23. - // First calculate how many RPs will be created in the day. which will be schedule/Interval + 1. Only exception is when Interval == Schdule. there Number of RP in a day == 1. + // First calculate how many RPs will be created in the day. which will be schedule/Interval + 1. Only exception is when Interval == Schedule. there Number of RP in a day == 1. // eg schedule is 5 and interval is 4. then we will have 2 RP one at 00 and another at 04 hours. // Once we have RP count then we can calculate RPO. var hourlySchedule = schedulePolicyAFS.HourlySchedule; @@ -1047,7 +1047,7 @@ public List ListRecoveryPoints(Dictionary Provi }).ToList(); } - // filter move readness based on target tier + // filter move readiness based on target tier recoveryPointList = RecoveryPointConversions.CheckRPMoveReadiness(recoveryPointList, targetTier, isReadyForMove); //filter RPs based on tier diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureFilesPsBackupProvider.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureFilesPsBackupProvider.cs index 16f8dd208d78..0a274d9845c8 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureFilesPsBackupProvider.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureFilesPsBackupProvider.cs @@ -642,7 +642,7 @@ private WorkloadProtectableItemResource GetAzureFileShareProtectableObject( Logger.Instance.WriteDebug("Storage account was already registered"); } - //get unregistered storage account, trigger dicovery if not found. + //get unregistered storage account, trigger discovery if not found. bool isBreak = false; bool isRefreshed = false; // have we triggered discovery yet while (!isRegistered && !isBreak ) diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureWorkloadPsBackupProvider.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureWorkloadPsBackupProvider.cs index e06e31f7c123..dc4ac99c70b6 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureWorkloadPsBackupProvider.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/AzureWorkloadPsBackupProvider.cs @@ -652,7 +652,7 @@ public RestAzureNS.AzureOperationResponse TriggerRestore() if (triggerRestoreRequest.Properties.GetType().Equals("AzureWorkloadSQLPointInTimeRestoreRequest")) { - Logger.Instance.WriteWarning("Rehyrate restore isn't supported for AzureWorkloadSQLPointInTimeRestore "); + Logger.Instance.WriteWarning("Rehydrate restore isn't supported for AzureWorkloadSQLPointInTimeRestore "); } else { diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs index 8ae32c9f16f6..9d98472a1209 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/Providers/IaasVmPsBackupProvider.cs @@ -1391,7 +1391,7 @@ public SchedulePolicyBase GetDefaultSchedulePolicyObject() { CmdletModel.SimpleSchedulePolicyV2 defaultSchedule = new CmdletModel.SimpleSchedulePolicyV2(); - //Default is daily scedule at 10:30 AM local time + //Default is daily schedule at 10:30 AM local time defaultSchedule.ScheduleRunFrequency = scheduleRunFrequency; DateTime scheduleTime = AzureWorkloadProviderHelper.GenerateRandomScheduleTime(); @@ -1429,7 +1429,7 @@ public SchedulePolicyBase GetDefaultSchedulePolicyObject() { CmdletModel.SimpleSchedulePolicy defaultSchedule = new CmdletModel.SimpleSchedulePolicy(); - //Default is daily scedule at 10:30 AM local time + //Default is daily schedule at 10:30 AM local time defaultSchedule.ScheduleRunFrequency = scheduleRunFrequency; if (scheduleRunFrequency == CmdletModel.ScheduleRunType.Daily || scheduleRunFrequency == CmdletModel.ScheduleRunType.Weekly) @@ -2007,7 +2007,7 @@ private string ReplacePasswordInScriptContentAndReturn(ref string content) Regex rgx = new Regex(pattern); content = rgx.Replace(content, replacement); - // ecode back to Base 64 format + // decode back to Base 64 format contentBytes = Encoding.UTF8.GetBytes(content); content = Convert.ToBase64String(contentBytes); diff --git a/src/RecoveryServices/RecoveryServices.Backup.Providers/PsBackupProviderManager.cs b/src/RecoveryServices/RecoveryServices.Backup.Providers/PsBackupProviderManager.cs index 56f4671fd545..64355469261c 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Providers/PsBackupProviderManager.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.Providers/PsBackupProviderManager.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices.Backup.Cmdlets.ProviderModel { /// - /// This class implements provider intialization based on workload + /// This class implements provider initialization based on workload /// and backup management type. /// public class PsBackupProviderManager diff --git a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RestoreDiskAPIs.cs b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RestoreDiskAPIs.cs index 94081eb21abf..8ecc0a512237 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RestoreDiskAPIs.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/RestoreDiskAPIs.cs @@ -51,7 +51,7 @@ public RestAzureNS.AzureOperationResponse RestoreDisk( string containerUri = HelperUtils.GetContainerUri(uriDict, rp.Id); string protectedItemUri = HelperUtils.GetProtectedItemUri(uriDict, rp.Id); string recoveryPointId = rp.RecoveryPointId; - //validtion block + //validation block if (!triggerRestoreRequest.Properties.GetType().IsSubclassOf(typeof(AzureWorkloadRestoreRequest))) { if (storageAccountLocation != vaultLocation && rp.BackupManagementType != Models.BackupManagementType.AzureStorage) diff --git a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/VaultAPIs.cs b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/VaultAPIs.cs index e22fd636403e..7831700da914 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/VaultAPIs.cs +++ b/src/RecoveryServices/RecoveryServices.Backup.ServiceClientAdapter/BMSAPIs/VaultAPIs.cs @@ -88,7 +88,7 @@ public BackupResourceVaultConfigResource GetVaultProperty(string vaultName, stri /// /// Method to Get Azure Recovery Services Vault Backup Properties /// - /// Name of the resouce group + /// Name of the resource group /// Name of the vault /// Azure Resource Storage response object. public BackupResourceConfigResource GetVaultStorageType(string resouceGroupName, string vaultName) @@ -100,7 +100,7 @@ public BackupResourceConfigResource GetVaultStorageType(string resouceGroupName, /// /// Method to Get Azure Recovery Services Vault Encryption Properties /// - /// Name of the resouce group + /// Name of the resource group /// Name of the vault /// Azure Resource Encryption response object. public BackupResourceEncryptionConfigExtendedResource GetVaultEncryptionConfig(string resouceGroupName, string vaultName) @@ -127,7 +127,7 @@ public BackupResourceEncryptionConfigExtendedResource GetVaultEncryptionConfig(s /// /// Method to Update Azure Recovery Services Vault Encryption Properties /// - /// Name of the resouce group + /// Name of the resource group /// Name of the vault /// update encryption config /// Azure Resource Encryption response object. @@ -141,7 +141,7 @@ public RestAzureNS.AzureOperationResponse UpdateVaultEncryptionConfig(string res /// /// Method to Update Azure Recovery Services Vault Encryption Properties /// - /// Name of the resouce group + /// Name of the resource group /// Name of the vault /// update encryption config /// Azure Resource Encryption response object. @@ -155,7 +155,7 @@ public RestAzureNS.AzureOperationResponse UpdateVaultEncryption(string resouceGr /// /// Method to get Recovery Services Vault. /// - /// Name of the resouce group + /// Name of the resource group /// Name of the vault /// Azure Recovery Services Vault public ARSVault GetVault(string resouceGroupName, string vaultName) @@ -170,7 +170,7 @@ public ARSVault GetVault(string resouceGroupName, string vaultName) /// /// Method to create or update Recovery Services Vault. /// - /// Name of the resouce group + /// Name of the resource group /// Name of the vault /// patch vault object to patch the recovery services Vault /// Auxiliary access token for authorization diff --git a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/AzureFiles/ItemTests.ps1 b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/AzureFiles/ItemTests.ps1 index c44f3883103a..9a5c069707a3 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/AzureFiles/ItemTests.ps1 +++ b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/AzureFiles/ItemTests.ps1 @@ -421,7 +421,7 @@ function Test-AzureFSFullRestore Assert-True { $restoreJob.Status -eq "Completed" } - # Test without storage account dependancy + # Test without storage account dependency # Item level restore at alternate location $restoreJob1 = Restore-AzRecoveryServicesBackupItem ` -VaultId $vault.ID ` @@ -438,7 +438,7 @@ function Test-AzureFSFullRestore Assert-True { $restoreJob1.Status -eq "Completed" } - # Test without storage account dependancy + # Test without storage account dependency # Full share restore at alternate location $restoreJob2 = Restore-AzRecoveryServicesBackupItem ` -VaultId $vault.ID ` @@ -452,7 +452,7 @@ function Test-AzureFSFullRestore $restoreJob2 = $restoreJob2 | Wait-AzRecoveryServicesBackupJob -VaultId $vault.ID Assert-True { $restoreJob2.Status -eq "Completed" } - # Test without storage account dependancy + # Test without storage account dependency # Item level restore at original location $restoreJob3 = Restore-AzRecoveryServicesBackupItem ` -VaultId $vault.ID ` @@ -466,7 +466,7 @@ function Test-AzureFSFullRestore Assert-True { $restoreJob3.Status -eq "Completed" } - # Test without storage account dependancy + # Test without storage account dependency # Full share restore at original location $restoreJob4 = Restore-AzRecoveryServicesBackupItem ` -VaultId $vault.ID ` diff --git a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 index f8edfaa2c01f..4a16f77ce193 100644 --- a/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 +++ b/src/RecoveryServices/RecoveryServices.Backup.Test/ScenarioTests/IaasVm/ItemTests.ps1 @@ -398,7 +398,7 @@ function Test-AzureVMMUA $item = Get-AzRecoveryServicesBackupItem -VaultId $vault.ID -BackupManagementType AzureVM -WorkloadType AzureVM | Where-Object { $_.Name -match $vmFriendlyName } Enable-AzRecoveryServicesBackupProtection -Item $item -Policy $pol -VaultId $vault.ID - # Start Suspend Bakcup scenario with MUA + # Start Suspend Backup scenario with MUA $updateVault = Update-AzRecoveryServicesVault -ResourceGroupName $resourceGroupName -Name $vault.Name -ImmutabilityState Unlocked Assert-True { $updateVault.Properties.ImmutabilitySettings.ImmutabilityState -eq "Unlocked" } @@ -415,7 +415,7 @@ function Test-AzureVMMUA } finally { - # dsiable softDelete + # disable softDelete Set-AzRecoveryServicesVaultProperty -SoftDeleteFeatureState Disable -VaultId $vault.ID #disable protection with RemoveRecoveryPoints diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.cs index 8a8f2eb7174b..6e902eaf75c6 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.cs @@ -259,7 +259,7 @@ public void A2AClutserTestFailoverAndFailoverCleanupJob() "Test-ClusterTestFailoverAndFailoverCleanupJob"); } - [Fact(Skip = "to be re-recorded in next revsion.")] + [Fact(Skip = "to be re-recorded in next revision.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void A2AClutserUnplannedFailoverJob() { @@ -269,7 +269,7 @@ public void A2AClutserUnplannedFailoverJob() "Test-ClusterUnplannedFailoverJob"); } - [Fact(Skip = "to be re-recorded in next revsion.")] + [Fact(Skip = "to be re-recorded in next revision.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void A2AApplyClusterRecoveryPoint() { @@ -279,7 +279,7 @@ public void A2AApplyClusterRecoveryPoint() "Test-ApplyClusterRecoveryPoint"); } - [Fact(Skip = "to be re-recorded in next revsion.")] + [Fact(Skip = "to be re-recorded in next revision.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void A2AClusterCommitFailoverJob() { diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.ps1 b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.ps1 index 894ef344f3a7..deb201d5859f 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.ps1 +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.ps1 @@ -934,7 +934,7 @@ function Test-ReplicateProximityPlacementGroupVm { $job = New-AzRecoveryServicesAsrNetworkMapping -AzureToAzure -Name $primaryNetMapping -PrimaryFabric $pf -PrimaryAzureNetworkId $PrimaryAzureNetworkId -RecoveryFabric $rf -RecoveryAzureNetworkId $RecoveryAzureNetworkId WaitForJobCompletion -JobId $job.Name - #Reverse Conatiner mapping + #Reverse Container mapping $job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $recMappingName -Policy $policy -PrimaryProtectionContainer $rc -RecoveryProtectionContainer $pc WaitForJobCompletion -JobId $job.Name $revMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $recMappingName -ProtectionContainer $rc @@ -1077,7 +1077,7 @@ function Test-VMNicConfig { $job = New-AzRecoveryServicesAsrNetworkMapping -AzureToAzure -Name $primaryNetMapping -PrimaryFabric $pf -PrimaryAzureNetworkId $PrimaryAzureNetworkId -RecoveryFabric $rf -RecoveryAzureNetworkId $RecoveryAzureNetworkId WaitForJobCompletion -JobId $job.Name - #Reverse Conatiner mapping + #Reverse Container mapping $job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $recMappingName -Policy $policy -PrimaryProtectionContainer $rc -RecoveryProtectionContainer $pc WaitForJobCompletion -JobId $job.Name $revMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $recMappingName -ProtectionContainer $rc diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/B2A/AsrB2ATests.ps1 b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/B2A/AsrB2ATests.ps1 index 129f5fe091ca..d3387210ef0c 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/B2A/AsrB2ATests.ps1 +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/B2A/AsrB2ATests.ps1 @@ -222,7 +222,7 @@ function Test-CreatePCMap $currentJob WaitForJobCompletion -JobId $currentJob.Name - # Get protection conatiner mapping + # Get protection container mapping $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -ProtectionContainer $PrimaryProtectionContainer Assert-NotNull($ProtectionContainerMapping) } @@ -457,10 +457,10 @@ function Test-RemovePCMap # Get the primary container $PrimaryProtectionContainer = Get-AzRecoveryServicesAsrFabric -FriendlyName $PrimaryFabricName| Get-AzRecoveryServicesAsrProtectionContainer | where { $_.FriendlyName -eq $PrimaryProtectionContainerName } - # Get protection conatiner mapping + # Get protection container mapping $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -ProtectionContainer $PrimaryProtectionContainer - # Remove protection conatiner mapping + # Remove protection container mapping $Job = Remove-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainerMapping $ProtectionContainerMapping #WaitForJobCompletion -JobId $Job.Name } @@ -708,7 +708,7 @@ function Test-SiteRecoveryNewModelE2ETest Assert-NotNull($Policy) Assert-NotNull($Policy.Name) - # Get conatiners + # Get containers $PrimaryProtectionContainer = Get-AzRecoveryServicesAsrFabric | Get-AzRecoveryServicesAsrProtectionContainer | where { $_.FriendlyName -eq $PrimaryProtectionContainerName } Assert-NotNull($PrimaryProtectionContainer) Assert-NotNull($PrimaryProtectionContainer.Name) @@ -716,7 +716,7 @@ function Test-SiteRecoveryNewModelE2ETest Assert-NotNull($RecoveryProtectionContainer) Assert-NotNull($RecoveryProtectionContainer.Name) - # Create new Conatiner mapping + # Create new Container mapping $Job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -Policy $Policy -PrimaryProtectionContainer $PrimaryProtectionContainer -RecoveryProtectionContainer $RecoveryProtectionContainer #WaitForJobCompletion -JobId $Job.Name @@ -762,7 +762,7 @@ function Test-SiteRecoveryNewModelE2ETest $Job = Remove-AzRecoveryServicesAsrNetworkMapping -NetworkMapping $NetworkMapping #WaitForJobCompletion -JobId $Job.Name - # Remove conatiner mapping + # Remove container mapping $Job = Remove-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainerMapping $ProtectionContainerMapping #WaitForJobCompletion -JobId $Job.Name $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $PrimaryProtectionContainer | Where-Object {$_.Name -eq $ProtectionContainerMappingName} diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2A/AsrE2ATests.ps1 b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2A/AsrE2ATests.ps1 index c765a4ff5d92..5cd638079aaf 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2A/AsrE2ATests.ps1 +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2A/AsrE2ATests.ps1 @@ -234,7 +234,7 @@ function Test-CreatePCMap $Job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -Policy $Policy -PrimaryProtectionContainer $PrimaryProtectionContainer WaitForJobCompletion -JobId $Job.Name - # Get protection conatiner mapping + # Get protection container mapping $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -ProtectionContainer $PrimaryProtectionContainer Assert-NotNull($ProtectionContainerMapping) } @@ -460,10 +460,10 @@ function Test-RemovePCMap # Get the primary container $PrimaryProtectionContainer = Get-AzRecoveryServicesAsrFabric -FriendlyName $PrimaryFabricName| Get-AzRecoveryServicesAsrProtectionContainer | where { $_.FriendlyName -eq $PrimaryProtectionContainerName } - # Get protection conatiner mapping + # Get protection container mapping $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -ProtectionContainer $PrimaryProtectionContainer - # Remove protection conatiner mapping + # Remove protection container mapping $Job = Remove-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainerMapping $ProtectionContainerMapping #WaitForJobCompletion -JobId $Job.Name } @@ -712,7 +712,7 @@ function Test-SiteRecoveryNewModelE2ETest Assert-NotNull($Policy) Assert-NotNull($Policy.Name) - # Get conatiners + # Get containers $PrimaryProtectionContainer = Get-AzRecoveryServicesAsrFabric | Get-AzRecoveryServicesAsrProtectionContainer | where { $_.FriendlyName -eq $PrimaryProtectionContainerName } Assert-NotNull($PrimaryProtectionContainer) Assert-NotNull($PrimaryProtectionContainer.Name) @@ -720,7 +720,7 @@ function Test-SiteRecoveryNewModelE2ETest Assert-NotNull($RecoveryProtectionContainer) Assert-NotNull($RecoveryProtectionContainer.Name) - # Create new Conatiner mapping + # Create new Container mapping $Job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -Policy $Policy -PrimaryProtectionContainer $PrimaryProtectionContainer -RecoveryProtectionContainer $RecoveryProtectionContainer #WaitForJobCompletion -JobId $Job.Name @@ -766,7 +766,7 @@ function Test-SiteRecoveryNewModelE2ETest $Job = Remove-AzRecoveryServicesAsrNetworkMapping -NetworkMapping $NetworkMapping #WaitForJobCompletion -JobId $Job.Name - # Remove conatiner mapping + # Remove container mapping $Job = Remove-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainerMapping $ProtectionContainerMapping #WaitForJobCompletion -JobId $Job.Name $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $PrimaryProtectionContainer | Where-Object {$_.Name -eq $ProtectionContainerMappingName} diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2E/AsrE2ETests.ps1 b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2E/AsrE2ETests.ps1 index 0574b45d8caa..005a0c16cdd3 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2E/AsrE2ETests.ps1 +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/E2E/AsrE2ETests.ps1 @@ -228,7 +228,7 @@ function Test-CreatePCMap $Job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -Policy $Policy -PrimaryProtectionContainer $PrimaryProtectionContainer -RecoveryProtectionContainer $RecoveryProtectionContainer WaitForJobCompletion -JobId $Job.Name - # Get protection conatiner mapping + # Get protection container mapping $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -ProtectionContainer $PrimaryProtectionContainer Assert-NotNull($ProtectionContainerMapping) } @@ -462,10 +462,10 @@ function Test-RemovePCMap # Get the primary container $PrimaryProtectionContainer = Get-AzRecoveryServicesAsrFabric -FriendlyName $PrimaryFabricName| Get-AzRecoveryServicesAsrProtectionContainer | where { $_.FriendlyName -eq $PrimaryProtectionContainerName } - # Get protection conatiner mapping + # Get protection container mapping $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -ProtectionContainer $PrimaryProtectionContainer - # Remove protection conatiner mapping + # Remove protection container mapping $Job = Remove-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainerMapping $ProtectionContainerMapping #WaitForJobCompletion -JobId $Job.Name } @@ -710,7 +710,7 @@ function Test-SiteRecoveryNewModelE2ETest Assert-NotNull($Policy) Assert-NotNull($Policy.Name) - # Get conatiners + # Get containers $PrimaryProtectionContainer = Get-AzRecoveryServicesAsrFabric | Get-AzRecoveryServicesAsrProtectionContainer | where { $_.FriendlyName -eq $PrimaryProtectionContainerName } Assert-NotNull($PrimaryProtectionContainer) Assert-NotNull($PrimaryProtectionContainer.Name) @@ -718,7 +718,7 @@ function Test-SiteRecoveryNewModelE2ETest Assert-NotNull($RecoveryProtectionContainer) Assert-NotNull($RecoveryProtectionContainer.Name) - # Create new Conatiner mapping + # Create new Container mapping $Job = New-AzRecoveryServicesAsrProtectionContainerMapping -Name $ProtectionContainerMappingName -Policy $Policy -PrimaryProtectionContainer $PrimaryProtectionContainer -RecoveryProtectionContainer $RecoveryProtectionContainer #WaitForJobCompletion -JobId $Job.Name @@ -764,7 +764,7 @@ function Test-SiteRecoveryNewModelE2ETest $Job = Remove-AzRecoveryServicesAsrNetworkMapping -NetworkMapping $NetworkMapping #WaitForJobCompletion -JobId $Job.Name - # Remove conatiner mapping + # Remove container mapping $Job = Remove-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainerMapping $ProtectionContainerMapping #WaitForJobCompletion -JobId $Job.Name $ProtectionContainerMapping = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $PrimaryProtectionContainer | Where-Object {$_.Name -eq $ProtectionContainerMappingName} diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs index 0be4f0bad120..0e584fab6380 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrClient.cs @@ -138,7 +138,7 @@ public PSRecoveryServicesClient( /// Generating that authentication token here and sending it via http headers. /// /// Unique identifier for the client's request - /// Optional , datetime used for header genertion + /// Optional , datetime used for header generation /// The authentication token for the provider public static string GenerateAgentAuthenticationHeader( string clientRequestId, diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionClustersClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionClustersClient.cs index a14d442e96cb..a2ce68bad4ae 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionClustersClient.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrProtectionClustersClient.cs @@ -176,7 +176,7 @@ public PSSiteRecoveryLongRunningOperation RemoveAzureSiteRecoveryReplicationProt /// Resyncs / Repairs Cluster Replication. /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protection Cluster Name. /// Job Response public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryClusterResynchronizeReplication( @@ -203,7 +203,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryClusterResynchro /// Switch the Azure Site Recovery protection entity replication direction. /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Input for Switch /// Job Response public PSSiteRecoveryLongRunningOperation StartSwitchClusterProtection( @@ -230,7 +230,7 @@ public PSSiteRecoveryLongRunningOperation StartSwitchClusterProtection( /// Starts Cluster Unplanned Failover. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protection Cluster Name. /// Input for Cluster Unplanned failover. /// Job Response @@ -260,7 +260,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryClusterUnplanned /// Starts Cluster Test Failover. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protection Cluster Name. /// Input for Cluster Test failover. /// Job Response @@ -290,7 +290,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryClusterTestFailo /// Starts Cluster Test Failover Cleanup. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protection Cluster Name. /// Input for Cluster Test failover cleanup. /// Job Response @@ -320,7 +320,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryClusterTestFailo /// Start Cluster Apply Recovery Point. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protection Cluster Name. /// Input for Cluster Apply recovery point. /// Job Response @@ -350,7 +350,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryApplyClusterReco /// Starts Cluster Commit Failover. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protection Cluster Name. /// Job Response public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryClusterCommitFailover( diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrReplicationProtectedItemsClient.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrReplicationProtectedItemsClient.cs index e2618e54980a..8255d172371c 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrReplicationProtectedItemsClient.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Common/PSAsrReplicationProtectedItemsClient.cs @@ -267,7 +267,7 @@ public PSSiteRecoveryLongRunningOperation PurgeProtection( /// Start applying Recovery Point. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protected Item. /// Input for applying recovery point. /// Job Response @@ -297,7 +297,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryApplyRecoveryPoi /// Starts Commit Failover /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protected Item /// Job Response public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryCommitFailover( @@ -324,7 +324,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryCommitFailover( /// Starts cancel failover. /// /// Fabric name. - /// Protection conatiner name. + /// Protection container name. /// Replication protected item. /// Job response. public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryCancelFailover( @@ -352,7 +352,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryCancelFailover( /// /// Fabric Name /// Protection Container Name - /// Replication Protected Itenm + /// Replication Protected Item /// Input for Planned Failover /// Job Response public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryPlannedFailover( @@ -381,7 +381,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryPlannedFailover( /// Re-protects the Azure Site Recovery protection entity. /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protected Item /// Input for Reprotect /// Job Response @@ -411,7 +411,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryReprotection( /// Starts Test Failover /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protected Item /// Input for Test failover /// Job Response @@ -441,7 +441,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryTestFailover( /// Starts Test Failover Cleanup. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protected Item. /// Input for Test failover cleanup. /// Job Response. @@ -471,7 +471,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryTestFailoverClea /// Starts Unplanned Failover /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protected Item /// Input for Unplanned failover /// Job Response @@ -501,7 +501,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryUnplannedFailove /// Resyncs / Repairs Replication. /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protected Item /// Job Response public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryResynchronizeReplication( @@ -528,7 +528,7 @@ public PSSiteRecoveryLongRunningOperation StartAzureSiteRecoveryResynchronizeRep /// Updates Mobility Service. /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Replication Protected Item /// Update Mobility Service Request /// Job Response @@ -558,7 +558,7 @@ public PSSiteRecoveryLongRunningOperation UpdateAzureSiteRecoveryMobilityService /// Switch the Azure Site Recovery protection entity replication direction. /// /// Fabric Name - /// Protection Conatiner Name + /// Protection Container Name /// Input for Switch /// Job Response public PSSiteRecoveryLongRunningOperation StartSwitchProtection( @@ -615,7 +615,7 @@ public PSSiteRecoveryLongRunningOperation UpdateVmProperties( /// Switch appliance of a replication protected item. /// /// Fabric Name. - /// Protection Conatiner Name. + /// Protection Container Name. /// Replication Protected Item. /// Input for update appliance. /// Job Response. diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSConstants.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSConstants.cs index 7b2fd9eb8ec5..973e379ed335 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSConstants.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSConstants.cs @@ -469,7 +469,7 @@ public static class Constants public const string Required = "Required"; /// - /// Failover deployment model: ResourceMananger + /// Failover deployment model: ResourceManager /// public const string ResourceManager = "ResourceManager"; @@ -1166,7 +1166,7 @@ public static class SendToOwners } /// - /// ASR Heatlth Event Severity mapped with Monitoring Event in SRS. + /// ASR Health Event Severity mapped with Monitoring Event in SRS. /// public static class ASRHealthEventServerity { diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSFabricDetails.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSFabricDetails.cs index 9d3de4fcc010..b07d5f705900 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSFabricDetails.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSFabricDetails.cs @@ -2357,12 +2357,12 @@ public ASRAzureToAzureSpecificRPIDetails(A2AReplicationDetails details) /// - /// Gets or sets the only constant ID throught out the enable disable cycle. + /// Gets or sets the only constant ID through out the enable disable cycle. /// (with multiple switch protections in the middle) - Recovery Plans refer this ID. /// public string LifecycleId { get; set; } - // check do we need to expoxed these 2 (TODO) + // check do we need to exposed these 2 (TODO) // public string RecoveryFabricObjectId; //how it is different from parent RecoveryFabricId // public string managementId; } diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs index e5847fadaed9..ba16f2d32d86 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSObjects.cs @@ -42,7 +42,7 @@ public ASRVaultSettings() /// /// Initializes a new instance of the class /// - /// Vault credentails + /// Vault credentials public ASRVaultSettings( ASRVaultCreds asrVaultCreds) { @@ -3516,7 +3516,7 @@ public ASRInMageRcmMobilityAgentDetails(InMageRcmMobilityAgentDetails details) public DateTime? DriverVersionExpiryDate { get; set; } /// - /// Gets or sets the time of the last heartbeat recieved from the agent. + /// Gets or sets the time of the last heartbeat received from the agent. /// public DateTime? LastHeartbeatUtc { get; set; } @@ -3670,7 +3670,7 @@ public ASRInMageRcmFailbackMobilityAgentDetails(InMageRcmFailbackMobilityAgentDe public DateTime? DriverVersionExpiryDate { get; set; } /// - /// Gets or sets the time of the last heartbeat recieved from the agent. + /// Gets or sets the time of the last heartbeat received from the agent. /// public DateTime? LastHeartbeatUtc { get; set; } diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSVCenter.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSVCenter.cs index 4487ef7281b2..bc4b6e1a0dce 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSVCenter.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Models/PSVCenter.cs @@ -81,7 +81,7 @@ public ASRvCenter(VCenter vCenterServer) public string ID { get; } /// - /// Gets the Fabric arm resoure name. + /// Gets the Fabric arm resource name. /// public string FabricArmResourceName { get; } diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/NetworkInterfaceCard/NewAzureRmAsrVmNicConfig.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/NetworkInterfaceCard/NewAzureRmAsrVmNicConfig.cs index 54cabcc27f67..4bed3e51c9d9 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/NetworkInterfaceCard/NewAzureRmAsrVmNicConfig.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/NetworkInterfaceCard/NewAzureRmAsrVmNicConfig.cs @@ -301,7 +301,7 @@ public override void ExecuteSiteRecoveryCmdlet() this.WriteObject(nicConfig); } - // validates IP configs and populate values not provided in input from DB NIC entiry. + // validates IP configs and populate values not provided in input from DB NIC entry. // returns false in case of validation error. private bool ValidateAndPopulateIPConfigs(ASRVMNicDetails vmNic) { diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Policy/UpdateAzureRmRecoveryServicesAsrPolicy.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Policy/UpdateAzureRmRecoveryServicesAsrPolicy.cs index 7a48839436f0..f4e007931224 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Policy/UpdateAzureRmRecoveryServicesAsrPolicy.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Policy/UpdateAzureRmRecoveryServicesAsrPolicy.cs @@ -547,7 +547,7 @@ private void UpdateV2APolicyObject() var replicationProviderSettings = this.InputObject.ReplicationProviderSettings as ASRInMageAzureV2PolicyDetails; - // Set the Paremeters to be updated. + // Set the Parameters to be updated. this.applicationConsistentSnapshotFrequencyInMinutes = this.MyInvocation.BoundParameters.ContainsKey( Utilities.GetMemberName( @@ -634,7 +634,7 @@ private void UpdateV2VPolicyObject() var replicationProviderSettings = this.InputObject.ReplicationProviderSettings as ASRInMagePolicyDetails; - // Set the Paremeters to be updated. + // Set the Parameters to be updated. this.applicationConsistentSnapshotFrequencyInMinutes = this.MyInvocation.BoundParameters.ContainsKey( Utilities.GetMemberName( @@ -718,7 +718,7 @@ private void UpdateA2APolicy() var replicationProviderSettings = this.InputObject.ReplicationProviderSettings as ASRAzureToAzurePolicyDetails; - // Set the Paremeters to be updated. + // Set the Parameters to be updated. this.applicationConsistentSnapshotFrequencyInMinutes = this.MyInvocation.BoundParameters.ContainsKey( Utilities.GetMemberName( @@ -806,7 +806,7 @@ private void UpdateInMageRcmPolicy() var replicationProviderSettings = this.InputObject.ReplicationProviderSettings as ASRInMageRcmPolicyDetails; - // Set the paremeters to be updated. + // Set the parameters to be updated. this.applicationConsistentSnapshotFrequencyInMinutes = this.MyInvocation.BoundParameters.ContainsKey( Utilities.GetMemberName( diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.Designer.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.Designer.cs index a88f723cd0e4..adcc5a82781b 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.Designer.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.Designer.cs @@ -369,7 +369,7 @@ internal static string InvalidIpAddress { } /// - /// Looks up a localized string similar to Invalid netwok mapping details.. + /// Looks up a localized string similar to Invalid network mapping details.. /// internal static string InvalidNetworkMappingDetails { get { @@ -702,7 +702,7 @@ internal static string PolicyNotFound { } /// - /// Looks up a localized string similar to Protectectable Item"{0}" is not associated with Protection Container "{1}". + /// Looks up a localized string similar to Protectable Item"{0}" is not associated with Protection Container "{1}". /// internal static string ProtectableItemNotFound { get { @@ -1299,7 +1299,7 @@ internal static string UnsupportedReplicationProviderOperation { } /// - /// Looks up a localized string similar to Unsupported Replication Reprotect Scenerio.. + /// Looks up a localized string similar to Unsupported Replication Reprotect Scenario.. /// internal static string UnsupportedReplicationReprotectScenerio { get { diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.resx b/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.resx index 741db9160a34..c3cf88182e89 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.resx +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Properties/Resources.resx @@ -371,7 +371,7 @@ Please provide a storage account with the same location as that of the vault.Protection Cluster "{0}" is not associated with Protection Container "{1}" - Protectectable Item"{0}" is not associated with Protection Container "{1}" + Protectable Item"{0}" is not associated with Protection Container "{1}" Replication Protected Item"{0}" is not associated with Protection Container "{1}" @@ -389,7 +389,7 @@ Please provide a storage account with the same location as that of the vault.This parameter set will be deprecated soon. Please use other suitable parameter set. - Invalid netwok mapping details. + Invalid network mapping details. Network mapping details not found. @@ -445,7 +445,7 @@ Possible Causes: The resume job operation is not allowed on this Job. Recommended Action: To cleanup the resources created by Test failover run the Test failover cleanup operation on the test failed over Recovery plan/replicated machine. - Unsupported Replication Reprotect Scenerio. + Unsupported Replication Reprotect Scenario. Please pass a valid PrimaryStagingAzureStorageAccountId as input for disk URI "{0}". diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterTestFailoverJob.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterTestFailoverJob.cs index b24d15fd509f..c23697c6b312 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterTestFailoverJob.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterTestFailoverJob.cs @@ -48,7 +48,7 @@ public class StartAzureRmRecoveryServicesAsrClusterTestFailoverJob : SiteRecover public string Direction { get; set; } /// - /// Gets or sets a custom clster recovery point to test failover the protected cluster to. + /// Gets or sets a custom cluster recovery point to test failover the protected cluster to. /// [Parameter( ParameterSetName = ASRParameterSets.ByObject, @@ -115,7 +115,7 @@ public override void ExecuteSiteRecoveryCmdlet() } /// - /// Starts replication protection clustrer test failover. + /// Starts replication protection cluster test failover. /// private void StartRPCTestFailover() { diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterUnplannedFailoverJob.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterUnplannedFailoverJob.cs index 087f14f5f50e..73662176f119 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterUnplannedFailoverJob.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionCluster/StartAzureRmRecoveryServicesAsrClusterUnplannedFailoverJob.cs @@ -64,7 +64,7 @@ public class StartAzureRmRecoveryServicesAsrClusterUnplannedFailoverJob : SiteRe public SwitchParameter LatestProcessedRecoveryPoint { get; set; } /// - /// Gets or sets a custom clster recovery point to test failover the protected cluster to. + /// Gets or sets a custom cluster recovery point to test failover the protected cluster to. /// [Parameter( ParameterSetName = ASRParameterSets.ByObject, diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionContainerMapping/UpdateAzureRmRecoveryServicesAsrProtectionContainerMapping.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionContainerMapping/UpdateAzureRmRecoveryServicesAsrProtectionContainerMapping.cs index 7a62e662bf89..9c66b9cb9739 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionContainerMapping/UpdateAzureRmRecoveryServicesAsrProtectionContainerMapping.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/ProtectionContainerMapping/UpdateAzureRmRecoveryServicesAsrProtectionContainerMapping.cs @@ -37,7 +37,7 @@ public class UpdateAzureRmRecoveryServicesAsrProtectionContainerMapping : SiteRe #region Parameters /// - /// Gets or sets protection container mapping object corresponding to the protection container to be updatd. + /// Gets or sets protection container mapping object corresponding to the protection container to be updated. /// [Parameter(ParameterSetName = AzureToAzureEnableAutoUpdate, Mandatory = true, ValueFromPipeline = true,HelpMessage = "Object for protection container mapping.")] [Parameter(ParameterSetName = AzureToAzureDisableAutoUpdate, Mandatory = true, ValueFromPipeline = true, HelpMessage = "Object for protection container mapping.")] diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/ReplicationProtectedItem/StartAzureRmRecoveryServicesAsrTestFailoverCleanupJob.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/ReplicationProtectedItem/StartAzureRmRecoveryServicesAsrTestFailoverCleanupJob.cs index 6d604850efb3..bf93074b0b66 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/ReplicationProtectedItem/StartAzureRmRecoveryServicesAsrTestFailoverCleanupJob.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/ReplicationProtectedItem/StartAzureRmRecoveryServicesAsrTestFailoverCleanupJob.cs @@ -26,7 +26,7 @@ namespace Microsoft.Azure.Commands.RecoveryServices.SiteRecovery public class StartAzureRmRecoveryServicesAsrTestFailoverCleanupJob : SiteRecoveryCmdletBase { /// - /// Gets or sets resource Id of replication protected item / recovery plan for cleaningup test failover. + /// Gets or sets resource Id of replication protected item / recovery plan for cleaning up test failover. /// [Parameter( ParameterSetName = ASRParameterSets.ByResourceId, diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs index bb9c138aeff0..47de13f456d5 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Utilities/Utilities.cs @@ -299,7 +299,7 @@ public static string Serialize( /// Converts Query object to query string to pass on. /// /// Query object - /// Qeury string + /// Query string public static string ToQueryString( this object queryObject) { diff --git a/src/RecoveryServices/RecoveryServices.SiteRecovery/Vault/SetAzureRmRecoveryServicesAsrVaultContext.cs b/src/RecoveryServices/RecoveryServices.SiteRecovery/Vault/SetAzureRmRecoveryServicesAsrVaultContext.cs index 2dff2b9c4958..11b8a0db7ab1 100644 --- a/src/RecoveryServices/RecoveryServices.SiteRecovery/Vault/SetAzureRmRecoveryServicesAsrVaultContext.cs +++ b/src/RecoveryServices/RecoveryServices.SiteRecovery/Vault/SetAzureRmRecoveryServicesAsrVaultContext.cs @@ -76,7 +76,7 @@ private void SetARSVaultContext( } catch (Exception ex) { - // code interanally handled the cloud exception thrown earlier.But still there are changes of other exception. + // code internally handled the cloud exception thrown earlier.But still there are changes of other exception. // suggesting alternate way to user to unblock if this command is failing. Logger.Instance.WriteWarning(ex.Message); throw new Exception(Resources.TryDownloadingVaultFile);