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 currentValue property: The current value of the metric.

abstract UsageMetricInner innerModel()

Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.UsageMetricInner object.

abstract Double limit()

Gets the limit property: The quota limit for the metric.

abstract MetricName name()

Gets the name property: The name of the metric.

abstract OffsetDateTime nextResetTime()

Gets the nextResetTime property: The time that the metric's value will reset.

abstract String quotaPeriod()

Gets the quotaPeriod property: The quota period that determines the length of time between value resets.

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:

the currentValue value.

innerModel

public abstract UsageMetricInner innerModel()

Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.UsageMetricInner object.

Returns:

the inner object.

limit

public abstract Double limit()

Gets the limit property: The quota limit for the metric.

Returns:

the limit value.

name

public abstract MetricName name()

Gets the name property: The name of the metric.

Returns:

the name value.

nextResetTime

public abstract OffsetDateTime nextResetTime()

Gets the nextResetTime property: The time that the metric's value will reset.

Returns:

the nextResetTime value.

quotaPeriod

public abstract String quotaPeriod()

Gets the quotaPeriod property: The quota period that determines the length of time between value resets.

Returns:

the quotaPeriod value.

unit

public abstract String unit()

Gets the unit property: The units used for the metric.

Returns:

the unit value.

Applies to