From bae15551cc3a04f760ea3795368451d34fff306d Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Mon, 30 Jun 2025 00:14:48 +0200 Subject: [PATCH] fix spelling --- .../Compute.AlcWrapper/AzureStorageService.cs | 2 +- .../docs/Remove-AzGalleryApplication.md | 2 +- .../Remove-AzGalleryApplicationVersion.md | 2 +- .../examples/Remove-AzGalleryApplication.md | 2 +- .../Remove-AzGalleryApplicationVersion.md | 2 +- .../ScenarioTests/AEMExtensionTests.ps1 | 18 +++++------ .../Generated/VirtualMachineDynamicTest1.ps1 | 4 +-- .../Generated/VirtualMachineDynamicTest2.ps1 | 4 +-- .../Generated/VirtualMachineDynamicTest3.ps1 | 4 +-- .../ScenarioTests/SqlIaaSExtensionTests.ps1 | 4 +-- .../StrategiesVirtualMachineTests.ps1 | 30 +++++++++---------- .../ScenarioTests/StrategiesVmssTests.ps1 | 18 +++++------ .../ScenarioTests/VMDynamicTests.ps1 | 4 +-- .../VirtualMachineScaleSetExtensionTests.ps1 | 2 +- .../VirtualMachineScaleSetTests.ps1 | 2 +- src/Confluent/Confluent.Autorest/README.md | 4 +-- .../custom/Remove-AzConfluentOrganization.ps1 | 4 +-- .../custom/DEVELOP.md | 2 +- .../custom/New-AzConnectedKubernetes.ps1 | 6 ++-- .../custom/Remove-AzConnectedKubernetes.ps1 | 4 +-- .../custom/Set-AzConnectedKubernetes.ps1 | 2 +- .../custom/helpers/ConfigDPHelper.ps1 | 2 +- .../custom/helpers/HelmHelper.ps1 | 4 +-- .../docs/New-AzConnectedKubernetes.md | 2 +- .../docs/Remove-AzConnectedKubernetes.md | 2 +- .../docs/Set-AzConnectedKubernetes.md | 6 ++-- .../examples/Set-AzConnectedKubernetes.md | 6 ++-- .../test/New-AzConnectedKubernetes.Tests.ps1 | 4 +-- .../ConnectedKubernetes/ChangeLog.md | 2 +- 29 files changed, 75 insertions(+), 75 deletions(-) diff --git a/src/Compute/Compute.AlcWrapper/AzureStorageService.cs b/src/Compute/Compute.AlcWrapper/AzureStorageService.cs index 7094b193416b..33b9a38ac15b 100644 --- a/src/Compute/Compute.AlcWrapper/AzureStorageService.cs +++ b/src/Compute/Compute.AlcWrapper/AzureStorageService.cs @@ -35,7 +35,7 @@ public void UseBlobClientOptions() public PSBlobDownloadInfo DownloadBlob() { - //TODO: Please repalce with your real account + //TODO: Please replace with your real account BlobClient client = new BlobClient("", "", ""); BlobDownloadInfo info = client.Download().Value; return new PSBlobDownloadInfo(info); diff --git a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md index 3105775cf2af..f835581aa5b1 100644 --- a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplication.md @@ -32,7 +32,7 @@ Delete a gallery Application. ### Example 1: Remove a Gallery Application ```powershell -Remove-AzGalleryApplication -ResourceGroupName $rgNmae -GalleryName $galleryName -Name $name +Remove-AzGalleryApplication -ResourceGroupName $rgName -GalleryName $galleryName -Name $name ``` Delete a gallery application. diff --git a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md index 1b6292ad57e8..b02df50f3936 100644 --- a/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/docs/Remove-AzGalleryApplicationVersion.md @@ -32,7 +32,7 @@ Delete a gallery Application Version. ### Example 1: Remove a Gallery Application Version ```powershell -Remove-AzGalleryApplicationVersion -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name +Remove-AzGalleryApplicationVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name ``` Delete a gallery application version. diff --git a/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplication.md b/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplication.md index e7d7074a471a..07f8e9bd6c2e 100644 --- a/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplication.md +++ b/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplication.md @@ -1,6 +1,6 @@ ### Example 1: Remove a Gallery Application ```powershell -Remove-AzGalleryApplication -ResourceGroupName $rgNmae -GalleryName $galleryName -Name $name +Remove-AzGalleryApplication -ResourceGroupName $rgName -GalleryName $galleryName -Name $name ``` Delete a gallery application. diff --git a/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplicationVersion.md b/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplicationVersion.md index 31205b5d783c..6eb74fd57f7b 100644 --- a/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplicationVersion.md +++ b/src/Compute/Compute.Autorest/examples/Remove-AzGalleryApplicationVersion.md @@ -1,6 +1,6 @@ ### Example 1: Remove a Gallery Application Version ```powershell -Remove-AzGalleryApplicationVersion -ResourceGroupName $rgNmae -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name +Remove-AzGalleryApplicationVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryApplicationName $galleryApplicationName -Name $name ``` Delete a gallery application version. diff --git a/src/Compute/Compute.Test/ScenarioTests/AEMExtensionTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/AEMExtensionTests.ps1 index 01cd23e26967..5bb90b03652e 100644 --- a/src/Compute/Compute.Test/ScenarioTests/AEMExtensionTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/AEMExtensionTests.ps1 @@ -132,7 +132,7 @@ function Test-WithUserAssignedIdentity() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" $vmUpd = Update-AzVM -ResourceGroupName $rgname -VM $vm -IdentityType UserAssigned -IdentityID $ident.Id $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name @@ -164,7 +164,7 @@ function Test-WithoutIdentity() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" $vmUpd = Update-AzVM -ResourceGroupName $rgname -VM $vm -IdentityType None $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name @@ -200,7 +200,7 @@ function Test-WithSystemAssignedIdentity() { $nul = Assert-AreEqual $vm.Identity.Type "SystemAssigned" $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name -InstallNewExtension @@ -227,7 +227,7 @@ function Test-ExtensionReinstall() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" Write-Verbose "`tInstalling new extension" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name -InstallNewExtension @@ -260,7 +260,7 @@ function Test-OldExtensionReinstall() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" Write-Verbose "`tInstalling old extension" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name @@ -295,7 +295,7 @@ function Test-ExtensionDowngrade() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" Write-Verbose "`tInstalling new extension" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name -InstallNewExtension @@ -332,7 +332,7 @@ function Test-ExtensionUpgrade() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" Write-Verbose "`tInstalling old extension" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name @@ -370,7 +370,7 @@ function Test-NewExtensionDiskAdd() { $vm = Get-AzVM -ResourceGroupName $rgname -Name $vm.Name $nul = Assert-AreEqual $vm.Extensions.Count 0 "VM Extensions count does not equal 0" $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed" Write-Verbose "`tInstalling new extension" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name -InstallNewExtension -SetAccessToIndividualResources @@ -381,7 +381,7 @@ function Test-NewExtensionDiskAdd() { Add-AzVMDataDisk -VM $vm -StorageAccountType Premium_LRS -Lun $nextLun -CreateOption Empty -DiskSizeInGB 32 | Update-AzVM $result = Test-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name - Assert-True {-not $result.Result } "Test of extension was positiv but should have failed because of missing permissions to the added data disk" + Assert-True {-not $result.Result } "Test of extension was positive but should have failed because of missing permissions to the added data disk" Write-Verbose "`tUpdating new extension" Set-AzVMAEMExtension -ResourceGroupName $rgname -VMName $vm.Name -InstallNewExtension -SetAccessToIndividualResources diff --git a/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 b/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 index 700f1560ceb6..654ce1c2ddaa 100644 --- a/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest1.ps1 @@ -101,7 +101,7 @@ function setup_image_and_disks { param ([string] $loc, [string] $rgname, [string] $stoname, $vmconfig) - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - Start"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - Start"; $osDiskName = 'osDisk'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; @@ -116,7 +116,7 @@ function setup_image_and_disks # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - End"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - End"; return $vmconfig; } diff --git a/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 b/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 index b37c66f37966..6503928bfec1 100644 --- a/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest2.ps1 @@ -101,7 +101,7 @@ function setup_image_and_disks { param ([string] $loc, [string] $rgname, [string] $stoname, $vmconfig) - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - Start"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - Start"; $osDiskName = 'osDisk'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; @@ -116,7 +116,7 @@ function setup_image_and_disks # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - End"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - End"; return $vmconfig; } diff --git a/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 b/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 index 16cdb120d3d1..db884be6df68 100644 --- a/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/Generated/VirtualMachineDynamicTest3.ps1 @@ -101,7 +101,7 @@ function setup_image_and_disks { param ([string] $loc, [string] $rgname, [string] $stoname, $vmconfig) - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - Start"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - Start"; $osDiskName = 'osDisk'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; @@ -116,7 +116,7 @@ function setup_image_and_disks # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - End"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - End"; return $vmconfig; } diff --git a/src/Compute/Compute.Test/ScenarioTests/SqlIaaSExtensionTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/SqlIaaSExtensionTests.ps1 index 1df614b1d522..c3ebad2eb839 100644 --- a/src/Compute/Compute.Test/ScenarioTests/SqlIaaSExtensionTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/SqlIaaSExtensionTests.ps1 @@ -3,12 +3,12 @@ 1) Installs the SqlIaaS extension by calling Set-AzVMSqlServerExtension cmdlet on a VM. 2) Calls Get-AzVMSqlServerExtension cmdlet to check the status of the extension installation. 3) Verifies settings are correct given input - 4) Verfies AutoUpgradeMinorVersion + 4) Verifies AutoUpgradeMinorVersion 5) Update extension values 6) Verify changes 7) Test with correct Name and Version 8) Test with correct Name and incorrect Version - 9) Test with incorrect Name and crrect Version + 9) Test with incorrect Name and correct Version 10) Test with incorrect Name and incorrect Version #> diff --git a/src/Compute/Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.ps1 index 7fd5c438db88..e542db0cfe58 100644 --- a/src/Compute/Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/StrategiesVirtualMachineTests.ps1 @@ -14,7 +14,7 @@ <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVm { @@ -49,7 +49,7 @@ function Test-SimpleNewVm <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmWithDeleteOptions { @@ -84,7 +84,7 @@ function Test-SimpleNewVmWithDeleteOptions <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmFromSIGImage { @@ -124,7 +124,7 @@ function Test-SimpleNewVmFromSIGImage <# .SYNOPSIS -Test Simple Paremeter Set for New Vm with ultraSSD +Test Simple Parameter Set for New Vm with ultraSSD #> function Test-SimpleNewVmWithUltraSSD { @@ -140,8 +140,8 @@ function Test-SimpleNewVmWithUltraSSD $stnd = "Standard"; # Common - #As of now the ultrasd feature is only supported in east us 2 and in the size Standard_D2s_v3, on the features GA the restriction will be lifted - #Use the follwing command to figure out the one to use + #As of now the ultrassd feature is only supported in east us 2 and in the size Standard_D2s_v3, on the features GA the restriction will be lifted + #Use the following command to figure out the one to use #Get-AzComputeResourceSku | where {$_.ResourceType -eq "disks" -and $_.Name -eq "UltraSSD_LRS" } $x = New-AzVM -Name $vmname -Credential $cred -DomainNameLabel $domainNameLabel -Location "eastus2" -EnableUltraSSD -Zone 2 -Size "Standard_D2s_v3" -SecurityType $stnd; @@ -162,7 +162,7 @@ function Test-SimpleNewVmWithUltraSSD <# .SYNOPSIS -Test Simple Paremeter Set for New Vm with Accelerated Net enabled +Test Simple Parameter Set for New Vm with Accelerated Net enabled #> function Test-SimpleNewVmWithAccelNet { @@ -196,7 +196,7 @@ function Test-SimpleNewVmWithAccelNet <# .SYNOPSIS -Test Simple Paremeter Set for New Vm with system assigned identity +Test Simple Parameter Set for New Vm with system assigned identity #> function Test-SimpleNewVmSystemAssignedIdentity { @@ -229,7 +229,7 @@ function Test-SimpleNewVmSystemAssignedIdentity <# .SYNOPSIS -Test Simple Paremeter Set for New Vm win Win10 and data disks +Test Simple Parameter Set for New Vm win Win10 and data disks #> function Test-NewVmWin10 { @@ -262,7 +262,7 @@ function Test-NewVmWin10 <# .SYNOPSIS -Test Simple Paremeter Set for New Vm with system assigned identity and user assigned identity +Test Simple Parameter Set for New Vm with system assigned identity and user assigned identity #> function Test-SimpleNewVmUserAssignedIdentitySystemAssignedIdentity { @@ -312,7 +312,7 @@ function Test-SimpleNewVmUserAssignedIdentitySystemAssignedIdentity <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmWithAvailabilitySet { @@ -359,7 +359,7 @@ function Test-SimpleNewVmWithAvailabilitySet <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmWithDefaultDomainName { @@ -394,7 +394,7 @@ function Test-SimpleNewVmWithDefaultDomainName <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmWithDefaultDomainName2 { @@ -436,7 +436,7 @@ function Test-SimpleNewVmWithDefaultDomainName2 <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmWithAvailabilitySet2 { @@ -487,7 +487,7 @@ function Test-SimpleNewVmWithAvailabilitySet2 <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmImageName { diff --git a/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1 index 459adf55c85a..7bada986ac12 100644 --- a/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1 @@ -14,7 +14,7 @@ <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmss { @@ -59,7 +59,7 @@ function Test-SimpleNewVmss <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmssFromSIGImage { @@ -109,7 +109,7 @@ function Test-SimpleNewVmssFromSIGImage <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmssWithUltraSSD { @@ -125,8 +125,8 @@ function Test-SimpleNewVmssWithUltraSSD [string]$domainNameLabel = "$vmssname$vmssname".tolower(); # Common - #As of now the ultrasd feature is only supported in east us 2 and in the size Standard_D2s_v3, on the features GA the restriction will be lifted - #Use the follwing command to figure out the one to use + #As of now the ultrassd feature is only supported in east us 2 and in the size Standard_D2s_v3, on the features GA the restriction will be lifted + #Use the following command to figure out the one to use #Get-AzComputeResourceSku | where {$_.ResourceType -eq "disks" -and $_.Name -eq "UltraSSD_LRS" } $x = New-AzVmss -Name $vmssname -Credential $cred -DomainNameLabel $domainNameLabel -LoadBalancerName $lbName -Location "east us 2" -EnableUltraSSD -Zone 3 -VmSize "Standard_D2s_v3" @@ -156,7 +156,7 @@ function Test-SimpleNewVmssWithUltraSSD <# .SYNOPSIS -Test Simple Paremeter Set for New Vm failure when custom load balancer exists +Test Simple Parameter Set for New Vm failure when custom load balancer exists #> function Test-SimpleNewVmssLbErrorScenario { @@ -301,7 +301,7 @@ function Test-SimpleNewVmssWithsystemAssignedUserAssignedIdentity <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmssImageName { @@ -376,7 +376,7 @@ function Test-SimpleNewVmssWithoutDomainName <# .SYNOPSIS -Test Simple Paremeter Set for New Vm +Test Simple Parameter Set for New Vm #> function Test-SimpleNewVmssPpg { @@ -413,7 +413,7 @@ function Test-SimpleNewVmssPpg <# .SYNOPSIS -Test Simple Paremeter Set With HostGroup (automatic placement) +Test Simple Parameter Set With HostGroup (automatic placement) #> function Test-SimpleNewVmssHostGroup { diff --git a/src/Compute/Compute.Test/ScenarioTests/VMDynamicTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/VMDynamicTests.ps1 index c11d3708eb64..8686e2f5ff11 100644 --- a/src/Compute/Compute.Test/ScenarioTests/VMDynamicTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/VMDynamicTests.ps1 @@ -246,7 +246,7 @@ function setup_image_and_disks { param ([string] $loc, [string] $rgname, [string] $stoname, $vmconfig) - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - Start"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - Start"; $osDiskName = 'osDisk'; $osDiskVhdUri = "https://$stoname.blob.core.windows.net/test/os.vhd"; @@ -261,7 +261,7 @@ function setup_image_and_disks # Do not add any data disks $vmconfig.StorageProfile.DataDisks = $null; - $st = Write-Verbose "Setting up image and disks of VM config object jfor '${loc}', '${rgname}' and '${stoname}' - End"; + $st = Write-Verbose "Setting up image and disks of VM config object for '${loc}', '${rgname}' and '${stoname}' - End"; return $vmconfig; } diff --git a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetExtensionTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetExtensionTests.ps1 index b94101e75509..ae48573a7b18 100644 --- a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetExtensionTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetExtensionTests.ps1 @@ -32,7 +32,7 @@ For an example of steps required for service principals, refer to the "Assigning section of the following article: https://dscottraynsford.wordpress.com/2017/04/17/using-azure-key-vault-with-powershell-part-1/ -In the chosen region, create a VMSS scale selecting a sepcific image type (Windows or Linux), eg: +In the chosen region, create a VMSS scale selecting a specific image type (Windows or Linux), eg: Canonical:UbuntuServer:16.04-DAILY-LTS:latest MicrosoftWindowsServer:WindowsServer:2016-Datacenter:latest diff --git a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1 index f98c0c9c2e5f..794695e3377a 100644 --- a/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/VirtualMachineScaleSetTests.ps1 @@ -14,7 +14,7 @@ <# .SYNOPSIS -Test Virtual Machine Scalet Set +Test Virtual Machine Scale Set PS C:\> Get-Command *VMSS* | ft Name,Version,ModuleName diff --git a/src/Confluent/Confluent.Autorest/README.md b/src/Confluent/Confluent.Autorest/README.md index 4d8db975f5ef..55f7b0ec5cc5 100644 --- a/src/Confluent/Confluent.Autorest/README.md +++ b/src/Confluent/Confluent.Autorest/README.md @@ -56,7 +56,7 @@ title: Confluent subject-prefix: $(service-name) directive: - # New-AzConfluentMarketplaceAgreeemt has be removed, because it cand be replace by Set-AzMarketplaceTerms (Az.MarketplaceOrdering). + # New-AzConfluentMarketplaceAgreement has be removed, because it cant be replace by Set-AzMarketplaceTerms (Az.MarketplaceOrdering). - where: verb: New subject: MarketplaceAgreement$ @@ -73,7 +73,7 @@ directive: variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true - # Hide the Remove-AzConfluentOrganization for ask user confirmation before Remove-AzConfluentOrganization been invoken + # Hide the Remove-AzConfluentOrganization for ask user confirmation before Remove-AzConfluentOrganization been invoked - where: verb: Remove subject: Organization$ diff --git a/src/Confluent/Confluent.Autorest/custom/Remove-AzConfluentOrganization.ps1 b/src/Confluent/Confluent.Autorest/custom/Remove-AzConfluentOrganization.ps1 index c0ccd652b70d..87669ac81c94 100644 --- a/src/Confluent/Confluent.Autorest/custom/Remove-AzConfluentOrganization.ps1 +++ b/src/Confluent/Confluent.Autorest/custom/Remove-AzConfluentOrganization.ps1 @@ -140,7 +140,7 @@ param( ) process { - # Get a confluent orgnization via name or object. + # Get a confluent organization via name or object. if ($PSBoundParameters.ContainsKey('InputObject')) { $confluentOrg = ($InputObject | Get-AzConfluentOrganization) } else { @@ -148,7 +148,7 @@ param( } # Check plan id of the confluent organization. - # Print pay warning mssage if the planid maps to payg type. Otherwise print commit warning message. + # Print pay warning message if the planid maps to payg type. Otherwise print commit warning message. if (('confluent-cloud-azure-payg-prod', 'confluent-cloud-azure-payg-stag').Contains($confluentOrg.OfferDetailPlanId)){ $warnningMsg = (Get-Content -Path (Join-Path $PSScriptRoot "payWarning.txt")) -join "`n" } else { diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/DEVELOP.md b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/DEVELOP.md index c09ab184b9b3..35665eae016a 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/DEVELOP.md +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/DEVELOP.md @@ -38,7 +38,7 @@ If you do not already have an [autorest] image, do **NOT** build one using the D The autogenerated cmdlets are created in C# with Powershell wrappers that are placed into the `internal` folder. This is because we are **NOT** exposing the autogenerated functions to the user, rather er export our custom versions. > As described earlier, the custom versions often call-through to the autogenerated version to perform the ARM REST API portion of their work. -The custom cmdlets can be found in the `custom` directory. They are written in Powershell and do some manuipulation of input parameters before interacting with Azure and then Kubernetes via [helm]. +The custom cmdlets can be found in the `custom` directory. They are written in Powershell and do some manipulation of input parameters before interacting with Azure and then Kubernetes via [helm]. ## Gotchas ### Desktop Powershell (v5.1) Back-Compatibility diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/New-AzConnectedKubernetes.ps1 b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/New-AzConnectedKubernetes.ps1 index 3ab524704c1f..aa682ef883f3 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/New-AzConnectedKubernetes.ps1 +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/New-AzConnectedKubernetes.ps1 @@ -148,10 +148,10 @@ function New-AzConnectedKubernetes { # Path to the kube config file ${KubeConfig}, - [Parameter(HelpMessage = "Kubconfig context from current machine")] + [Parameter(HelpMessage = "Kubeconfig context from current machine")] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Category('Body')] [System.String] - # Kubconfig context from current machine + # Kubeconfig context from current machine ${KubeContext}, [Parameter(Mandatory)] @@ -647,7 +647,7 @@ function New-AzConnectedKubernetes { # # We do not trust the ConfigDP's security though so we do not pass # protected configuration values to the ConfigDP. Instead we hold them - # in a local hashtable and pass the hash-tabe indexing to the ConfigDP + # in a local hashtable and pass the hash-table indexing to the ConfigDP # as the Arc configuration protected setting value. # # One return, the ConfigDP gives us the correct "helm" name for the diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Remove-AzConnectedKubernetes.ps1 b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Remove-AzConnectedKubernetes.ps1 index d77604ce0eec..3ea33eb0b78f 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Remove-AzConnectedKubernetes.ps1 +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Remove-AzConnectedKubernetes.ps1 @@ -66,10 +66,10 @@ function Remove-AzConnectedKubernetes { # Path to the kube config file ${KubeConfig}, - [Parameter(HelpMessage = "Kubconfig context from current machine")] + [Parameter(HelpMessage = "Kubeconfig context from current machine")] [Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.Category('Body')] [System.String] - # Kubconfig context from current machine + # Kubeconfig context from current machine ${KubeContext}, [Parameter(ParameterSetName = 'Delete')] diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Set-AzConnectedKubernetes.ps1 b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Set-AzConnectedKubernetes.ps1 index 997102a24704..c11fb66d33c3 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Set-AzConnectedKubernetes.ps1 +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/Set-AzConnectedKubernetes.ps1 @@ -675,7 +675,7 @@ function Set-AzConnectedKubernetes { # protected settings. # # This DOES mean that code changes are required both in the - # Config DP annd this Powershell script if a new Kubernetes + # Config DP and this Powershell script if a new Kubernetes # feature is added. # Do not send protected settings to CCRP $arcAgentryConfigs = ConvertTo-ArcAgentryConfiguration ` diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/ConfigDPHelper.ps1 b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/ConfigDPHelper.ps1 index c7d6c3273acd..c802431bff8c 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/ConfigDPHelper.ps1 +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/ConfigDPHelper.ps1 @@ -119,7 +119,7 @@ function Invoke-RestMethodWithUriParameters { Write-Error "Error while issuing REST request: $_" } finally { - # Note need to explcitly clear WhatIf for this method otherwise the value is + # Note need to explicitly clear WhatIf for this method otherwise the value is # not passed back during What-If testing. Set-Variable -Name "${statusCodeVariable}" -Value $statusCode -Scope Script -WhatIf:$false } diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/HelmHelper.ps1 b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/HelmHelper.ps1 index 227b6f6eaaba..b60f322782a1 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/HelmHelper.ps1 +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/custom/helpers/HelmHelper.ps1 @@ -294,7 +294,7 @@ function Get-HelmChart { } # This method exists to allow us to effectively Mock the call operator (&). -# We cannnot do that directly so instead we have this wrapper, which we can mock! +# We can not do that directly so instead we have this wrapper, which we can mock! function Invoke-ExternalCommand { [Microsoft.Azure.PowerShell.Cmdlets.ConnectedKubernetes.DoNotExportAttribute()] param ( @@ -413,7 +413,7 @@ function Confirm-HelmVersion { } $HelmVersion = helm version --short --kubeconfig $KubeConfig - # Compare the helm version to 3.8 in a symantic versioning valid way + # Compare the helm version to 3.8 in a semantic versioning valid way # Strip the leading "v" from the helm version and discard any metadata $HelmVersion = $HelmVersion.Substring(1) $HelmVersion = $HelmVersion.Split('+')[0] diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/New-AzConnectedKubernetes.md b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/New-AzConnectedKubernetes.md index 29ae3d482c8f..0c801d4ecd3f 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/New-AzConnectedKubernetes.md +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/New-AzConnectedKubernetes.md @@ -522,7 +522,7 @@ Accept wildcard characters: False ``` ### -KubeContext -Kubconfig context from current machine +Kubeconfig context from current machine ```yaml Type: System.String diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Remove-AzConnectedKubernetes.md b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Remove-AzConnectedKubernetes.md index fbfff122e747..a1bb1f218db1 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Remove-AzConnectedKubernetes.md +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Remove-AzConnectedKubernetes.md @@ -124,7 +124,7 @@ Accept wildcard characters: False ``` ### -KubeContext -Kubconfig context from current machine +Kubeconfig context from current machine ```yaml Type: System.String diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Set-AzConnectedKubernetes.md b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Set-AzConnectedKubernetes.md index d264e4e7a248..220303695055 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Set-AzConnectedKubernetes.md +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/docs/Set-AzConnectedKubernetes.md @@ -123,7 +123,7 @@ Location Name ResourceGroupName eastus azps_test_cluster azps_test_group ``` -This command disable gateway feature of a connected kubernete cluster. +This command disable gateway feature of a connected kubernetes cluster. ### Example 2: Enable gateway for a connected Kubernetes cluster ```powershell @@ -176,12 +176,12 @@ eastus azps_test_cluster azps_test_group This command enables workload identity and OIDC Issuer Profile for a connected Kubernetes cluster -### Example 5: Disable workload identity of a connected kubernetes cluster with InputOjbect +### Example 5: Disable workload identity of a connected kubernetes cluster with InputObject ```powershell # Get an existing cluster first $inputObject = Get-AzConnectedKubernetes -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -SubscriptionId $subscriptionId # Disable workload identity -$inputObject.WorkloadIdentityEnabled=$falue +$inputObject.WorkloadIdentityEnabled=$false Set-AzConnectedKubernetes -InputObject $inputObject ``` diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/examples/Set-AzConnectedKubernetes.md b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/examples/Set-AzConnectedKubernetes.md index 976afe73709d..da1e05560cf2 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/examples/Set-AzConnectedKubernetes.md +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/examples/Set-AzConnectedKubernetes.md @@ -9,7 +9,7 @@ Location Name ResourceGroupName eastus azps_test_cluster azps_test_group ``` -This command disable gateway feature of a connected kubernete cluster. +This command disable gateway feature of a connected kubernetes cluster. ### Example 2: Enable gateway for a connected Kubernetes cluster ```powershell @@ -62,12 +62,12 @@ eastus azps_test_cluster azps_test_group This command enables workload identity and OIDC Issuer Profile for a connected Kubernetes cluster -### Example 5: Disable workload identity of a connected kubernetes cluster with InputOjbect +### Example 5: Disable workload identity of a connected kubernetes cluster with InputObject ```powershell # Get an existing cluster first $inputObject = Get-AzConnectedKubernetes -ClusterName azps_test_cluster -ResourceGroupName azps_test_group -SubscriptionId $subscriptionId # Disable workload identity -$inputObject.WorkloadIdentityEnabled=$falue +$inputObject.WorkloadIdentityEnabled=$false Set-AzConnectedKubernetes -InputObject $inputObject ``` diff --git a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/test/New-AzConnectedKubernetes.Tests.ps1 b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/test/New-AzConnectedKubernetes.Tests.ps1 index d8944054731c..298f3acbd561 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/test/New-AzConnectedKubernetes.Tests.ps1 +++ b/src/ConnectedKubernetes/ConnectedKubernetes.Autorest/test/New-AzConnectedKubernetes.Tests.ps1 @@ -55,7 +55,7 @@ Describe 'Invoke-ConfigDPHealthCheck' { # Actually expect the error message to be "Error while performing DP health check, StatusCode: $StatusCode" # But we now Mock Invoke-RestMethod not Invoke-RestMethodWithUriParameters, and Invoke-RestMethod # can only return unhealthy response with error thrown, which creates a terminating error and will be - # cauhgt by pester + # caught by pester { Invoke-ConfigDPHealthCheck } | Should -Throw Assert-MockCalled "Invoke-RestMethod" -Times 1 Assert-VerifiableMock @@ -167,7 +167,7 @@ Describe 'Get-ConfigDpEndpoint' { } Describe 'Get-AzCloudMetadata' { - # For some reason Pester fails to "see" Get-AzureEnvirnomment so we create + # For some reason Pester fails to "see" Get-AzureEnvironment so we create # and empty instance here that we can the mock. BeforeEach { Function Get-AzEnvironment { diff --git a/src/ConnectedKubernetes/ConnectedKubernetes/ChangeLog.md b/src/ConnectedKubernetes/ConnectedKubernetes/ChangeLog.md index 50f982eec518..134d6a239de1 100644 --- a/src/ConnectedKubernetes/ConnectedKubernetes/ChangeLog.md +++ b/src/ConnectedKubernetes/ConnectedKubernetes/ChangeLog.md @@ -39,7 +39,7 @@ ## Version 0.11.0 * Added support for Workload Identity Federation and OIDC Issuer features to the ConnectedKubernetes cmdlets. * Added support for arc gateway feature in cmdlet New-AzConnectedKubernetes. -* Added Set-AzConnectedKubernetes cmdlet to support updateing arc gateway features on existing resource. +* Added Set-AzConnectedKubernetes cmdlet to support updating arc gateway features on existing resource. ## Version 0.10.3 * Fixed secrets exposure in example documentation.