TrafficWeight Class
Traffic weight assigned to a revision.
- Inheritance
-
azure.mgmt.appcontainers._serialization.ModelTrafficWeight
Constructor
TrafficWeight(*, revision_name: str | None = None, weight: int | None = None, latest_revision: bool = False, label: str | None = None, **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. |
label
|
Associates a traffic label with a 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. |
label
|
Associates a traffic label with a revision. |
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python