UsageInner Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. fluent. models. UsageInner
- com.
public class UsageInner
The usage data for a usage request.
Constructor Summary
Constructor | Description |
---|---|
UsageInner() |
Creates an instance of Usage |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
currentValue()
Get the current |
Long |
limit()
Get the limit property: Maximum value for this metric. |
Metric |
name()
Get the name property: The name information for the metric. |
String |
quotaPeriod()
Get the quota |
Unit |
unit()
Get the unit property: The unit of the metric. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
UsageInner
public UsageInner()
Creates an instance of UsageInner class.
Method Details
currentValue
public Long currentValue()
Get the currentValue property: Current value for this metric.
Returns:
limit
public Long limit()
Get the limit property: Maximum value for this metric.
Returns:
name
public MetricName name()
Get the name property: The name information for the metric.
Returns:
quotaPeriod
public String quotaPeriod()
Get the quotaPeriod property: The quota period used to summarize the usage values.
Returns:
unit
public UnitType unit()
Get the unit property: The unit of the metric.
Returns:
validate
public void validate()
Validates the instance.
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