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

Usage 类

定义

使用情况请求的使用情况数据。

public class Usage
type Usage = class
Public Class Usage
继承
Usage
派生

构造函数

Usage()

初始化 Usage 类的新实例。

Usage(UnitType, MetricName, String, Nullable<Int64>, Nullable<Int64>)

初始化 Usage 类的新实例。

属性

CurrentValue

获取此指标的当前值

Limit

获取此指标的最大值

Name

获取指标的名称信息。

QuotaPeriod

获取用于汇总使用情况值的配额期限。

Unit

获取或设置指标的单位。 可能的值包括:“Count”、“Bytes”、“Seconds”、“Percent”、“CountPerSecond”、“BytesPerSecond”、“Milliseconds”

适用于