ProjectsAgentsModelFactory.VersionSelectionRule(String, String) 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 VersionSelectionRule. Please note this is the abstract base class. The derived classes available for instantiation are: FixedRatioVersionSelectionRule.
public static Azure.AI.Projects.Agents.VersionSelectionRule VersionSelectionRule(string type = default, string agentVersion = default);
static member VersionSelectionRule : string * string -> Azure.AI.Projects.Agents.VersionSelectionRule
Public Shared Function VersionSelectionRule (Optional type As String = Nothing, Optional agentVersion As String = Nothing) As VersionSelectionRule
Parameters
- type
- String
- agentVersion
- String
The agent version to route traffic to.
Returns
A new VersionSelectionRule instance for mocking.