Usage Interface
public interface Usage
Represents a single usage record returned by Azure Front Door endpoint APIs.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract long |
currentValue()
Gets the current value that has been consumed. |
| abstract String |
id()
Gets the full resource identifier for the usage entry. |
| abstract long |
limit()
Gets the total limit for the usage metric. |
|
abstract
Usage |
name()
Gets the friendly name for this usage value. |
|
abstract
Usage |
unit()
Gets the measurement unit for the usage. |
Method Details
currentValue
public abstract long currentValue()
Gets the current value that has been consumed.
Returns:
id
public abstract String id()
Gets the full resource identifier for the usage entry.
Returns:
limit
public abstract long limit()
Gets the total limit for the usage metric.
Returns:
name
public abstract UsageName name()
Gets the friendly name for this usage value.
Returns:
unit
public abstract UsageUnit unit()
Gets the measurement unit for the usage.
Returns: