Compartilhar via


Usage Class

The network resource usage.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.network._serialization.Model
Usage

Constructor

Usage(*, unit: str | _models.UsageUnit, current_value: int, limit: int, name: _models.UsageName, **kwargs: Any)

Keyword-Only Parameters

Name Description
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.

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.