TrafficRoutingRule interface
Represents a rule for routing traffic to a specific deployment.
Properties
| deployment |
The unique identifier of the deployment to which traffic is routed by this rule. |
| description | A user-provided description for this traffic routing rule. |
| rule |
The identifier of this traffic routing rule. |
| traffic |
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 | null
Property Value
string | null
description
A user-provided description for this traffic routing rule.
description?: string | null
Property Value
string | null
ruleId
The identifier of this traffic routing rule.
ruleId?: string | null
Property Value
string | null
trafficPercentage
Gets or sets the percentage of traffic allocated to this instance.
trafficPercentage?: number
Property Value
number