Skip to content

Commit 884c6dd

Browse files
committed
Addressing CR feedback
1 parent 357a629 commit 884c6dd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/Websites/Websites/help/Set-AzWebApp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The **Set-AzWebApp** cmdlet sets an Azure Web App.
4040

4141
### Example 1
4242
```
43-
PS C:\> Set-AzWebApp -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -AppServicePlan $aspResourceId
43+
PS C:\> Set-AzWebApp -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -AppServicePlan "ContosoPlan"
4444
```
4545

4646
This command changes the appservice plan associated with the Web App ContosoWebApp associated with the resource group Default-Web-WestUS. Use the link to learm more about changing the appservice plan and constraints associated with it.

src/Websites/Websites/help/Set-AzWebAppSlot.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ The **Set-AzWebApp** cmdlet sets an Azure Web App Slot.
4747

4848
### Example 1
4949
```
50+
PS C:\> Set-AzWebAppSlot -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -Slot "Slot001" -AppServicePlan "ContosoPlan"
51+
```
52+
53+
This command changes the appservice plan associated with the Slot001, on the Webapp ContosoWebApp associated with the resource group Default-Web-WestUS. Use the link to learm more about changing the appservice plan and constraints associated with it.
54+
https://docs.microsoft.com/en-us/azure/app-service/app-service-plan-manage#move-an-app-to-another-app-service-plan
55+
56+
### Example 2
57+
```
5058
PS C:\> Set-AzWebAppSlot -ResourceGroupName "Default-Web-WestUS" -Name "ContosoWebApp" -Slot "Slot001" -HttpLoggingEnabled $true
5159
```
5260

0 commit comments

Comments
 (0)