ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithFrontendPort<ParentT> Interface

Type Parameters

ParentT

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

public interface 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
ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.WithBackendHttpConfiguration<ParentT> fromFrontendHttpPort(int portNumber)

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

ApplicationGatewayRequestRoutingRule.UpdateDefinitionStages.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 WithBackendHttpConfiguration 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 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