Share via


IWithListenerOrFrontend<ParentT> Interface

Definition

The stage of an application gateway request routing rule definition allowing to associate an existing listener with the rule, or create a new one implicitly by specifying the frontend to listen to.

public interface IWithListenerOrFrontend<ParentT> : Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithFrontend<ParentT>, Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayRequestRoutingRule.UpdateDefinition.IWithListener<ParentT>
type IWithListenerOrFrontend<'ParentT> = interface
    interface IWithListener<'ParentT>
    interface IWithFrontend<'ParentT>
Public Interface IWithListenerOrFrontend(Of ParentT)
Implements IWithFrontend(Of ParentT), IWithListener(Of ParentT)

Type Parameters

ParentT

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

Derived
Implements

Methods

FromListener(String)

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.

(Inherited from IWithListener<ParentT>)
FromPrivateFrontend()

Enables the rule to apply to the application gateway's private (internal) frontend. If the private frontend IP configuration does not yet exist, it will be created under an auto-generated name. If the application gateway does not have a subnet specified for its private frontend, one will be created automatically, unless a specific subnet is specified in the application gateway definition's optional settings.

(Inherited from IWithFrontend<ParentT>)
FromPublicFrontend()

Enables the rule to apply to the application gateway's public (Internet-facing) frontend. If the public frontend IP configuration does not yet exist, it will be created under an auto-generated name. If the application gateway does not have a public IP address specified for its public frontend, one will be created automatically, unless a specific public IP address is specified in the application gateway definition's optional settings.

(Inherited from IWithFrontend<ParentT>)

Applies to