VerificationIPFlowParameters Class

  • java.lang.Object
    • com.microsoft.azure.management.network.VerificationIPFlowParameters

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.

IpFlowProtocol 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.

VerificationIPFlowParameters withDirection(Direction direction)

Set the direction of the packet represented as a 5-tuple.

VerificationIPFlowParameters withLocalIPAddress(String localIPAddress)

Set the local IP address.

VerificationIPFlowParameters withLocalPort(String localPort)

Set the local port.

VerificationIPFlowParameters withProtocol(IpFlowProtocol protocol)

Set protocol to be verified on.

VerificationIPFlowParameters withRemoteIPAddress(String remoteIPAddress)

Set the remote IP address.

VerificationIPFlowParameters withRemotePort(String remotePort)

Set the remote port.

VerificationIPFlowParameters withTargetNicResourceId(String targetNicResourceId)

Set the NIC ID.

VerificationIPFlowParameters withTargetResourceId(String targetResourceId)

Set the ID of the target resource to perform next-hop on.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the direction value

localIPAddress

public String localIPAddress()

Get the local IP address. Acceptable values are valid IPv4 addresses.

Returns:

the localIPAddress value

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:

the localPort value

protocol

public IpFlowProtocol protocol()

Get protocol to be verified on. Possible values include: 'TCP', 'UDP'.

Returns:

the protocol value

remoteIPAddress

public String remoteIPAddress()

Get the remote IP address. Acceptable values are valid IPv4 addresses.

Returns:

the remoteIPAddress value

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:

the remotePort value

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:

the targetNicResourceId value

targetResourceId

public String targetResourceId()

Get the ID of the target resource to perform next-hop on.

Returns:

the targetResourceId value

withDirection

public VerificationIPFlowParameters withDirection(Direction direction)

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.

withLocalIPAddress

public VerificationIPFlowParameters withLocalIPAddress(String localIPAddress)

Set the local IP address. Acceptable values are valid IPv4 addresses.

Parameters:

localIPAddress - the localIPAddress value to set

Returns:

the VerificationIPFlowParameters object itself.

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:

localPort - the localPort value to set

Returns:

the VerificationIPFlowParameters object itself.

withProtocol

public VerificationIPFlowParameters withProtocol(IpFlowProtocol protocol)

Set protocol to be verified on. Possible values include: 'TCP', 'UDP'.

Parameters:

protocol - the protocol value to set

Returns:

the VerificationIPFlowParameters object itself.

withRemoteIPAddress

public VerificationIPFlowParameters withRemoteIPAddress(String remoteIPAddress)

Set the remote IP address. Acceptable values are valid IPv4 addresses.

Parameters:

remoteIPAddress - the remoteIPAddress value to set

Returns:

the VerificationIPFlowParameters object itself.

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:

remotePort - the remotePort value to set

Returns:

the VerificationIPFlowParameters object itself.

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:

targetNicResourceId - the targetNicResourceId value to set

Returns:

the VerificationIPFlowParameters object itself.

withTargetResourceId

public VerificationIPFlowParameters withTargetResourceId(String targetResourceId)

Set the ID of the target resource to perform next-hop on.

Parameters:

targetResourceId - the targetResourceId value to set

Returns:

the VerificationIPFlowParameters object itself.

Applies to