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

VerificationIPFlowParameters Class

Parameters that define the IP flow to be verified.

All required parameters must be populated in order to send to server.

Constructor

VerificationIPFlowParameters(*, target_resource_id: str, direction: str | _models.Direction, protocol: str | _models.IpFlowProtocol, local_port: str, remote_port: str, local_ip_address: str, remote_ip_address: str, target_nic_resource_id: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
target_resource_id
str

The ID of the target resource to perform next-hop on. Required.

direction

The direction of the packet represented as a 5-tuple. Required. Known values are: "Inbound" and "Outbound".

protocol

Protocol to be verified on. Required. Known values are: "TCP" and "UDP".

local_port
str

The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. Required.

remote_port
str

The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. Required.

local_ip_address
str

The local IP address. Acceptable values are valid IPv4 addresses. Required.

remote_ip_address
str

The remote IP address. Acceptable values are valid IPv4 addresses. Required.

target_nic_resource_id
str

The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).

Default value: None

Variables

Name Description
target_resource_id
str

The ID of the target resource to perform next-hop on. Required.

direction

The direction of the packet represented as a 5-tuple. Required. Known values are: "Inbound" and "Outbound".

protocol

Protocol to be verified on. Required. Known values are: "TCP" and "UDP".

local_port
str

The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. Required.

remote_port
str

The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction. Required.

local_ip_address
str

The local IP address. Acceptable values are valid IPv4 addresses. Required.

remote_ip_address
str

The remote IP address. Acceptable values are valid IPv4 addresses. Required.

target_nic_resource_id
str

The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).