SearchModelFactory.CognitiveServicesAccountKey(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.