TrafficWeight Class

Traffic weight assigned to a revision.

Inheritance
azure.mgmt.web._serialization.Model
TrafficWeight

Constructor

TrafficWeight(*, revision_name: str | None = None, weight: int | None = None, latest_revision: bool = False, **kwargs: Any)

Keyword-Only Parameters

Name Description
revision_name
str

Name of a revision.

weight
int

Traffic weight assigned to a revision.

latest_revision

Indicates that the traffic weight belongs to a latest stable revision.

Variables

Name Description
revision_name
str

Name of a revision.

weight
int

Traffic weight assigned to a revision.

latest_revision

Indicates that the traffic weight belongs to a latest stable revision.