TrafficManagerProfile.DefinitionStages.WithTrafficRoutingMethod Interface
public static interface TrafficManagerProfile.DefinitionStages.WithTrafficRoutingMethod
The stage of the traffic manager profile definition allowing to specify the traffic routing method for the profile.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withGeographicBasedRouting()
Specifies that end user traffic should be routed to the endpoint that is designated to serve users geographic region. |
abstract
With |
withMultiValueBasedRouting(long maxReturn)
Specifies that end user traffic should be routed to the endpoint that return multiple healthy endpoints. |
abstract
With |
withPerformanceBasedRouting()
Specifies that end user traffic should be routed based on the closest available endpoint in terms of the lowest network latency. |
abstract
With |
withPriorityBasedRouting()
Specifies that end user traffic should be routed to the endpoint based on its priority i. |
abstract
With |
withSubnetBasedRouting()
Specifies that end user traffic should be routed to the endpoint which is decided based on the end-user ip address. |
abstract
With |
withTrafficRoutingMethod(TrafficRoutingMethod routingMethod)
Specify the traffic routing method for the profile. |
abstract
With |
withWeightBasedRouting()
Specifies that end user traffic should be distributed to the endpoints based on the weight assigned to the endpoint. |
Method Details
withGeographicBasedRouting
public abstract TrafficManagerProfile.DefinitionStages.WithEndpoint withGeographicBasedRouting()
Specifies that end user traffic should be routed to the endpoint that is designated to serve users geographic region.
Returns:
withMultiValueBasedRouting
public abstract TrafficManagerProfile.DefinitionStages.WithEndpoint withMultiValueBasedRouting(long maxReturn)
Specifies that end user traffic should be routed to the endpoint that return multiple healthy endpoints.
Parameters:
Returns:
withPerformanceBasedRouting
public abstract TrafficManagerProfile.DefinitionStages.WithEndpoint 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 abstract TrafficManagerProfile.DefinitionStages.WithEndpoint 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:
withSubnetBasedRouting
public abstract TrafficManagerProfile.DefinitionStages.WithEndpoint withSubnetBasedRouting()
Specifies that end user traffic should be routed to the endpoint which is decided based on the end-user ip address.
Returns:
withTrafficRoutingMethod
public abstract TrafficManagerProfile.DefinitionStages.WithEndpoint withTrafficRoutingMethod(TrafficRoutingMethod routingMethod)
Specify the traffic routing method for the profile.
Parameters:
Returns:
withWeightBasedRouting
public abstract TrafficManagerProfile.DefinitionStages.WithEndpoint 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