你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.