WebApp.UpdateStages.WithAppServicePlan Interface

public static interface WebApp.UpdateStages.WithAppServicePlan

A web app update allowing app service plan to be set.

Method Summary

Modifier and Type Method and Description
abstract Update withExistingAppServicePlan(AppServicePlan appServicePlan)

Uses an existing app service plan for the web app.

abstract Update withNewAppServicePlan(PricingTier pricingTier)

Creates a new app service plan to use.

abstract Update withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new app service plan to use.

abstract Update withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new app service plan to use.

abstract Update withNewFreeAppServicePlan()

Creates a new free app service plan.

abstract Update withNewSharedAppServicePlan()

Creates a new shared app service plan.

Method Details

withExistingAppServicePlan

public abstract WebApp.Update withExistingAppServicePlan(AppServicePlan appServicePlan)

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

withNewAppServicePlan

public abstract WebApp.Update withNewAppServicePlan(PricingTier pricingTier)

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

public abstract WebApp.Update withNewAppServicePlan(Creatable appServicePlanCreatable)

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

withNewAppServicePlan

public abstract WebApp.Update withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new app service plan to use.

Parameters:

appServicePlanName - the name of the new app service plan
pricingTier - the sku of the app service plan

Returns:

the next stage of the web app update

withNewFreeAppServicePlan

public abstract 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

withNewSharedAppServicePlan

public abstract WebApp.Update withNewSharedAppServicePlan()

Creates a new shared app service plan.

Returns:

the next stage of the web app update

Applies to