TrafficManagerProfile.UpdateStages.WithTrafficRoutingMethod Interface

public static interface TrafficManagerProfile.UpdateStages.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
abstract Update withGeographicBasedRouting()

Specifies that end user traffic should be routed to the endpoint that is designated to serve users geographic region.

abstract Update withMultiValueBasedRouting(long maxReturn)

Specifies that end user traffic should be routed to the endpoint that return multiple healthy endpoints.

abstract Update withPerformanceBasedRouting()

Specifies that end user traffic should be routed based on the closest available endpoint in terms of the lowest network latency.

abstract Update withPriorityBasedRouting()

Specifies that end user traffic should be routed to the endpoint based on its priority i.e.

abstract Update withSubnetBasedRouting()

Specifies that end user traffic should be routed to the endpoint which is decided based on the end-user ip address.

abstract Update withTrafficRoutingMethod(TrafficRoutingMethod routingMethod)

Specifies the traffic routing method for the profile.

abstract Update 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.Update withGeographicBasedRouting()

Specifies that end user traffic should be routed to the endpoint that is designated to serve users geographic region.

Returns:

the next stage of the update

withMultiValueBasedRouting

public abstract TrafficManagerProfile.Update withMultiValueBasedRouting(long maxReturn)

Specifies that end user traffic should be routed to the endpoint that return multiple healthy endpoints.

Parameters:

maxReturn - the maximum number of result to return

Returns:

the next stage of the Update

withPerformanceBasedRouting

public abstract TrafficManagerProfile.Update withPerformanceBasedRouting()

Specifies that end user traffic should be routed based on the closest available endpoint in terms of the lowest network latency.

Returns:

the next stage of the update

withPriorityBasedRouting

public abstract TrafficManagerProfile.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:

the next stage of the traffic manager profile update

withSubnetBasedRouting

public abstract TrafficManagerProfile.Update withSubnetBasedRouting()

Specifies that end user traffic should be routed to the endpoint which is decided based on the end-user ip address.

Returns:

the next stage of the update

withTrafficRoutingMethod

public abstract TrafficManagerProfile.Update withTrafficRoutingMethod(TrafficRoutingMethod routingMethod)

Specifies the traffic routing method for the profile.

Parameters:

routingMethod - the traffic routing method for the profile

Returns:

the next stage of the traffic manager profile update

withWeightBasedRouting

public abstract TrafficManagerProfile.Update withWeightBasedRouting()

Specifies that end user traffic should be distributed to the endpoints based on the weight assigned to the endpoint.

Returns:

the next stage of the traffic manager profile update

Applies to