Class PhpVersion
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PhpVersion>
com.azure.resourcemanager.appservice.models.PhpVersion
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Defines values for PHP version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PhpVersion
Static value 'Off' for PhpVersion.static final PhpVersion
Static value 5.5 for PhpVersion.static final PhpVersion
Static value 5.6 for PhpVersion.static final PhpVersion
Static value 7.0 for PhpVersion.static final PhpVersion
Static value 7.1 for PhpVersion. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PhpVersion
fromString
(String name) Finds or creates a PHP version based on the specified name.static Collection
<PhpVersion> values()
Gets known PHP versions.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
OFF
Static value 'Off' for PhpVersion. -
PHP5_5
Static value 5.5 for PhpVersion. -
PHP5_6
Static value 5.6 for PhpVersion. -
PHP7
Static value 7.0 for PhpVersion. -
PHP7_1
Static value 7.1 for PhpVersion.
-
-
Constructor Details
-
PhpVersion
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PhpVersion value.
-
-
Method Details
-
fromString
Finds or creates a PHP version based on the specified name.- Parameters:
name
- a name- Returns:
- a PhpVersion instance
-
values
Gets known PHP versions.- Returns:
- known PHP versions
-
fromString(String)
factory method.