Dela via


CommitmentTier Class

Definition

Cognitive Services account commitment tier.

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

Properties

Cost

Cognitive Services account commitment cost.

HostingModel

Account hosting model.

Kind

The Kind of the resource.

MaxCount

Commitment period commitment max count.

PlanType

Commitment plan type.

Quota

Cognitive Services account commitment quota.

SkuName

The name of the SKU. Ex - P3. It is typically a letter+number code.

Tier

Commitment period commitment tier.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CommitmentTier>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CommitmentTier>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CommitmentTier>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CommitmentTier>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CommitmentTier>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to