Interface ConnectionMonitor

All Superinterfaces:
HasId, HasInner<com.microsoft.azure.management.network.implementation.ConnectionMonitorResultInner>, HasName, Indexable

@Beta(V1_10_0) public interface ConnectionMonitor extends HasInner<com.microsoft.azure.management.network.implementation.ConnectionMonitorResultInner>, HasName, HasId, Indexable
Client-side representation of Connection Monitor object, associated with Network Watcher.
  • Method Details

    • location

      String location()
      Returns:
      connection monitor location
    • tags

      Map<String,String> tags()
      Returns:
      connection monitor tags
    • source

      Returns:
      the source property
    • destination

      Returns:
      the destination property
    • autoStart

      boolean autoStart()
      Determines if the connection monitor will start automatically once created.
      Returns:
      true if the connection monitor will start automatically once created, false otherwise
    • provisioningState

      ProvisioningState provisioningState()
      Returns:
      the provisioning state of the connection monitor
    • startTime

      org.joda.time.DateTime startTime()
      Returns:
      the date and time when the connection monitor was started
    • monitoringStatus

      String monitoringStatus()
      Returns:
      the monitoring status of the connection monitor
    • monitoringIntervalInSeconds

      int monitoringIntervalInSeconds()
      Returns:
      monitoring interval in seconds
    • stop

      void stop()
      Stops a specified connection monitor.
    • stopAsync

      rx.Completable stopAsync()
      Stops a specified connection monitor asynchronously.
      Returns:
      the handle to the REST call
    • start

      void start()
      Starts a specified connection monitor.
    • startAsync

      rx.Completable startAsync()
      Starts a specified connection monitor asynchronously.
      Returns:
      the handle to the REST call
    • query

      Query a snapshot of the most recent connection state of a connection monitor.
      Returns:
      snapshot of the most recent connection state
    • queryAsync

      rx.Observable<ConnectionMonitorQueryResult> queryAsync()
      Query a snapshot of the most recent connection state of a connection monitor asynchronously.
      Returns:
      snapshot of the most recent connection state