Skip to content

Commit b4abd5d

Browse files
Webapp: [Documentation]Adding Linux property for New-AzAppServicePlan cmdlet (#14078)
* #Commit1 * #Commit2 * #Commit3 * #13531Commit1
1 parent db3e027 commit b4abd5d

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

src/Websites/Websites.Test/ScenarioTests/CertificatesTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function Test-RemoveAzWebAppCertificate
143143

144144
<#
145145
.SYNOPSIS
146-
Tests creating a new Web Hosting Plan.
146+
Tests for importing a keyvaultcertificate to appservice
147147
#>
148148
function Test-ImportAzWebAppKeyVaultCertificate
149149
{

src/Websites/Websites/help/New-AzAppServicePlan.md

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
---
1+
---
22
external help file: Microsoft.Azure.PowerShell.Cmdlets.Websites.dll-Help.xml
33
Module Name: Az.Websites
44
ms.assetid: 8F36244D-A4D7-40BB-AC4C-E9AD445549F8
@@ -17,8 +17,8 @@ Creates an Azure App Service plan in a given Geo location.
1717
```
1818
New-AzAppServicePlan [-Location] <String> [[-Tier] <String>] [[-NumberofWorkers] <Int32>]
1919
[[-WorkerSize] <String>] [[-AseName] <String>] [[-AseResourceGroupName] <String>] [-PerSiteScaling <Boolean>]
20-
[-HyperV] [-AsJob] [-ResourceGroupName] <String> [-Name] <String> [-DefaultProfile <IAzureContextContainer>]
21-
[<CommonParameters>]
20+
[-HyperV] [-AsJob] [-Tag <Hashtable>] [-Linux] [-ResourceGroupName] <String> [-Name] <String>
21+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
2222
```
2323

2424
### S2
@@ -133,6 +133,21 @@ Accept pipeline input: False
133133
Accept wildcard characters: False
134134
```
135135
136+
### -Linux
137+
Specify this, App Service Plan will run Linux Containers
138+
139+
```yaml
140+
Type: System.Management.Automation.SwitchParameter
141+
Parameter Sets: S1
142+
Aliases:
143+
144+
Required: False
145+
Position: Named
146+
Default value: None
147+
Accept pipeline input: False
148+
Accept wildcard characters: False
149+
```
150+
136151
### -Location
137152
Location
138153
@@ -208,6 +223,21 @@ Accept pipeline input: False
208223
Accept wildcard characters: False
209224
```
210225
226+
### -Tag
227+
Tags are name/value pairs that enable you to categorize resources
228+
229+
```yaml
230+
Type: System.Collections.Hashtable
231+
Parameter Sets: S1
232+
Aliases:
233+
234+
Required: False
235+
Position: Named
236+
Default value: None
237+
Accept pipeline input: False
238+
Accept wildcard characters: False
239+
```
240+
211241
### -Tier
212242
Tier
213243
@@ -240,7 +270,7 @@ Accept wildcard characters: False
240270
```
241271
242272
### CommonParameters
243-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
273+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
244274
245275
## INPUTS
246276

0 commit comments

Comments
 (0)