PhpVersion Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. PhpVersion
- com.
- com.
public final class PhpVersion
extends ExpandableStringEnum<PhpVersion>
Defines values for PHP version.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Php |
OFF
Static value 'Off' for Php |
static final
Php |
PHP5_5
Static value 5.5 for Php |
static final
Php |
PHP5_6
Static value 5.6 for Php |
static final
Php |
PHP7
Static value 7.0 for Php |
static final
Php |
PHP7_1
Static value 7.1 for Php |
Constructor Summary
Constructor | Description |
---|---|
PhpVersion() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Php |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Php |
fromString(String name)
Finds or creates a PHP version based on the specified name. |
static
Collection<Php |
values()
Gets known PHP versions. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
OFF
public static final PhpVersion OFF
Static value 'Off' for PhpVersion.
PHP5_5
public static final PhpVersion PHP5_5
Static value 5.5 for PhpVersion.
PHP5_6
public static final PhpVersion PHP5_6
Static value 5.6 for PhpVersion.
PHP7
public static final PhpVersion PHP7
Static value 7.0 for PhpVersion.
PHP7_1
public static final PhpVersion PHP7_1
Static value 7.1 for PhpVersion.
Constructor Details
PhpVersion
@Deprecated
public PhpVersion()
Deprecated
Creates a new instance of PhpVersion value.
Method Details
fromString
public static PhpVersion fromString(String name)
Finds or creates a PHP version based on the specified name.
Parameters:
Returns:
values
public static Collection
Gets known PHP versions.
Returns:
Applies to
Azure SDK for Java