AlertsClient Interface

public interface AlertsClient

An instance of this class provides access to all the operations defined in AlertsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefresh(String scope, String alertId)

Refresh an alert.

abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefresh(String scope, String alertId, Context context)

Refresh an alert.

abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAll(String scope)

Refresh all alerts for a resource scope.

abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAll(String scope, Context context)

Refresh all alerts for a resource scope.

abstract PollerFlux<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAllAsync(String scope)

Refresh all alerts for a resource scope.

abstract PollerFlux<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAsync(String scope, String alertId)

Refresh an alert.

abstract AlertInner get(String scope, String alertId)

Get the specified alert.

abstract Mono<AlertInner> getAsync(String scope, String alertId)

Get the specified alert.

abstract Response<AlertInner> getWithResponse(String scope, String alertId, Context context)

Get the specified alert.

abstract Mono<Response<AlertInner>> getWithResponseAsync(String scope, String alertId)

Get the specified alert.

abstract PagedIterable<AlertInner> listForScope(String scope)

Gets alerts for a resource scope.

abstract PagedIterable<AlertInner> listForScope(String scope, Context context)

Gets alerts for a resource scope.

abstract PagedFlux<AlertInner> listForScopeAsync(String scope)

Gets alerts for a resource scope.

abstract AlertOperationResultInner refresh(String scope, String alertId)

Refresh an alert.

abstract AlertOperationResultInner refresh(String scope, String alertId, Context context)

Refresh an alert.

abstract AlertOperationResultInner refreshAll(String scope)

Refresh all alerts for a resource scope.

abstract AlertOperationResultInner refreshAll(String scope, Context context)

Refresh all alerts for a resource scope.

abstract Mono<AlertOperationResultInner> refreshAllAsync(String scope)

Refresh all alerts for a resource scope.

abstract Mono<Response<Flux<ByteBuffer>>> refreshAllWithResponseAsync(String scope)

Refresh all alerts for a resource scope.

abstract Mono<AlertOperationResultInner> refreshAsync(String scope, String alertId)

Refresh an alert.

abstract Mono<Response<Flux<ByteBuffer>>> refreshWithResponseAsync(String scope, String alertId)

Refresh an alert.

abstract void update(String scope, String alertId, AlertInner parameters)

Update an alert.

abstract Mono<Void> updateAsync(String scope, String alertId, AlertInner parameters)

Update an alert.

abstract Response<Void> updateWithResponse(String scope, String alertId, AlertInner parameters, Context context)

Update an alert.

abstract Mono<Response<Void>> updateWithResponseAsync(String scope, String alertId, AlertInner parameters)

Update an alert.

Method Details

beginRefresh

public abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefresh(String scope, String alertId)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

the SyncPoller<T,U> for polling of alert operation result.

beginRefresh

public abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefresh(String scope, String alertId, Context context)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of alert operation result.

beginRefreshAll

public abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAll(String scope)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

the SyncPoller<T,U> for polling of alert operation result.

beginRefreshAll

public abstract SyncPoller<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAll(String scope, Context context)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of alert operation result.

beginRefreshAllAsync

public abstract PollerFlux<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAllAsync(String scope)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

the PollerFlux<T,U> for polling of alert operation result.

beginRefreshAsync

public abstract PollerFlux<PollResult<AlertOperationResultInner>,AlertOperationResultInner> beginRefreshAsync(String scope, String alertId)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

the PollerFlux<T,U> for polling of alert operation result.

get

public abstract AlertInner get(String scope, String alertId)

Get the specified alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

the specified alert.

getAsync

public abstract Mono<AlertInner> getAsync(String scope, String alertId)

Get the specified alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

the specified alert on successful completion of Mono.

getWithResponse

public abstract Response<AlertInner> getWithResponse(String scope, String alertId, Context context)

Get the specified alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
context - The context to associate with this operation.

Returns:

the specified alert along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<AlertInner>> getWithResponseAsync(String scope, String alertId)

Get the specified alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

the specified alert along with Response<T> on successful completion of Mono.

listForScope

public abstract PagedIterable<AlertInner> listForScope(String scope)

Gets alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

alerts for a resource scope as paginated response with PagedIterable<T>.

listForScope

public abstract PagedIterable<AlertInner> listForScope(String scope, Context context)

Gets alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

alerts for a resource scope as paginated response with PagedIterable<T>.

listForScopeAsync

public abstract PagedFlux<AlertInner> listForScopeAsync(String scope)

Gets alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

alerts for a resource scope as paginated response with PagedFlux<T>.

refresh

public abstract AlertOperationResultInner refresh(String scope, String alertId)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

alert operation result.

refresh

public abstract AlertOperationResultInner refresh(String scope, String alertId, Context context)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
context - The context to associate with this operation.

Returns:

alert operation result.

refreshAll

public abstract AlertOperationResultInner refreshAll(String scope)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

alert operation result.

refreshAll

public abstract AlertOperationResultInner refreshAll(String scope, Context context)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

alert operation result.

refreshAllAsync

public abstract Mono<AlertOperationResultInner> refreshAllAsync(String scope)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

alert operation result on successful completion of Mono.

refreshAllWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> refreshAllWithResponseAsync(String scope)

Refresh all alerts for a resource scope.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.

Returns:

alert operation result along with Response<T> on successful completion of Mono.

refreshAsync

public abstract Mono<AlertOperationResultInner> refreshAsync(String scope, String alertId)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

alert operation result on successful completion of Mono.

refreshWithResponseAsync

public abstract Mono<Response<Flux<ByteBuffer>>> refreshWithResponseAsync(String scope, String alertId)

Refresh an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.

Returns:

alert operation result along with Response<T> on successful completion of Mono.

update

public abstract void update(String scope, String alertId, AlertInner parameters)

Update an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
parameters - Parameters for the alert.

updateAsync

public abstract Mono<Void> updateAsync(String scope, String alertId, AlertInner parameters)

Update an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
parameters - Parameters for the alert.

Returns:

A Mono that completes when a successful response is received.

updateWithResponse

public abstract Response<Void> updateWithResponse(String scope, String alertId, AlertInner parameters, Context context)

Update an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
parameters - Parameters for the alert.
context - The context to associate with this operation.

Returns:

updateWithResponseAsync

public abstract Mono<Response<Void>> updateWithResponseAsync(String scope, String alertId, AlertInner parameters)

Update an alert.

Parameters:

scope - The fully qualified Azure Resource manager identifier of the resource.
alertId - The name of the alert to get.
parameters - Parameters for the alert.

Returns:

the Response<T> on successful completion of Mono.

Applies to