Interface ConnectionMonitorsClient
public interface ConnectionMonitorsClient
An instance of this class provides access to all the operations defined in ConnectionMonitorsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>, ConnectionMonitorResultInner> beginCreateOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>, ConnectionMonitorResultInner> beginCreateOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate, com.azure.core.util.Context context) Create or update a connection monitor.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>, ConnectionMonitorResultInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>, ConnectionMonitorResultInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate) Create or update a connection monitor.beginDelete(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.beginDelete(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Deletes the specified connection monitor.beginDeleteAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorQueryResultInner>, ConnectionMonitorQueryResultInner> beginQuery(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorQueryResultInner>, ConnectionMonitorQueryResultInner> beginQuery(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Query a snapshot of the most recent connection states.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionMonitorQueryResultInner>, ConnectionMonitorQueryResultInner> beginQueryAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.beginStart(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.beginStart(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Starts the specified connection monitor.beginStartAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.Stops the specified connection monitor.beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Stops the specified connection monitor.beginStopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Stops the specified connection monitor.createOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.createOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate, com.azure.core.util.Context context) Create or update a connection monitor.createOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.createOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate) Create or update a connection monitor.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate) Create or update a connection monitor.voidDeletes the specified connection monitor.voiddelete(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Deletes the specified connection monitor.deleteAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.Gets a connection monitor by name.Gets a connection monitor by name.com.azure.core.http.rest.Response<ConnectionMonitorResultInner> getWithResponse(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Gets a connection monitor by name.Mono<com.azure.core.http.rest.Response<ConnectionMonitorResultInner>> getWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Gets a connection monitor by name.com.azure.core.http.rest.PagedIterable<ConnectionMonitorResultInner> Lists all connection monitors for the specified Network Watcher.com.azure.core.http.rest.PagedIterable<ConnectionMonitorResultInner> Lists all connection monitors for the specified Network Watcher.com.azure.core.http.rest.PagedFlux<ConnectionMonitorResultInner> Lists all connection monitors for the specified Network Watcher.Query a snapshot of the most recent connection states.query(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Query a snapshot of the most recent connection states.queryAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> queryWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.voidStarts the specified connection monitor.voidstart(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Starts the specified connection monitor.startAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.voidStops the specified connection monitor.voidstop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Stops the specified connection monitor.Stops the specified connection monitor.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Stops the specified connection monitor.updateTags(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters) Update tags of the specified connection monitor.updateTagsAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters) Update tags of the specified connection monitor.com.azure.core.http.rest.Response<ConnectionMonitorResultInner> updateTagsWithResponse(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters, com.azure.core.util.Context context) Update tags of the specified connection monitor.Mono<com.azure.core.http.rest.Response<ConnectionMonitorResultInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters) Update tags of the specified connection monitor.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.migrate- Value indicating whether connection monitor V1 should be migrated to V2 format.- Returns:
- information about the connection monitor along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>,ConnectionMonitorResultInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.migrate- Value indicating whether connection monitor V1 should be migrated to V2 format.- Returns:
- the
PollerFluxfor polling of information about the connection monitor. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>,ConnectionMonitorResultInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.- Returns:
- the
PollerFluxfor polling of information about the connection monitor. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>,ConnectionMonitorResultInner> beginCreateOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.- Returns:
- the
SyncPollerfor polling of information about the connection monitor. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorResultInner>,ConnectionMonitorResultInner> beginCreateOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate, com.azure.core.util.Context context) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.migrate- Value indicating whether connection monitor V1 should be migrated to V2 format.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of information about the connection monitor. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ConnectionMonitorResultInner> createOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.migrate- Value indicating whether connection monitor V1 should be migrated to V2 format.- Returns:
- information about the connection monitor on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<ConnectionMonitorResultInner> createOrUpdateAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.- Returns:
- information about the connection monitor on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ConnectionMonitorResultInner createOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.- Returns:
- information about the connection monitor.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ConnectionMonitorResultInner createOrUpdate(String resourceGroupName, String networkWatcherName, String connectionMonitorName, ConnectionMonitorInner parameters, String migrate, com.azure.core.util.Context context) Create or update a connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.parameters- Parameters that define the operation to create a connection monitor.migrate- Value indicating whether connection monitor V1 should be migrated to V2 format.context- The context to associate with this operation.- Returns:
- information about the connection monitor.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<ConnectionMonitorResultInner>> getWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Gets a connection monitor by name.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- a connection monitor by name along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<ConnectionMonitorResultInner> getAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Gets a connection monitor by name.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- a connection monitor by name on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<ConnectionMonitorResultInner> getWithResponse(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Gets a connection monitor by name.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Returns:
- a connection monitor by name along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
ConnectionMonitorResultInner get(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Gets a connection monitor by name.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- a connection monitor by name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Deletes the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<ConnectionMonitorResultInner>> updateTagsWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters) Update tags of the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group.networkWatcherName- The name of the network watcher.connectionMonitorName- The name of the connection monitor.parameters- Parameters supplied to update connection monitor tags.- Returns:
- information about the connection monitor along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsAsync
Mono<ConnectionMonitorResultInner> updateTagsAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters) Update tags of the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group.networkWatcherName- The name of the network watcher.connectionMonitorName- The name of the connection monitor.parameters- Parameters supplied to update connection monitor tags.- Returns:
- information about the connection monitor on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<ConnectionMonitorResultInner> updateTagsWithResponse(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters, com.azure.core.util.Context context) Update tags of the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group.networkWatcherName- The name of the network watcher.connectionMonitorName- The name of the connection monitor.parameters- Parameters supplied to update connection monitor tags.context- The context to associate with this operation.- Returns:
- information about the connection monitor along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTags
ConnectionMonitorResultInner updateTags(String resourceGroupName, String networkWatcherName, String connectionMonitorName, TagsObject parameters) Update tags of the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group.networkWatcherName- The name of the network watcher.connectionMonitorName- The name of the connection monitor.parameters- Parameters supplied to update connection monitor tags.- Returns:
- information about the connection monitor.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stopWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStopAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stopAsync
Mono<Void> stopAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stop
Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
stop
void stop(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Stops the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStartAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginStartAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
startAsync
Mono<Void> startAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
start
void start(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Starts the specified connection monitor.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name of the connection monitor.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
queryWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> queryWithResponseAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.- Returns:
- list of connection states snapshots along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginQueryAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionMonitorQueryResultInner>,ConnectionMonitorQueryResultInner> beginQueryAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.- Returns:
- the
PollerFluxfor polling of list of connection states snapshots. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginQuery
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorQueryResultInner>,ConnectionMonitorQueryResultInner> beginQuery(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.- Returns:
- the
SyncPollerfor polling of list of connection states snapshots. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginQuery
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionMonitorQueryResultInner>,ConnectionMonitorQueryResultInner> beginQuery(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of list of connection states snapshots. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
queryAsync
Mono<ConnectionMonitorQueryResultInner> queryAsync(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.- Returns:
- list of connection states snapshots on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
query
ConnectionMonitorQueryResultInner query(String resourceGroupName, String networkWatcherName, String connectionMonitorName) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.- Returns:
- list of connection states snapshots.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
query
ConnectionMonitorQueryResultInner query(String resourceGroupName, String networkWatcherName, String connectionMonitorName, com.azure.core.util.Context context) Query a snapshot of the most recent connection states.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.connectionMonitorName- The name given to the connection monitor.context- The context to associate with this operation.- Returns:
- list of connection states snapshots.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<ConnectionMonitorResultInner> listAsync(String resourceGroupName, String networkWatcherName) Lists all connection monitors for the specified Network Watcher.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.- Returns:
- list of connection monitors as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ConnectionMonitorResultInner> list(String resourceGroupName, String networkWatcherName) Lists all connection monitors for the specified Network Watcher.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.- Returns:
- list of connection monitors as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<ConnectionMonitorResultInner> list(String resourceGroupName, String networkWatcherName, com.azure.core.util.Context context) Lists all connection monitors for the specified Network Watcher.- Parameters:
resourceGroupName- The name of the resource group containing Network Watcher.networkWatcherName- The name of the Network Watcher resource.context- The context to associate with this operation.- Returns:
- list of connection monitors as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-