CommitmentCost Class

Definition

Cognitive Services account commitment cost.

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

Properties

CommitmentMeterId

Commitment meter Id.

OverageMeterId

Overage meter Id.

Explicit Interface Implementations

IJsonModel<CommitmentCost>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommitmentCost>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommitmentCost>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommitmentCost>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommitmentCost>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to