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

ContainerApplicationAgentDefinition Class

Definition

The container app agent definition.

public class ContainerApplicationAgentDefinition : Azure.AI.Projects.OpenAI.AgentDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.OpenAI.ContainerApplicationAgentDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.OpenAI.ContainerApplicationAgentDefinition>
type ContainerApplicationAgentDefinition = class
    inherit AgentDefinition
    interface IJsonModel<ContainerApplicationAgentDefinition>
    interface IPersistableModel<ContainerApplicationAgentDefinition>
Public Class ContainerApplicationAgentDefinition
Inherits AgentDefinition
Implements IJsonModel(Of ContainerApplicationAgentDefinition), IPersistableModel(Of ContainerApplicationAgentDefinition)
Inheritance
ContainerApplicationAgentDefinition
Implements

Constructors

Name Description
ContainerApplicationAgentDefinition(IEnumerable<ProtocolVersionRecord>, String, String)

Initializes a new instance of ContainerApplicationAgentDefinition.

Properties

Name Description
ContainerAppResourceId

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

ContainerProtocolVersions

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

ContentFilterConfiguration

Configuration for Responsible AI (RAI) content filtering and safety features.

(Inherited from AgentDefinition)
IngressSubdomainSuffix

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AgentDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from AgentDefinition)
IJsonModel<AgentDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from AgentDefinition)
IJsonModel<ContainerApplicationAgentDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ContainerApplicationAgentDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<AgentDefinition>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from AgentDefinition)
IPersistableModel<AgentDefinition>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from AgentDefinition)
IPersistableModel<AgentDefinition>.Write(ModelReaderWriterOptions) (Inherited from AgentDefinition)
IPersistableModel<ContainerApplicationAgentDefinition>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ContainerApplicationAgentDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ContainerApplicationAgentDefinition>.Write(ModelReaderWriterOptions)

Applies to