Skip to content

Spelling Fixes #28066

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 2 commits into
base: main
Choose a base branch
from
Open

Spelling Fixes #28066

wants to merge 2 commits into from

Conversation

ArieHein
Copy link
Contributor

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

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

@Copilot Copilot AI review requested due to automatic review settings June 30, 2025 19:24
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

@Copilot Copilot AI left a 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 is focused exclusively on spelling fixes in comments, displayable strings, error messages, and documentation across various files in the codebase. The key changes include corrections to typos in error messages and help texts in PowerShell and C# files, as well as updates in the changelog and markdown examples.

Reviewed Changes

Copilot reviewed 27 out of 27 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/Network/NetworkSecurityPerimeter.Autorest/test/utils.ps1 Corrected typos ("occcured" → "occured") in error messages.
src/Network/NetworkSecurityPerimeter.Autorest/examples/Get-AzNetworkSecurityPerimeterLoggingConfiguration.md Fixed spelling inconsistencies in the heading and text.
src/Network/NetworkSecurityPerimeter.Autorest/docs/Get-AzNetworkSecurityPerimeterLoggingConfiguration.md Updated spelling in example headers and descriptions.
src/Network/NetworkSecurityPerimeter.Autorest/custom/Update-AzNetworkSecurityPerimeterLoggingConfiguration.ps1 Fixed spelling errors in comments (e.g. "paramters" → "parameters").
src/Network/NetworkSecurityPerimeter.Autorest/custom/Update-AzNetworkSecurityPerimeterLink.ps1 Corrected typos in comments.
src/Network/NetworkSecurityPerimeter.Autorest/custom/Update-AzNetworkSecurityPerimeterAssociation.ps1 Corrected spelling in comments.
src/Network/NetworkSecurityPerimeter.Autorest/custom/Update-AzNetworkSecurityPerimeterAccessRule.ps1 Fixed spelling in comments.
src/Network/Network.Test/ScenarioTests/VirtualRouterTests.ps1 Updated comments to fix typos ("advertiesd" → "advertised").
src/Network/Network.Test/ScenarioTests/PublicIpAddressTests.ps1 Corrected multiple occurrences of "publicIpAddres" to "public IpAddress".
src/Network/Network.Test/ScenarioTests/PrivateLinkServiceTests.ps1 Fixed a typo in the comment ("Verfify" → "Verify").
src/Network/Network.Test/ScenarioTests/PrivateEndpointTests.ps1 Corrected spelling errors in comments ("Verfify" → "Verify").
src/Network/Network.Test/ScenarioTests/NetworkSecurityGroupTests.ps1 Updated descriptions by correcting typos in spelling ("desciption" → "description").
src/Network/Network.Test/ScenarioTests/NetworkManagerTests.ps1 Fixed a typo in a comment ("runing" → "running").
src/Network/Network.Test/ScenarioTests/MultiIpConfigOnNicTests.ps1 Corrected typos in comments ("accociate" → "associate", "muultiple" → "multiple").
src/Network/Network.Test/ScenarioTests/AzureFirewallPolicyTests.ps1 Fixed spelling mistakes in comments ("TerminatTLS" → "TerminateTLS").
src/Network/Network.Test/ScenarioTests/ApplicationGatewayTests.ps1 Corrected typos in comments ("emtpy" → "empty", "rotuing" → "routing").
src/NetAppFiles/NetAppFiles/VolumeGroup/NewNetAppFilesVolumeGroup.cs Fixed spelling in inline comments ("compliler" → "compiler").
src/NetAppFiles/NetAppFiles/Volume/NewAzureNetAppFilesExportPolicyObject.cs Updated spelling in the help message ("endpont" → "endpoint").
src/NetAppFiles/NetAppFiles/SnapshotPolicy/UpdateNetAppFilesSnapshotPolicy.cs Corrected spelling in help messages ("montly" → "monthly").
src/NetAppFiles/NetAppFiles/SnapshotPolicy/SetNetAppFilesSnapshotPolicy.cs Updated help messages to fix spelling errors ("montly" → "monthly").
src/NetAppFiles/NetAppFiles/SnapshotPolicy/NewNetAppFilesSnapshotPolicy.cs Fixed spelling in help messages ("montly" → "monthly").
src/NetAppFiles/NetAppFiles/Models/PSNetAppFilesActiveDirectory.cs Corrected a typo in a code comment ("drectory" → "directory").
src/NetAppFiles/NetAppFiles/ChangeLog.md Fixed spelling errors in changelog entries (e.g. "requred" → "required", "paramter" → "parameter", "convetion" → "convention").
src/NetAppFiles/NetAppFiles/ActiveDirectory/UpdateNetAppFilesActiveDirectory.cs Corrected a typo in an exception message ("extist" → "exist").
src/NetAppFiles/NetAppFiles/ActiveDirectory/NewNetAppFilesActiveDirectory.cs Corrected a typo in an exception message ("extist" → "exist").

Copy link
Contributor

Thank you for your contribution @ArieHein! We will review the pull request and get back to you soon.

YanaXu
YanaXu previously approved these changes Jul 1, 2025
@YanaXu
Copy link
Contributor

YanaXu commented Jul 1, 2025

/azp run azure-powershell - security-tools

Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@YanaXu YanaXu changed the base branch from main to yanxu/test July 1, 2025 03:32
@YanaXu
Copy link
Contributor

YanaXu commented Jul 1, 2025

/azp run

Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@YanaXu YanaXu changed the base branch from yanxu/test to main July 1, 2025 05:38
@YanaXu YanaXu dismissed their stale review July 1, 2025 05:38

The base branch was changed.

@@ -154,7 +154,7 @@ function Test-NetworkSecurityGroup-SecurityRuleCRUD
$resourceGroup = New-AzResourceGroup -Name $rgname -Location $rglocation -Tags @{ testtag = "testval" }

# Create SecurityRule
$securityRule = New-AzNetworkSecurityRuleConfig -Name $securityRule1Name -Description "desciption" -Protocol Tcp -SourcePortRange "23-45" -DestinationPortRange "46-56" -SourceAddressPrefix * -DestinationAddressPrefix * -Access Allow -Priority 123 -Direction Inbound
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not all "desciption" are replaced. The change is not necessary. The tests will be failed.

azure-powershell\src\Network\Network.Test\SessionRecords\Commands.Network.Test.ScenarioTests.NetworkSecurityGroupTests> (ls | sls desciption).Path | Sort-Object -Unique | Resolve-Path -Relative
.\TestNetworkSecurityGroupMultiValuedRules.json
.\TestNetworkSecurityGroupSecurityRuleCRUD.json

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reverted

Copy link

github-actions bot commented Jul 1, 2025

This PR was labeled "needs-revision" because it has unresolved review comments or CI failures.
Please resolve all open review comments and make sure all CI checks are green. Refer to our guide to troubleshoot common CI failures.

@YanaXu
Copy link
Contributor

YanaXu commented Jul 1, 2025

Hi @ArieHein, I suggest you to revert the change in tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants