AzureOpenAIAudience(String) Constructor
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.
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
Azure SDK for .NET