Share via


IWithListener<ParentT>.FromListener(String) Method

Definition

Associates the request routing rule with a frontend listener. If the listener with the specified name does not yet exist, it must be defined separately in the optional part of the application gateway definition. This only adds a reference to the listener by its name. Also, note that a given listener can be used by no more than one request routing rule at a time.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithBackendHttpConfigOrRedirect<ParentT> FromListener (string name);
abstract member FromListener : string -> Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithBackendHttpConfigOrRedirect<'ParentT>
Public Function FromListener (name As String) As IWithBackendHttpConfigOrRedirect(Of ParentT)

Parameters

name
String

The name of a listener to reference.

Returns

Applies to