Interface WebApp.UpdateStages.WithAppServicePlan
- All Known Subinterfaces:
WebApp.Update
,WebApp.UpdateStages.WithStartUpCommand
- Enclosing interface:
- WebApp.UpdateStages
public static interface WebApp.UpdateStages.WithAppServicePlan
A web app update allowing app service plan to be set.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingAppServicePlan
(AppServicePlan appServicePlan) Uses an existing app service plan for the web app.withNewAppServicePlan
(PricingTier pricingTier) Creates a new app service plan to use.withNewAppServicePlan
(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new app service plan to use.withNewAppServicePlan
(String appServicePlanName, PricingTier pricingTier) Creates a new app service plan to use.Creates a new free app service plan.Creates a new shared app service plan.
-
Method Details
-
withNewFreeAppServicePlan
WebApp.Update withNewFreeAppServicePlan()Creates a new 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 web app update
-
withNewAppServicePlan
Creates a new app service plan to use.- Parameters:
pricingTier
- the sku of the app service plan- Returns:
- the next stage of the web app update
-
withNewAppServicePlan
Creates a new 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 web app update
-
withNewAppServicePlan
Creates a new app service plan to use.- Parameters:
appServicePlanCreatable
- the new app service plan creatable- Returns:
- the next stage of the web app update
-
withExistingAppServicePlan
Uses an existing app service plan for the web app.- Parameters:
appServicePlan
- the existing app service plan- Returns:
- the next stage of the web app update
-