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