Class ConnectivitySource

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

public class ConnectivitySource extends Object
Parameters that define the source of the connection.
  • Constructor Details

    • ConnectivitySource

      public ConnectivitySource()
  • Method Details

    • resourceId

      public String resourceId()
      Get the ID of the resource from which a connectivity check will be initiated.
      Returns:
      the resourceId value
    • withResourceId

      public ConnectivitySource withResourceId(String resourceId)
      Set the ID of the resource from which a connectivity check will be initiated.
      Parameters:
      resourceId - the resourceId value to set
      Returns:
      the ConnectivitySource object itself.
    • port

      public Integer port()
      Get the source port from which a connectivity check will be performed.
      Returns:
      the port value
    • withPort

      public ConnectivitySource withPort(Integer port)
      Set the source port from which a connectivity check will be performed.
      Parameters:
      port - the port value to set
      Returns:
      the ConnectivitySource object itself.