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>
public class NetworkUsage
type NetworkUsage = class
    interface IJsonModel<NetworkUsage>
    interface IPersistableModel<NetworkUsage>
type NetworkUsage = class
Public Class NetworkUsage
Implements IJsonModel(Of NetworkUsage), IPersistableModel(Of NetworkUsage)
Public Class 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.

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