Interface FunctionApp.DefinitionStages.WithNewAppServicePlan
- All Known Subinterfaces:
FunctionApp.Definition,FunctionApp.DefinitionStages.WithCreate
- Enclosing interface:
- FunctionApp.DefinitionStages
public static interface FunctionApp.DefinitionStages.WithNewAppServicePlan
A function app definition allowing app service plan to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewAppServicePlan(PricingTier pricingTier) Creates a new Windows app service plan to use.withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new Windows app service plan to use.withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier) Creates a new Windows app service plan to use.Creates a new Windows consumption plan to use.withNewConsumptionPlan(String appServicePlanName) Creates a new Windows consumption plan to use.Creates a new Windows free app service plan.withNewLinuxAppServicePlan(PricingTier pricingTier) Creates a new Linux app service plan to use.withNewLinuxAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new Linux app service plan to use.withNewLinuxAppServicePlan(String appServicePlanName, PricingTier pricingTier) Creates a new Linux app service plan to use.Creates a new Linux consumption plan to use.withNewLinuxConsumptionPlan(String appServicePlanName) Creates a new Linux consumption plan to use.Creates a new Windows shared app service plan.
-
Method Details
-
withNewConsumptionPlan
FunctionApp.DefinitionStages.WithCreate withNewConsumptionPlan()Creates a new Windows consumption plan to use.- Returns:
- the next stage of the definition
-
withNewConsumptionPlan
Creates a new Windows consumption plan to use.- Parameters:
appServicePlanName- the name of the new consumption plan- Returns:
- the next stage of the definition
-
withNewFreeAppServicePlan
FunctionApp.DefinitionStages.WithCreate withNewFreeAppServicePlan()Creates a new Windows free app service plan. This will fail if there are 10 or more free plans in the current subscription.- Returns:
- the next stage of the definition
-
withNewAppServicePlan
Creates a new Windows app service plan to use.- Parameters:
pricingTier- the sku of the app service plan- Returns:
- the next stage of the definition
-
withNewAppServicePlan
FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier) Creates a new Windows app service plan to use.- Parameters:
appServicePlanName- the name of the new app service planpricingTier- the sku of the app service plan- Returns:
- the next stage of the definition
-
withNewAppServicePlan
FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new Windows app service plan to use.- Parameters:
appServicePlanCreatable- the new app service plan creatable- Returns:
- the next stage of the definition
-
withNewLinuxConsumptionPlan
FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxConsumptionPlan()Creates a new Linux consumption plan to use.- Returns:
- the next stage of the definition
-
withNewLinuxConsumptionPlan
FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxConsumptionPlan(String appServicePlanName) Creates a new Linux consumption plan to use.- Parameters:
appServicePlanName- the name of the new consumption plan- Returns:
- the next stage of the definition
-
withNewLinuxAppServicePlan
FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxAppServicePlan(PricingTier pricingTier) Creates a new Linux app service plan to use.- Parameters:
pricingTier- the sku of the app service plan- Returns:
- the next stage of the definition
-
withNewLinuxAppServicePlan
FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxAppServicePlan(String appServicePlanName, PricingTier pricingTier) Creates a new Linux app service plan to use.- Parameters:
appServicePlanName- the name of the new app service planpricingTier- the sku of the app service plan- Returns:
- the next stage of the definition
-
withNewLinuxAppServicePlan
FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new Linux app service plan to use.- Parameters:
appServicePlanCreatable- the new app service plan creatable- Returns:
- the next stage of the definition
-