-
Notifications
You must be signed in to change notification settings - Fork 4k
Spelling Fixes #28044
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
Spelling Fixes #28044
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,7 +141,7 @@ | |
* Added new parameter `-VirtualMachineScaleSetId` to `Update-AzVm` cmdlet. | ||
* Fixed `New-AzVmss` and `New-Azvm` to use `SharedGalleryImageId` parameter. | ||
* Reduced File Permissions from 0644 to 0600 for SSH Private Key File in `New-AzVm`. | ||
* Removed GuestAttestaion vm extension installation for Vmss and Vm creation cmdlets. | ||
* Removed GuestAttestation vm extension installation for Vmss and Vm creation cmdlets. | ||
|
||
|
||
## Version 6.3.0 | ||
|
@@ -288,7 +288,7 @@ | |
* For `Add-AzVhd` upon upload failure using DirectUploadToManagedDisk parameter set, the SAS will be revoked and the created managed disk will be deleted. | ||
* An unresolved path can be passed in for '-LocalFilePath' for `Add-AzVhd`. The cmdlet with unresolve the path itself. | ||
* Added `-DataAccessAuthMode` parameter to Add-AzVhd DirectUploadToManagedDisk parameter set. | ||
* Added `-EnabldUltraSSD` parameter to New-AzHostGroup. | ||
* Added `-EnableUltraSSD` parameter to New-AzHostGroup. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'EnabldUltraSSD' to 'EnableUltraSSD' in the changelog. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
|
||
## Version 4.27.0 | ||
* Edited `New-AzVm` cmdlet internal logic to use the `PlatformFaultDomain` value in the `PSVirtualMachine` object passed to it in the new virtual machine. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,7 +92,7 @@ public static IStorageContext GetStorageContext(this IStorageService service) | |
/// Get a CloudStorageAccount client for the given storage service using the given storage service provider | ||
/// </summary> | ||
/// <param name="provider">The storage service provider to retrieve storage service details</param> | ||
/// <param name="accountName">The storage accoutn name</param> | ||
/// <param name="accountName">The storage account name</param> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'accoutn' to 'account' in the parameter description. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// <param name="resourceGroupName"></param> | ||
/// <returns>A CloudStorageAccount client for storage data plane tasks</returns> | ||
public static CloudStorageAccount GetCloudStorageAccount(this IStorageServiceProvider provider, string accountName, string resourceGroupName = null) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,12 +122,12 @@ public string ConnectionString | |
} | ||
|
||
/// <summary> | ||
/// Custom propeties for the storage context | ||
/// Custom properties for the storage context | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'propeties' to 'properties' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
public IDictionary<string, string> ExtendedProperties { get; } = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); | ||
|
||
/// <summary> | ||
/// Create a storage context usign cloud storage account | ||
/// Create a storage context using cloud storage account | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'usign' to 'using' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
/// <param name="account">cloud storage account</param> | ||
public AzureStorageContext(CloudStorageAccount account) | ||
|
@@ -172,7 +172,7 @@ public AzureStorageContext(CloudStorageAccount account) | |
} | ||
|
||
/// <summary> | ||
/// Proivides a private constructor for building empty instance which | ||
/// Provides a private constructor for building empty instance which | ||
/// contains no account information. | ||
/// </summary> | ||
protected AzureStorageContext() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ public static class HelpMessages | |
public const string VMProfile = "The virtual machine profile."; | ||
public const string VmssVMProfile = "The virtual machine scale set VM profile."; | ||
public const string VMSize = "The virtual machine size."; | ||
public const string VMComputerName = "The virtual machine's omputer name."; | ||
public const string VMComputerName = "The virtual machine's computer name."; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'omputer' to 'computer' in the constant string. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
public const string VMCredential = "The virtual machine's credential."; | ||
public const string VMSourceImageName = "The virtual machine's source image name."; | ||
public const string VMImageReference = "The virtual machine's image reference."; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ public static class AEMExtensionConstants | |
public const string WadTableName = "WADPerformanceCountersTable"; | ||
public const string AzureEndpoint = "core.windows.net"; | ||
public const int ContentAgeInMinutes = 5; | ||
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."; | ||
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."; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'GuestAttestaion' to 'GuestAttestation' in the constant message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
public const string ROLECONTENT = "IaaS"; | ||
public const string SchemasTable = "SchemasTable"; | ||
public const string SchemasTablePhysicalTableName = "PhysicalTableName"; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -603,8 +603,8 @@ internal AzureSLA GetDiskSLA(int? diskSize, VirtualHardDisk vhd) | |
} | ||
else | ||
{ | ||
WriteError("Unkown disk size for Premium Storage - {0}", diskSize); | ||
throw new ArgumentException("Unkown disk size for Premium Storage"); | ||
WriteError("Unknown disk size for Premium Storage - {0}", diskSize); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'Unkown' to 'Unknown' in the error message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
throw new ArgumentException("Unknown disk size for Premium Storage"); | ||
} | ||
|
||
return sla; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ public class SetAzureRmVMAEMExtension : VirtualMachineExtensionBaseCmdlet | |
[Parameter( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: updated help message by replacing 'commandlet' with 'cmdlet'. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
Mandatory = false, | ||
ValueFromPipelineByPropertyName = false, | ||
HelpMessage = "If this parameter is provided, the commandlet will enable Windows Azure Diagnostics for this virtual machine.")] | ||
HelpMessage = "If this parameter is provided, the cmdlet will enable Windows Azure Diagnostics for this virtual machine.")] | ||
public SwitchParameter EnableWAD { get; set; } | ||
|
||
[Parameter( | ||
|
@@ -346,7 +346,7 @@ private string getPrincipalId(VirtualMachine pVM, string szPathIdentity) | |
private void SetNewExtension(VirtualMachine selectedVM, VirtualMachineInstanceView selectedVMStatus) | ||
{ | ||
// check VM identity | ||
// give VM idenity access to resources/resource groups | ||
// give VM identity access to resources/resource groups | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed spelling: changed 'idenity' to 'identity' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
// deploy extension on VM | ||
|
||
bool blnIsUserAssigned = !string.IsNullOrEmpty(this.PathUserIdentity); | ||
|
@@ -811,7 +811,7 @@ private void SetOldExtension(VirtualMachine selectedVM, VirtualMachineInstanceVi | |
}).GetAwaiter().GetResult(); | ||
|
||
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."); | ||
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension commandlet."); | ||
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension cmdlet."); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: replaced 'commandlet' with 'cmdlet' in the host message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
|
||
var result = ComputeAutoMapperProfile.Mapper.Map<PSAzureOperationResponse>(op); | ||
WriteObject(result); | ||
|
@@ -833,7 +833,7 @@ private void SetOldExtension(VirtualMachine selectedVM, VirtualMachineInstanceVi | |
}).GetAwaiter().GetResult(); | ||
|
||
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."); | ||
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension commandlet."); | ||
this._Helper.WriteHost("[INFO] You can check the configuration of a virtual machine by calling the Test-AzVMAEMExtension cmdlet."); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: replaced 'commandlet' with 'cmdlet' in the host message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
|
||
var result = ComputeAutoMapperProfile.Mapper.Map<PSAzureOperationResponse>(op); | ||
WriteObject(result); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,7 @@ public override void ExecuteCmdlet() | |
|
||
if (!rootResult.Result) | ||
{ | ||
this._Helper.WriteHost("The script found some configuration issues. Please run the Set-AzVMAEMExtension commandlet to update the configuration of the virtual machine!"); | ||
this._Helper.WriteHost("The script found some configuration issues. Please run the Set-AzVMAEMExtension cmdlet to update the configuration of the virtual machine!"); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'commandlet' to 'cmdlet' in the host message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
} | ||
|
||
this._Helper.WriteVerbose("TestAzureRmVMAEMExtension Done (" + rootResult.Result + ")"); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -456,19 +456,19 @@ private void validateRetreivedVirtualMachine(VirtualMachine vm) | |
} | ||
else if (vm.StorageProfile == null) | ||
{ | ||
errorString = "retreived virtual machine does not have storage profile"; | ||
errorString = "retrieved virtual machine does not have storage profile"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: changed 'retreived' to 'retrieved' in the error message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
} | ||
else if (vm.StorageProfile.OsDisk == null) | ||
{ | ||
errorString = "retreived virtual machine does not have an OS disk in the storage profile"; | ||
errorString = "retrieved virtual machine does not have an OS disk in the storage profile"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'retreived' to 'retrieved' in the error message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
} | ||
else if (vm.StorageProfile.OsDisk.OsType == null) | ||
{ | ||
errorString = "retreived virtual machine does not have an OS type in the storage profile's OS Disk"; | ||
errorString = "retrieved virtual machine does not have an OS type in the storage profile's OS Disk"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'retreived' to 'retrieved' in the error message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
} | ||
else if (vm.InstanceView == null) | ||
{ | ||
errorString = "could not retreive VM Instance View"; | ||
errorString = "could not retrieve VM Instance View"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'retreive' to 'retrieve' in the error message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
} | ||
|
||
if (errorString != "") | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -200,7 +200,7 @@ $ErrorActionPreference = "Stop" | |
Read-Host; | ||
|
||
######################################################################################################################## | ||
# To encrypt one VM in given resource group of the logged in subscritpion, assign $vmName and uncomment below section | ||
# To encrypt one VM in given resource group of the logged in subscription, assign $vmName and uncomment below section | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: updated 'subscritpion' to 'subscription' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
######################################################################################################################## | ||
#$vmName = "Your VM Name"; | ||
#$allVMs = Get-AzVm -ResourceGroupName $resourceGroupName -Name $vmName; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -710,7 +710,7 @@ private void CreateVMBackupForLinx() | |
vmConfig.VMName = VMName; | ||
vmConfig.VirtualMachineExtensionType = VirtualMachineExtensionType; | ||
string tag = string.Format("{0}{1}", "AzureEnc", Guid.NewGuid().ToString()); | ||
// this would create shapshot only for Linux box. and we should wait for the snapshot found. | ||
// this would create snapshot only for Linux box. and we should wait for the snapshot found. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: changed 'shapshot' to 'snapshot' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
azureBackupExtensionUtil.CreateSnapshotForDisks(vmConfig, tag, this); | ||
WriteWarning(string.Format("one snapshot for disks are created with tag,{0}, you can use {1}-{2} to remove it.", tag, VerbsCommon.Remove, | ||
ProfileNouns.AzureVMBackup)); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ namespace Microsoft.WindowsAzure.Commands.Common.Extensions.DSC | |
public class DscExtensionPublicSettings | ||
{ | ||
/// <summary> | ||
/// Version 1.0.0.0 of DscExtensionPublicSettings. We keep it for backward compatability. | ||
/// Version 1.0.0.0 of DscExtensionPublicSettings. We keep it for backward compatibility. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'compatability' to 'compatibility' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
internal class Version1 | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -547,7 +547,7 @@ private static void DeleteDirectory(string path) | |
} | ||
|
||
/// <summary> | ||
/// Recursively turns off the ReadOnly attribute from the given directory and then attemps to delete it | ||
/// Recursively turns off the ReadOnly attribute from the given directory and then attempts to delete it | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'attemps' to 'attempts' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
private static void DeleteReadOnlyDirectory(string path) | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -149,7 +149,7 @@ public static DscExtensionPublicSettings DeserializePublicSettings(string public | |
} | ||
|
||
/// <summary> | ||
/// Converte SecureString to String. | ||
/// Convert SecureString to String. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'Converte' to 'Convert' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
/// <remarks> | ||
/// This method creates a managed object with sensitive information and undetermined lifecycle. | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -362,7 +362,7 @@ private void CreateConfiguration() | |||||
TypeHandlerVersion = Version, | ||||||
// Define the public and private property bags that will be passed to the extension. | ||||||
Settings = publicSettings, | ||||||
//PrivateConfuguration contains sensitive data in a plain text | ||||||
//PrivateConfiguration contains sensitive data in a plain text | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: changed 'PrivateConfuguration' to 'PrivateConfiguration' in the comment.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
ProtectedSettings = privateSettings, | ||||||
AutoUpgradeMinorVersion = AutoUpdate.IsPresent | ||||||
}; | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -30,12 +30,12 @@ public class AutoPatchingSettings | |||||
public string DayOfWeek { get; set; } | ||||||
|
||||||
/// <summary> | ||||||
/// Maintainance Windows Start hour ( 0 to 23 ) | ||||||
/// Maintenance Windows Start hour ( 0 to 23 ) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'Maintainance' to 'Maintenance' in the comment.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
/// </summary> | ||||||
public int MaintenanceWindowStartingHour { get; set; } | ||||||
|
||||||
/// <summary> | ||||||
/// Maintainance window duration in minutes | ||||||
/// Maintenance window duration in minutes | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: updated 'Maintainance' to 'Maintenance' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
/// </summary> | ||||||
public int MaintenanceWindowDuration { get; set; } | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -28,12 +28,12 @@ public class KeyVaultCredentialSettings | |||||
public string ResourceGroupName { get; set; } | ||||||
|
||||||
/// <summary> | ||||||
/// Defines if the Key Vault Credentails feature is enabled or disabled | ||||||
/// Defines if the Key Vault Credentials feature is enabled or disabled | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'Credentails' to 'Credentials' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
/// </summary> | ||||||
public bool Enable { get; set; } | ||||||
|
||||||
/// <summary> | ||||||
/// Key Vault credentails name | ||||||
/// Key Vault Credentials name | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed spelling: updated 'credentails' to 'credentials' in the comment.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
/// </summary> | ||||||
public string CredentialName { get; set; } | ||||||
|
||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,7 +177,7 @@ public int? LogBackupFrequencyInMinutes | |
} | ||
|
||
/// <summary> | ||
/// Initialzies a new instance of the <see cref="NewAzureVMSqlServerAutoBackupConfigCommand"/> class. | ||
/// Initializes a new instance of the <see cref="NewAzureVMSqlServerAutoBackupConfigCommand"/> class. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'Initialzies' to 'Initializes' in the documentation comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
public NewAzureVMSqlServerAutoBackupConfigCommand() | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ public class NewAzureVMSqlServerKeyVaultCredentialConfigCommand : PSCmdlet | |
public SecureString ServicePrincipalSecret { get; set; } | ||
|
||
/// <summary> | ||
/// Initialzies a new instance of the <see cref="NewAzureVMSqlServerKeyVaultCredentialConfigCommand"/> class. | ||
/// Initializes a new instance of the <see cref="NewAzureVMSqlServerKeyVaultCredentialConfigCommand"/> class. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'Initialzies' to 'Initializes' in the class documentation. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
/// </summary> | ||
public NewAzureVMSqlServerKeyVaultCredentialConfigCommand() | ||
{ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -131,7 +131,7 @@ public override void ExecuteCmdlet() | |
}; | ||
|
||
// Add retry logic due to CRP service restart known issue CRP bug: 3564713 | ||
// Similair approach taken in DSC cmdlet as well | ||
// Similar approach taken in DSC cmdlet as well | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'Similair' to 'Similar' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
var count = 1; | ||
Rest.Azure.AzureOperationResponse<VirtualMachineExtension> op = null; | ||
while (count <= 2) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ $ErrorActionPreference = “Stop”; | |
} | ||
else | ||
{ | ||
Write-Host "Sleeping 10 seconds to actiavate AzureDiskEncryption-VMSS feature . Retry count : ($i)"; | ||
Write-Host "Sleeping 10 seconds to activate AzureDiskEncryption-VMSS feature . Retry count : ($i)"; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: changed 'actiavate' to 'activate' in the sleep message. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
Start-TestSleep -Seconds 10 | ||
} | ||
} | ||
|
@@ -117,7 +117,7 @@ $ErrorActionPreference = “Stop”; | |
Write-Host "Created a new KeyVault named $keyVaultName to store encryption keys"; | ||
} | ||
|
||
#Set EnabledForDiskEncryption accesspolicy on KeyVault for AzureDiskEncrypiton to perform set secret, get secret, wrap key and unwrap key operations | ||
#Set EnabledForDiskEncryption accesspolicy on KeyVault for AzureDiskEncryption to perform set secret, get secret, wrap key and unwrap key operations | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: updated 'Encrypiton' to 'Encryption' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
Set-AzKeyVaultAccessPolicy -VaultName $keyVaultName -EnabledForDiskEncryption; | ||
|
||
$diskEncryptionKeyVaultUrl = $keyVault.VaultUri; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -706,7 +706,7 @@ async Task SimpleParameterSetExecuteCmdlet(IAsyncCmdlet asyncCmdlet) | |
|
||
// If the user did not specify a load balancer name, mark the LB setting to ignore | ||
// preexisting check. The most common scenario is users will let the cmdlet create and name the LB for them with the default | ||
// config. We do not want to block that scenario in case the cmdlet failed mid operation and tthe user kicks it off again. | ||
// config. We do not want to block that scenario in case the cmdlet failed mid operation and the user kicks it off again. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed typo: removed extra 't' from 'tthe' to correct the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
if (!loadBalancerNamePassedIn) | ||
{ | ||
LoadBalancerStrategy.IgnorePreExistingConfigCheck = true; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ public string ResourceGroupName | |
// Gets or sets the property of 'Tags' | ||
public IDictionary<string, string> Tags { get; set; } | ||
|
||
// Gets or sets the reference Id of the availailbity set to which this virtual machine belongs. | ||
// Gets or sets the reference Id of the availability set to which this virtual machine belongs. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected spelling: updated 'availailbity' to 'availability' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
public SubResource AvailabilitySetReference { get; set; } | ||
|
||
// Gets or sets the diagnostics profile. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,8 +180,8 @@ static async Task<ImageAndOsType> GetGalleryImageAndOsTypeAsync( | |
const string INSTANCE_NAME_STRING = "Images"; | ||
const string VERSION_STRING = "Versions"; | ||
|
||
//Added the following two fuinctions from https://github.com/Azure/azure-powershell/blob/master/src/Compute/Compute/Generated/ComputeAutomationBaseCmdlet.cs#L319 | ||
//To be able to get the gallery name and gallery image name from the provided gallery image reaource ID. | ||
//Added the following two functions from https://github.com/Azure/azure-powershell/blob/master/src/Compute/Compute/Generated/ComputeAutomationBaseCmdlet.cs#L319 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: updated 'fuinctions' to 'functions' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
//To be able to get the gallery name and gallery image name from the provided gallery image resource ID. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Corrected typo: updated 'reaource' to 'resource' in the comment. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
static string GetGaleryName(string resourceId) | ||
{ | ||
if (string.IsNullOrEmpty(resourceId)) { return null; } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Corrected typo: changed 'GuestAttestaion' to 'GuestAttestation' in the changelog.
Copilot uses AI. Check for mistakes.