Share via


CognitiveServicesModelSku Class

Definition

Describes an available Cognitive Services Model SKU.

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

Constructors

CognitiveServicesModelSku()

Initializes a new instance of CognitiveServicesModelSku.

Properties

Capacity

The capacity configuration.

Cost

The list of billing meter info.

DeprecationOn

The datetime of deprecation of the model SKU.

Name

The name of the model SKU.

RateLimits

The list of rateLimit.

UsageName

The usage name of the model SKU.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesModelSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesModelSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesModelSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesModelSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesModelSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to