Class PythonVersion
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PythonVersion>
-
- com.azure.resourcemanager.appservice.models.PythonVersion
-
public final class PythonVersion extends com.azure.core.util.ExpandableStringEnum<PythonVersion>
Defines values for Python version.
-
-
Field Summary
Fields Modifier and Type Field Description static PythonVersionOFFStatic value 'Off' for PythonVersion.static PythonVersionPYTHON_27Static value 2.7 for PythonVersion.static PythonVersionPYTHON_34Static value 3.4 for PythonVersion.
-
Constructor Summary
Constructors Constructor Description PythonVersion()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PythonVersionfromString(String name)Finds or creates a Python version based on the specified name.static Collection<PythonVersion>values()
-
-
-
Field Detail
-
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.
-
-
Method Detail
-
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()
- Returns:
- known Python versions
-
-