ConnectionMonitor Interface

Implements

HasId HasName HasInner<com.microsoft.azure.management.network.implementation.ConnectionMonitorResultInner> Indexable

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 ConnectionMonitorDestination destination()
abstract java.lang.String location()
abstract int monitoringIntervalInSeconds()
abstract java.lang.String monitoringStatus()
abstract ProvisioningState provisioningState()
abstract ConnectionMonitorQueryResult query()

Query a snapshot of the most recent connection state of a connection monitor.

abstract rx.Observable<ConnectionMonitorQueryResult> queryAsync()

Query a snapshot of the most recent connection state of a connection monitor asynchronously.

abstract ConnectionMonitorSource 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:

true if the connection monitor will start automatically once created, false otherwise

destination

public abstract ConnectionMonitorDestination destination()

Returns:

the destination property

location

public abstract String location()

Returns:

connection monitor location

monitoringIntervalInSeconds

public abstract int monitoringIntervalInSeconds()

Returns:

monitoring interval in seconds

monitoringStatus

public abstract String monitoringStatus()

Returns:

the monitoring status of the connection monitor

provisioningState

public abstract ProvisioningState provisioningState()

Returns:

the provisioning state of the connection monitor

query

public abstract ConnectionMonitorQueryResult query()

Query a snapshot of the most recent connection state of a connection monitor.

Returns:

snapshot of the most recent connection state

queryAsync

public abstract Observable queryAsync()

Query a snapshot of the most recent connection state of a connection monitor asynchronously.

Returns:

snapshot of the most recent connection state

source

public abstract ConnectionMonitorSource source()

Returns:

the source property

start

public abstract void start()

Starts a specified connection monitor.

startAsync

public abstract Completable startAsync()

Starts a specified connection monitor asynchronously.

Returns:

the handle to the REST call

startTime

public abstract DateTime startTime()

Returns:

the date and time when the connection monitor was started

stop

public abstract void stop()

Stops a specified connection monitor.

stopAsync

public abstract Completable stopAsync()

Stops a specified connection monitor asynchronously.

Returns:

the handle to the REST call

tags

public abstract Map tags()

Returns:

connection monitor tags

Applies to