UsageMetric interface

A metric describing the usage of a resource.

Properties

currentValue

The current value of the metric.

limit

The quota limit for the metric.

name

The name of the metric.

nextResetTime

The time that the metric's value will reset.

quotaPeriod

The quota period that determines the length of time between value resets.

unit

The units used for the metric.

Property Details

currentValue

The current value of the metric.

currentValue?: number

Property Value

number

limit

The quota limit for the metric.

limit?: number

Property Value

number

name

The name of the metric.

name?: MetricName

Property Value

nextResetTime

The time that the metric's value will reset.

nextResetTime?: Date

Property Value

Date

quotaPeriod

The quota period that determines the length of time between value resets.

quotaPeriod?: string

Property Value

string

unit

The units used for the metric.

unit?: string

Property Value

string