Class FunctionRuntimeStack
java.lang.Object
com.microsoft.azure.management.appservice.FunctionRuntimeStack
Defines function app runtime for Linux operating system.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionRuntimeStack
JAVA 11.static final FunctionRuntimeStack
JAVA 8. -
Constructor Summary
ConstructorsConstructorDescriptionFunctionRuntimeStack
(String runtime, String version, String linuxFxVersionForConsumptionPlan, String linuxFxVersionForDedicatedPlan) Creates a custom function app runtime stack. -
Method Summary
-
Field Details
-
JAVA_8
JAVA 8. -
JAVA_11
JAVA 11.
-
-
Constructor Details
-
FunctionRuntimeStack
public FunctionRuntimeStack(String runtime, String version, String linuxFxVersionForConsumptionPlan, String linuxFxVersionForDedicatedPlan) Creates a custom function app runtime stack.- Parameters:
runtime
- the language runtimeversion
- the language runtime versionlinuxFxVersionForConsumptionPlan
- the LinuxFxVersion property value, for Consumption planlinuxFxVersionForDedicatedPlan
- the LinuxFxVersion property value, for dedicated plan (app service plan or premium)
-
-
Method Details
-
runtime
- Returns:
- the name of the language runtime
-
version
- Returns:
- the version of the Language runtime
-
getLinuxFxVersionForConsumptionPlan
Gets LinuxFxVersion property value, for Consumption plan.- Returns:
- the LinuxFxVersion property value for siteConfig
-
getLinuxFxVersionForDedicatedPlan
Gets LinuxFxVersion property value, for dedicated plan (app service plan or premium).- Returns:
- the LinuxFxVersion property value for siteConfig
-
toString
-
equals
-
hashCode
public int hashCode()
-