DataSourceAuthentication.FromApiKey(String) Method

Definition

public static Azure.AI.OpenAI.Chat.DataSourceAuthentication FromApiKey (string apiKey);
static member FromApiKey : string -> Azure.AI.OpenAI.Chat.DataSourceAuthentication
Public Shared Function FromApiKey (apiKey As String) As DataSourceAuthentication

Parameters

apiKey
String

Returns

Applies to