ภาษา

ProjectsAgentsModelFactory.AgentEndpointConfiguration Method

Definition

The AgentEndpointConfiguration.

public static Azure.AI.Projects.Agents.AgentEndpointConfiguration AgentEndpointConfiguration(Azure.AI.Projects.Agents.VersionSelector versionSelector = default, Azure.AI.Projects.Agents.ProtocolConfiguration protocolConfiguration = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.AgentEndpointAuthorizationScheme> authorizationSchemes = default, Azure.AI.Projects.Agents.PublishApprovalStatus? publishApprovalStatus = default);
static member AgentEndpointConfiguration : Azure.AI.Projects.Agents.VersionSelector * Azure.AI.Projects.Agents.ProtocolConfiguration * seq<Azure.AI.Projects.Agents.AgentEndpointAuthorizationScheme> * Nullable<Azure.AI.Projects.Agents.PublishApprovalStatus> -> Azure.AI.Projects.Agents.AgentEndpointConfiguration
Public Shared Function AgentEndpointConfiguration (Optional versionSelector As VersionSelector = Nothing, Optional protocolConfiguration As ProtocolConfiguration = Nothing, Optional authorizationSchemes As IEnumerable(Of AgentEndpointAuthorizationScheme) = Nothing, Optional publishApprovalStatus As Nullable(Of PublishApprovalStatus) = Nothing) As AgentEndpointConfiguration

Parameters

versionSelector
VersionSelector

The version selector of the agent endpoint determines how traffic is routed to different versions of the agent.

protocolConfiguration
ProtocolConfiguration

Per-protocol configuration for the agent endpoint.

authorizationSchemes
IEnumerable<AgentEndpointAuthorizationScheme>

The authorization schemes supported by the agent endpoint.

publishApprovalStatus
Nullable<PublishApprovalStatus>

The Microsoft Agent Certification review status of the Microsoft 365 store title published for this agent. Server-populated and best-effort: it is absent when the status could not be determined, and an absent value must not be interpreted as the agent not being published. No value is terminal, because publishing a new version of an agent reuses the same store title and sends it back through review.

Returns

A new AgentEndpointConfiguration instance for mocking.

Applies to