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

ContainerApplicationAgentDefinition Constructor

Definition

Initializes a new instance of ContainerApplicationAgentDefinition.

public ContainerApplicationAgentDefinition(System.Collections.Generic.IEnumerable<Azure.AI.Projects.OpenAI.ProtocolVersionRecord> containerProtocolVersions, string containerAppResourceId, string ingressSubdomainSuffix);
new Azure.AI.Projects.OpenAI.ContainerApplicationAgentDefinition : seq<Azure.AI.Projects.OpenAI.ProtocolVersionRecord> * string * string -> Azure.AI.Projects.OpenAI.ContainerApplicationAgentDefinition
Public Sub New (containerProtocolVersions As IEnumerable(Of ProtocolVersionRecord), containerAppResourceId As String, ingressSubdomainSuffix As String)

Parameters

containerProtocolVersions
IEnumerable<ProtocolVersionRecord>

The protocols that the agent supports for ingress communication of the containers.

containerAppResourceId
String

The resource ID of the Azure Container App that hosts this agent. Not mutable across versions.

ingressSubdomainSuffix
String

The suffix to apply to the app subdomain when sending ingress to the agent. This can be a label (e.g., '---current'), a specific revision (e.g., '--0000001'), or empty to use the default endpoint for the container app.

Exceptions

containerProtocolVersions, containerAppResourceId or ingressSubdomainSuffix is null.

Applies to