Dela via


IWithFrontendPort.WithFrontendPort Method

Definition

Overloads

WithFrontendPort(Int32)

Creates a front end port with an auto-generated name and the specified port number, unless one already exists.

WithFrontendPort(Int32, String)

Creates a front end port with the specified name and port number, unless a port matching this name and/or number already exists.

WithFrontendPort(Int32)

Creates a front end port with an auto-generated name and the specified port number, unless one already exists.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate WithFrontendPort (int portNumber);
abstract member WithFrontendPort : int -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate
Public Function WithFrontendPort (portNumber As Integer) As IUpdate

Parameters

portNumber
Int32

A port number.

Returns

Applies to

WithFrontendPort(Int32, String)

Creates a front end port with the specified name and port number, unless a port matching this name and/or number already exists.

public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate WithFrontendPort (int portNumber, string name);
abstract member WithFrontendPort : int * string -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate
Public Function WithFrontendPort (portNumber As Integer, name As String) As IUpdate

Parameters

portNumber
Int32

A port number.

name
String

The name to assign to the port.

Returns

Applies to