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 UsageName name()

Gets the friendly name for this usage value.

abstract UsageUnit unit()

Gets the measurement unit for the usage.

Method Details

currentValue

public abstract long currentValue()

Gets the current value that has been consumed.

Returns:

the current usage value

id

public abstract String id()

Gets the full resource identifier for the usage entry.

Returns:

the resource identifier

limit

public abstract long limit()

Gets the total limit for the usage metric.

Returns:

the usage limit

name

public abstract UsageName name()

Gets the friendly name for this usage value.

Returns:

the usage name metadata

unit

public abstract UsageUnit unit()

Gets the measurement unit for the usage.

Returns:

the unit for the usage value

Applies to