Partilhar via


FunctionApp.DefinitionStages.WithRuntimeVersion Interface

public static interface FunctionApp.DefinitionStages.WithRuntimeVersion

A function app definition allowing runtime version to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withLatestRuntimeVersion()

Uses the latest runtime version for the function app.

abstract WithCreate withRuntime(String runtime)

Specifies the runtime for the function app.

abstract WithCreate withRuntimeVersion(String version)

Specifies the runtime version for the function app.

Method Details

withLatestRuntimeVersion

public abstract FunctionApp.DefinitionStages.WithCreate withLatestRuntimeVersion()

Uses the latest runtime version for the function app.

Returns:

the next stage of the definition

withRuntime

public abstract FunctionApp.DefinitionStages.WithCreate withRuntime(String runtime)

Specifies the runtime for the function app.

Parameters:

runtime - the Azure Functions runtime

Returns:

the next stage of the definition

withRuntimeVersion

public abstract FunctionApp.DefinitionStages.WithCreate withRuntimeVersion(String version)

Specifies the runtime version for the function app.

Parameters:

version - the version of the Azure Functions runtime

Returns:

the next stage of the definition

Applies to