VerificationIPFlowParameters Class
- java.
lang. Object - com.
microsoft. azure. management. network. VerificationIPFlowParameters
- com.
public class VerificationIPFlowParameters
Parameters that define the IP flow to be verified.
Constructor | Description | |
---|---|---|
Verification |
Modifier and Type | Method and Description |
---|---|
Direction |
direction()
Get the direction of the packet represented as a 5-tuple. |
java.lang.String |
local Get the local IP address. |
java.lang.String |
local Get the local port. |
Ip |
protocol()
Get protocol to be verified on. |
java.lang.String |
remote Get the remote IP address. |
java.lang.String |
remote Get the remote port. |
java.lang.String |
target Get the NIC ID. |
java.lang.String |
target Get the ID of the target resource to perform next-hop on. |
Verification |
with Set the direction of the packet represented as a 5-tuple. |
Verification |
with Set the local IP address. |
Verification |
with Set the local port. |
Verification |
with Set protocol to be verified on. |
Verification |
with Set the remote IP address. |
Verification |
with Set the remote port. |
Verification |
with Set the NIC ID. |
Verification |
with Set the ID of the target resource to perform next-hop on. |
VerificationIPFlowParameters
public VerificationIPFlowParameters()
direction
public Direction direction()
Get the direction of the packet represented as a 5-tuple. Possible values include: 'Inbound', 'Outbound'.
Returns:
localIPAddress
public String localIPAddress()
Get the local IP address. Acceptable values are valid IPv4 addresses.
Returns:
localPort
public String localPort()
Get 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.
Returns:
protocol
public IpFlowProtocol protocol()
Get protocol to be verified on. Possible values include: 'TCP', 'UDP'.
Returns:
remoteIPAddress
public String remoteIPAddress()
Get the remote IP address. Acceptable values are valid IPv4 addresses.
Returns:
remotePort
public String remotePort()
Get 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.
Returns:
targetNicResourceId
public String targetNicResourceId()
Get 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:
targetResourceId
public String targetResourceId()
Get the ID of the target resource to perform next-hop on.
Returns:
withDirection
public VerificationIPFlowParameters withDirection(Direction direction)
Set the direction of the packet represented as a 5-tuple. Possible values include: 'Inbound', 'Outbound'.
Parameters:
Returns:
withLocalIPAddress
public VerificationIPFlowParameters withLocalIPAddress(String localIPAddress)
Set the local IP address. Acceptable values are valid IPv4 addresses.
Parameters:
Returns:
withLocalPort
public VerificationIPFlowParameters withLocalPort(String localPort)
Set 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.
Parameters:
Returns:
withProtocol
public VerificationIPFlowParameters withProtocol(IpFlowProtocol protocol)
Set protocol to be verified on. Possible values include: 'TCP', 'UDP'.
Parameters:
Returns:
withRemoteIPAddress
public VerificationIPFlowParameters withRemoteIPAddress(String remoteIPAddress)
Set the remote IP address. Acceptable values are valid IPv4 addresses.
Parameters:
Returns:
withRemotePort
public VerificationIPFlowParameters withRemotePort(String remotePort)
Set 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.
Parameters:
Returns:
withTargetNicResourceId
public VerificationIPFlowParameters withTargetNicResourceId(String targetNicResourceId)
Set 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).
Parameters:
Returns:
withTargetResourceId
public VerificationIPFlowParameters withTargetResourceId(String targetResourceId)
Set the ID of the target resource to perform next-hop on.
Parameters:
Returns: