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

Usage Class

The network resource usage.

Constructor

Usage(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

Resource identifier.

unit

An enum describing the unit of measurement. Required. "Count"

current_value
int

The current value of the usage. Required.

limit
int

The limit of usage. Required.

name

The name of the type of usage. Required.

Attributes

current_value

The current value of the usage. Required.

current_value: int

id

Resource identifier.

id: str | None

limit

The limit of usage. Required.

limit: int

name

The name of the type of usage. Required.

name: _models.UsageName

unit

An enum describing the unit of measurement. Required. "Count"

unit: str | _models.UsageUnit