FixedRatioVersionSelectionRule(String, Int32) Constructor
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.
Initializes a new instance of FixedRatioVersionSelectionRule.
public FixedRatioVersionSelectionRule(string agentVersion, int trafficPercentage);
new Azure.AI.Projects.Agents.FixedRatioVersionSelectionRule : string * int -> Azure.AI.Projects.Agents.FixedRatioVersionSelectionRule
Public Sub New (agentVersion As String, trafficPercentage As Integer)
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.
Exceptions
agentVersion is null.