FunctionApp.DefinitionStages.WithNewAppServicePlan Interface

public static interface FunctionApp.DefinitionStages.WithNewAppServicePlan

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

Method Summary

Modifier and Type Method and Description
abstract WithCreate withNewAppServicePlan(PricingTier pricingTier)

Creates a new Windows app service plan to use.

abstract WithCreate withNewAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new Windows app service plan to use.

abstract WithCreate withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Windows app service plan to use.

abstract WithCreate withNewConsumptionPlan()

Creates a new Windows consumption plan to use.

abstract WithCreate withNewConsumptionPlan(String appServicePlanName)

Creates a new Windows consumption plan to use.

abstract WithCreate withNewFreeAppServicePlan()

Creates a new Windows free app service plan.

abstract WithDockerContainerImage withNewLinuxAppServicePlan(PricingTier pricingTier)

Creates a new Linux app service plan to use.

abstract WithDockerContainerImage withNewLinuxAppServicePlan(Creatable<AppServicePlan> appServicePlanCreatable)

Creates a new Linux app service plan to use.

abstract WithDockerContainerImage withNewLinuxAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Linux app service plan to use.

abstract WithDockerContainerImage withNewLinuxConsumptionPlan()

Creates a new Linux consumption plan to use.

abstract WithDockerContainerImage withNewLinuxConsumptionPlan(String appServicePlanName)

Creates a new Linux consumption plan to use.

abstract WithCreate withNewSharedAppServicePlan()

Creates a new Windows shared app service plan.

Method Details

withNewAppServicePlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(PricingTier pricingTier)

Creates a new Windows app service plan to use.

Parameters:

pricingTier - the sku of the app service plan

Returns:

the next stage of the definition

withNewAppServicePlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(Creatable appServicePlanCreatable)

Creates a new Windows app service plan to use.

Parameters:

appServicePlanCreatable - the new app service plan creatable

Returns:

the next stage of the definition

withNewAppServicePlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Windows app service plan to use.

Parameters:

appServicePlanName - the name of the new app service plan
pricingTier - the sku of the app service plan

Returns:

the next stage of the definition

withNewConsumptionPlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewConsumptionPlan()

Creates a new Windows consumption plan to use.

Returns:

the next stage of the definition

withNewConsumptionPlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewConsumptionPlan(String appServicePlanName)

Creates a new Windows consumption plan to use.

Parameters:

appServicePlanName - the name of the new consumption plan

Returns:

the next stage of the definition

withNewFreeAppServicePlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewFreeAppServicePlan()

Creates a new Windows 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

withNewLinuxAppServicePlan

public abstract FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxAppServicePlan(PricingTier pricingTier)

Creates a new Linux app service plan to use.

Parameters:

pricingTier - the sku of the app service plan

Returns:

the next stage of the definition

withNewLinuxAppServicePlan

public abstract FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxAppServicePlan(Creatable appServicePlanCreatable)

Creates a new Linux app service plan to use.

Parameters:

appServicePlanCreatable - the new app service plan creatable

Returns:

the next stage of the definition

withNewLinuxAppServicePlan

public abstract FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxAppServicePlan(String appServicePlanName, PricingTier pricingTier)

Creates a new Linux app service plan to use.

Parameters:

appServicePlanName - the name of the new app service plan
pricingTier - the sku of the app service plan

Returns:

the next stage of the definition

withNewLinuxConsumptionPlan

public abstract FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxConsumptionPlan()

Creates a new Linux consumption plan to use.

Returns:

the next stage of the definition

withNewLinuxConsumptionPlan

public abstract FunctionApp.DefinitionStages.WithDockerContainerImage withNewLinuxConsumptionPlan(String appServicePlanName)

Creates a new Linux consumption plan to use.

Parameters:

appServicePlanName - the name of the new consumption plan

Returns:

the next stage of the definition

withNewSharedAppServicePlan

public abstract FunctionApp.DefinitionStages.WithCreate withNewSharedAppServicePlan()

Creates a new Windows shared app service plan.

Returns:

the next stage of the definition

Applies to