public final class UsageInner extends ProxyOnlyResource
| Constructor and Description |
|---|
UsageInner() |
| Modifier and Type | Method and Description |
|---|---|
ComputeModeOptions |
computeMode()
Get the computeMode property: Compute mode used for this usage.
|
Long |
currentValue()
Get the currentValue property: The current value of the resource counter.
|
String |
displayName()
Get the displayName property: Friendly name shown in the UI.
|
Long |
limit()
Get the limit property: The resource limit.
|
OffsetDateTime |
nextResetTime()
Get the nextResetTime property: Next reset time for the resource counter.
|
String |
resourceName()
Get the resourceName property: Name of the quota resource.
|
String |
siteMode()
Get the siteMode property: Site mode used for this usage.
|
String |
unit()
Get the unit property: Units of measurement for the quota resource.
|
void |
validate()
Validates the instance.
|
UsageInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
kindpublic UsageInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public String displayName()
public String resourceName()
public String unit()
public Long currentValue()
public Long limit()
public OffsetDateTime nextResetTime()
public ComputeModeOptions computeMode()
public String siteMode()
public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.