FunctionApp.UpdateStages.WithAppServicePlan Interface

public static interface FunctionApp.UpdateStages.WithAppServicePlan

A function 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 Windows app service plan for the function app.

abstract Update withExistingLinuxAppServicePlan(AppServicePlan appServicePlan)

Uses an existing Linux app service plan for the function app.

abstract Update withNewAppServicePlan(PricingTier pricingTier)

Creates a new Windows app service plan to use.

abstract Update withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new Windows app service plan to use.

abstract Update withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Windows app service plan to use.

abstract Update withNewConsumptionPlan()

Creates a new Windows consumption plan to use.

abstract Update withNewConsumptionPlan(String appServicePlanName)

Creates a new Windows consumption plan to use.

abstract Update withNewFreeAppServicePlan()

Creates a new Windows free app service plan.

abstract Update withNewLinuxAppServicePlan(PricingTier pricingTier)

Creates a new Linux app service plan to use.

abstract Update withNewLinuxAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new Linux app service plan to use.

abstract Update withNewLinuxAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Linux app service plan to use.

abstract Update withNewLinuxConsumptionPlan()

Creates a new Linux consumption plan to use.

abstract Update withNewLinuxConsumptionPlan(String appServicePlanName)

Creates a new Linux consumption plan to use.

abstract Update withNewSharedAppServicePlan()

Creates a new Windows shared app service plan.

Method Details

withExistingAppServicePlan

public abstract FunctionApp.Update withExistingAppServicePlan(AppServicePlan appServicePlan)

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

public abstract FunctionApp.Update withExistingLinuxAppServicePlan(AppServicePlan appServicePlan)

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

withNewAppServicePlan

public abstract FunctionApp.Update withNewAppServicePlan(PricingTier pricingTier)

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

public abstract FunctionApp.Update withNewAppServicePlan(Creatable appServicePlanCreatable)

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

withNewAppServicePlan

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

Creates a new Windows 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 function app update

withNewConsumptionPlan

public abstract FunctionApp.Update withNewConsumptionPlan()

Creates a new Windows consumption plan to use.

Returns:

the next stage of the function app update

withNewConsumptionPlan

public abstract FunctionApp.Update withNewConsumptionPlan(String appServicePlanName)

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

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

withNewLinuxAppServicePlan

public abstract FunctionApp.Update 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

public abstract FunctionApp.Update withNewLinuxAppServicePlan(Creatable 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

withNewLinuxAppServicePlan

public abstract FunctionApp.Update withNewLinuxAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Linux 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 definition

withNewLinuxConsumptionPlan

public abstract FunctionApp.Update withNewLinuxConsumptionPlan()

Creates a new Linux consumption plan to use.

Returns:

the next stage of the definition

withNewLinuxConsumptionPlan

public abstract FunctionApp.Update 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

withNewSharedAppServicePlan

public abstract FunctionApp.Update withNewSharedAppServicePlan()

Creates a new Windows shared app service plan.

Returns:

the next stage of the function app update

Applies to