public final class ComputeUsageUnit extends com.azure.core.util.ExpandableStringEnum<ComputeUsageUnit>
Modifier and Type | Field and Description |
---|---|
static ComputeUsageUnit |
BYTES
Static value Bytes for ComputeUsageUnit.
|
static ComputeUsageUnit |
BYTES_PER_SECOND
Static value BytesPerSecond for ComputeUsageUnit.
|
static ComputeUsageUnit |
COUNT
Static value Count for ComputeUsageUnit.
|
static ComputeUsageUnit |
COUNTS_PER_SECOND
Static value CountsPerSecond for ComputeUsageUnit.
|
static ComputeUsageUnit |
PERCENT
Static value Percent for ComputeUsageUnit.
|
static ComputeUsageUnit |
SECONDS
Static value Seconds for ComputeUsageUnit.
|
Constructor and Description |
---|
ComputeUsageUnit() |
Modifier and Type | Method and Description |
---|---|
static ComputeUsageUnit |
fromString(String name)
Creates or finds a compute usage unit based on its name.
|
Collection<ComputeUsageUnit> |
values() |
public static final ComputeUsageUnit COUNT
public static final ComputeUsageUnit BYTES
public static final ComputeUsageUnit SECONDS
public static final ComputeUsageUnit PERCENT
public static final ComputeUsageUnit COUNTS_PER_SECOND
public static final ComputeUsageUnit BYTES_PER_SECOND
public static ComputeUsageUnit fromString(String name)
name
- a namepublic Collection<ComputeUsageUnit> values()
Copyright © 2020 Microsoft Corporation. All rights reserved.