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

FunctionApp.DefinitionStages.WithNewAppServicePlan Interface

public interface WithNewAppServicePlan

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

Method Summary

Modifier and Type Method and Description
FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new app service plan to use.

FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(PricingTier pricingTier)

Creates a new app service plan to use.

FunctionApp.DefinitionStages.WithCreate withNewConsumptionPlan()

Creates a new consumption plan to use.

FunctionApp.DefinitionStages.WithCreate withNewFreeAppServicePlan()

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

FunctionApp.DefinitionStages.WithCreate withNewSharedAppServicePlan()

Creates a new shared app service plan.

Method Details

withNewAppServicePlan

public WithCreate 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 definition

withNewAppServicePlan

public WithCreate 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 definition

withNewConsumptionPlan

public WithCreate withNewConsumptionPlan()

Creates a new consumption plan to use.

Returns:

the next stage of the definition

withNewFreeAppServicePlan

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

withNewSharedAppServicePlan

public WithCreate withNewSharedAppServicePlan()

Creates a new shared app service plan.

Returns:

the next stage of the definition

Applies to