你当前正在访问 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 |
---|---|
Function |
withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)
Creates a new app service plan to use. |
Function |
withNewAppServicePlan(PricingTier pricingTier)
Creates a new app service plan to use. |
Function |
withNewConsumptionPlan()
Creates a new consumption plan to use. |
Function |
withNewFreeAppServicePlan()
Creates a new free app service plan. This will fail if there are 10 or more free plans in the current subscription. |
Function |
withNewSharedAppServicePlan()
Creates a new shared app service plan. |
Method Details
withNewAppServicePlan
public WithCreate withNewAppServicePlan(Creatable
Creates a new app service plan to use.
Parameters:
Returns:
withNewAppServicePlan
public WithCreate withNewAppServicePlan(PricingTier pricingTier)
Creates a new app service plan to use.
Parameters:
Returns:
withNewConsumptionPlan
public WithCreate withNewConsumptionPlan()
Creates a new consumption plan to use.
Returns:
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:
withNewSharedAppServicePlan
public WithCreate withNewSharedAppServicePlan()
Creates a new shared app service plan.
Returns: