NetworkUsageUnit Class
- java.
lang. Object - ExpandableStringEnum<T>
- com.
microsoft. azure. management. network. NetworkUsageUnit
- com.
public class NetworkUsageUnit extends ExpandableStringEnum
Netowork usage units.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Network |
BYTES
Static value Bytes for NetworkUsageUnit. |
final Network |
BYTES_PER_SECOND
Static value BytesPerSecond for ComputeUsageUnit. |
final Network |
COUNT
Static value Count for NetworkUsageUnit. |
final Network |
COUNTS_PER_SECOND
Static value CountsPerSecond for NetworkUsageUnit. |
final Network |
PERCENT
Static value Percent for NetworkUsageUnit. |
final Network |
SECONDS
Static value Seconds for NetworkUsageUnit. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
fromString(String name)
Finds or creates a network usage unit based on the specified name. |
Collection<Network |
values() |
Inherited Members
Field Details
BYTES
public static final NetworkUsageUnit BYTES= fromString("Bytes")
Static value Bytes for NetworkUsageUnit.
BYTES_PER_SECOND
public static final NetworkUsageUnit BYTES_PER_SECOND= fromString("BytesPerSecond")
Static value BytesPerSecond for ComputeUsageUnit.
COUNT
public static final NetworkUsageUnit COUNT= fromString("Count")
Static value Count for NetworkUsageUnit.
COUNTS_PER_SECOND
public static final NetworkUsageUnit COUNTS_PER_SECOND= fromString("CountsPerSecond")
Static value CountsPerSecond for NetworkUsageUnit.
PERCENT
public static final NetworkUsageUnit PERCENT= fromString("Percent")
Static value Percent for NetworkUsageUnit.
SECONDS
public static final NetworkUsageUnit SECONDS= fromString("Seconds")
Static value Seconds for NetworkUsageUnit.
Method Details
fromString
public static NetworkUsageUnit fromString(String name)
Finds or creates a network usage unit based on the specified name.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java