TrafficRoutingRule Class
Represents a rule for routing traffic to a specific deployment.
Constructor
TrafficRoutingRule(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
rule_id
|
The identifier of this traffic routing rule. |
|
description
|
A user-provided description for this traffic routing rule. |
|
deployment_id
|
The unique identifier of the deployment to which traffic is routed by this rule. |
|
traffic_percentage
|
Gets or sets the percentage of traffic allocated to this instance. |
Attributes
deployment_id
The unique identifier of the deployment to which traffic is routed by this rule.
deployment_id: str | None
description
A user-provided description for this traffic routing rule.
description: str | None
rule_id
The identifier of this traffic routing rule.
rule_id: str | None
traffic_percentage
Gets or sets the percentage of traffic allocated to this instance.
traffic_percentage: int | None