Share via


CommitmentQuota Class

Definition

Cognitive Services account commitment quota.

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

Properties

Quantity

Commitment quota quantity.

Unit

Commitment quota unit.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommitmentQuota>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommitmentQuota>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommitmentQuota>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommitmentQuota>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommitmentQuota>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to