AlertIncidentsClient Interface

public interface AlertIncidentsClient

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

Method Summary

Modifier and Type Method and Description
abstract AlertIncidentInner get(String scope, String alertId, String alertIncidentId)

Get the specified alert incident.

abstract Mono<AlertIncidentInner> getAsync(String scope, String alertId, String alertIncidentId)

Get the specified alert incident.

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

Get the specified alert incident.

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

Get the specified alert incident.

abstract PagedIterable<AlertIncidentInner> listForScope(String scope, String alertId)

Gets alert incidents for a resource scope.

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

Gets alert incidents for a resource scope.

abstract PagedFlux<AlertIncidentInner> listForScopeAsync(String scope, String alertId)

Gets alert incidents for a resource scope.

abstract void remediate(String scope, String alertId, String alertIncidentId)

Remediate an alert incident.

abstract Mono<Void> remediateAsync(String scope, String alertId, String alertIncidentId)

Remediate an alert incident.

abstract Response<Void> remediateWithResponse(String scope, String alertId, String alertIncidentId, Context context)

Remediate an alert incident.

abstract Mono<Response<Void>> remediateWithResponseAsync(String scope, String alertId, String alertIncidentId)

Remediate an alert incident.

Method Details

get

public abstract AlertIncidentInner get(String scope, String alertId, String alertIncidentId)

Get the specified alert incident.

Parameters:

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

Returns:

the specified alert incident.

getAsync

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

Get the specified alert incident.

Parameters:

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

Returns:

the specified alert incident on successful completion of Mono.

getWithResponse

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

Get the specified alert incident.

Parameters:

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

Returns:

the specified alert incident along with Response<T>.

getWithResponseAsync

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

Get the specified alert incident.

Parameters:

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

Returns:

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

listForScope

public abstract PagedIterable<AlertIncidentInner> listForScope(String scope, String alertId)

Gets alert incidents for a resource scope.

Parameters:

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

Returns:

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

listForScope

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

Gets alert incidents for a resource scope.

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 incidents for a resource scope as paginated response with PagedIterable<T>.

listForScopeAsync

public abstract PagedFlux<AlertIncidentInner> listForScopeAsync(String scope, String alertId)

Gets alert incidents for a resource scope.

Parameters:

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

Returns:

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

remediate

public abstract void remediate(String scope, String alertId, String alertIncidentId)

Remediate an alert incident.

Parameters:

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

remediateAsync

public abstract Mono<Void> remediateAsync(String scope, String alertId, String alertIncidentId)

Remediate an alert incident.

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

remediateWithResponse

public abstract Response<Void> remediateWithResponse(String scope, String alertId, String alertIncidentId, Context context)

Remediate an alert incident.

Parameters:

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

Returns:

remediateWithResponseAsync

public abstract Mono<Response<Void>> remediateWithResponseAsync(String scope, String alertId, String alertIncidentId)

Remediate an alert incident.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

Applies to