< Back
Set-AzureRmAppServicePlan
Post
NAME Set-AzureRmAppServicePlan
SYNOPSIS
Sets an Azure App Service plan.
SYNTAX
Set-AzureRmAppServicePlan [-ResourceGroupName] <String> [-Name] <String> [[-AdminSiteName] <String>] [[-Tier] {Free | Shared | Basic | Standard |
Premium | PremiumV2}] [[-NumberofWorkers] <Int32>] [[-WorkerSize] {Small | Medium | Large | ExtraLarge}] [-DefaultProfile
<IAzureContextContainer>] [-PerSiteScaling <Boolean>] [-AsJob] [<CommonParameters>]
Set-AzureRmAppServicePlan [-AppServicePlan] <ServerFarmWithRichSku> [-DefaultProfile <IAzureContextContainer>] [-AsJob] [<CommonParameters>]
DESCRIPTION
The Set-AzureRmAppServicePlan cmdlet sets an Azure App Service plan.
PARAMETERS
-AdminSiteName <String>
Admin Site Name
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AppServicePlan <ServerFarmWithRichSku>
App Service Plan Object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
App Service Plan Name
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NumberofWorkers <Int32>
Number Of Workers
Required? false
Position? 4
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PerSiteScaling <Boolean>
Per Site Scaling Boolean
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Tier <String>
Tier
Required? false
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-WorkerSize <String>
Worker Size
Required? false
Position? 5
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AsJob [<SwitchParameter>]
Run cmdlet in the background
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ServerFarmWithRichSku
Parameter 'AppServicePlan' accepts value of type 'ServerFarmWithRichSku' from the pipeline
OUTPUTS
Microsoft.Azure.Management.WebSites.Models.ServerFarmWithRichSku
NOTES
1: Modify an App Service plan
PS C:\\>Set-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP" -PerSiteScaling $true
This command sets the PerSiteScaling option to true on the App Service plan named ContosoASP that belongs to the resource group named
Default-Web-WestUS.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... erviceplan
Get-AzureRmWebApp
New-AzureRmWebAppBackup
Remove-AzureRmWebApp
Restart-AzureRmWebApp
Restart-AzureRmWebApp
Stop-AzureRmWebApp
SYNOPSIS
Sets an Azure App Service plan.
SYNTAX
Set-AzureRmAppServicePlan [-ResourceGroupName] <String> [-Name] <String> [[-AdminSiteName] <String>] [[-Tier] {Free | Shared | Basic | Standard |
Premium | PremiumV2}] [[-NumberofWorkers] <Int32>] [[-WorkerSize] {Small | Medium | Large | ExtraLarge}] [-DefaultProfile
<IAzureContextContainer>] [-PerSiteScaling <Boolean>] [-AsJob] [<CommonParameters>]
Set-AzureRmAppServicePlan [-AppServicePlan] <ServerFarmWithRichSku> [-DefaultProfile <IAzureContextContainer>] [-AsJob] [<CommonParameters>]
DESCRIPTION
The Set-AzureRmAppServicePlan cmdlet sets an Azure App Service plan.
PARAMETERS
-AdminSiteName <String>
Admin Site Name
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AppServicePlan <ServerFarmWithRichSku>
App Service Plan Object
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
App Service Plan Name
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-NumberofWorkers <Int32>
Number Of Workers
Required? false
Position? 4
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PerSiteScaling <Boolean>
Per Site Scaling Boolean
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-ResourceGroupName <String>
Resource Group Name
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Tier <String>
Tier
Required? false
Position? 3
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-WorkerSize <String>
Worker Size
Required? false
Position? 5
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-AsJob [<SwitchParameter>]
Run cmdlet in the background
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
ServerFarmWithRichSku
Parameter 'AppServicePlan' accepts value of type 'ServerFarmWithRichSku' from the pipeline
OUTPUTS
Microsoft.Azure.Management.WebSites.Models.ServerFarmWithRichSku
NOTES
1: Modify an App Service plan
PS C:\\>Set-AzureRmAppServicePlan -ResourceGroupName "Default-Web-WestUS" -Name "ContosoASP" -PerSiteScaling $true
This command sets the PerSiteScaling option to true on the App Service plan named ContosoASP that belongs to the resource group named
Default-Web-WestUS.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... erviceplan
Get-AzureRmWebApp
New-AzureRmWebAppBackup
Remove-AzureRmWebApp
Restart-AzureRmWebApp
Restart-AzureRmWebApp
Stop-AzureRmWebApp