VerificationIpFlowParameters Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. VerificationIpFlowParameters
- com.
public final class VerificationIpFlowParameters
Parameters that define the IP flow to be verified.
Constructor Summary
Constructor | Description |
---|---|
VerificationIpFlowParameters() |
Creates an instance of Verification |
Method Summary
Modifier and Type | Method and Description |
---|---|
Direction |
direction()
Get the direction property: The direction of the packet represented as a 5-tuple. |
String |
localIpAddress()
Get the local |
String |
localPort()
Get the local |
Ip |
protocol()
Get the protocol property: Protocol to be verified on. |
String |
remoteIpAddress()
Get the remote |
String |
remotePort()
Get the remote |
String |
targetNicResourceId()
Get the target |
String |
targetResourceId()
Get the target |
void |
validate()
Validates the instance. |
Verification |
withDirection(Direction direction)
Set the direction property: The direction of the packet represented as a 5-tuple. |
Verification |
withLocalIpAddress(String localIpAddress)
Set the local |
Verification |
withLocalPort(String localPort)
Set the local |
Verification |
withProtocol(IpFlowProtocol protocol)
Set the protocol property: Protocol to be verified on. |
Verification |
withRemoteIpAddress(String remoteIpAddress)
Set the remote |
Verification |
withRemotePort(String remotePort)
Set the remote |
Verification |
withTargetNicResourceId(String targetNicResourceId)
Set the target |
Verification |
withTargetResourceId(String targetResourceId)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
VerificationIpFlowParameters
public VerificationIpFlowParameters()
Creates an instance of VerificationIpFlowParameters class.
Method Details
direction
public Direction direction()
Get the direction property: The direction of the packet represented as a 5-tuple.
Returns:
localIpAddress
public String localIpAddress()
Get the localIpAddress property: The local IP address. Acceptable values are valid IPv4 addresses.
Returns:
localPort
public String localPort()
Get the localPort property: 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 the protocol property: Protocol to be verified on.
Returns:
remoteIpAddress
public String remoteIpAddress()
Get the remoteIpAddress property: The remote IP address. Acceptable values are valid IPv4 addresses.
Returns:
remotePort
public String remotePort()
Get the remotePort property: 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 targetNicResourceId property: 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 targetResourceId property: The ID of the target resource to perform next-hop on.
Returns:
validate
public void validate()
Validates the instance.
withDirection
public VerificationIpFlowParameters withDirection(Direction direction)
Set the direction property: The direction of the packet represented as a 5-tuple.
Parameters:
Returns:
withLocalIpAddress
public VerificationIpFlowParameters withLocalIpAddress(String localIpAddress)
Set the localIpAddress property: The local IP address. Acceptable values are valid IPv4 addresses.
Parameters:
Returns:
withLocalPort
public VerificationIpFlowParameters withLocalPort(String localPort)
Set the localPort property: 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 the protocol property: Protocol to be verified on.
Parameters:
Returns:
withRemoteIpAddress
public VerificationIpFlowParameters withRemoteIpAddress(String remoteIpAddress)
Set the remoteIpAddress property: The remote IP address. Acceptable values are valid IPv4 addresses.
Parameters:
Returns:
withRemotePort
public VerificationIpFlowParameters withRemotePort(String remotePort)
Set the remotePort property: 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 targetNicResourceId property: 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 targetResourceId property: The ID of the target resource to perform next-hop on.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for