次の方法で共有


ConnectionMonitor Interface

Implements

public interface ConnectionMonitor
extends HasInnerModel<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()

Gets the destination property.

abstract String location()

Gets connection monitor location.

abstract int monitoringIntervalInSeconds()

Gets monitoring interval in seconds.

abstract String monitoringStatus()

Gets the monitoring status of the connection monitor.

abstract ProvisioningState provisioningState()

Gets the provisioning state of the connection monitor.

abstract ConnectionMonitorSource source()

Gets the source property.

abstract OffsetDateTime startTime()

Gets the date and time when the connection monitor was started.

abstract void stop()

Stops a specified connection monitor.

abstract Mono<Void> stopAsync()

Stops a specified connection monitor asynchronously.

abstract Map<String,String> tags()

Gets connection monitor 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()

Gets the destination property.

Returns:

the destination property

location

public abstract String location()

Gets connection monitor location.

Returns:

connection monitor location

monitoringIntervalInSeconds

public abstract int monitoringIntervalInSeconds()

Gets monitoring interval in seconds.

Returns:

monitoring interval in seconds

monitoringStatus

public abstract String monitoringStatus()

Gets the monitoring status of the connection monitor.

Returns:

the monitoring status of the connection monitor

provisioningState

public abstract ProvisioningState provisioningState()

Gets the provisioning state of the connection monitor.

Returns:

the provisioning state of the connection monitor

source

public abstract ConnectionMonitorSource source()

Gets the source property.

Returns:

the source property

startTime

public abstract OffsetDateTime startTime()

Gets the date and time when the connection monitor was started.

Returns:

the date and time when the connection monitor was started

stop

public abstract void stop()

Stops a specified connection monitor.

stopAsync

public abstract Mono<Void> stopAsync()

Stops a specified connection monitor asynchronously.

Returns:

the handle to the REST call

tags

public abstract Map<String,String> tags()

Gets connection monitor tags.

Returns:

connection monitor tags

Applies to