你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithFrontendPort.WithFrontendPort 方法

定义

重载

WithFrontendPort(Int32)

创建具有自动生成名称和指定端口号的前端端口,除非已存在。

WithFrontendPort(Int32, String)

创建具有指定名称和端口号的前端端口,除非已存在匹配此名称和/或编号的端口。

WithFrontendPort(Int32)

创建具有自动生成名称和指定端口号的前端端口,除非已存在。

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

参数

portNumber
Int32

端口号。

返回

适用于

WithFrontendPort(Int32, String)

创建具有指定名称和端口号的前端端口,除非已存在匹配此名称和/或编号的端口。

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

参数

portNumber
Int32

端口号。

name
String

要分配给端口的名称。

返回

适用于