你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FunctionApp.UpdateStages.WithAppServicePlan Interface

public interface WithAppServicePlan

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

Method Summary

Modifier and Type Method and Description
FunctionApp.Update withExistingAppServicePlan(AppServicePlan appServicePlan)

Uses an existing app service plan for the function app.

FunctionApp.Update withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new app service plan to use.

FunctionApp.Update withNewAppServicePlan(PricingTier pricingTier)

Creates a new app service plan to use.

FunctionApp.Update withNewConsumptionPlan()

Creates a new consumption plan to use.

FunctionApp.Update withNewFreeAppServicePlan()

Creates a new free app service plan. This will fail if there are 10 or more free plans in the current subscription.

FunctionApp.Update withNewSharedAppServicePlan()

Creates a new shared app service plan.

Method Details

withExistingAppServicePlan

public Update withExistingAppServicePlan(AppServicePlan appServicePlan)

Uses an existing app service plan for the function app.

Parameters:

appServicePlan - the existing app service plan

Returns:

the next stage of the function app update

withNewAppServicePlan

public 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 function app update

withNewAppServicePlan

public 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 function app update

withNewConsumptionPlan

public Update withNewConsumptionPlan()

Creates a new consumption plan to use.

Returns:

the next stage of the function app update

withNewFreeAppServicePlan

public 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 function app update

withNewSharedAppServicePlan

public Update withNewSharedAppServicePlan()

Creates a new shared app service plan.

Returns:

the next stage of the function app update

Applies to