TrafficManagerProfile.UpdateStages.WithTrafficRoutingMethod Interface
public interface WithTrafficRoutingMethod
The stage of the traffic manager profile update allowing to specify the traffic routing method for the profile.
Method Summary
Modifier and Type | Method and Description |
---|---|
Traffic |
withGeographicBasedRouting()
Specifies that end user traffic should be routed to the endpoint that is designated to serve users geographic region. |
Traffic |
withPerformanceBasedRouting()
Specifies that end user traffic should be routed based on the closest available endpoint in terms of the lowest network latency. |
Traffic |
withPriorityBasedRouting()
Specifies that end user traffic should be routed to the endpoint based on its priority i.e. use the endpoint with highest priority and if it is not available fallback to next highest priority endpoint. |
Traffic |
withTrafficRoutingMethod(TrafficRoutingMethod routingMethod)
Specifies the traffic routing method for the profile. |
Traffic |
withWeightBasedRouting()
Specifies that end user traffic should be distributed to the endpoints based on the weight assigned to the endpoint. |
Method Details
withGeographicBasedRouting
public Update withGeographicBasedRouting()
Specifies that end user traffic should be routed to the endpoint that is designated to serve users geographic region.
Returns:
withPerformanceBasedRouting
public Update withPerformanceBasedRouting()
Specifies that end user traffic should be routed based on the closest available endpoint in terms of the lowest network latency.
Returns:
withPriorityBasedRouting
public Update withPriorityBasedRouting()
Specifies that end user traffic should be routed to the endpoint based on its priority i.e. use the endpoint with highest priority and if it is not available fallback to next highest priority endpoint.
Returns:
withTrafficRoutingMethod
public Update withTrafficRoutingMethod(TrafficRoutingMethod routingMethod)
Specifies the traffic routing method for the profile.
Parameters:
Returns:
withWeightBasedRouting
public Update withWeightBasedRouting()
Specifies that end user traffic should be distributed to the endpoints based on the weight assigned to the endpoint.
Returns:
Applies to
Azure SDK for Java