Interface FunctionApp.UpdateStages.WithAppServicePlan
- All Known Subinterfaces:
FunctionApp.Update
- Enclosing interface:
- FunctionApp.UpdateStages
public static interface FunctionApp.UpdateStages.WithAppServicePlan
A function app update allowing app service plan to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingAppServicePlan
(AppServicePlan appServicePlan) Uses an existing Windows app service plan for the function app.withExistingLinuxAppServicePlan
(AppServicePlan appServicePlan) Uses an existing Linux app service plan for the function app.withNewAppServicePlan
(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.Update withNewConsumptionPlan()Creates a new Windows consumption plan to use.- Returns:
- the next stage of the function app update
-
withNewConsumptionPlan
Creates a new Windows consumption plan to use.- Parameters:
appServicePlanName
- the name of the new consumption plan- Returns:
- the next stage of the function app update
-
withNewFreeAppServicePlan
FunctionApp.Update 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 function app update
-
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 function app update
-
withNewAppServicePlan
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 function app update
-
withNewAppServicePlan
Creates a new Windows app service plan to use.- Parameters:
appServicePlanCreatable
- the new app service plan creatable- Returns:
- the next stage of the function app update
-
withExistingAppServicePlan
Uses an existing Windows app service plan for the function app.- Parameters:
appServicePlan
- the existing app service plan- Returns:
- the next stage of the function app update
-
withExistingLinuxAppServicePlan
Uses an existing Linux app service plan for the function app.- Parameters:
appServicePlan
- the existing app service plan- Returns:
- the next stage of the definition
-
withNewLinuxConsumptionPlan
FunctionApp.Update withNewLinuxConsumptionPlan()Creates a new Linux consumption plan to use.- Returns:
- the next stage of the definition
-
withNewLinuxConsumptionPlan
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
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
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
Creates a new Linux app service plan to use.- Parameters:
appServicePlanCreatable
- the new app service plan creatable- Returns:
- the next stage of the definition
-