Partage via


FunctionRuntimeStack Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.FunctionRuntimeStack

public class FunctionRuntimeStack

Defines function app runtime for Linux operating system.

Field Summary

Modifier and Type Field and Description
static final FunctionRuntimeStack JAVA_11

JAVA 11.

static final FunctionRuntimeStack JAVA_17

JAVA 17.

static final FunctionRuntimeStack JAVA_8

JAVA 8.

Constructor Summary

Constructor Description
FunctionRuntimeStack(String runtime, String version, String linuxFxVersion)

Creates a custom function app runtime stack.

Method Summary

Modifier and Type Method and Description
boolean equals(Object o)
String getLinuxFxVersion()

Gets LinuxFxVersion property value.

int hashCode()
String runtime()

Gets the name of the language runtime.

String toString()
String version()

Gets the version of the Language runtime.

Methods inherited from java.lang.Object

Field Details

JAVA_11

public static final FunctionRuntimeStack JAVA_11

JAVA 11.

JAVA_17

public static final FunctionRuntimeStack JAVA_17

JAVA 17.

JAVA_8

public static final FunctionRuntimeStack JAVA_8

JAVA 8.

Constructor Details

FunctionRuntimeStack

public FunctionRuntimeStack(String runtime, String version, String linuxFxVersion)

Creates a custom function app runtime stack.

Parameters:

runtime - the language runtime
version - the language runtime version
linuxFxVersion - the LinuxFxVersion property value

Method Details

equals

public boolean equals(Object o)

Overrides:

FunctionRuntimeStack.equals(Object o)

Parameters:

o

getLinuxFxVersion

public String getLinuxFxVersion()

Gets LinuxFxVersion property value.

Returns:

the LinuxFxVersion property value for siteConfig

hashCode

public int hashCode()

Overrides:

FunctionRuntimeStack.hashCode()

runtime

public String runtime()

Gets the name of the language runtime.

Returns:

the name of the language runtime

toString

public String toString()

Overrides:

FunctionRuntimeStack.toString()

version

public String version()

Gets the version of the Language runtime.

Returns:

the version of the Language runtime

Applies to