diff --git a/src/HDInsight/HDInsight.Management.Sdk/Customizations/Models/ClusterNodeType.cs b/src/HDInsight/HDInsight.Management.Sdk/Customizations/Models/ClusterNodeType.cs index f17c7e7e58c7..454876c019a6 100644 --- a/src/HDInsight/HDInsight.Management.Sdk/Customizations/Models/ClusterNodeType.cs +++ b/src/HDInsight/HDInsight.Management.Sdk/Customizations/Models/ClusterNodeType.cs @@ -24,7 +24,7 @@ public enum ClusterNodeType WorkerNode, /// - /// The zookeper nodes of the cluster. + /// The zookeeper nodes of the cluster. /// ZookeeperNode, diff --git a/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/KafkaRestProperties.cs b/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/KafkaRestProperties.cs index 5a7fe1e452ab..9611ecfe9499 100644 --- a/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/KafkaRestProperties.cs +++ b/src/HDInsight/HDInsight.Management.Sdk/Generated/Models/KafkaRestProperties.cs @@ -28,7 +28,7 @@ public KafkaRestProperties() /// The information of AAD security group. /// - /// The configurations that need to be overriden. + /// The configurations that need to be overridden. /// public KafkaRestProperties(ClientGroupInfo clientGroupInfo = default(ClientGroupInfo), System.Collections.Generic.IDictionary configurationOverride = default(System.Collections.Generic.IDictionary)) @@ -51,7 +51,7 @@ public KafkaRestProperties() public ClientGroupInfo ClientGroupInfo {get; set; } /// - /// Gets or sets the configurations that need to be overriden. + /// Gets or sets the configurations that need to be overridden. /// [Newtonsoft.Json.JsonProperty(PropertyName = "configurationOverride")] public System.Collections.Generic.IDictionary ConfigurationOverride {get; set; } diff --git a/src/HDInsight/HDInsight/ClusterCreateHelper.cs b/src/HDInsight/HDInsight/ClusterCreateHelper.cs index a77a316dc709..80896db75eb1 100644 --- a/src/HDInsight/HDInsight/ClusterCreateHelper.cs +++ b/src/HDInsight/HDInsight/ClusterCreateHelper.cs @@ -455,7 +455,7 @@ private static string GetDefaultVmSizeFromDictionary(string clusterType, string { if (!clusterTypeAndVmSizeDict.TryGetValue(clusterType, out vmSize)) { - // backend will use the string "*" to stand for it is applicable for all clsuter type. + // backend will use the string "*" to stand for it is applicable for all cluster type. clusterTypeAndVmSizeDict.TryGetValue(Constants.ClusterType.AllClusterType, out vmSize); } } diff --git a/src/HDInsight/HDInsight/HDInsightCmdletBase.cs b/src/HDInsight/HDInsight/HDInsightCmdletBase.cs index a64d324bd6e3..32f5879f2f29 100644 --- a/src/HDInsight/HDInsight/HDInsightCmdletBase.cs +++ b/src/HDInsight/HDInsight/HDInsightCmdletBase.cs @@ -71,7 +71,7 @@ protected string GetClusterConnection(string resourceGroupName, string clusterNa state.Equals("Operational", StringComparison.OrdinalIgnoreCase))) { throw new NotSupportedException( - string.Format("The cluster {0} is in the {1} state and canot be used at this time.", clusterName, + string.Format("The cluster {0} is in the {1} state and cannot be used at this time.", clusterName, state)); } @@ -135,7 +135,7 @@ protected Dictionary> GetDefaultVmsizesConfig { BillingResponseListResult billingResponseListResult = HDInsightManagementClient.ListBillingSpecs(location); - /* The result is KeyValuePair> */ + /* The result is KeyValuePair> */ var nodeTypeAndClusterTypeAndVmSizePairs = billingResponseListResult.VMSizeFilters.Where(filter => filter.FilterMode.Equals(FilterMode.Default)).SelectMany(x => { var clusterTypeAndVmSizePairs = x.ClusterFlavors.SelectMany(clusterType => x.VMSizes, (clusterType, vmSize) => diff --git a/src/HDInsight/HDInsight/ManagementCommands/DisableAzureHDInsightMonitoringCommand.cs b/src/HDInsight/HDInsight/ManagementCommands/DisableAzureHDInsightMonitoringCommand.cs index 7541410c0d49..68969755e0cf 100644 --- a/src/HDInsight/HDInsight/ManagementCommands/DisableAzureHDInsightMonitoringCommand.cs +++ b/src/HDInsight/HDInsight/ManagementCommands/DisableAzureHDInsightMonitoringCommand.cs @@ -27,7 +27,7 @@ public class DisableAzureHDInsightMonitoringCommand : HDInsightCmdletBase [Parameter( Position = 0, Mandatory = true, - HelpMessage = "Gets or sets the name of the cluster to disable monitroing.", + HelpMessage = "Gets or sets the name of the cluster to disable monitoring.", ValueFromPipelineByPropertyName = true)] [Alias("ClusterName")] public string Name { get; set; } diff --git a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitor.cs b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitor.cs index 9d4559cc0f91..e1d2fdb43a4f 100644 --- a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitor.cs +++ b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitor.cs @@ -25,7 +25,7 @@ public AzureHDInsightAzureMonitor(AzureMonitorResponse azureMonitorResponse) } /// - /// Bool indicates whether the cluster has enabled montioring or not. + /// Bool indicates whether the cluster has enabled monitoring or not. /// public bool ClusterMonitoringEnabled { get; set; } diff --git a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitorAgent.cs b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitorAgent.cs index 13f3bbf619cf..bfc879bcee38 100644 --- a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitorAgent.cs +++ b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightAzureMonitorAgent.cs @@ -25,7 +25,7 @@ public AzureHDInsightAzureMonitorAgent(AzureMonitorResponse azureMonitorResponse } /// - /// Bool indicates whether the cluster has enabled montioring or not. + /// Bool indicates whether the cluster has enabled monitoring or not. /// public bool ClusterMonitoringEnabled { get; set; } diff --git a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightClusterNodeType.cs b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightClusterNodeType.cs index c2388e459b7e..cdedd200a080 100644 --- a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightClusterNodeType.cs +++ b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightClusterNodeType.cs @@ -30,7 +30,7 @@ public enum AzureHDInsightClusterNodeType WorkerNode=1, /// - /// The zookeper nodes of the cluster. + /// The zookeeper nodes of the cluster. /// ZookeeperNode=2, diff --git a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightMonitoring.cs b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightMonitoring.cs index cf353f693821..6ab53a823fef 100644 --- a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightMonitoring.cs +++ b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightMonitoring.cs @@ -25,7 +25,7 @@ public AzureHDInsightMonitoring(ClusterMonitoringResponse clusterMonitoringRespo } /// - /// Bool indicates whether the cluster has enabled montioring or not. + /// Bool indicates whether the cluster has enabled monitoring or not. /// public bool ClusterMonitoringEnabled { get; set; } diff --git a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightSecurityProfile.cs b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightSecurityProfile.cs index 3af4c1bb82c3..df0bd8519db1 100644 --- a/src/HDInsight/HDInsight/Models/Management/AzureHDInsightSecurityProfile.cs +++ b/src/HDInsight/HDInsight/Models/Management/AzureHDInsightSecurityProfile.cs @@ -21,7 +21,7 @@ namespace Microsoft.Azure.Commands.HDInsight.Models { /// - /// Represents and AzureHDInsightSecurityProfile which contans the parameters to create secure cluster. + /// Represents and AzureHDInsightSecurityProfile which contains the parameters to create secure cluster. /// public class AzureHDInsightSecurityProfile { diff --git a/src/HDInsight/HDInsight/Models/Management/RuntimeScriptActionClusterNodeType.cs b/src/HDInsight/HDInsight/Models/Management/RuntimeScriptActionClusterNodeType.cs index 35acfafe1911..c64bccbece21 100644 --- a/src/HDInsight/HDInsight/Models/Management/RuntimeScriptActionClusterNodeType.cs +++ b/src/HDInsight/HDInsight/Models/Management/RuntimeScriptActionClusterNodeType.cs @@ -23,7 +23,7 @@ public enum RuntimeScriptActionClusterNodeType WorkerNode, /// - /// The zookeper nodes of the cluster. + /// The zookeeper nodes of the cluster. /// ZookeeperNode, diff --git a/src/HPCCache/HPCCache.Test/Fixtures/HpcCacheTestContext.cs b/src/HPCCache/HPCCache.Test/Fixtures/HpcCacheTestContext.cs index 975e5647fa6d..d31cf6d440ac 100644 --- a/src/HPCCache/HPCCache.Test/Fixtures/HpcCacheTestContext.cs +++ b/src/HPCCache/HPCCache.Test/Fixtures/HpcCacheTestContext.cs @@ -310,7 +310,7 @@ public void RegisterSubscriptionForResource(string providerName) var reg = resourceManagementClient.Providers.Register(providerName); StorageCacheTestUtilities.ThrowIfTrue(reg == null, $"Failed to register provider {providerName}"); var result = resourceManagementClient.Providers.Get(providerName); - StorageCacheTestUtilities.ThrowIfTrue(result == null, $"Failed to register provier {providerName}"); + StorageCacheTestUtilities.ThrowIfTrue(result == null, $"Failed to register provider {providerName}"); } /// diff --git a/src/HPCCache/HPCCache.Test/Helper/CacheHelper.cs b/src/HPCCache/HPCCache.Test/Helper/CacheHelper.cs index 616835d917fa..75358865356a 100644 --- a/src/HPCCache/HPCCache.Test/Helper/CacheHelper.cs +++ b/src/HPCCache/HPCCache.Test/Helper/CacheHelper.cs @@ -44,7 +44,7 @@ public class CacheHelper private readonly VirtualNetwork virtualNetwork; /// - /// Target subent. + /// Target subnet. /// private readonly Subnet subNet; @@ -277,7 +277,7 @@ public StorageTarget GetStorageTarget(string cacheName, string storageTargetName /// /// Storage account name. /// Storage container name. - /// namepace path. + /// namespace path. /// Subscription id. /// Resource group name. /// CLFS storage target parameters. diff --git a/src/HPCCache/HPCCache.Test/Helper/StorageAccountsHelper.cs b/src/HPCCache/HPCCache.Test/Helper/StorageAccountsHelper.cs index d5a7a0838d0b..8b235adf7504 100644 --- a/src/HPCCache/HPCCache.Test/Helper/StorageAccountsHelper.cs +++ b/src/HPCCache/HPCCache.Test/Helper/StorageAccountsHelper.cs @@ -40,7 +40,7 @@ public StorageAccountsHelper(StorageManagementClient client, ResourceGroup resou /// Storage account to be created. /// Storage SKU. /// Storage kind. - /// Stoprage account. + /// Storage account. public StorageAccount CreateStorageAccount(string storageAccountName, string skuName = null, string storageKind = null) { var sku = string.IsNullOrEmpty(skuName) ? DefaultSkuName : skuName; diff --git a/src/HPCCache/HPCCache.Test/ScenarioTests/HpcCacheStorageTargetTest.ps1 b/src/HPCCache/HPCCache.Test/ScenarioTests/HpcCacheStorageTargetTest.ps1 index e4aa5bc9a4fe..23dca09fada8 100644 --- a/src/HPCCache/HPCCache.Test/ScenarioTests/HpcCacheStorageTargetTest.ps1 +++ b/src/HPCCache/HPCCache.Test/ScenarioTests/HpcCacheStorageTargetTest.ps1 @@ -31,7 +31,7 @@ function Test-New-Get-Remove-StorageTarget Assert-AreEqual "Succeeded" $storageTargetGet.ProvisioningState break } - Assert-False {$i -eq 20} "StorageTarget is not done completeling after 10 minutes." + Assert-False {$i -eq 20} "StorageTarget is not done completing after 10 minutes." } } @@ -65,7 +65,7 @@ function Test-SetStorageTarget Assert-AreEqual "/abcdefgh" $storageTargetGet.Junctions.nameSpacePath break } - Assert-False {$i -eq 20} "StorageTarget is not done completeling after 10 minutes." + Assert-False {$i -eq 20} "StorageTarget is not done completing after 10 minutes." } } } \ No newline at end of file diff --git a/src/HPCCache/HPCCache.Test/Utilities/Constants.cs b/src/HPCCache/HPCCache.Test/Utilities/Constants.cs index 1cd33af22d7e..fdc8b629b393 100644 --- a/src/HPCCache/HPCCache.Test/Utilities/Constants.cs +++ b/src/HPCCache/HPCCache.Test/Utilities/Constants.cs @@ -49,10 +49,10 @@ public static class Constants /// public const string StorageCacheResourceProviderPrincipalId = "831d4223-7a3c-4121-a445-1e423591e57b"; - // If you want to use existing cache then uncomment below parameters and substitue proper values. + // If you want to use existing cache then uncomment below parameters and substitute proper values. /// - /// Resouce group name. + /// Resource group name. /// // public static readonly string ResourceGroupName = "test-rg"; diff --git a/src/HPCCache/HPCCache.Test/Utilities/StorageCacheTestUtilities.cs b/src/HPCCache/HPCCache.Test/Utilities/StorageCacheTestUtilities.cs index 674d89097f39..a399f1ce2ad7 100644 --- a/src/HPCCache/HPCCache.Test/Utilities/StorageCacheTestUtilities.cs +++ b/src/HPCCache/HPCCache.Test/Utilities/StorageCacheTestUtilities.cs @@ -64,7 +64,7 @@ public static string GenerateName( } /// - /// Throw expception if the given condition is satisfied. + /// Throw exception if the given condition is satisfied. /// /// Condition to verify. /// Exception message to raise. diff --git a/src/HPCCache/HPCCache/Commands/SetAzHpcCache.cs b/src/HPCCache/HPCCache/Commands/SetAzHpcCache.cs index dd56d0c155ff..b916ddd6969b 100644 --- a/src/HPCCache/HPCCache/Commands/SetAzHpcCache.cs +++ b/src/HPCCache/HPCCache/Commands/SetAzHpcCache.cs @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.HPCCache using Newtonsoft.Json; /// - /// SetHPCCache commandlet. + /// SetHPCCache cmdlet. /// [Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "HpcCache", DefaultParameterSetName = FieldsParameterSet, SupportsShouldProcess = true)] [OutputType(typeof(PSHPCCache))] diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 index ab7915f08254..ac0e22508534 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpdate.Tests.ps1 @@ -32,7 +32,7 @@ Describe 'ClusterUpdate' { $yarnServiceConfigProfile } - # If you have donnot have a cluster, you can use this test to create a cluster, and then run other tests. + # If you do not have a cluster, you can use this test to create a cluster, and then run other tests. It "New-AzHdInsightOnAksCluster_Spark" -skip{ { $script:ManagedIdentity = New-AzHdInsightOnAksManagedIdentityObject -ClientId $env.msiClientId -ObjectId $env.msiObjectId -ResourceId $env.identityProfileMsiResourceId -Type cluster } | Should -Not -Throw diff --git a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpgrade.Tests.ps1 b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpgrade.Tests.ps1 index 85cc2a58c9fc..e2afc3d8a9ac 100644 --- a/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpgrade.Tests.ps1 +++ b/src/HdInsightOnAks/HdInsightOnAks.Autorest/test/ClusterUpgrade.Tests.ps1 @@ -33,7 +33,7 @@ Describe 'ClusterUpgrade' { [Console]::WriteLine("New-AzHdInsightOnAksClusterPool done") } - # If you have donnot have a cluster, you can use this test to create a cluster, and then run other tests. + # If you do not have a cluster, you can use this test to create a cluster, and then run other tests. It "New-AzHdInsightOnAksCluster_Trino" { { $script:ManagedIdentity = New-AzHdInsightOnAksManagedIdentityObject -ClientId $env.msiClientId -ObjectId $env.msiObjectId -ResourceId $env.identityProfileMsiResourceId -Type cluster } | Should -Not -Throw diff --git a/src/helpers/ManagedIdentity/readme.noprofile.md b/src/helpers/ManagedIdentity/readme.noprofile.md index 11eb34cda97a..5a046a80676b 100644 --- a/src/helpers/ManagedIdentity/readme.noprofile.md +++ b/src/helpers/ManagedIdentity/readme.noprofile.md @@ -10,7 +10,7 @@ input-file: subject-prefix: '' directive: - # Remove unnedded cmdlets + # Remove unneeded cmdlets - where: subject: ^Operation$ remove: true diff --git a/src/helpers/Storage/README.md b/src/helpers/Storage/README.md index b6b37be2db82..d3de8a24b738 100644 --- a/src/helpers/Storage/README.md +++ b/src/helpers/Storage/README.md @@ -60,7 +60,7 @@ subject-prefix: '' # skip-model-cmdlets: true directive: - # Remove unnedded cmdlets + # Remove unneeded cmdlets - where: subject: ^BlobContainerLegalHold$ remove: true diff --git a/src/helpers/Storage/readme.noprofile.md b/src/helpers/Storage/readme.noprofile.md index 02504f271a0c..812fbc033c6a 100644 --- a/src/helpers/Storage/readme.noprofile.md +++ b/src/helpers/Storage/readme.noprofile.md @@ -62,7 +62,7 @@ subject-prefix: '' # skip-model-cmdlets: true directive: - # Remove unnedded cmdlets + # Remove unneeded cmdlets - where: subject: ^BlobContainerLegalHold$ remove: true