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 |
---|---|
Function |
withExistingAppServicePlan(AppServicePlan appServicePlan)
Uses an existing app service plan for the function app. |
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
withExistingAppServicePlan
public Update withExistingAppServicePlan(AppServicePlan appServicePlan)
Uses an existing app service plan for the function app.
Parameters:
Returns:
withNewAppServicePlan
public Update withNewAppServicePlan(Creatable
Creates a new app service plan to use.
Parameters:
Returns:
withNewAppServicePlan
public Update withNewAppServicePlan(PricingTier pricingTier)
Creates a new app service plan to use.
Parameters:
Returns:
withNewConsumptionPlan
public Update withNewConsumptionPlan()
Creates a new consumption plan to use.
Returns:
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:
withNewSharedAppServicePlan
public Update withNewSharedAppServicePlan()
Creates a new shared app service plan.
Returns:
Applies to
Azure SDK for Java