Skip to content

Spelling Fixes #28045

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Compute/Compute.AlcWrapper/AzureStorageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
18 changes: 9 additions & 9 deletions src/Compute/Compute.Test/ScenarioTests/AEMExtensionTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
#>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<#
.SYNOPSIS
Test Simple Paremeter Set for New Vm
Test Simple Parameter Set for New Vm
#>
function Test-SimpleNewVm
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand All @@ -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;

Expand All @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down
18 changes: 9 additions & 9 deletions src/Compute/Compute.Test/ScenarioTests/StrategiesVmssTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<#
.SYNOPSIS
Test Simple Paremeter Set for New Vm
Test Simple Parameter Set for New Vm
#>
function Test-SimpleNewVmss
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand All @@ -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"

Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down
Loading
Loading