Enum WorkerSizeOptions
- java.lang.Object
-
- java.lang.Enum<WorkerSizeOptions>
-
- com.azure.resourcemanager.appservice.models.WorkerSizeOptions
-
- All Implemented Interfaces:
Serializable,Comparable<WorkerSizeOptions>
public enum WorkerSizeOptions extends Enum<WorkerSizeOptions>
Defines values for WorkerSizeOptions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description D1Enum value D1.D2Enum value D2.D3Enum value D3.DEFAULTEnum value Default.LARGEEnum value Large.LARGE_V3Enum value LargeV3.MEDIUMEnum value Medium.MEDIUM_V3Enum value MediumV3.NESTED_SMALLEnum value NestedSmall.NESTED_SMALL_LINUXEnum value NestedSmallLinux.SMALLEnum value Small.SMALL_V3Enum value SmallV3.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkerSizeOptionsfromString(String value)Parses a serialized value to a WorkerSizeOptions instance.StringtoString()static WorkerSizeOptionsvalueOf(String name)Returns the enum constant of this type with the specified name.static WorkerSizeOptions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SMALL
public static final WorkerSizeOptions SMALL
Enum value Small.
-
MEDIUM
public static final WorkerSizeOptions MEDIUM
Enum value Medium.
-
LARGE
public static final WorkerSizeOptions LARGE
Enum value Large.
-
D1
public static final WorkerSizeOptions D1
Enum value D1.
-
D2
public static final WorkerSizeOptions D2
Enum value D2.
-
D3
public static final WorkerSizeOptions D3
Enum value D3.
-
SMALL_V3
public static final WorkerSizeOptions SMALL_V3
Enum value SmallV3.
-
MEDIUM_V3
public static final WorkerSizeOptions MEDIUM_V3
Enum value MediumV3.
-
LARGE_V3
public static final WorkerSizeOptions LARGE_V3
Enum value LargeV3.
-
NESTED_SMALL
public static final WorkerSizeOptions NESTED_SMALL
Enum value NestedSmall.
-
NESTED_SMALL_LINUX
public static final WorkerSizeOptions NESTED_SMALL_LINUX
Enum value NestedSmallLinux.
-
DEFAULT
public static final WorkerSizeOptions DEFAULT
Enum value Default.
-
-
Method Detail
-
values
public static WorkerSizeOptions[] 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 (WorkerSizeOptions c : WorkerSizeOptions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkerSizeOptions 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 WorkerSizeOptions fromString(String value)
Parses a serialized value to a WorkerSizeOptions instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed WorkerSizeOptions object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<WorkerSizeOptions>
-
-