ApplicationGatewayRequestRoutingRule.DefinitionStages.WithFrontendPort<ParentT> Interface

Type Parameters

ParentT

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

public static interface ApplicationGatewayRequestRoutingRule.DefinitionStages.WithFrontendPort

The stage of an application gateway request routing rule definition allowing to create an associate listener and frontend for a specific port number and protocol.

Method Summary

Modifier and Type Method and Description
abstract WithBackendHttpConfigOrRedirect<ParentT> fromFrontendHttpPort(int portNumber)

Associates a new listener for the specified port number and the HTTP protocol with this rule.

abstract WithSslCertificate<ParentT> fromFrontendHttpsPort(int portNumber)

Associates a new listener for the specified port number and the HTTPS protocol with this rule.

Method Details

fromFrontendHttpPort

public abstract ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendHttpConfigOrRedirect fromFrontendHttpPort(int portNumber)

Associates a new listener for the specified port number and the HTTP protocol with this rule.

Parameters:

portNumber - the port number to listen to

Returns:

the next stage of the definition, or null if the specified port number is already used for a different protocol

fromFrontendHttpsPort

public abstract ApplicationGatewayRequestRoutingRule.DefinitionStages.WithSslCertificate fromFrontendHttpsPort(int portNumber)

Associates a new listener for the specified port number and the HTTPS protocol with this rule.

Parameters:

portNumber - the port number to listen to

Returns:

the next stage of the definition, or null if the specified port number is already used for a different protocol

Applies to