Share via


CognitiveServicesAccountKey Class

Definition

The multi-region account key of an Azure AI service resource that's attached to a skillset.

public class CognitiveServicesAccountKey : Azure.Search.Documents.Indexes.Models.CognitiveServicesAccount
public class CognitiveServicesAccountKey : Azure.Search.Documents.Indexes.Models.CognitiveServicesAccount, System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.CognitiveServicesAccountKey>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.CognitiveServicesAccountKey>
type CognitiveServicesAccountKey = class
    inherit CognitiveServicesAccount
type CognitiveServicesAccountKey = class
    inherit CognitiveServicesAccount
    interface IJsonModel<CognitiveServicesAccountKey>
    interface IPersistableModel<CognitiveServicesAccountKey>
Public Class CognitiveServicesAccountKey
Inherits CognitiveServicesAccount
Public Class CognitiveServicesAccountKey
Inherits CognitiveServicesAccount
Implements IJsonModel(Of CognitiveServicesAccountKey), IPersistableModel(Of CognitiveServicesAccountKey)
Inheritance
CognitiveServicesAccountKey
Implements

Constructors

CognitiveServicesAccountKey(String)

Initializes a new instance of CognitiveServicesAccountKey.

Properties

Description

Description of the Azure AI service resource attached to a skillset.

(Inherited from CognitiveServicesAccount)
Key

The key used to provision the Azure AI service resource attached to a skillset.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesAccount>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from CognitiveServicesAccount)
IJsonModel<CognitiveServicesAccount>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CognitiveServicesAccount)
IJsonModel<CognitiveServicesAccountKey>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CognitiveServicesAccountKey>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesAccount>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CognitiveServicesAccount)
IPersistableModel<CognitiveServicesAccount>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CognitiveServicesAccount)
IPersistableModel<CognitiveServicesAccount>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CognitiveServicesAccount)
IPersistableModel<CognitiveServicesAccountKey>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesAccountKey>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CognitiveServicesAccountKey>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to