ComputeUsageUnit Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. ComputeUsageUnit
- com.
- com.
public final class ComputeUsageUnit
extends ExpandableStringEnum<ComputeUsageUnit>
Compute usage units.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Compute |
BYTES
Static value Bytes for Compute |
static final
Compute |
BYTES_PER_SECOND
Static value Bytes |
static final
Compute |
COUNT
Static value Count for Compute |
static final
Compute |
COUNTS_PER_SECOND
Static value Counts |
static final
Compute |
PERCENT
Static value Percent for Compute |
static final
Compute |
SECONDS
Static value Seconds for Compute |
Constructor Summary
Constructor | Description | |
---|---|---|
ComputeUsageUnit() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Compute |
fromString(String name)
Creates or finds a compute usage unit based on its name. |
Collection<Compute |
values() |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
BYTES
public static final ComputeUsageUnit BYTES
Static value Bytes for ComputeUsageUnit.
BYTES_PER_SECOND
public static final ComputeUsageUnit BYTES_PER_SECOND
Static value BytesPerSecond for ComputeUsageUnit.
COUNT
public static final ComputeUsageUnit COUNT
Static value Count for ComputeUsageUnit.
COUNTS_PER_SECOND
public static final ComputeUsageUnit COUNTS_PER_SECOND
Static value CountsPerSecond for ComputeUsageUnit.
PERCENT
public static final ComputeUsageUnit PERCENT
Static value Percent for ComputeUsageUnit.
SECONDS
public static final ComputeUsageUnit SECONDS
Static value Seconds for ComputeUsageUnit.
Constructor Details
ComputeUsageUnit
public ComputeUsageUnit()
Method Details
fromString
public static ComputeUsageUnit fromString(String name)
Creates or finds a compute usage unit based on its name.
Parameters:
Returns:
values
public Collection
Returns: