Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.appservice;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
Defines values for PHP version.
/**
* Defines values for PHP version.
*/
public final class PhpVersion extends ExpandableStringEnum<PhpVersion> {
Static value 'Off' for PhpVersion. /** Static value 'Off' for PhpVersion. */
public static final PhpVersion OFF = PhpVersion.fromString("null");
Static value 5.5 for PhpVersion. /** Static value 5.5 for PhpVersion. */
public static final PhpVersion PHP5_5 = PhpVersion.fromString("5.5");
Static value 5.6 for PhpVersion. /** Static value 5.6 for PhpVersion. */
public static final PhpVersion PHP5_6 = PhpVersion.fromString("5.6");
Static value 7.0 for PhpVersion. /** Static value 7.0 for PhpVersion. */
public static final PhpVersion PHP7 = PhpVersion.fromString("7.0");
Static value 7.1 for PhpVersion. /** Static value 7.1 for PhpVersion. */
public static final PhpVersion PHP7_1 = PhpVersion.fromString("7.1");
Finds or creates a PHP version based on the specified name.
Params: - name – a name
Returns: a PhpVersion instance
/**
* Finds or creates a PHP version based on the specified name.
* @param name a name
* @return a PhpVersion instance
*/
public static PhpVersion fromString(String name) {
return fromString(name, PhpVersion.class);
}
Returns: known PHP versions
/**
* @return known PHP versions
*/
public static Collection<PhpVersion> values() {
return values(PhpVersion.class);
}
}