你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TrafficWeight Class
Traffic weight assigned to a revision.
- Inheritance
-
azure.mgmt.web._serialization.ModelTrafficWeight
Constructor
TrafficWeight(*, revision_name: str | None = None, weight: int | None = None, latest_revision: bool = False, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
revision_name
|
Name of a revision. |
weight
|
Traffic weight assigned to a revision. |
latest_revision
|
Indicates that the traffic weight belongs to a latest stable revision. |
Variables
Name | Description |
---|---|
revision_name
|
Name of a revision. |
weight
|
Traffic weight assigned to a revision. |
latest_revision
|
Indicates that the traffic weight belongs to a latest stable revision. |