Class FunctionRuntimeStack

java.lang.Object
com.microsoft.azure.management.appservice.FunctionRuntimeStack

@Beta(V1_28_0) public class FunctionRuntimeStack extends Object
Defines function app runtime for Linux operating system.
  • Field Details

  • Constructor Details

    • FunctionRuntimeStack

      public FunctionRuntimeStack(String runtime, String version, String linuxFxVersionForConsumptionPlan, String linuxFxVersionForDedicatedPlan)
      Creates a custom function app runtime stack.
      Parameters:
      runtime - the language runtime
      version - the language runtime version
      linuxFxVersionForConsumptionPlan - the LinuxFxVersion property value, for Consumption plan
      linuxFxVersionForDedicatedPlan - the LinuxFxVersion property value, for dedicated plan (app service plan or premium)
  • Method Details

    • runtime

      public String runtime()
      Returns:
      the name of the language runtime
    • version

      public String version()
      Returns:
      the version of the Language runtime
    • getLinuxFxVersionForConsumptionPlan

      public String getLinuxFxVersionForConsumptionPlan()
      Gets LinuxFxVersion property value, for Consumption plan.
      Returns:
      the LinuxFxVersion property value for siteConfig
    • getLinuxFxVersionForDedicatedPlan

      public String getLinuxFxVersionForDedicatedPlan()
      Gets LinuxFxVersion property value, for dedicated plan (app service plan or premium).
      Returns:
      the LinuxFxVersion property value for siteConfig
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object