Interface WebApp.DefinitionStages.WithNewAppServicePlan
- All Known Subinterfaces:
WebApp.Definition
- Enclosing interface:
- WebApp.DefinitionStages
public static interface WebApp.DefinitionStages.WithNewAppServicePlan
A web app definition allowing app service plan to be set.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new free app service plan.withNewLinuxPlan
(PricingTier pricingTier) Creates a new app service plan to use.withNewLinuxPlan
(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new app service plan to use.withNewLinuxPlan
(String appServicePlanName, PricingTier pricingTier) Creates a new app service plan to use.Creates a new shared app service plan.withNewWindowsPlan
(PricingTier pricingTier) Creates a new app service plan to use.withNewWindowsPlan
(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new app service plan to use.withNewWindowsPlan
(String appServicePlanName, PricingTier pricingTier) Creates a new app service plan to use.
-
Method Details
-
withNewFreeAppServicePlan
WebApp.DefinitionStages.WithWindowsRuntimeStack 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 definition
-
withNewWindowsPlan
Creates a new app service plan to use.- Parameters:
pricingTier
- the sku of the app service plan- Returns:
- the next stage of the definition
-
withNewWindowsPlan
WebApp.DefinitionStages.WithWindowsRuntimeStack withNewWindowsPlan(String appServicePlanName, PricingTier pricingTier) 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 definition
-
withNewWindowsPlan
WebApp.DefinitionStages.WithWindowsRuntimeStack withNewWindowsPlan(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new app service plan to use.- Parameters:
appServicePlanCreatable
- the new app service plan creatable- Returns:
- the next stage of the definition
-
withNewLinuxPlan
Creates a new app service plan to use.- Parameters:
pricingTier
- the sku of the app service plan- Returns:
- the next stage of the definition
-
withNewLinuxPlan
WebApp.DefinitionStages.WithDockerContainerImage withNewLinuxPlan(String appServicePlanName, PricingTier pricingTier) 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 definition
-
withNewLinuxPlan
WebApp.DefinitionStages.WithDockerContainerImage withNewLinuxPlan(Creatable<AppServicePlan> appServicePlanCreatable) Creates a new app service plan to use.- Parameters:
appServicePlanCreatable
- the new app service plan creatable- Returns:
- the next stage of the definition
-