IWithFrontendPort<ParentT>.WithFrontendPort Method

Definition

Overloads

WithFrontendPort(Int32)

Enables the listener to listen on the specified frontend port number. If a frontend port for this port number does not yet exist, a new will be created with an auto-generated name.

WithFrontendPort(String)

Enables the listener to listen on the specified existing frontend port.

WithFrontendPort(Int32)

Enables the listener to listen on the specified frontend port number. If a frontend port for this port number does not yet exist, a new will be created with an auto-generated name.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<ParentT> WithFrontendPort (int portNumber);
abstract member WithFrontendPort : int -> Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayListener.UpdateDefinition.IWithAttach<'ParentT>
Public Function WithFrontendPort (portNumber As Integer) As IWithAttach(Of ParentT)

Parameters

portNumber
System.Int32

A port number.

Returns

IWithAttach<ParentT>

Applies to

WithFrontendPort(String)

Enables the listener to listen on the specified existing frontend port.

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

Parameters

name
System.String

The name of an existing frontend port.

Returns

IWithAttach<ParentT>

Applies to