你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.