Share via


SignalRServiceUsage Class

Definition

Object that describes a specific usage of the resources.

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

Properties

CurrentValue

Current value for the usage quota.

Id

Fully qualified ARM resource id.

Limit

The maximum permitted value for the usage quota. If there is no limit, this value will be -1.

Name

Localizable String object containing the name and a localized value.

Unit

Representing the units of the usage quota. Possible values are: Count, Bytes, Seconds, Percent, CountPerSecond, BytesPerSecond.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SignalRServiceUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SignalRServiceUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SignalRServiceUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SignalRServiceUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SignalRServiceUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to