Class PythonVersion

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PythonVersion>
com.azure.resourcemanager.appservice.models.PythonVersion
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PythonVersion extends com.azure.core.util.ExpandableStringEnum<PythonVersion>
Defines values for Python version.
  • Field Details

    • OFF

      public static final PythonVersion OFF
      Static value 'Off' for PythonVersion.
    • PYTHON_27

      public static final PythonVersion PYTHON_27
      Static value 2.7 for PythonVersion.
    • PYTHON_34

      public static final PythonVersion PYTHON_34
      Static value 3.4 for PythonVersion.
  • Constructor Details

    • PythonVersion

      @Deprecated public PythonVersion()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of PythonVersion value.
  • Method Details

    • fromString

      public static PythonVersion fromString(String name)
      Finds or creates a Python version based on the specified name.
      Parameters:
      name - a name
      Returns:
      a PythonVersion instance
    • values

      public static Collection<PythonVersion> values()
      Gets known Python versions.
      Returns:
      known Python versions