FixedRatioVersionSelectionRule(String, Int32) Constructor

Definition

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.

Applies to