Creates a function app service plan.
Syntax Default (Default)New-AzFunctionAppPlan
-Name <String>
-ResourceGroupName <String>
-Location <String>
[-SubscriptionId <String>]
-Sku <String>
[-MaximumWorkerCount <Int32>]
[-MinimumWorkerCount <Int32>]
[-Tag <Hashtable>]
[-DefaultProfile <PSObject>]
-WorkerType <String>
[-NoWait]
[-AsJob]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Creates a function app service plan.
Examples Example 1: Create a Windows premium app plan in West Europe with burst out capability up to 10 instances.New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName `
-Name MyPremiumPlan `
-Location WestEurope `
-MinimumWorkerCount 1 `
-MaximumWorkerCount 10 `
-Sku EP1 `
-WorkerType Windows
This command creates a Windows premium app plan in West Europe with burst out capability up to 10 instances.
Parameters -AsJobRun the command as a job.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ConfirmPrompts you for confirmation before running the cmdlet.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: cf Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -DefaultProfileCreates a function app service plan.
Parameter properties Type: PSObject Default value: None Supports wildcards: False DontShow: False Aliases: AzureRMContext, AzureCredential Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -LocationThe location for the consumption plan.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -MaximumWorkerCountThe maximum number of workers for the app service plan.
Parameter properties Type: Int32 Default value: None Supports wildcards: False DontShow: False Aliases: MaxBurst Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -MinimumWorkerCountThe minimum number of workers for the app service plan.
Parameter properties Type: Int32 Default value: None Supports wildcards: False DontShow: False Aliases: MinInstances Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NameName of the App Service plan.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NoWaitRun the command asynchronously.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ResourceGroupNameName of the resource group to which the resource belongs.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SkuThe plan sku. Valid inputs are: EP1, EP2, EP3
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SubscriptionIdThe Azure subscription ID.
Parameter properties Type: String Default value: (Get-AzContext).Subscription.Id Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -TagResource tags.
Parameter properties Type: Hashtable Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: wi Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -WorkerTypeThe worker type for the plan. Valid inputs are: Windows or Linux.
Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False CommonParametersThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs IAppServicePlanRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4