你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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