Skip to content

Commit 4fd0043

Browse files
authored
Spelling Fixes (#28044)
1 parent e2285c8 commit 4fd0043

31 files changed

+48
-48
lines changed

src/Compute/Compute/ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
* Added new parameter `-VirtualMachineScaleSetId` to `Update-AzVm` cmdlet.
142142
* Fixed `New-AzVmss` and `New-Azvm` to use `SharedGalleryImageId` parameter.
143143
* Reduced File Permissions from 0644 to 0600 for SSH Private Key File in `New-AzVm`.
144-
* Removed GuestAttestaion vm extension installation for Vmss and Vm creation cmdlets.
144+
* Removed GuestAttestation vm extension installation for Vmss and Vm creation cmdlets.
145145

146146

147147
## Version 6.3.0
@@ -288,7 +288,7 @@
288288
* For `Add-AzVhd` upon upload failure using DirectUploadToManagedDisk parameter set, the SAS will be revoked and the created managed disk will be deleted.
289289
* An unresolved path can be passed in for '-LocalFilePath' for `Add-AzVhd`. The cmdlet with unresolve the path itself.
290290
* Added `-DataAccessAuthMode` parameter to Add-AzVhd DirectUploadToManagedDisk parameter set.
291-
* Added `-EnabldUltraSSD` parameter to New-AzHostGroup.
291+
* Added `-EnableUltraSSD` parameter to New-AzHostGroup.
292292

293293
## Version 4.27.0
294294
* Edited `New-AzVm` cmdlet internal logic to use the `PlatformFaultDomain` value in the `PSVirtualMachine` object passed to it in the new virtual machine.

src/Compute/Compute/Common/AzureContextAdapterExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static IStorageContext GetStorageContext(this IStorageService service)
9292
/// Get a CloudStorageAccount client for the given storage service using the given storage service provider
9393
/// </summary>
9494
/// <param name="provider">The storage service provider to retrieve storage service details</param>
95-
/// <param name="accountName">The storage accoutn name</param>
95+
/// <param name="accountName">The storage account name</param>
9696
/// <param name="resourceGroupName"></param>
9797
/// <returns>A CloudStorageAccount client for storage data plane tasks</returns>
9898
public static CloudStorageAccount GetCloudStorageAccount(this IStorageServiceProvider provider, string accountName, string resourceGroupName = null)

src/Compute/Compute/Common/AzureStorageContext.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ public string ConnectionString
122122
}
123123

124124
/// <summary>
125-
/// Custom propeties for the storage context
125+
/// Custom properties for the storage context
126126
/// </summary>
127127
public IDictionary<string, string> ExtendedProperties { get; } = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
128128

129129
/// <summary>
130-
/// Create a storage context usign cloud storage account
130+
/// Create a storage context using cloud storage account
131131
/// </summary>
132132
/// <param name="account">cloud storage account</param>
133133
public AzureStorageContext(CloudStorageAccount account)
@@ -172,7 +172,7 @@ public AzureStorageContext(CloudStorageAccount account)
172172
}
173173

174174
/// <summary>
175-
/// Proivides a private constructor for building empty instance which
175+
/// Provides a private constructor for building empty instance which
176176
/// contains no account information.
177177
/// </summary>
178178
protected AzureStorageContext()

src/Compute/Compute/Common/ConstantStringTypes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class HelpMessages
1919
public const string VMProfile = "The virtual machine profile.";
2020
public const string VmssVMProfile = "The virtual machine scale set VM profile.";
2121
public const string VMSize = "The virtual machine size.";
22-
public const string VMComputerName = "The virtual machine's omputer name.";
22+
public const string VMComputerName = "The virtual machine's computer name.";
2323
public const string VMCredential = "The virtual machine's credential.";
2424
public const string VMSourceImageName = "The virtual machine's source image name.";
2525
public const string VMImageReference = "The virtual machine's image reference.";

src/Compute/Compute/Extension/AEM/AEMExtensionConstants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static class AEMExtensionConstants
6060
public const string WadTableName = "WADPerformanceCountersTable";
6161
public const string AzureEndpoint = "core.windows.net";
6262
public const int ContentAgeInMinutes = 5;
63-
public const string MissingGuestAgentWarning = "Provision Guest Agent is not installed on this Azure Virtual Machine. Please read the documentation on how to download and install the Provision Guest Agent. After you have installed the Provision Guest Agent, enable it with the Enable-ProvisionGuestAgent_GUI commandlet that is part of this Powershell Module.";
63+
public const string MissingGuestAgentWarning = "Provision Guest Agent is not installed on this Azure Virtual Machine. Please read the documentation on how to download and install the Provision Guest Agent. After you have installed the Provision Guest Agent, enable it with the Enable-ProvisionGuestAgent_GUI cmdlet that is part of this Powershell Module.";
6464
public const string ROLECONTENT = "IaaS";
6565
public const string SchemasTable = "SchemasTable";
6666
public const string SchemasTablePhysicalTableName = "PhysicalTableName";

src/Compute/Compute/Extension/AEM/AEMHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,8 @@ internal AzureSLA GetDiskSLA(int? diskSize, VirtualHardDisk vhd)
603603
}
604604
else
605605
{
606-
WriteError("Unkown disk size for Premium Storage - {0}", diskSize);
607-
throw new ArgumentException("Unkown disk size for Premium Storage");
606+
WriteError("Unknown disk size for Premium Storage - {0}", diskSize);
607+
throw new ArgumentException("Unknown disk size for Premium Storage");
608608
}
609609

610610
return sla;

src/Compute/Compute/Extension/AEM/SetAzureRmVMAEMExtension.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public class SetAzureRmVMAEMExtension : VirtualMachineExtensionBaseCmdlet
6565
[Parameter(
6666
Mandatory = false,
6767
ValueFromPipelineByPropertyName = false,
68-
HelpMessage = "If this parameter is provided, the commandlet will enable Windows Azure Diagnostics for this virtual machine.")]
68+
HelpMessage = "If this parameter is provided, the cmdlet will enable Windows Azure Diagnostics for this virtual machine.")]
6969
public SwitchParameter EnableWAD { get; set; }
7070

7171
[Parameter(
@@ -346,7 +346,7 @@ private string getPrincipalId(VirtualMachine pVM, string szPathIdentity)
346346
private void SetNewExtension(VirtualMachine selectedVM, VirtualMachineInstanceView selectedVMStatus)
347347
{
348348
// check VM identity
349-
// give VM idenity access to resources/resource groups
349+
// give VM identity access to resources/resource groups
350350
// deploy extension on VM
351351

352352
bool blnIsUserAssigned = !string.IsNullOrEmpty(this.PathUserIdentity);
@@ -811,7 +811,7 @@ private void SetOldExtension(VirtualMachine selectedVM, VirtualMachineInstanceVi
811811
}).GetAwaiter().GetResult();
812812

813813
this._Helper.WriteHost("[INFO] Azure Enhanced Monitoring Extension for SAP configuration updated. It can take up to 15 Minutes for the monitoring data to appear in the SAP system.");
814-
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension commandlet.");
814+
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension cmdlet.");
815815

816816
var result = ComputeAutoMapperProfile.Mapper.Map<PSAzureOperationResponse>(op);
817817
WriteObject(result);
@@ -833,7 +833,7 @@ private void SetOldExtension(VirtualMachine selectedVM, VirtualMachineInstanceVi
833833
}).GetAwaiter().GetResult();
834834

835835
this._Helper.WriteHost("[INFO] Azure Enhanced Monitoring Extension for SAP configuration updated. It can take up to 15 Minutes for the monitoring data to appear in the SAP system.");
836-
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension commandlet.");
836+
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension cmdlet.");
837837

838838
var result = ComputeAutoMapperProfile.Mapper.Map<PSAzureOperationResponse>(op);
839839
WriteObject(result);

src/Compute/Compute/Extension/AEM/TestAzureRmVMAEMExtension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public override void ExecuteCmdlet()
159159

160160
if (!rootResult.Result)
161161
{
162-
this._Helper.WriteHost("The script found some configuration issues. Please run the Set-AzVMAEMExtension commandlet to update the configuration of the virtual machine!");
162+
this._Helper.WriteHost("The script found some configuration issues. Please run the Set-AzVMAEMExtension cmdlet to update the configuration of the virtual machine!");
163163
}
164164

165165
this._Helper.WriteVerbose("TestAzureRmVMAEMExtension Done (" + rootResult.Result + ")");

src/Compute/Compute/Extension/AzureDiskEncryption/DisableAzureDiskEncryption.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private Hashtable GetExtensionPublicSettings()
109109
{
110110
Hashtable publicSettings = new Hashtable();
111111

112-
// Generate a new sequence version everytime to force run the extension.
112+
// Generate a new sequence version every time to force run the extension.
113113
// This is to bypass CRP & Guest Agent's optimization of not re-running the extension when there is no config change
114114
string sequenceVersion = Guid.NewGuid().ToString();
115115
publicSettings.Add(AzureDiskEncryptionExtensionConstants.volumeTypeKey, VolumeType ?? String.Empty);

src/Compute/Compute/Extension/AzureDiskEncryption/GetAzureDiskEncryptionStatus.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -456,19 +456,19 @@ private void validateRetreivedVirtualMachine(VirtualMachine vm)
456456
}
457457
else if (vm.StorageProfile == null)
458458
{
459-
errorString = "retreived virtual machine does not have storage profile";
459+
errorString = "retrieved virtual machine does not have storage profile";
460460
}
461461
else if (vm.StorageProfile.OsDisk == null)
462462
{
463-
errorString = "retreived virtual machine does not have an OS disk in the storage profile";
463+
errorString = "retrieved virtual machine does not have an OS disk in the storage profile";
464464
}
465465
else if (vm.StorageProfile.OsDisk.OsType == null)
466466
{
467-
errorString = "retreived virtual machine does not have an OS type in the storage profile's OS Disk";
467+
errorString = "retrieved virtual machine does not have an OS type in the storage profile's OS Disk";
468468
}
469469
else if (vm.InstanceView == null)
470470
{
471-
errorString = "could not retreive VM Instance View";
471+
errorString = "could not retrieve VM Instance View";
472472
}
473473

474474
if (errorString != "")

0 commit comments

Comments
 (0)