Class UsageInner
java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.UsageInner
- Direct Known Subclasses:
PartitionUsageInner
The usage data for a usage request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the currentValue property: Current value for this metric.limit()Get the limit property: Maximum value for this metric.name()Get the name property: The name information for the metric.Get the quotaPeriod property: The quota period used to summarize the usage values.unit()Get the unit property: The unit of the metric.voidvalidate()Validates the instance.
-
Constructor Details
-
UsageInner
public UsageInner()Creates an instance of UsageInner class.
-
-
Method Details
-
unit
Get the unit property: The unit of the metric.- Returns:
- the unit value.
-
name
Get the name property: The name information for the metric.- Returns:
- the name value.
-
quotaPeriod
Get the quotaPeriod property: The quota period used to summarize the usage values.- Returns:
- the quotaPeriod value.
-
limit
Get the limit property: Maximum value for this metric.- Returns:
- the limit value.
-
currentValue
Get the currentValue property: Current value for this metric.- Returns:
- the currentValue value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-