共用方式為


IWithFrontendPort.WithFrontendPort Method

Definition

Overloads

WithFrontendPort(Int32)

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

WithFrontendPort(Int32, String)

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

WithFrontendPort(Int32)

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

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

Parameters

portNumber
Int32

A port number.

Returns

Applies to

WithFrontendPort(Int32, String)

Creates a frontend 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.Definition.IWithCreate WithFrontendPort (int portNumber, string name);
abstract member WithFrontendPort : int * string -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Definition.IWithCreate
Public Function WithFrontendPort (portNumber As Integer, name As String) As IWithCreate

Parameters

portNumber
Int32

A port number.

name
String

The name to assign to the port.

Returns

Applies to