你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VerificationIPFlowContent 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 VerificationIPFlowContent 的新实例。
public VerificationIPFlowContent (Azure.Core.ResourceIdentifier targetResourceId, Azure.ResourceManager.Network.Models.NetworkTrafficDirection direction, Azure.ResourceManager.Network.Models.IPFlowProtocol protocol, string localPort, string remotePort, string localIPAddress, string remoteIPAddress);
new Azure.ResourceManager.Network.Models.VerificationIPFlowContent : Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.NetworkTrafficDirection * Azure.ResourceManager.Network.Models.IPFlowProtocol * string * string * string * string -> Azure.ResourceManager.Network.Models.VerificationIPFlowContent
Public Sub New (targetResourceId As ResourceIdentifier, direction As NetworkTrafficDirection, protocol As IPFlowProtocol, localPort As String, remotePort As String, localIPAddress As String, remoteIPAddress As String)
参数
- targetResourceId
- ResourceIdentifier
要执行下一跃点的目标资源的 ID。
- direction
- NetworkTrafficDirection
表示为 5 元组的数据包的方向。
- protocol
- IPFlowProtocol
要验证的协议。
- localPort
- String
本地端口。 可接受的值是 (0-65535) 范围内的单个整数。 源端口支持 * ,具体取决于方向。
- remotePort
- String
远程端口。 可接受的值是 (0-65535) 范围内的单个整数。 源端口支持 * ,具体取决于方向。
- localIPAddress
- String
本地 IP 地址。 可接受的值为有效的 IPv4 地址。
- remoteIPAddress
- String
远程 IP 地址。 可接受的值为有效的 IPv4 地址。
例外
targetResourceId
、localPort
、 remotePort
localIPAddress
或 remoteIPAddress
为 null。