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

WebApp.DefinitionStages.WithNewAppServicePlan Interface

public interface WithNewAppServicePlan

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

Method Summary

Modifier and Type Method and Description
WebApp.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.

WebApp.DefinitionStages.WithDockerContainerImage withNewLinuxPlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new app service plan to use.

WebApp.DefinitionStages.WithDockerContainerImage withNewLinuxPlan(PricingTier pricingTier)

Creates a new app service plan to use.

WebApp.DefinitionStages.WithCreate withNewSharedAppServicePlan()

Creates a new shared app service plan.

WebApp.DefinitionStages.WithCreate withNewWindowsPlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new app service plan to use.

WebApp.DefinitionStages.WithCreate withNewWindowsPlan(PricingTier pricingTier)

Creates a new app service plan to use.

Method Details

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

withNewLinuxPlan

public WithDockerContainerImage withNewLinuxPlan(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

withNewLinuxPlan

public WithDockerContainerImage withNewLinuxPlan(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

withNewSharedAppServicePlan

public WithCreate withNewSharedAppServicePlan()

Creates a new shared app service plan.

Returns:

the next stage of the definition

withNewWindowsPlan

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

withNewWindowsPlan

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

Applies to