Uses of Class
com.azure.resourcemanager.appcontainers.models.TrafficWeight
Packages that use TrafficWeight
Package
Description
Package containing the data models for ContainerAppsApiClient.
-
Uses of TrafficWeight in com.azure.resourcemanager.appcontainers.models
Methods in com.azure.resourcemanager.appcontainers.models that return TrafficWeightModifier and TypeMethodDescriptionstatic TrafficWeight
TrafficWeight.fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of TrafficWeight from the JsonReader.Set the label property: Associates a traffic label with a revision.TrafficWeight.withLatestRevision
(Boolean latestRevision) Set the latestRevision property: Indicates that the traffic weight belongs to a latest stable revision.TrafficWeight.withRevisionName
(String revisionName) Set the revisionName property: Name of a revision.TrafficWeight.withWeight
(Integer weight) Set the weight property: Traffic weight assigned to a revision.Methods in com.azure.resourcemanager.appcontainers.models that return types with arguments of type TrafficWeightModifier and TypeMethodDescriptionIngress.traffic()
Get the traffic property: Traffic weights for app's revisions.Method parameters in com.azure.resourcemanager.appcontainers.models with type arguments of type TrafficWeightModifier and TypeMethodDescriptionIngress.withTraffic
(List<TrafficWeight> traffic) Set the traffic property: Traffic weights for app's revisions.