Condividi tramite


NetworkUsage Class

Definition

The network resource usage.

public class NetworkUsage : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.NetworkUsage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.NetworkUsage>
type NetworkUsage = class
    interface IJsonModel<NetworkUsage>
    interface IPersistableModel<NetworkUsage>
Public Class NetworkUsage
Implements IJsonModel(Of NetworkUsage), IPersistableModel(Of NetworkUsage)
Inheritance
NetworkUsage
Implements

Properties

CurrentValue

The current value of the usage.

Id

Resource identifier.

Limit

The limit of usage.

Name

The name of the type of usage.

Unit

An enum describing the unit of measurement.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NetworkUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<NetworkUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NetworkUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<NetworkUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to