Class VerificationIPFlowParameters

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

public class VerificationIPFlowParameters extends Object
Parameters that define the IP flow to be verified.
  • Constructor Details

    • VerificationIPFlowParameters

      public VerificationIPFlowParameters()
  • Method Details

    • targetResourceId

      public String targetResourceId()
      Get the ID of the target resource to perform next-hop on.
      Returns:
      the targetResourceId value
    • 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.
    • direction

      public Direction direction()
      Get the direction of the packet represented as a 5-tuple. Possible values include: 'Inbound', 'Outbound'.
      Returns:
      the direction 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.
    • protocol

      public IpFlowProtocol protocol()
      Get protocol to be verified on. Possible values include: 'TCP', 'UDP'.
      Returns:
      the protocol value
    • 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.
    • 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
    • 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.
    • 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
    • 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.
    • localIPAddress

      public String localIPAddress()
      Get the local IP address. Acceptable values are valid IPv4 addresses.
      Returns:
      the localIPAddress value
    • 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.
    • remoteIPAddress

      public String remoteIPAddress()
      Get the remote IP address. Acceptable values are valid IPv4 addresses.
      Returns:
      the remoteIPAddress value
    • 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.
    • 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
    • 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.