Class PerformanceLevelUnit
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PerformanceLevelUnit>
-
- com.azure.resourcemanager.sql.models.PerformanceLevelUnit
-
public final class PerformanceLevelUnit extends com.azure.core.util.ExpandableStringEnum<PerformanceLevelUnit>
Defines values for PerformanceLevelUnit.
-
-
Field Summary
Fields Modifier and Type Field Description static PerformanceLevelUnitDTUStatic value DTU for PerformanceLevelUnit.static PerformanceLevelUnitVCORESStatic value VCores for PerformanceLevelUnit.
-
Constructor Summary
Constructors Constructor Description PerformanceLevelUnit()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PerformanceLevelUnitfromString(String name)Creates or finds a PerformanceLevelUnit from its string representation.static Collection<PerformanceLevelUnit>values()
-
-
-
Field Detail
-
DTU
public static final PerformanceLevelUnit DTU
Static value DTU for PerformanceLevelUnit.
-
VCORES
public static final PerformanceLevelUnit VCORES
Static value VCores for PerformanceLevelUnit.
-
-
Method Detail
-
fromString
public static PerformanceLevelUnit fromString(String name)
Creates or finds a PerformanceLevelUnit from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PerformanceLevelUnit.
-
values
public static Collection<PerformanceLevelUnit> values()
- Returns:
- known PerformanceLevelUnit values.
-
-