Share via


CognitiveServicesResourceBase Class

Definition

The CognitiveServicesResourceBase.

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

Constructors

CognitiveServicesResourceBase()

Initializes a new instance of CognitiveServicesResourceBase.

Properties

Description

The asset description text.

Tags

Tag dictionary. Tags can be added, removed, and updated.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesResourceBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesResourceBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesResourceBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesResourceBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesResourceBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to