Interface ConnectionMonitor
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.arm.models.HasId,com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.ConnectionMonitorResultInner>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasName,com.microsoft.azure.management.resources.fluentcore.model.Indexable
@Beta(V1_10_0) public interface ConnectionMonitor extends com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.ConnectionMonitorResultInner>, com.microsoft.azure.management.resources.fluentcore.arm.models.HasName, com.microsoft.azure.management.resources.fluentcore.arm.models.HasId, com.microsoft.azure.management.resources.fluentcore.model.IndexableClient-side representation of Connection Monitor object, associated with Network Watcher.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConnectionMonitor.DefinitionThe entirety of the connection monitor definition.static interfaceConnectionMonitor.DefinitionStagesGrouping of connection monitor definition stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanautoStart()Determines if the connection monitor will start automatically once created.ConnectionMonitorDestinationdestination()Stringlocation()intmonitoringIntervalInSeconds()StringmonitoringStatus()ProvisioningStateprovisioningState()ConnectionMonitorQueryResultquery()Query a snapshot of the most recent connection state of a connection monitor.rx.Observable<ConnectionMonitorQueryResult>queryAsync()Query a snapshot of the most recent connection state of a connection monitor asynchronously.ConnectionMonitorSourcesource()voidstart()Starts a specified connection monitor.rx.CompletablestartAsync()Starts a specified connection monitor asynchronously.org.joda.time.DateTimestartTime()voidstop()Stops a specified connection monitor.rx.CompletablestopAsync()Stops a specified connection monitor asynchronously.Map<String,String>tags()-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
-
-
-
Method Detail
-
location
String location()
- Returns:
- connection monitor location
-
source
ConnectionMonitorSource source()
- Returns:
- the source property
-
destination
ConnectionMonitorDestination 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
ConnectionMonitorQueryResult 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
-
-