Skip to content

Commit 1c4a3d6

Browse files
authored
Spelling Fixes (#28055)
1 parent 66ee171 commit 1c4a3d6

26 files changed

+37
-37
lines changed

src/Kusto/Kusto.Autorest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ directive:
8080
- from: swagger-document
8181
where: $..produces
8282
transform: $ = $.filter( each => each === 'application/json');
83-
reason: this spec adds produces application/xml and text/json erronously.
83+
reason: this spec adds produces application/xml and text/json erroneously.
8484
# Fix the case mismatch between swagger and RP
8585
- from: swagger-document
8686
where: $

src/Kusto/Kusto.Autorest/docs/Get-AzKustoSandboxCustomImage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Get-AzKustoSandboxCustomImage -ClusterName "myCluster" -ResourceGroupName "myRes
4242
```output
4343
Name
4444
----
45-
myCluser/myImage
45+
myCluster/myImage
4646
```
4747

4848
The above command returns all Kusto sandbox custom images in cluster "myCluster" and resource group "myResourceGroup".
@@ -55,7 +55,7 @@ Get-AzKustoSandboxCustomImage -ClusterName "myCluster" -Name "myImage" -Resource
5555
```output
5656
Name
5757
----
58-
myCluser/myImage
58+
myCluster/myImage
5959
```
6060

6161
The above command returns a Kusto sandbox custom image named "myImage" in cluster "myCluster" and resource group "myResourceGroup".

src/Kusto/Kusto.Autorest/docs/New-AzKustoDatabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Kind Location Name Type
3737
ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/Databases
3838
```
3939

40-
The above command creates a new datebase named "mykustodatabase" in the resource group "testrg".
40+
The above command creates a new database named "mykustodatabase" in the resource group "testrg".
4141

4242
## PARAMETERS
4343

src/Kusto/Kusto.Autorest/examples/Get-AzKustoSandboxCustomImage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Get-AzKustoSandboxCustomImage -ClusterName "myCluster" -ResourceGroupName "myRes
66
```output
77
Name
88
----
9-
myCluser/myImage
9+
myCluster/myImage
1010
```
1111

1212
The above command returns all Kusto sandbox custom images in cluster "myCluster" and resource group "myResourceGroup".
@@ -19,7 +19,7 @@ Get-AzKustoSandboxCustomImage -ClusterName "myCluster" -Name "myImage" -Resource
1919
```output
2020
Name
2121
----
22-
myCluser/myImage
22+
myCluster/myImage
2323
```
2424

2525
The above command returns a Kusto sandbox custom image named "myImage" in cluster "myCluster" and resource group "myResourceGroup".

src/Kusto/Kusto.Autorest/examples/New-AzKustoDatabase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Kind Location Name Type
99
ReadWrite East US testnewkustocluster/mykustodatabase Microsoft.Kusto/Clusters/Databases
1010
```
1111

12-
The above command creates a new datebase named "mykustodatabase" in the resource group "testrg".
12+
The above command creates a new database named "mykustodatabase" in the resource group "testrg".

src/Kusto/Kusto.Autorest/test/Invoke-AzKustoDiagnoseClusterVirtualNetwork.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Describe 'Invoke-AzKustoDiagnoseClusterVirtualNetwork' {
1616
. ($mockingPath | Select-Object -First 1).FullName
1717
}
1818
It 'Diagnose' -skip {
19-
# Skiping this tests since this Operation is only supported for VNet injected clusters
19+
# Skipping this tests since this Operation is only supported for VNet injected clusters
2020
$resourceGroupName = $env.resourceGroupName
2121
$clusterName = $env.kustoClusterName
2222

2323
{ Invoke-AzKustoDiagnoseClusterVirtualNetwork -ResourceGroupName $resourceGroupName -ClusterName $clusterName } | Should -Not -Throw
2424
}
2525

2626
It 'DiagnoseViaIdentity' -skip {
27-
# Skiping this tests since this Operation is only supported for VNet injected clusters
27+
# Skipping this tests since this Operation is only supported for VNet injected clusters
2828
$resourceGroupName = $env.resourceGroupName
2929
$clusterName = $env.kustoClusterName
3030

src/Kusto/Kusto.Autorest/test/New-AzKustoSandboxCustomImage.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'New-AzKustoSandboxCustomImage
1616

1717
Describe 'New-AzKustoSandboxCustomImage' {
1818
It 'CreateExpanded' {
19-
#Note Sandbox custom image is only supported on hyper threading clusters, curretly the cluster that is used for following tests is using a hyper threading SKU
19+
#Note Sandbox custom image is only supported on hyper threading clusters, currently the cluster that is used for following tests is using a hyper threading SKU
2020
$clusterName = $env.kustoFollowerClusterName
2121
$resourceGroupName = $env.resourceGroupName
2222
$subscriptionId = $env.subscriptionId

src/Kusto/Kusto.Autorest/test/Remove-AzKustoSandboxCustomImage.Tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(($null -eq $TestName) -or ($TestName -contains 'Remove-AzKustoSandboxCustomIm
1616

1717
Describe 'Remove-AzKustoSandboxCustomImage' {
1818
It 'Delete' {
19-
#Note Sandbox custom image is only supported on hyper threading clusters, curretly the cluster that is used for following tests is using a hyper threading SKU
19+
#Note Sandbox custom image is only supported on hyper threading clusters, currently the cluster that is used for following tests is using a hyper threading SKU
2020
$clusterName = $env.kustoFollowerClusterName
2121
$resourceGroupName = $env.resourceGroupName
2222
$subscriptionId = $env.subscriptionId
@@ -30,7 +30,7 @@ Describe 'Remove-AzKustoSandboxCustomImage' {
3030
}
3131

3232
It 'DeleteViaIdentity' {
33-
#Note Sandbox custom image is only supported on hyper threading clusters, curretly the cluster that is used for following tests is using a hyper threading SKU
33+
#Note Sandbox custom image is only supported on hyper threading clusters, currently the cluster that is used for following tests is using a hyper threading SKU
3434
$clusterName = $env.kustoFollowerClusterName
3535
$resourceGroupName = $env.resourceGroupName
3636
$subscriptionId = $env.subscriptionId

src/Kusto/Kusto.Autorest/test/common.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function Get-Database-Resource-Id
4040

4141
<#
4242
.SYNOPSIS
43-
Gets a database soft delet perios in days parameter
43+
Gets a database soft delete period in days parameter
4444
#>
4545
function Get-Soft-Delete-Period-In-Days
4646
{
@@ -58,7 +58,7 @@ function Get-Hot-Cache-Period-In-Days
5858

5959
<#
6060
.SYNOPSIS
61-
Gets a different database soft delet perios in days parameter ( for testing update)
61+
Gets a different database soft delete period in days parameter ( for testing update)
6262
#>
6363
function Get-Updated-Soft-Delete-Period-In-Days
6464
{

src/Kusto/Kusto.Autorest/test/utils.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ function Start-TestSleep {
3232

3333
$env = @{}
3434
function setupEnv() {
35-
# If you want to record a single test do the following for exmple pwsh test-module.ps1 --Record --TestName Update-AzKustoDataConnection
35+
# If you want to record a single test do the following for example pwsh test-module.ps1 --Record --TestName Update-AzKustoDataConnection
3636
# 1. comment cleanupEnv- you don't want clean up of the resource group
3737
# 2. run Record and create the resources
3838
# 3. comment all content of setupEnv, you want to reuse the resources from previous session instead of creating again
3939
# 4. add the following line $env = Get-Content .\test\env.json | ConvertFrom-Json, to load the $env
40-
# 5. Run the recording of a specific test for exmple pwsh test-module.ps1 --Record --TestName Update-AzKustoDataConnection
40+
# 5. Run the recording of a specific test for example pwsh test-module.ps1 --Record --TestName Update-AzKustoDataConnection
4141

4242
$env = Get-Content .\test\env.json | ConvertFrom-Json
4343

4444
# $env.subscriptionId = "e8257c73-24c5-4791-94dc-8b7901c90dbf" # Kusto_Dev_Kusto_Ilay_04_Test
4545
# $env.location = 'East US'
46-
# Write-Host "Setting up and connection to subcription " $env.SubscriptionId -ForegroundColor Green
46+
# Write-Host "Setting up and connection to subscription " $env.SubscriptionId -ForegroundColor Green
4747
# Connect-AzAccount -Subscription $env.SubscriptionId
4848
# $env.Tenant = (Get-AzContext).Tenant.Id
4949
#
@@ -72,8 +72,8 @@ function setupEnv() {
7272
# Write-Host "Start to create test resource group" $resourceGroupName -ForegroundColor Green
7373
# New-AzResourceGroup -Name $resourceGroupName -Location $env.location
7474
#
75-
# # Prepare arm template paramters
76-
# Write-Host "Preparing parameters for ARM template deploymet" -ForegroundColor Green
75+
# # Prepare arm template parameters
76+
# Write-Host "Preparing parameters for ARM template deployment" -ForegroundColor Green
7777
# $params = Get-Content .\test\deployment-templates\all-resources\parameters.json | ConvertFrom-Json
7878
#
7979
# Update-Parameter -propertyName "kustoApiVersion" -propertyValue "2024-04-13" -params $params

0 commit comments

Comments
 (0)