ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithBackendHttpConfiguration<ParentT> Interface

Type Parameters

ParentT

the stage of the application gateway definition to return to after attaching this definition

public interface WithBackendHttpConfiguration

The stage of an application gateway request routing rule definition allowing to specify the backend HTTP settings configuration to associate the routing rule with.

Method Summary

Modifier and Type Method and Description
ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithBackendOrAddress<ParentT> toBackendHttpConfiguration(String name)

Associates the specified backend HTTP settings configuration with this request routing rule.

If the backend configuration does not exist yet, it must be defined in the optional part of the application gateway definition. The request routing rule references it only by name.

ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithBackendOrAddress<ParentT> toBackendHttpPort(int portNumber)

Creates a backend HTTP settings configuration for the specified backend port and the HTTP protocol, and associates it with this request routing rule.

An auto-generated name will be used for this newly created configuration.

Method Details

toBackendHttpConfiguration

public WithBackendOrAddress toBackendHttpConfiguration(String name)

Associates the specified backend HTTP settings configuration with this request routing rule.

If the backend configuration does not exist yet, it must be defined in the optional part of the application gateway definition. The request routing rule references it only by name.

Parameters:

name - the name of a backend HTTP settings configuration

Returns:

the next stage of the definition

toBackendHttpPort

public WithBackendOrAddress toBackendHttpPort(int portNumber)

Creates a backend HTTP settings configuration for the specified backend port and the HTTP protocol, and associates it with this request routing rule.

An auto-generated name will be used for this newly created configuration.

Parameters:

portNumber - the port number for a new backend HTTP settings configuration

Returns:

the next stage of the definition

Applies to