IWithFrontendPort.WithFrontendPort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.