Skip to content

Commit 1796c88

Browse files
authored
Spelling Fixes (#28095)
1 parent a604f46 commit 1796c88

20 files changed

+36
-36
lines changed

src/Websites/LiveTests/Websites/TestLiveScenarios.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Invoke-LiveTestScenario -Name "Start, Stop and Restart WebApp" -Description "Tes
142142
$webApp = Start-AzWebApp -ResourceGroupName $rgName -Name $webAppName
143143
Assert-AreEqual "Running" $webApp.State
144144

145-
# Retart web app
145+
# Restart web app
146146
$webApp = Restart-AzWebApp -ResourceGroupName $rgName -Name $webAppName
147147
Assert-AreEqual "Running" $webApp.State
148148
}

src/Websites/Websites.Autorest/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ directive:
151151
subject: (.*)PrivateEndpoint(.*)
152152
remove: true
153153

154-
# swagger definiition incorrect.
154+
# swagger definition incorrect.
155155
- where:
156156
subject: PreviewWorkflow
157157
remove: true
@@ -268,7 +268,7 @@ directive:
268268

269269
- where:
270270
verb: Update
271-
subjet: null
271+
subject: null
272272
variant: ^Update$|^UpdateViaIdentity$
273273
remove: true
274274

@@ -332,13 +332,13 @@ directive:
332332
set:
333333
parameter-name: ForkRepository$1
334334

335-
# Hide New/Updaete-AzStaticWebApp for remove no-require sku parameters.
335+
# Hide New/Update-AzStaticWebApp for remove no-require sku parameters.
336336
- where:
337337
verb: New
338338
subject: ^$
339339
hide: true
340340

341-
# Customise for webapp swagger. Only keep continuouswebjobs path and delete others path.
341+
# Customize for webapp swagger. Only keep continuouswebjobs path and delete others path.
342342

343343
- from: swagger-document
344344
where: $.paths

src/Websites/Websites.Autorest/docs/Get-AzStaticWebApp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Kind Location Name Type
6767

6868
This commands list all static web applications under a resource group.
6969

70-
### Example 3: Get a satic web application by name
70+
### Example 3: Get a static web application by name
7171
```powershell
7272
Get-AzStaticWebApp -ResourceGroupName azure-rg-test -Name staticweb-portal04
7373
```
@@ -78,9 +78,9 @@ Kind Location Name Type
7878
Central US staticweb-portal04 Microsoft.Web/staticSites
7979
```
8080

81-
This commands gets a satic web application by name.
81+
This commands gets a static web application by name.
8282

83-
### Example 4: Get a satic web application by pipline
83+
### Example 4: Get a static web application by pipeline
8484
```powershell
8585
New-AzStaticWebApp -ResourceGroupName azure-rg-test -Name staticweb-pwsh01 -Location eastus2 -RepositoryUrl 'https://github.com/username/RepoName' -RepositoryToken 'repoToken123' -Branch 'master' -AppLocation 'Client' -ApiLocation 'Api' -OutputLocation 'wwwroot' -SkuName 'free' | Get-AzStaticWebApp
8686
```
@@ -91,7 +91,7 @@ Kind Location Name Type
9191
Central US staticweb-portal04 Microsoft.Web/staticSites
9292
```
9393

94-
This commands gets a satic web application by pipline.
94+
This commands gets a static web application by pipeline.
9595

9696
## PARAMETERS
9797

src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuild.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Kind Name Type
4646
```
4747

4848
This command list all builds under a static web app.
49-
Automaticall create a new build in static web app When creating a new pull request for branch.
49+
Automatically create a new build in static web app When creating a new pull request for branch.
5050

5151
### Example 2: Get the details of a static site build
5252
```powershell

src/Websites/Websites.Autorest/docs/Test-AzStaticWebAppCustomDomain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ Test-AzStaticWebAppCustomDomain -ResourceGroupName resourceGroup -Name staticweb
3636
3737
```
3838

39-
This commnad validates a particular custom domain can be added to a static site
39+
This command validates a particular custom domain can be added to a static site
4040

4141
### Example 2: Validate a particular custom domain can be added to a static site by pipeline
4242
```powershell
4343
Get-AzStaticWebAppCustomDomain -ResourceGroupName resourceGroup -Name staticweb00 -DomainName 'www01.azpstest.net' | Get-AzStaticWebAppCustomDomain
4444
4545
```
4646

47-
This commnad validates a particular custom domain can be added to a static site by pipeline.
47+
This command validates a particular custom domain can be added to a static site by pipeline.
4848

4949
## PARAMETERS
5050

src/Websites/Websites.Autorest/examples/Get-AzStaticWebApp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Kind Location Name Type
2424

2525
This commands list all static web applications under a resource group.
2626

27-
### Example 3: Get a satic web application by name
27+
### Example 3: Get a static web application by name
2828
```powershell
2929
Get-AzStaticWebApp -ResourceGroupName azure-rg-test -Name staticweb-portal04
3030
```
@@ -34,10 +34,10 @@ Kind Location Name Type
3434
Central US staticweb-portal04 Microsoft.Web/staticSites
3535
```
3636

37-
This commands gets a satic web application by name.
37+
This commands gets a static web application by name.
3838

3939

40-
### Example 4: Get a satic web application by pipline
40+
### Example 4: Get a static web application by pipeline
4141
```powershell
4242
New-AzStaticWebApp -ResourceGroupName azure-rg-test -Name staticweb-pwsh01 -Location eastus2 -RepositoryUrl 'https://github.com/username/RepoName' -RepositoryToken 'repoToken123' -Branch 'master' -AppLocation 'Client' -ApiLocation 'Api' -OutputLocation 'wwwroot' -SkuName 'free' | Get-AzStaticWebApp
4343
```
@@ -47,4 +47,4 @@ Kind Location Name Type
4747
Central US staticweb-portal04 Microsoft.Web/staticSites
4848
```
4949

50-
This commands gets a satic web application by pipline.
50+
This commands gets a static web application by pipeline.

src/Websites/Websites.Autorest/examples/Get-AzStaticWebAppBuild.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Kind Name Type
88
default Microsoft.Web/staticSites/builds
99
```
1010

11-
This command list all builds under a static web app. Automaticall create a new build in static web app When creating a new pull request for branch.
11+
This command list all builds under a static web app. Automatically create a new build in static web app When creating a new pull request for branch.
1212

1313

1414
### Example 2: Get the details of a static site build

src/Websites/Websites.Autorest/examples/Test-AzStaticWebAppCustomDomain.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Test-AzStaticWebAppCustomDomain -ResourceGroupName resourceGroup -Name staticweb
44
55
```
66

7-
This commnad validates a particular custom domain can be added to a static site
7+
This command validates a particular custom domain can be added to a static site
88

99
### Example 2: Validate a particular custom domain can be added to a static site by pipeline
1010
```powershell
1111
Get-AzStaticWebAppCustomDomain -ResourceGroupName resourceGroup -Name staticweb00 -DomainName 'www01.azpstest.net' | Get-AzStaticWebAppCustomDomain
1212
1313
```
1414

15-
This commnad validates a particular custom domain can be added to a static site by pipeline.
15+
This command validates a particular custom domain can be added to a static site by pipeline.

src/Websites/Websites.Autorest/test/utils.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function Start-TestSleep {
3333
$env = @{}
3434
function setupEnv() {
3535
# NOTE:Need manually steps.
36-
# 1. create the domain for use in the test before runing test. Help link:https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain#configure-dns-provider
36+
# 1. create the domain for use in the test before running test. Help link:https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain#configure-dns-provider
3737
# 2. Invite user join static web domian.
3838

3939
# Preload subscriptionId and tenant from context, which will be used in test
@@ -59,8 +59,8 @@ function setupEnv() {
5959
$env.resourceGroup = 'staticweb-rg-' + (RandomString -allChars $false -len 6)
6060
New-AzResourceGroup -Name $env.resourceGroup -Location $env.location
6161

62-
# Deploy app serivce plan for use in the test.
63-
Write-Host -ForegroundColor Green "Deploy app serivce plan for use in the test"
62+
# Deploy app service plan for use in the test.
63+
Write-Host -ForegroundColor Green "Deploy app service plan for use in the test"
6464
$env.serverfarmsName01 = "serverfarmsName-" + (RandomString -allChars $false -len 6)
6565
$serverfarmsParam01 = Get-Content .\test\deployment-templates\appservice-plan\parameters.json | ConvertFrom-Json
6666
$serverfarmsParam01.parameters.serverfarms_name.value = $env.serverfarmsName01
@@ -104,8 +104,8 @@ function setupEnv() {
104104
-AppLocation 'Client' -ApiLocation 'Api' -OutputLocation 'wwwroot' -SkuName 'Standard'
105105

106106

107-
# Register funtion app for static web.
108-
Write-Host "Register funtion app for static web."
107+
# Register function app for static web.
108+
Write-Host "Register function app for static web."
109109
Register-AzStaticWebAppUserProvidedFunctionApp -ResourceGroupName $env.resourceGroup -Name $env.staticweb00 -FunctionAppName $env.functionAppName01 -FunctionAppResourceId $env.functionAppId01 -FunctionAppRegion $env.location
110110

111111
# Test for web jobs of the app service.

src/Websites/Websites/ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Migrated Websites.Helper generation from autorest csharp to autorest powershell.
3030

3131
## Version 3.3.0
32-
* Fixd the source app retrival from Microsoft.Web RP instead of ARM cache for `RestoreAzureWebAppSnapshot`
32+
* Fixed the source app retrieval from Microsoft.Web RP instead of ARM cache for `RestoreAzureWebAppSnapshot`
3333
* Upgraded nuget package to signed package.
3434

3535
## Version 3.2.2

0 commit comments

Comments
 (0)