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>
Defines values for Python version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PythonVersion
Static value 'Off' for PythonVersion.static final PythonVersion
Static value 2.7 for PythonVersion.static final PythonVersion
Static value 3.4 for PythonVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PythonVersion
fromString
(String name) Finds or creates a Python version based on the specified name.static Collection
<PythonVersion> values()
Gets known Python versions.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
OFF
Static value 'Off' for PythonVersion. -
PYTHON_27
Static value 2.7 for PythonVersion. -
PYTHON_34
Static value 3.4 for PythonVersion.
-
-
Constructor Details
-
PythonVersion
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PythonVersion value.
-
-
Method Details
-
fromString
Finds or creates a Python version based on the specified name.- Parameters:
name
- a name- Returns:
- a PythonVersion instance
-
values
Gets known Python versions.- Returns:
- known Python versions
-
fromString(String)
factory method.