共用方式為


CognitiveServicesModel Class

Definition

Cognitive Services Model.

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

Properties

Kind

The Kind of the Model.

Model

Model Metadata.

SkuName

The SKU of the Model.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesModel>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesModel>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesModel>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesModel>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesModel>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to