-
Notifications
You must be signed in to change notification settings - Fork 4k
Spelling Fixes #28092
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 #28092
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Thank you for your contribution @ArieHein! We will review the pull request and get back to you soon. |
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.
Pull Request Overview
This PR corrects various spelling mistakes in code comments, help messages, examples, and documentation across the Storage and StorageMover modules. All changes are limited to displayable strings and comments; no functional or API behavior was modified.
- Fixed typos in examples and markdown docs.
- Corrected spelling errors in code comments and help messages.
- Updated unit test and scenario test comments for clarity.
Reviewed Changes
Copilot reviewed 24 out of 24 changed files in this pull request and generated 12 comments.
Show a summary per file
File | Description |
---|---|
src/StorageMover/StorageMover.Autorest/examples/New-AzStorageMoverAzSmbFileShareEndpoint.md | Fix 'creats' → 'creates' in example description |
src/StorageMover/StorageMover.Autorest/examples/Get-AzStorageMover.md | Fix 'subcription' → 'subscription' in example heading |
src/StorageMover/StorageMover.Autorest/docs/New-AzStorageMoverAzSmbFileShareEndpoint.md | Fix 'creats' → 'creates' in command description |
src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMover.md | Fix 'subcription' → 'subscription' in example heading |
src/StorageMover/StorageMover.Autorest/README.md | Fix 'paramater' → 'parameter' in directive comments |
src/Storage/Storage.common/Common/AzureStorageContext.cs | Fix 'propeties' → 'properties' and 'Proivides' → 'Provides' |
src/Storage/Storage.Test/Table/NewAzureStorageTableStoredAccessPolicyTest.cs | Fix 'lenght' → 'length' in test comment |
src/Storage/Storage.Test/Service/MockStorageBlobManagement.cs | Fix 'presssions' → 'permissions' in summary |
src/Storage/Storage.Test/Common/PSServicePropertiesTest.cs | Fix 'PSSeriviceProperties' → 'PSServiceProperties' and 'Comapare' → 'Compare' typos |
src/Storage/Storage.Management/StorageAccount/StorageAccountBaseCmdlet.cs | Fix 'defination' → 'definition' in comments |
src/Storage/Storage.Management/StorageAccount/StopAzureStorageAccountHierarchicalNamespaceUpgrade.cs | Fix 'custmized' → 'customized' in comments |
src/Storage/Storage.Management/StorageAccount/SetAzureStorageAccount.cs | Fix 'assignedd' → 'assigned' and 'idenetity' → 'identity' in help messages |
src/Storage/Storage.Management/StorageAccount/SetAzStorageObjectReplicationPolicy.cs | Fix 'resouceID' → 'resourceID' and 'destonation' → 'destination' |
src/Storage/Storage.Management/StorageAccount/RemoveAzureStorageAccountNetworkRule.cs | Fix 'paremeter', 'NetworkRulee', and 'reove' → correct spellings in comments |
src/Storage/Storage.Management/StorageAccount/NewAzureStorageAccount.cs | Fix 'paramter' → 'parameter' and 'idenetity' → 'identity' |
src/Storage/Storage.Management/StorageAccount/NewAzStorageBlobRangeToRestore.cs | Fix 'begining' → 'beginning' in help message |
src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountHierarchicalNamespaceUpgrade.cs | Fix 'custmized' → 'customized' in comments |
src/Storage/Storage.Management/StorageAccount/AddAzureStorageAccountNetworkRule.cs | Fix 'paremeter' → 'parameter' in summary |
src/Storage/Storage.Management/StorageAccount/AddAzureStorageAccountManagementPolicyAction.cs | Fix 'conjuction' → 'conjunction' and 'avaialbe' → 'available' |
src/Storage/Storage.Management/Blob/SetAzureStorageContainerImmutabilityPolicy.cs | Fix 'Appened' → 'Append' in help messages |
src/Storage/Storage.Management/Blob/AddAzureStorageContainerLegalHold.cs | Fix 'Appened' → 'Append' in help message |
src/Storage/Storage.Management.Test/ScenarioTests/StorageFileTests.ps1 | Fix 'miniute' → 'minute' in comment |
src/Storage/Storage.Management.Test/ScenarioTests/StorageDataPlaneTests.ps1 | Fix 'loggin' → 'logging' and 'sevice' → 'service' in comments |
src/Storage/Storage.Management.Test/ScenarioTests/StorageBlobTests.ps1 | Fix 'Retension' → 'Retention' and 'proeprties' → 'properties' |
Comments suppressed due to low confidence (30)
src/StorageMover/StorageMover.Autorest/examples/Get-AzStorageMover.md:1
- Correct typo: 'subcription' should be 'subscription'.
### Example 1: Get all Storage movers in a subscription
src/StorageMover/StorageMover.Autorest/README.md:104
- Correct typo: 'paramater' should be 'parameter'.
# Remove parameter sets Create and CreateViaIdentity
src/Storage/Storage.common/Common/AzureStorageContext.cs:140
- Correct typo: 'propeties' should be 'properties'.
/// <summary>
src/Storage/Storage.common/Common/AzureStorageContext.cs:204
- Correct typo: 'Proivides' should be 'Provides'.
/// <summary>
src/Storage/Storage.Test/Table/NewAzureStorageTableStoredAccessPolicyTest.cs:47
- Correct typo: 'lenght' should be 'length'.
{
src/Storage/Storage.Test/Service/MockStorageBlobManagement.cs:507
- Correct typo: 'presssions' should be 'permissions'.
/// <summary>
src/Storage/Storage.Test/Common/PSServicePropertiesTest.cs:48
- Correct typo: 'PSSeriviceProperties' should be 'PSServiceProperties'.
/// <summary>
src/Storage/Storage.Test/Common/PSServicePropertiesTest.cs:85
- Correct typo: 'Comapare' should be 'Compare'.
/// <summary>
src/Storage/Storage.Test/Common/PSServicePropertiesTest.cs:129
- Correct typo: 'Comapare' should be 'Compare'.
/// <summary>
src/Storage/Storage.Test/Common/PSServicePropertiesTest.cs:168
- Correct typo: 'Comapare' should be 'Compare'.
/// <summary>
src/Storage/Storage.Management/StorageAccount/StopAzureStorageAccountHierarchicalNamespaceUpgrade.cs:109
- Correct typo: 'custmized' should be 'customized'.
{
src/Storage/Storage.Management/StorageAccount/SetAzureStorageAccount.cs:194
- Correct typo: 'assignedd' should be 'assigned'.
Mandatory = false,
src/Storage/Storage.Management/StorageAccount/SetAzStorageObjectReplicationPolicy.cs:166
- Correct typo: 'destonation' should be 'destination'.
{
src/Storage/Storage.Management/StorageAccount/RemoveAzureStorageAccountNetworkRule.cs:39
- Correct typo: 'paremeter' should be 'parameter'.
/// <summary>
src/Storage/Storage.Management/StorageAccount/RemoveAzureStorageAccountNetworkRule.cs:240
- Correct typo: 'reove' should be 'remove'.
/// <param name="ruleToRemove">The IP Rule to remove</param>
src/Storage/Storage.Management/StorageAccount/RemoveAzureStorageAccountNetworkRule.cs:259
- Correct typo: 'reove' should be 'remove'.
/// <param name="ruleToRemove">The ResourceAccessRule to remove</param>
src/Storage/Storage.Management/StorageAccount/RemoveAzureStorageAccountNetworkRule.cs:278
- Correct typo: 'NetworkRulee' should be 'NetworkRule'.
/// <param name="ruleList">The NetworkRule List</param>
src/Storage/Storage.Management/StorageAccount/RemoveAzureStorageAccountNetworkRule.cs:279
- Correct typo: 'reove' should be 'remove'.
/// <param name="ruleToRemove">The NetworkRule to remove</param>
src/Storage/Storage.Management/StorageAccount/NewAzStorageBlobRangeToRestore.cs:26
- Correct typo: 'begining' should be 'beginning'.
[Parameter(Mandatory = false,
src/Storage/Storage.Management/StorageAccount/InvokeAzureStorageAccountHierarchicalNamespaceUpgrade.cs:124
- Correct typo: 'custmized' should be 'customized'.
{
src/Storage/Storage.Management/StorageAccount/AddAzureStorageAccountNetworkRule.cs:38
- Correct typo: 'paremeter' should be 'parameter'.
/// <summary>
src/Storage/Storage.Management.Test/ScenarioTests/StorageFileTests.ps1:231
- Correct typo: 'miniute' should be 'minute'.
{
src/Storage/Storage.Management.Test/ScenarioTests/StorageDataPlaneTests.ps1:646
- Correct typo: 'loggin' should be 'logging'.
.SYNOPSIS
- where: | ||
verb: New | ||
subject: Endpoint | ||
variant: ^Create$|^CreateViaIdentity$ | ||
remove: true | ||
# Remove paramater set Update and UpdateViaIdentity | ||
# Remove parameter set Update and UpdateViaIdentity |
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.
Correct typo: 'paramater' should be 'parameter'.
Copilot uses AI. Check for mistakes.
@@ -210,7 +210,7 @@ public string KeyVaultUri | |||
|
|||
[Parameter( | |||
Mandatory = false, | |||
HelpMessage = "Set the new Storage Account Identity type, the idenetity is for use with key management services like Azure KeyVault.")] | |||
HelpMessage = "Set the new Storage Account Identity type, the identity is for use with key management services like Azure KeyVault.")] |
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.
Correct typo: 'idenetity' should be 'identity'.
Copilot uses AI. Check for mistakes.
@@ -116,7 +116,7 @@ public string PolicyId | |||
|
|||
[Parameter( | |||
Mandatory = false, | |||
HelpMessage = "Object Replication Policy DestinationAccount, if SourceAccount is account name it should be account name, else should be account resource id. Default value will be the input StorageAccountName, or the resouceID of the account.", | |||
HelpMessage = "Object Replication Policy DestinationAccount, if SourceAccount is account name it should be account name, else should be account resource id. Default value will be the input StorageAccountName, or the resourceID of the account.", |
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.
Correct typo: 'resouceID' should be 'resourceID'.
Copilot uses AI. Check for mistakes.
@@ -163,7 +163,7 @@ public bool EnableHttpsTrafficOnly | |||
|
|||
[Parameter( | |||
Mandatory = false, | |||
HelpMessage = "Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault. If specify this paramter without \"-IdentityType\", will use system assigned identity.")] | |||
HelpMessage = "Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault. If specify this parameter without \"-IdentityType\", will use system assigned identity.")] |
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.
Correct typo: 'paramter' should be 'parameter'.
Copilot uses AI. Check for mistakes.
@@ -174,7 +174,7 @@ public bool EnableHttpsTrafficOnly | |||
|
|||
[Parameter( | |||
Mandatory = false, | |||
HelpMessage = "Set the new Storage Account Identity type, the idenetity is for use with key management services like Azure KeyVault.")] | |||
HelpMessage = "Set the new Storage Account Identity type, the identity is for use with key management services like Azure KeyVault.")] |
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.
Correct typo: 'idenetity' should be 'identity'.
Copilot uses AI. Check for mistakes.
[Parameter(Mandatory = false, ParameterSetName = AccountObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = ContainerObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = ImmutabilityPolicyObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = AccountNameParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] |
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.
Correct typo: 'Appened' should be 'Append'.
Copilot uses AI. Check for mistakes.
[Parameter(Mandatory = false, ParameterSetName = AccountObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = ContainerObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = ImmutabilityPolicyObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = AccountNameParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] |
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.
Correct typo: 'Appened' should be 'Append'.
Copilot uses AI. Check for mistakes.
[Parameter(Mandatory = false, ParameterSetName = ContainerObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = ImmutabilityPolicyObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = AccountNameParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = AccountObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] |
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.
Correct typo: 'Appened' should be 'Append'.
Copilot uses AI. Check for mistakes.
[Parameter(Mandatory = false, ParameterSetName = ImmutabilityPolicyObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = AccountNameParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = AccountObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] | ||
[Parameter(Mandatory = false, ParameterSetName = ContainerObjectParameterSet, HelpMessage = "This property can only be changed for unlocked policies. When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. '-AllowProtectedAppendWrites' and '-AllowProtectedAppendWritesAll' are mutually exclusive.")] |
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.
Correct typo: 'Appened' should be 'Append'.
Copilot uses AI. Check for mistakes.
@@ -92,7 +92,7 @@ public class AddAzureStorageContainerLegalHoldCommand : StorageBlobBaseCmdlet | |||
[ValidateNotNullOrEmpty] | |||
public string[] Tag { get; set; } | |||
|
|||
[Parameter(Mandatory = false, HelpMessage = "When enabled, new blocks can be written to both 'Appened and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.")] | |||
[Parameter(Mandatory = false, HelpMessage = "When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.")] |
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.
Correct typo: 'Appened' should be 'Append'.
[Parameter(Mandatory = false, HelpMessage = "When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.")] | |
[Parameter(Mandatory = false, HelpMessage = "When enabled, new blocks can be written to both 'Append and Block Blobs' while maintaining immutability protection and compliance. Only new blocks can be added, and any existing blocks cannot be modified or deleted.")] |
Copilot uses AI. Check for mistakes.
/azp run azure-powershell - security-tools |
Azure Pipelines successfully started running 1 pipeline(s). |
Description
This does spelling fixes in codebase files that are either:
in comments.
in displayable strings.
There are NO other changes to programmatic aspects or code behavior.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.