Skip to content

Commit 423a24f

Browse files
authored
Spelling Fixes (#28068)
1 parent 772ee6e commit 423a24f

27 files changed

+52
-52
lines changed

src/Nginx/Nginx.Autorest/docs/New-AzNginxCertificate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Location Name
3535
cert-test
3636
```
3737

38-
This commond creates a certificate for a NGINX deployment.
38+
This command creates a certificate for a NGINX deployment.
3939

4040
## PARAMETERS
4141

src/Nginx/Nginx.Autorest/docs/Update-AzNginxDeployment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Update the NGINX deployment
3838

3939
## EXAMPLES
4040

41-
### Example 1: Enable the diagnotics support for a NGINX deployment
41+
### Example 1: Enable the diagnosticss support for a NGINX deployment
4242
```powershell
4343
Update-AzNginxDeployment -Name nginx-test -ResourceGroupName nginx-test-rg -EnableDiagnosticsSupport
4444
```
@@ -49,9 +49,9 @@ Location Name
4949
westcentralus nginx-test
5050
```
5151

52-
This command enables the diagnotics support for a NGINX deployment.
52+
This command enables the diagnostics support for a NGINX deployment.
5353

54-
### Example 2: Disable the diagnotics support for a NGINX deployment
54+
### Example 2: Disable the diagnostics support for a NGINX deployment
5555
```powershell
5656
Update-AzNginxDeployment -Name nginx-test -ResourceGroupName nginx-test-rg -EnableDiagnosticsSupport:$false
5757
```
@@ -62,7 +62,7 @@ Location Name
6262
westcentralus nginx-test
6363
```
6464

65-
This command disables the diagnotics support for a NGINX deployment.
65+
This command disables the diagnostics support for a NGINX deployment.
6666

6767
## PARAMETERS
6868

src/Nginx/Nginx.Autorest/examples/New-AzNginxCertificate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Location Name
99
cert-test
1010
```
1111

12-
This commond creates a certificate for a NGINX deployment.
12+
This command creates a certificate for a NGINX deployment.

src/Nginx/Nginx.Autorest/examples/Update-AzNginxDeployment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Example 1: Enable the diagnotics support for a NGINX deployment
1+
### Example 1: Enable the diagnostics support for a NGINX deployment
22
```powershell
33
Update-AzNginxDeployment -Name nginx-test -ResourceGroupName nginx-test-rg -EnableDiagnosticsSupport
44
```
@@ -9,9 +9,9 @@ Location Name
99
westcentralus nginx-test
1010
```
1111

12-
This command enables the diagnotics support for a NGINX deployment.
12+
This command enables the diagnostics support for a NGINX deployment.
1313

14-
### Example 2: Disable the diagnotics support for a NGINX deployment
14+
### Example 2: Disable the diagnostics support for a NGINX deployment
1515
```powershell
1616
Update-AzNginxDeployment -Name nginx-test -ResourceGroupName nginx-test-rg -EnableDiagnosticsSupport:$false
1717
```
@@ -22,4 +22,4 @@ Location Name
2222
westcentralus nginx-test
2323
```
2424

25-
This command disables the diagnotics support for a NGINX deployment.
25+
This command disables the diagnostics support for a NGINX deployment.

src/OperationalInsights/OperationalInsights.Test/ScenarioTests/SearchTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Test-SearchGetSearchResultsAndUpdate
3030
Assert-NotNull $searchResult.Value
3131
Assert-AreEqual $searchResult.Value.Count $top
3232

33-
# Makesure we return each doc as string for backward compatiable.
33+
# Make sure we return each doc as string for backward compatible.
3434
$stringType = "string".GetType()
3535
$valueType = $searchResult.Value.GetType()
3636
$valueIsString = $valueType.GenericTypeArguments.Contains($stringType)

src/OperationalInsights/OperationalInsights/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
- `Get-AzOperationalInsightsSearchResult` (alias `Get-AzOperationalInsightsSearchResults`)
8686
- `Get-AzOperationalInsightsLinkTarget` (alias `Get-AzOperationalInsightsLinkTargets`)
8787
* Added parameters for `Set-AzOperationalInsightsWorkspace` and `New-AzOperationalInsightsWorkspace`
88-
* Created cmdlets for Linked Stoarge Account
88+
* Created cmdlets for Linked Storage Account
8989
* Created cmdlets for Clusters and Linked Service
9090

9191
## Version 1.3.4

src/OperationalInsights/OperationalInsights/Client/OperationalInsightsClient.DataExports.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public virtual PSDataExport UpdateDataExport(string resourceGroupName, CreatePSD
9999
}
100100
catch (RestException)
101101
{
102-
throw new PSArgumentException($"Data export {parameters.DataExportName} under resourceGroup {resourceGroupName} worspace:{parameters.WorkspaceName} does not exist, please use 'New-AzOperationalInsightsDataExport' instead.");
102+
throw new PSArgumentException($"Data export {parameters.DataExportName} under resourceGroup {resourceGroupName} workspace:{parameters.WorkspaceName} does not exist, please use 'New-AzOperationalInsightsDataExport' instead.");
103103
}
104104

105105
//validate user input parameters were not null - if they were then use existing values so they wont be ran over by null values

src/OperationalInsights/OperationalInsights/Client/OperationalInsightsClient.LinkedStorageAccount.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public virtual PSLinkedStorageAccountsResource CreateLinkedStorageAccount(string
9292

9393
if (existingResource != null)
9494
{
95-
throw new PSInvalidOperationException(string.Format("Linked Storage Accounts for workpsace: '{0}' under resource group: '{1}' already exists. Please use Update-AzOperationalInsightsLinkedStorageAccount for updating.", workspaceName, resourceGroupName));
95+
throw new PSInvalidOperationException(string.Format("Linked Storage Accounts for workspace: '{0}' under resource group: '{1}' already exists. Please use Update-AzOperationalInsightsLinkedStorageAccount for updating.", workspaceName, resourceGroupName));
9696
}
9797

9898
return new PSLinkedStorageAccountsResource(CreateOrUpdateLinkedStorageAccount(resourceGroupName, workspaceName, dataSourceType, storageAccountIds));

src/OperationalInsights/OperationalInsights/Client/OperationalInsightsClient.Tables.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public PSTable UpdatePSTable(PSTable parameters)
5555
{
5656
PSTable existingTable = this.GetTable(parameters.ResourceGroupName, parameters.WorkspaceName, parameters.Name);
5757

58-
parameters.TotalRetentionInDays = parameters.TotalRetentionInDays ?? existingTable.TotalRetentionInDays;//dabenham TODO - test scenario where paln is changed from Analytics to Basic - see if total retention stays high to protect data loss from customers
58+
parameters.TotalRetentionInDays = parameters.TotalRetentionInDays ?? existingTable.TotalRetentionInDays;//dabenham TODO - test scenario where plan is changed from Analytics to Basic - see if total retention stays high to protect data loss from customers
5959
var response = OperationalInsightsManagementClient.Tables.Update(
6060
resourceGroupName: parameters.ResourceGroupName,
6161
workspaceName: parameters.WorkspaceName,

src/OperationalInsights/OperationalInsights/Client/OperationalInsightsClient.Workspaces.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public virtual PSWorkspace UpdatePSWorkspace(UpdatePSWorkspaceParameters paramet
161161
}
162162
catch (RestException)
163163
{
164-
//worksace not found - use New-AzOperationalInsightsWorkspace command instead
164+
//workspace not found - use New-AzOperationalInsightsWorkspace command instead
165165
throw new PSArgumentException($"Workspace {parameters?.WorkspaceName} under resourceGroup {parameters?.ResourceGroupName} was not found, please use New-AzOperationalInsightsWorkspace.");
166166
}
167167

@@ -301,7 +301,7 @@ public virtual PSIntelligencePack SetIntelligencePack(string resourceGroupName,
301301
var existingIp = GetIntelligencePackList(resourceGroupName, workspaceName).FirstOrDefault(ip => ip.Name.Equals(intelligencePackName));
302302
if (existingIp == null || existingIp == default(PSIntelligencePack))
303303
{
304-
throw new PSArgumentException($"Intelligence Pack {intelligencePackName} under resourceGroup {resourceGroupName} worspace:{workspaceName} does not exist");
304+
throw new PSArgumentException($"Intelligence Pack {intelligencePackName} under resourceGroup {resourceGroupName} workspace:{workspaceName} does not exist");
305305
}
306306

307307
existingIp.Enabled = enabled;

0 commit comments

Comments
 (0)