ConnectionMonitor Interface
Implements
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 Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean |
autoStart()
Determines if the connection monitor will start automatically once created. |
abstract
Connection |
destination() |
abstract java.lang.String | location() |
abstract int | monitoringIntervalInSeconds() |
abstract java.lang.String | monitoringStatus() |
abstract
Provisioning |
provisioningState() |
abstract
Connection |
query()
Query a snapshot of the most recent connection state of a connection monitor. |
abstract
rx.Observable<Connection |
queryAsync()
Query a snapshot of the most recent connection state of a connection monitor asynchronously. |
abstract
Connection |
source() |
abstract void |
start()
Starts a specified connection monitor. |
abstract rx.Completable |
startAsync()
Starts a specified connection monitor asynchronously. |
abstract org.joda.time.DateTime | startTime() |
abstract void |
stop()
Stops a specified connection monitor. |
abstract rx.Completable |
stopAsync()
Stops a specified connection monitor asynchronously. |
abstract java.util.Map<java.lang.String,java.lang.String> | tags() |
Method Details
autoStart
public abstract boolean autoStart()
Determines if the connection monitor will start automatically once created.
Returns:
destination
public abstract ConnectionMonitorDestination destination()
Returns:
location
public abstract String location()
Returns:
monitoringIntervalInSeconds
public abstract int monitoringIntervalInSeconds()
Returns:
monitoringStatus
public abstract String monitoringStatus()
Returns:
provisioningState
public abstract ProvisioningState provisioningState()
Returns:
query
public abstract ConnectionMonitorQueryResult query()
Query a snapshot of the most recent connection state of a connection monitor.
Returns:
queryAsync
public abstract Observable
Query a snapshot of the most recent connection state of a connection monitor asynchronously.
Returns:
source
public abstract ConnectionMonitorSource source()
Returns:
start
public abstract void start()
Starts a specified connection monitor.
startAsync
public abstract Completable startAsync()
Starts a specified connection monitor asynchronously.
Returns:
startTime
public abstract DateTime startTime()
Returns:
stop
public abstract void stop()
Stops a specified connection monitor.
stopAsync
public abstract Completable stopAsync()
Stops a specified connection monitor asynchronously.
Returns:
tags
public abstract Map
Returns:
Applies to
Azure SDK for Java