UsageMetric Interface
public interface UsageMetric
An immutable client-side representation of UsageMetric.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Double |
currentValue()
Gets the current |
abstract
Usage |
innerModel()
Gets the inner com. |
abstract Double |
limit()
Gets the limit property: The quota limit for the metric. |
abstract
Metric |
name()
Gets the name property: The name of the metric. |
abstract
Offset |
nextResetTime()
Gets the next |
abstract String |
quotaPeriod()
Gets the quota |
abstract String |
unit()
Gets the unit property: The units used for the metric. |
Method Details
currentValue
public abstract Double currentValue()
Gets the currentValue property: The current value of the metric.
Returns:
innerModel
public abstract UsageMetricInner innerModel()
Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.UsageMetricInner object.
Returns:
limit
public abstract Double limit()
Gets the limit property: The quota limit for the metric.
Returns:
name
public abstract MetricName name()
Gets the name property: The name of the metric.
Returns:
nextResetTime
public abstract OffsetDateTime nextResetTime()
Gets the nextResetTime property: The time that the metric's value will reset.
Returns:
quotaPeriod
public abstract String quotaPeriod()
Gets the quotaPeriod property: The quota period that determines the length of time between value resets.
Returns:
unit
public abstract String unit()
Gets the unit property: The units used for the metric.
Returns:
Applies to
Azure SDK for Java