ActivityLogAlertsClient Interface

Implements

public interface ActivityLogAlertsClient
extends InnerSupportsGet<ActivityLogAlertResourceInner>, InnerSupportsListing<ActivityLogAlertResourceInner>, InnerSupportsDelete<Void>

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

Method Summary

Modifier and Type Method and Description
abstract ActivityLogAlertResourceInner createOrUpdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)

Create a new Activity Log Alert rule or update an existing one.

abstract Mono<ActivityLogAlertResourceInner> createOrUpdateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)

Create a new Activity Log Alert rule or update an existing one.

abstract Response<ActivityLogAlertResourceInner> createOrUpdateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule, Context context)

Create a new Activity Log Alert rule or update an existing one.

abstract Mono<Response<ActivityLogAlertResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)

Create a new Activity Log Alert rule or update an existing one.

abstract void delete(String resourceGroupName, String activityLogAlertName)

Delete an Activity Log Alert rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String activityLogAlertName)

Delete an Activity Log Alert rule.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String activityLogAlertName, Context context)

Delete an Activity Log Alert rule.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String activityLogAlertName)

Delete an Activity Log Alert rule.

abstract ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)

Get an Activity Log Alert rule.

abstract Mono<ActivityLogAlertResourceInner> getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)

Get an Activity Log Alert rule.

abstract Response<ActivityLogAlertResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, Context context)

Get an Activity Log Alert rule.

abstract Mono<Response<ActivityLogAlertResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)

Get an Activity Log Alert rule.

abstract PagedIterable<ActivityLogAlertResourceInner> list()

Get a list of all Activity Log Alert rules in a subscription.

abstract PagedIterable<ActivityLogAlertResourceInner> list(Context context)

Get a list of all Activity Log Alert rules in a subscription.

abstract PagedFlux<ActivityLogAlertResourceInner> listAsync()

Get a list of all Activity Log Alert rules in a subscription.

abstract PagedIterable<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName)

Get a list of all Activity Log Alert rules in a resource group.

abstract PagedIterable<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName, Context context)

Get a list of all Activity Log Alert rules in a resource group.

abstract PagedFlux<ActivityLogAlertResourceInner> listByResourceGroupAsync(String resourceGroupName)

Get a list of all Activity Log Alert rules in a resource group.

abstract ActivityLogAlertResourceInner update(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)

Updates 'tags' and 'enabled' fields in an existing Alert rule.

abstract Mono<ActivityLogAlertResourceInner> updateAsync(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)

Updates 'tags' and 'enabled' fields in an existing Alert rule.

abstract Response<ActivityLogAlertResourceInner> updateWithResponse(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch, Context context)

Updates 'tags' and 'enabled' fields in an existing Alert rule.

abstract Mono<Response<ActivityLogAlertResourceInner>> updateWithResponseAsync(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)

Updates 'tags' and 'enabled' fields in an existing Alert rule.

Method Details

createOrUpdate

public abstract ActivityLogAlertResourceInner createOrUpdate(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)

Create a new Activity Log Alert rule or update an existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRule - The Activity Log Alert rule to create or use for the update.

Returns:

an Activity Log Alert rule resource.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)

Create a new Activity Log Alert rule or update an existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRule - The Activity Log Alert rule to create or use for the update.

Returns:

an Activity Log Alert rule resource on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule, Context context)

Create a new Activity Log Alert rule or update an existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRule - The Activity Log Alert rule to create or use for the update.
context - The context to associate with this operation.

Returns:

an Activity Log Alert rule resource along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)

Create a new Activity Log Alert rule or update an existing one.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRule - The Activity Log Alert rule to create or use for the update.

Returns:

an Activity Log Alert rule resource along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String activityLogAlertName)

Delete an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String activityLogAlertName)

Delete an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String activityLogAlertName, Context context)

Delete an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
context - The context to associate with this operation.

Returns:

deleteWithResponseAsync

public abstract Mono> deleteWithResponseAsync(String resourceGroupName, String activityLogAlertName)

Delete an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)

Get an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.

Returns:

an Activity Log Alert rule.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)

Get an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.

Returns:

an Activity Log Alert rule on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, Context context)

Get an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
context - The context to associate with this operation.

Returns:

an Activity Log Alert rule along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono> getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)

Get an Activity Log Alert rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.

Returns:

an Activity Log Alert rule along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Get a list of all Activity Log Alert rules in a subscription.

Returns:

a list of all Activity Log Alert rules in a subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Get a list of all Activity Log Alert rules in a subscription.

Parameters:

context - The context to associate with this operation.

Returns:

a list of all Activity Log Alert rules in a subscription as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Get a list of all Activity Log Alert rules in a subscription.

Returns:

a list of all Activity Log Alert rules in a subscription as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Get a list of all Activity Log Alert rules in a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a list of all Activity Log Alert rules in a resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Get a list of all Activity Log Alert rules in a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

a list of all Activity Log Alert rules in a resource group as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Get a list of all Activity Log Alert rules in a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

a list of all Activity Log Alert rules in a resource group as paginated response with PagedFlux<T>.

update

public abstract ActivityLogAlertResourceInner update(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)

Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRulePatch - Parameters supplied to the operation.

Returns:

an Activity Log Alert rule resource.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)

Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRulePatch - Parameters supplied to the operation.

Returns:

an Activity Log Alert rule resource on successful completion of Mono.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch, Context context)

Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRulePatch - Parameters supplied to the operation.
context - The context to associate with this operation.

Returns:

an Activity Log Alert rule resource along with Response<T>.

updateWithResponseAsync

public abstract Mono> updateWithResponseAsync(String resourceGroupName, String activityLogAlertName, AlertRulePatchObject activityLogAlertRulePatch)

Updates 'tags' and 'enabled' fields in an existing Alert rule. This method is used to update the Alert rule tags, and to enable or disable the Alert rule. To update other fields use CreateOrUpdate operation.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
activityLogAlertName - The name of the Activity Log Alert rule.
activityLogAlertRulePatch - Parameters supplied to the operation.

Returns:

an Activity Log Alert rule resource along with Response<T> on successful completion of Mono.

Applies to