Skip to content

Commit 4bec99f

Browse files
ArieHeinCopilotvidai-msft
authored
Spelling Fixes (#27953)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Vincent Dai <23257217+vidai-msft@users.noreply.github.com>
1 parent ed53d7a commit 4bec99f

19 files changed

+36
-36
lines changed

documentation/breaking-changes/breaking-changes-in-generated-modules-due-to-codegen-tool-upgrade-from-v3-to-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Generally, this change will not cause a breaking change for users. In modules ge
2727

2828
### Removal of PassThru for Certain Cmdlets
2929

30-
`-PassThru` is a switch parameter that we add to cmdlets that don't have outputs to enable the pipline functionality. In AutoRest.PowerShell v3, `-PassThru` was incorrectly added to some cmdlets that do have outputs. This is fixed in v4 and those extra `-PassThru` parameters are removed.
30+
`-PassThru` is a switch parameter that we add to cmdlets that don't have outputs to enable the pipeline functionality. In AutoRest.PowerShell v3, `-PassThru` was incorrectly added to some cmdlets that do have outputs. This is fixed in v4 and those extra `-PassThru` parameters are removed.
3131

3232
#### How to Mitigate the Impact of Breaking Changes
3333

documentation/development-docs/azure-powershell-developer-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ To import modules automatically when debug has started, follow the below steps:
233233
- Please refer to [Debug Page, Project Designer](https://learn.microsoft.com/visualstudio/ide/reference/debug-page-project-designer?view=vs-2022) for how to access the Debug page
234234
- Create a **Excutable** new Debug profile
235235
- For Azure PowerShell, please setup debug profile in the following way
236-
- Set **Excutable** to the path of the excutable file of PowerShell core, for example,`C:\Program Files\PowerShell\7\pwsh.exe`
236+
- Set **Excutable** to the path of the executable file of PowerShell core, for example,`C:\Program Files\PowerShell\7\pwsh.exe`
237237
- Import the Profile module, along with the module you are testing, by pasting the following in the **Command line arguments** box (_note_: you have to update the <PATH_TO_REPO> and <SERVICE> values provided below):
238238
- `-NoExit -Command "Import-Module <PATH_TO_REPO>/artifacts/Debug/Az.Accounts/Az.Accounts.psd1;Import-Module <PATH_TO_REPO>/artifacts/Debug/Az.<SERVICE>/Az.<SERVICE>.psd1;$DebugPreference='Continue'"`
239239

documentation/development-docs/breakingchange-for-autogen-module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ Breaking changes and preview messages for auto gen cmdlets are added through dir
116116
117117
To add breaking changes or preview messages for a customized cmdlets, you will need to add related attributes in code directly. And following are some common cases.
118118
119-
You must provide expected breaking change az version and moudle verision otherwise it won't compile. The first version is expected az version while the second one is expected moudle verision.
119+
You must provide expected breaking change az version and module version otherwise it won't compile. The first version is expected az version while the second one is expected module version.
120120
121-
**Note: these examples are based on the Az.Databricks module. Please double check the namesapce. You will most likely need to replace "Databricks" with your module's name.**
121+
**Note: these examples are based on the Az.Databricks module. Please double check the namespace. You will most likely need to replace "Databricks" with your module's name.**
122122
123123
## Case 1 — Generic Breaking change for a cmdlet
124124

documentation/development-docs/design-guidelines/azure-powershell-exceptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure PowerShell defines most commonly used exceptions, all of which inherit fro
1717
| AzPSInvalidOperationException | Internal | | This exception should be thrown when a method call is invalid for the object's current state. |
1818
| AzPSIOException | User | | This exception should be thrown when an I/O error occurs. |
1919
| AzPSKeyNotFoundException | Internal | MapKeyName | This exception should be thrown when the key specified for accessing an element in a collection does not match any key in the collection. |
20-
| AzPSApplicationException | Internal | | This exception is representive of ApplicationException in Azure PowerShell. |
20+
| AzPSApplicationException | Internal | | This exception is representative of ApplicationException in Azure PowerShell. |
2121
| AzPSFileNotFoundException | User | FileName (Not full path) | This exception should be thrown when accessing a file that does not exist. |
2222

2323
There are three types of errors in Azure PowerShell.

documentation/development-docs/design-guidelines/managed-identity-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ If the module is under pre-GA status, we can let the syntax break directly due t
6464
If the module is GAed, we need to disable the transform (See guideline at [here](https://github.com/Azure/autorest.powershell/blob/main/docs/migration-from-v3-to-v4.md#how-to-mitigate-the-breaking-changes-of-managed-identity-best-practice-alignment).) but preannounce breaking change) and plan to break it (add upcoming breaking changes for them and take the effects on a major release).
6565

6666
### What should I do if Autorest reports _"Parameter IdentityType in operation '{operationId}' can not be transformed as the best practice design"_?
67-
This error indicates that autorest is trying to replace PATCH operation by GET+PUT operation to let IdentityType transformed as best practice desgin but failed due to certain reasons. One of common reasons is GET operation contains query parameter and autorest has not supported such a combined GET+PUT operation. To mitigate this issue,
67+
This error indicates that autorest is trying to replace PATCH operation by GET+PUT operation to let IdentityType transformed as best practice design but failed due to certain reasons. One of common reasons is GET operation contains query parameter and autorest has not supported such a combined GET+PUT operation. To mitigate this issue,
6868

6969
- Include a customization script to transform the parameter IdentityType to EnableSystemAssignedIdentity by `get` + `patch` update for this type of operation. The following are the detailed steps on how to accomplish this.
7070
- disable transformation for the operation which reported error in README.md by

documentation/development-docs/generate-format.ps1xml-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ namespace Microsoft.Azure.Commands.Profile.Models
8383
// code omitted for brevity
8484
```
8585

86-
PowerShell uses these properties for the cmdlet table formated output:
86+
PowerShell uses these properties for the cmdlet table formatted output:
8787

8888
```PowerShell
8989
PS C:\> Get-AzSubscription | Format-Table

documentation/development-docs/sdkbased-vs-autogen.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Description
22

3-
The document is for those, who are familiar with SDK-based modules and want to give a try with auto-gen modules. The content will contain the comparation between these two kinds of modules from architecture, cmdlets differences, and onboard process, etc.
3+
The document is for those, who are familiar with SDK-based modules and want to give a try with auto-gen modules. The content will contain the comparison between these two kinds of modules from architecture, cmdlets differences, and onboard process, etc.
44

55
# Architecture
66

@@ -65,7 +65,7 @@ Customization could be done through three ways.
6565

6666
### SDK-based Module
6767

68-
If your module relies on some other modules, you will need to rely on dotnet SDK of these modules, which could put in your module if only your module depends on them or in Az.Accouts they are some common modules required by several modules.
68+
If your module relies on some other modules, you will need to rely on dotnet SDK of these modules, which could put in your module if only your module depends on them or in Az.Accounts they are some common modules required by several modules.
6969

7070
### Auto-gen Module
7171

documentation/internal/authinrdfe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ To acquire management certificate credentials, you must download a PublishingPr
1313
The Add-AzureAccount command can be used to acquire a token based on user credentials, and if the associated user is authorized for RDFE access to a subscription (they must be a classic administrator or co-admin of the subscription), they will have access to those subscriptions authorized to their account for classic administrator access
1414

1515
## General Notes
16-
- Managemnt certificate authentication lasts for an entire TCP session. User authentication is self-renewing, just as it is in ARM.
16+
- Management certificate authentication lasts for an entire TCP session. User authentication is self-renewing, just as it is in ARM.
1717

1818
## Programmatic Authentication for PowerShell clients
1919
- Clients are still authenticated using an IAuthenticationFactory, and the following overload:
2020

2121
```c#
2222
SubscriptionCloudCredentials GetSubscriptionCloudCredentials(IAzureContext context)
2323
```
24-
Note that, the ARM token audience is different than the token audience used for RDFE, although the RDFE tolken audience is accepted by both endpoints.
24+
Note that, the ARM token audience is different than the token audience used for RDFE, although the RDFE token audience is accepted by both endpoints.
2525

2626
Similarly, RDFE clients can be created using the IClientFactory interface:
2727

documentation/internal/pull-request-review-knowledge-share.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
## PR Review Knowledge Share
22

3-
### Dependency Assemlby Version Confliction
3+
### Dependency Assembly Version Confliction
44
If one assembly has been referenced by more than one module, we should let Az.Accounts to handle the dependency.
55

66
**RED** flag
77
- Update assembly version for common Microsoft.Extensions.*
8-
- Add new dependency assemlby for one module, the assembly may be referenced by other module already.
8+
- Add new dependency assembly for one module, the assembly may be referenced by other module already.
99
- Contains version update for dependency assembly in module other than Az.Accounts
1010

1111
### Resource ID **MUST** start with a slash

documentation/migration-guides/Az.11.0.0-migration-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@ The cmdlet 'Reset-AzPowerBIWorkspaceCollectionAccessKey' has been removed as Wor
682682

683683
## AZ.Storage
684684

685-
### `Get-AzStorageQueueStoredAcessPolicy`
686-
Permissions in the ouput access policy is changed to a string like "raup"
685+
### `Get-AzStorageQueueStoredAccessPolicy`
686+
Permissions in the output access policy is changed to a string like "raup"
687687

688688
### `New-AzStorageAccountSasToken`
689689
The leading question mark '?' of the created SAS token is removed
@@ -707,5 +707,5 @@ The leading question mark '?' of the created SAS token is removed
707707
The leading question mark '?' of the created SAS token is removed
708708

709709
### `Set-AzStorageQueueStoredAccessPolicy`
710-
Permissions in the ouput access policy is changed to a string like "raup"
710+
Permissions in the output access policy is changed to a string like "raup"
711711

0 commit comments

Comments
 (0)