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

IWithFrontendPortRange<ParentT>.FromFrontendPortRange 方法

定义

指定前端端口范围。

public Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatPool.UpdateDefinition.IWithAttach<ParentT> FromFrontendPortRange (int from, int to);
abstract member FromFrontendPortRange : int * int -> Microsoft.Azure.Management.Network.Fluent.LoadBalancerInboundNatPool.UpdateDefinition.IWithAttach<'ParentT>
Public Function FromFrontendPortRange (from As Integer, to As Integer) As IWithAttach(Of ParentT)

参数

from
Int32

起始端口号,介于 1 和 65534 之间。

to
Int32

结束端口号,大于起始端口号,且不超过 65534。

返回

适用于