ResourceUsageUnit Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. ResourceUsageUnit
- com.
- com.
public final class ResourceUsageUnit
extends ExpandableStringEnum<ResourceUsageUnit>
Unit of the usage. e.g. count.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Resource |
COUNT
Static value count for Resource |
Constructor Summary
Constructor | Description |
---|---|
ResourceUsageUnit() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromString(String name)
Creates or finds a Resource |
static
Collection<Resource |
values()
Gets known Resource |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COUNT
public static final ResourceUsageUnit COUNT
Static value count for ResourceUsageUnit.
Constructor Details
ResourceUsageUnit
@Deprecated
public ResourceUsageUnit()
Deprecated
Creates a new instance of ResourceUsageUnit value.
Method Details
fromString
public static ResourceUsageUnit fromString(String name)
Creates or finds a ResourceUsageUnit from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ResourceUsageUnit values.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for