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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python