ComputeUsageUnit Class
- java.
lang. Object - ExpandableStringEnum<T>
- com.
microsoft. azure. management. compute. ComputeUsageUnit
- com.
public class ComputeUsageUnit extends ExpandableStringEnum
Compute usage units.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Compute |
BYTES
Static value Bytes for ComputeUsageUnit. |
final Compute |
BYTES_PER_SECOND
Static value BytesPerSecond for ComputeUsageUnit. |
final Compute |
COUNT
Static value Count for ComputeUsageUnit. |
final Compute |
COUNTS_PER_SECOND
Static value CountsPerSecond for ComputeUsageUnit. |
final Compute |
PERCENT
Static value Percent for ComputeUsageUnit. |
final Compute |
SECONDS
Static value Seconds for ComputeUsageUnit. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
fromString(String name)
Creates or finds a compute usage unit based on its name. |
Collection<Compute |
values() |
Inherited Members
Field Details
BYTES
public static final ComputeUsageUnit BYTES= fromString("Bytes")
Static value Bytes for ComputeUsageUnit.
BYTES_PER_SECOND
public static final ComputeUsageUnit BYTES_PER_SECOND= fromString("BytesPerSecond")
Static value BytesPerSecond for ComputeUsageUnit.
COUNT
public static final ComputeUsageUnit COUNT= fromString("Count")
Static value Count for ComputeUsageUnit.
COUNTS_PER_SECOND
public static final ComputeUsageUnit COUNTS_PER_SECOND= fromString("CountsPerSecond")
Static value CountsPerSecond for ComputeUsageUnit.
PERCENT
public static final ComputeUsageUnit PERCENT= fromString("Percent")
Static value Percent for ComputeUsageUnit.
SECONDS
public static final ComputeUsageUnit SECONDS= fromString("Seconds")
Static value Seconds for 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:
Applies to
Azure SDK for Java