Class FunctionsRuntime

java.lang.Object
com.azure.resourcemanager.appservice.models.FunctionsRuntime

public final class FunctionsRuntime extends Object
Function app runtime name and version.
  • Constructor Details

    • FunctionsRuntime

      public FunctionsRuntime()
      Creates an instance of FunctionsRuntime class.
  • Method Details

    • name

      public RuntimeName name()
      Get the name property: Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.
      Returns:
      the name value.
    • withName

      public FunctionsRuntime withName(RuntimeName name)
      Set the name property: Function app runtime name. Available options: dotnet-isolated, node, java, powershell, python, custom.
      Parameters:
      name - the name value to set.
      Returns:
      the FunctionsRuntime object itself.
    • version

      public String version()
      Get the version property: Function app runtime version. Example: 8 (for dotnet-isolated).
      Returns:
      the version value.
    • withVersion

      public FunctionsRuntime withVersion(String version)
      Set the version property: Function app runtime version. Example: 8 (for dotnet-isolated).
      Parameters:
      version - the version value to set.
      Returns:
      the FunctionsRuntime object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.