Share via


AzureOpenAIAudience(String) Constructor

Definition

Initializes a new instance of the AzureOpenAIAudience object.

public AzureOpenAIAudience (string value);
new Azure.AI.OpenAI.AzureOpenAIAudience : string -> Azure.AI.OpenAI.AzureOpenAIAudience
Public Sub New (value As String)

Parameters

value
String

The Microsoft Entra audience to use when forming authorization scopes. For Azure OpenAI, this value corresponds to a URL that identifies the Azure cloud where the resource is located. For more information: https://learn.microsoft.com/azure/azure-government/documentation-government-cognitiveservices.

Exceptions

value is null.

Remarks

Please consider using one of the known, valid values like AzurePublicCloud or AzureGovernment.

Applies to