你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithSourcePort<ParentT> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
允许指定源端口 () 的网络规则定义的阶段。
public interface IWithSourcePort<ParentT>
type IWithSourcePort<'ParentT> = interface
Public Interface IWithSourcePort(Of ParentT)
类型参数
- ParentT
附加此定义后要返回到的父定义的阶段。
- 派生
方法
FromAnyPort() |
使此规则应用于任何源端口。 |
FromPort(Int32) |
指定此规则应用于的源端口。 |
FromPortRange(Int32, Int32) |
指定应用此规则的源端口范围。 |
FromPortRanges(String[]) |
指定此规则适用的源端口范围。 |