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 Summary
Constructor | Description | |
---|---|---|
VerificationIPFlowParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Direction |
direction()
Get the direction of the packet represented as a 5-tuple. |
java.lang.String |
localIPAddress()
Get the local IP address. |
java.lang.String |
localPort()
Get the local port. |
Ip |
protocol()
Get protocol to be verified on. |
java.lang.String |
remoteIPAddress()
Get the remote IP address. |
java.lang.String |
remotePort()
Get the remote port. |
java.lang.String |
targetNicResourceId()
Get the NIC ID. |
java.lang.String |
targetResourceId()
Get the ID of the target resource to perform next-hop on. |
Verification |
withDirection(Direction direction)
Set the direction of the packet represented as a 5-tuple. |
Verification |
withLocalIPAddress(String localIPAddress)
Set the local IP address. |
Verification |
withLocalPort(String localPort)
Set the local port. |
Verification |
withProtocol(IpFlowProtocol protocol)
Set protocol to be verified on. |
Verification |
withRemoteIPAddress(String remoteIPAddress)
Set the remote IP address. |
Verification |
withRemotePort(String remotePort)
Set the remote port. |
Verification |
withTargetNicResourceId(String targetNicResourceId)
Set the NIC ID. |
Verification |
withTargetResourceId(String targetResourceId)
Set the ID of the target resource to perform next-hop on. |
Methods inherited from java.lang.Object
Constructor Details
VerificationIPFlowParameters
public VerificationIPFlowParameters()
Method Details
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor