ProjectsAgentsModelFactory.AgentEndpoint Method
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.
The AgentEndpoint.
public static Azure.AI.Projects.Agents.AgentEndpoint AgentEndpoint(Azure.AI.Projects.Agents.VersionSelector versionSelector = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.AgentEndpointProtocol> protocols = default, System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.AgentEndpointAuthorizationScheme> authorizationSchemes = default);
static member AgentEndpoint : Azure.AI.Projects.Agents.VersionSelector * seq<Azure.AI.Projects.Agents.AgentEndpointProtocol> * seq<Azure.AI.Projects.Agents.AgentEndpointAuthorizationScheme> -> Azure.AI.Projects.Agents.AgentEndpoint
Public Shared Function AgentEndpoint (Optional versionSelector As VersionSelector = Nothing, Optional protocols As IEnumerable(Of AgentEndpointProtocol) = Nothing, Optional authorizationSchemes As IEnumerable(Of AgentEndpointAuthorizationScheme) = Nothing) As AgentEndpoint
Parameters
- versionSelector
- VersionSelector
The version selector of the agent endpoint determines how traffic is routed to different versions of the agent.
- protocols
- IEnumerable<AgentEndpointProtocol>
The protocols that the agent supports.
- authorizationSchemes
- IEnumerable<AgentEndpointAuthorizationScheme>
The authorization schemes supported by the agent endpoint.
Returns
A new AgentEndpoint instance for mocking.