AlertDefinitionsClient Interface

public interface AlertDefinitionsClient

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

Method Summary

Modifier and Type Method and Description
abstract AlertDefinitionInner get(String scope, String alertDefinitionId)

Get the specified alert definition.

abstract Mono<AlertDefinitionInner> getAsync(String scope, String alertDefinitionId)

Get the specified alert definition.

abstract Response<AlertDefinitionInner> getWithResponse(String scope, String alertDefinitionId, Context context)

Get the specified alert definition.

abstract Mono<Response<AlertDefinitionInner>> getWithResponseAsync(String scope, String alertDefinitionId)

Get the specified alert definition.

abstract PagedIterable<AlertDefinitionInner> listForScope(String scope)

Gets alert definitions for a resource scope.

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

Gets alert definitions for a resource scope.

abstract PagedFlux<AlertDefinitionInner> listForScopeAsync(String scope)

Gets alert definitions for a resource scope.

Method Details

get

public abstract AlertDefinitionInner get(String scope, String alertDefinitionId)

Get the specified alert definition.

Parameters:

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

Returns:

the specified alert definition.

getAsync

public abstract Mono<AlertDefinitionInner> getAsync(String scope, String alertDefinitionId)

Get the specified alert definition.

Parameters:

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

Returns:

the specified alert definition on successful completion of Mono.

getWithResponse

public abstract Response<AlertDefinitionInner> getWithResponse(String scope, String alertDefinitionId, Context context)

Get the specified alert definition.

Parameters:

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

Returns:

the specified alert definition along with Response<T>.

getWithResponseAsync

public abstract Mono<Response<AlertDefinitionInner>> getWithResponseAsync(String scope, String alertDefinitionId)

Get the specified alert definition.

Parameters:

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

Returns:

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

listForScope

public abstract PagedIterable<AlertDefinitionInner> listForScope(String scope)

Gets alert definitions for a resource scope.

Parameters:

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

Returns:

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

listForScope

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

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

listForScopeAsync

public abstract PagedFlux<AlertDefinitionInner> listForScopeAsync(String scope)

Gets alert definitions for a resource scope.

Parameters:

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

Returns:

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

Applies to