ApplicationGateway.UpdateStages.WithRequestRoutingRule Interface

public static interface ApplicationGateway.UpdateStages.WithRequestRoutingRule

The stage of an application gateway update allowing to modify request routing rules.

Method Summary

Modifier and Type Method and Description
abstract Blank<Update> definePathBasedRoutingRule(String name)

Begins the definition of a new application gateway path-based request routing rule and URL path map to be attached to the gateway.

abstract Blank<Update> defineRequestRoutingRule(String name)

Begins the definition of a request routing rule for this application gateway.

abstract Update updateRequestRoutingRule(String name)

Begins the update of a request routing rule.

abstract Update withoutRequestRoutingRule(String name)

Removes a request routing rule from the application gateway.

Method Details

definePathBasedRoutingRule

public abstract ApplicationGatewayUrlPathMap.UpdateDefinitionStages.Blank definePathBasedRoutingRule(String name)

Begins the definition of a new application gateway path-based request routing rule and URL path map to be attached to the gateway. Note: both will be created with the same name and attached to the gateway.

Parameters:

name - a unique name for the URL path map

Returns:

the first stage of the URL path map definition

defineRequestRoutingRule

public abstract ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.Blank defineRequestRoutingRule(String name)

Begins the definition of a request routing rule for this application gateway.

Parameters:

name - a unique name for the request routing rule

Returns:

the first stage of the request routing rule

updateRequestRoutingRule

public abstract ApplicationGatewayRequestRoutingRule.Update updateRequestRoutingRule(String name)

Begins the update of a request routing rule.

Parameters:

name - the name of an existing request routing rule

Returns:

the first stage of a request routing rule update or null if the requested rule does not exist

withoutRequestRoutingRule

public abstract ApplicationGateway.Update withoutRequestRoutingRule(String name)

Removes a request routing rule from the application gateway.

Parameters:

name - the name of the request routing rule to remove

Returns:

the next stage of the update

Applies to