ProjectsAgentsModelFactory.FixedRatioVersionSelectionRule 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 FixedRatioVersionSelectionRule.
public static Azure.AI.Projects.Agents.FixedRatioVersionSelectionRule FixedRatioVersionSelectionRule(string agentVersion = default, int trafficPercentage = 0);
static member FixedRatioVersionSelectionRule : string * int -> Azure.AI.Projects.Agents.FixedRatioVersionSelectionRule
Public Shared Function FixedRatioVersionSelectionRule (Optional agentVersion As String = Nothing, Optional trafficPercentage As Integer = 0) As FixedRatioVersionSelectionRule
Parameters
- agentVersion
- String
The agent version to route traffic to.
- trafficPercentage
- Int32
The percentage of traffic to route to the version. Must be between 0 and 100.
Returns
A new FixedRatioVersionSelectionRule instance for mocking.