ProjectsAgentsModelFactory.AgentEndpointConfiguration 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 AgentEndpointConfiguration.
public static Azure.AI.Projects.Agents.AgentEndpointConfiguration AgentEndpointConfiguration(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 AgentEndpointConfiguration : Azure.AI.Projects.Agents.VersionSelector * seq<Azure.AI.Projects.Agents.AgentEndpointProtocol> * seq<Azure.AI.Projects.Agents.AgentEndpointAuthorizationScheme> -> Azure.AI.Projects.Agents.AgentEndpointConfiguration
Public Shared Function AgentEndpointConfiguration (Optional versionSelector As VersionSelector = Nothing, Optional protocols As IEnumerable(Of AgentEndpointProtocol) = Nothing, Optional authorizationSchemes As IEnumerable(Of AgentEndpointAuthorizationScheme) = Nothing) As AgentEndpointConfiguration
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 AgentEndpointConfiguration instance for mocking.