PerformanceLevelUnit Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. sql. models. PerformanceLevelUnit
- com.
- com.
public final class PerformanceLevelUnit
extends ExpandableStringEnum<PerformanceLevelUnit>
Unit type used to measure performance level.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Performance |
DTU
Static value DTU for Performance |
static final
Performance |
VCORES
Static value VCores for Performance |
Constructor Summary
Constructor | Description |
---|---|
PerformanceLevelUnit() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Performance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Performance |
fromString(String name)
Creates or finds a Performance |
static
Collection<Performance |
values()
Gets known Performance |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DTU
public static final PerformanceLevelUnit DTU
Static value DTU for PerformanceLevelUnit.
VCORES
public static final PerformanceLevelUnit VCORES
Static value VCores for PerformanceLevelUnit.
Constructor Details
PerformanceLevelUnit
@Deprecated
public PerformanceLevelUnit()
Deprecated
Creates a new instance of PerformanceLevelUnit value.
Method Details
fromString
public static PerformanceLevelUnit fromString(String name)
Creates or finds a PerformanceLevelUnit from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known PerformanceLevelUnit values.
Returns:
Applies to
Azure SDK for Java