ArmNetworkModelFactory.VerificationIPFlowContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VerificationIPFlowContent.
public static Azure.ResourceManager.Network.Models.VerificationIPFlowContent VerificationIPFlowContent (Azure.Core.ResourceIdentifier targetResourceId = default, Azure.ResourceManager.Network.Models.NetworkTrafficDirection direction = default, Azure.ResourceManager.Network.Models.IPFlowProtocol protocol = default, string localPort = default, string remotePort = default, string localIPAddress = default, string remoteIPAddress = default, Azure.Core.ResourceIdentifier targetNicResourceId = default);
static member VerificationIPFlowContent : Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.Models.NetworkTrafficDirection * Azure.ResourceManager.Network.Models.IPFlowProtocol * string * string * string * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Network.Models.VerificationIPFlowContent
Public Shared Function VerificationIPFlowContent (Optional targetResourceId As ResourceIdentifier = Nothing, Optional direction As NetworkTrafficDirection = Nothing, Optional protocol As IPFlowProtocol = Nothing, Optional localPort As String = Nothing, Optional remotePort As String = Nothing, Optional localIPAddress As String = Nothing, Optional remoteIPAddress As String = Nothing, Optional targetNicResourceId As ResourceIdentifier = Nothing) As VerificationIPFlowContent
Parameters
- targetResourceId
- ResourceIdentifier
The ID of the target resource to perform next-hop on.
- direction
- NetworkTrafficDirection
The direction of the packet represented as a 5-tuple.
- protocol
- IPFlowProtocol
Protocol to be verified on.
- localPort
- String
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.
- remotePort
- String
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.
- localIPAddress
- String
The local IP address. Acceptable values are valid IPv4 addresses.
- remoteIPAddress
- String
The remote IP address. Acceptable values are valid IPv4 addresses.
- targetNicResourceId
- ResourceIdentifier
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).
Returns
A new VerificationIPFlowContent instance for mocking.