Skip to content

Commit 3809019

Browse files
authored
Spelling Fixes (#28043)
1 parent f4a9320 commit 3809019

23 files changed

+28
-28
lines changed

src/ChangeAnalysis/ChangeAnalysis.Autorest/test/utils.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function setupEnv() {
4545
New-AzResourceGroup -Name $env.resourceGroup -Location $env.location
4646

4747
# Deploy keyvault for test
48-
Write-Host -ForegroundColor Green "Deloying Key Vault..."
48+
Write-Host -ForegroundColor Green "Deploying Key Vault..."
4949
$kvName = 'keyvalult-' + (RandomString -allChars $false -len 6)
5050
$kvPara = Get-Content .\test\deployment-templates\key-vault\parameters.json | ConvertFrom-Json
5151
$kvPara.parameters.vaults_name.value = $kvName

src/CloudService/CloudService.Autorest/custom/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject {
2424
[CmdletBinding(PositionalBinding=$false)]
2525
Param(
2626

27-
[Parameter(HelpMessage="Name of FrontendIpConfigration.")]
27+
[Parameter(HelpMessage="Name of FrontendIpConfiguration.")]
2828
[string]
2929
$Name,
3030
[Parameter(ParameterSetName="DefaultParameterSet", HelpMessage="Resource Id.")]

src/CloudService/CloudService.Autorest/docs/New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ This command creates load balancer frontend IP configuration object with a Priva
5353
## PARAMETERS
5454

5555
### -Name
56-
Name of FrontendIpConfigration.
56+
Name of FrontendIpConfiguration.
5757

5858
```yaml
5959
Type: System.String

src/CognitiveServices/CognitiveServices.Test/ScenarioTests/CognitiveServicesAccountTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function Test-SetAzureRmCognitiveServicesAccount
231231
Assert-AreEqual $originalAccount.Endpoint $changedAccount.Endpoint;
232232
Assert-AreEqual $originalAccount.Kind $changedAccount.Kind;
233233

234-
# get the account agains
234+
# get the account against
235235
$gottenAccount = Get-AzCognitiveServicesAccount -ResourceGroupName $rgname -Name $accountname;
236236

237237
Assert-AreEqual $originalAccount.Location $gottenAccount.Location;

src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/AddAzureCognitiveServicesAccountNetworkRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class AddAzureCognitiveServicesAccountNetworkRuleCommand : CognitiveServi
3333
private const string NetWorkRuleStringParameterSet = "NetWorkRuleString";
3434

3535
/// <summary>
36-
/// IpRule in String paremeter set name
36+
/// IpRule in String parameter set name
3737
/// </summary>
3838
private const string IpRuleStringParameterSet = "IpRuleString";
3939

src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public class NewAzureCognitiveServicesAccountCommand : CognitiveServicesAccountB
120120

121121
[Parameter(
122122
Mandatory = false,
123-
HelpMessage = "Set the new Cognitive Services Account Identity type, the idenetity is for use with key management services like Azure KeyVault.")]
123+
HelpMessage = "Set the new Cognitive Services Account Identity type, the identity is for use with key management services like Azure KeyVault.")]
124124
public IdentityType? IdentityType { get; set; }
125125

126126
[Parameter(

src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/NewAzureCognitiveServicesAccountKey.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
namespace Microsoft.Azure.Commands.Management.CognitiveServices
2424
{
2525
/// <summary>
26-
/// Regnerate Cognitive Services Account Key (Key1 or Key2)
26+
/// Regenerate Cognitive Services Account Key (Key1 or Key2)
2727
/// </summary>
2828
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "CognitiveServicesAccountKey", SupportsShouldProcess = true), OutputType(typeof(CognitiveServicesModels.ApiKeys))]
2929
public class NewAzureCognitiveServicesAccountKeyCommand : CognitiveServicesAccountBaseCmdlet

src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/RemoveAzureCognitiveServicesAccountNetworkRule.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class RemoveAzureCognitiveServicesAccountNetworkRuleCommand : CognitiveSe
3636
private const string NetWorkRuleStringParameterSet = "NetWorkRuleString";
3737

3838
/// <summary>
39-
/// IpRule in String paremeter set name
39+
/// IpRule in String parameter set name
4040
/// </summary>
4141
private const string IpRuleStringParameterSet = "IpRuleString";
4242

@@ -185,7 +185,7 @@ public override void ExecuteCmdlet()
185185
/// </summary>
186186
/// <param name="ruleList">The IpRule List</param>
187187
/// <param name="ruleToRemove">The IP Rule to remove</param>
188-
/// <returns>true if reove success</returns>
188+
/// <returns>true if remove success</returns>
189189
public bool RemoveIpRule(IList<IpRule> ruleList, IpRule ruleToRemove)
190190
{
191191
foreach (IpRule rule in ruleList)
@@ -203,8 +203,8 @@ public bool RemoveIpRule(IList<IpRule> ruleList, IpRule ruleToRemove)
203203
/// Remove one NetworkRule from NetworkRule List
204204
/// </summary>
205205
/// <param name="ruleList">The NetworkRule List</param>
206-
/// <param name="ruleToRemove">The NetworkRulee to remove</param>
207-
/// <returns>true if reove success</returns>
206+
/// <param name="ruleToRemove">The NetworkRule to remove</param>
207+
/// <returns>true if remove success</returns>
208208
public bool RemoveNetworkRule(IList<VirtualNetworkRule> ruleList, VirtualNetworkRule ruleToRemove)
209209
{
210210
foreach (VirtualNetworkRule rule in ruleList)

src/CognitiveServices/CognitiveServices/CognitiveServicesAccount/SetAzureCognitiveServicesAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public class SetAzureCognitiveServicesAccountCommand : CognitiveServicesAccountB
9999

100100
[Parameter(
101101
Mandatory = false,
102-
HelpMessage = "Set the new Cognitive Services Account Identity type, the idenetity is for use with key management services like Azure KeyVault.")]
102+
HelpMessage = "Set the new Cognitive Services Account Identity type, the identity is for use with key management services like Azure KeyVault.")]
103103
public IdentityType? IdentityType { get; set; }
104104

105105
[Parameter(HelpMessage = "List of User Owned Storage Accounts.", Mandatory = false)]

src/CognitiveServices/CognitiveServices/Models/PSCognitiveServicesAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public PSCognitiveServicesAccount(Account cognitiveServicesAccount)
4646
// other properties
4747
this.Properties = cognitiveServicesAccount.Properties;
4848

49-
// Read-only properties, should not add more as they can be retrived from properties
49+
// Read-only properties, should not add more as they can be retrieved from properties
5050
this.PrivateEndpointConnections = cognitiveServicesAccount.Properties.PrivateEndpointConnections;
5151
this.Capabilities = cognitiveServicesAccount.Properties.Capabilities;
5252
this.Endpoint = cognitiveServicesAccount.Properties.Endpoint;

0 commit comments

Comments
 (0)