Enum AppServicePlanRestrictions
- java.lang.Object
-
- java.lang.Enum<AppServicePlanRestrictions>
-
- com.azure.resourcemanager.appservice.models.AppServicePlanRestrictions
-
- All Implemented Interfaces:
Serializable,Comparable<AppServicePlanRestrictions>
public enum AppServicePlanRestrictions extends Enum<AppServicePlanRestrictions>
Defines values for AppServicePlanRestrictions.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppServicePlanRestrictionsfromString(String value)Parses a serialized value to a AppServicePlanRestrictions instance.StringtoString()static AppServicePlanRestrictionsvalueOf(String name)Returns the enum constant of this type with the specified name.static AppServicePlanRestrictions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AppServicePlanRestrictions NONE
Enum value None.
-
FREE
public static final AppServicePlanRestrictions FREE
Enum value Free.
-
SHARED
public static final AppServicePlanRestrictions SHARED
Enum value Shared.
-
BASIC
public static final AppServicePlanRestrictions BASIC
Enum value Basic.
-
STANDARD
public static final AppServicePlanRestrictions STANDARD
Enum value Standard.
-
PREMIUM
public static final AppServicePlanRestrictions PREMIUM
Enum value Premium.
-
-
Method Detail
-
values
public static AppServicePlanRestrictions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AppServicePlanRestrictions c : AppServicePlanRestrictions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppServicePlanRestrictions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromString
public static AppServicePlanRestrictions fromString(String value)
Parses a serialized value to a AppServicePlanRestrictions instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed AppServicePlanRestrictions object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<AppServicePlanRestrictions>
-
-