TrafficRoutingRule interface

Represents a rule for routing traffic to a specific deployment.

Properties

deploymentId

The unique identifier of the deployment to which traffic is routed by this rule.

description

A user-provided description for this traffic routing rule.

ruleId

The identifier of this traffic routing rule.

trafficPercentage

Gets or sets the percentage of traffic allocated to this instance.

Property Details

deploymentId

The unique identifier of the deployment to which traffic is routed by this rule.

deploymentId?: string

Property Value

string

description

A user-provided description for this traffic routing rule.

description?: string

Property Value

string

ruleId

The identifier of this traffic routing rule.

ruleId?: string

Property Value

string

trafficPercentage

Gets or sets the percentage of traffic allocated to this instance.

trafficPercentage?: number

Property Value

number