Condividi tramite


SignalRUsage Class

Definition

Object that describes a specific usage of the resources.

public class SignalRUsage : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SignalR.Models.SignalRUsage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SignalR.Models.SignalRUsage>
public class SignalRUsage
type SignalRUsage = class
    interface IJsonModel<SignalRUsage>
    interface IPersistableModel<SignalRUsage>
type SignalRUsage = class
Public Class SignalRUsage
Implements IJsonModel(Of SignalRUsage), IPersistableModel(Of SignalRUsage)
Public Class SignalRUsage
Inheritance
SignalRUsage
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<SignalRUsage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SignalRUsage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SignalRUsage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SignalRUsage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SignalRUsage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to