SearchModelFactory.CognitiveServicesAccountKey(String, String) Method

Definition

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

public static Azure.Search.Documents.Indexes.Models.CognitiveServicesAccountKey CognitiveServicesAccountKey(string description = default, string key = default);
static member CognitiveServicesAccountKey : string * string -> Azure.Search.Documents.Indexes.Models.CognitiveServicesAccountKey
Public Shared Function CognitiveServicesAccountKey (Optional description As String = Nothing, Optional key As String = Nothing) As CognitiveServicesAccountKey

Parameters

description
String

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

key
String

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

Returns

A new CognitiveServicesAccountKey instance for mocking.

Applies to