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
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:
Returns:
createOrUpdateAsync
public abstract Mono<ActivityLogAlertResourceInner> createOrUpdateAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)
Create a new Activity Log Alert rule or update an existing one.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<ActivityLogAlertResourceInner> createOrUpdateWithResponse(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule, Context context)
Create a new Activity Log Alert rule or update an existing one.
Parameters:
Returns:
createOrUpdateWithResponseAsync
public abstract Mono<Response<ActivityLogAlertResourceInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String activityLogAlertName, ActivityLogAlertResourceInner activityLogAlertRule)
Create a new Activity Log Alert rule or update an existing one.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String activityLogAlertName)
Delete an Activity Log Alert rule.
Parameters:
deleteAsync
public abstract Mono<Void> deleteAsync(String resourceGroupName, String activityLogAlertName)
Delete an Activity Log Alert rule.
Parameters:
Returns:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceGroupName, String activityLogAlertName, Context context)
Delete an Activity Log Alert rule.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String activityLogAlertName)
Delete an Activity Log Alert rule.
Parameters:
Returns:
getByResourceGroup
public abstract ActivityLogAlertResourceInner getByResourceGroup(String resourceGroupName, String activityLogAlertName)
Get an Activity Log Alert rule.
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono<ActivityLogAlertResourceInner> getByResourceGroupAsync(String resourceGroupName, String activityLogAlertName)
Get an Activity Log Alert rule.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<ActivityLogAlertResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String activityLogAlertName, Context context)
Get an Activity Log Alert rule.
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono<Response<ActivityLogAlertResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String activityLogAlertName)
Get an Activity Log Alert rule.
Parameters:
Returns:
list
public abstract PagedIterable<ActivityLogAlertResourceInner> list()
Get a list of all Activity Log Alert rules in a subscription.
Returns:
list
public abstract PagedIterable<ActivityLogAlertResourceInner> list(Context context)
Get a list of all Activity Log Alert rules in a subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux<ActivityLogAlertResourceInner> listAsync()
Get a list of all Activity Log Alert rules in a subscription.
Returns:
listByResourceGroup
public abstract PagedIterable<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName)
Get a list of all Activity Log Alert rules in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<ActivityLogAlertResourceInner> listByResourceGroup(String resourceGroupName, Context context)
Get a list of all Activity Log Alert rules in a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux<ActivityLogAlertResourceInner> listByResourceGroupAsync(String resourceGroupName)
Get a list of all Activity Log Alert rules in a resource group.
Parameters:
Returns:
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:
Returns:
updateAsync
public abstract Mono<ActivityLogAlertResourceInner> 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:
Returns:
updateWithResponse
public abstract Response<ActivityLogAlertResourceInner> 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:
Returns:
updateWithResponseAsync
public abstract Mono<Response<ActivityLogAlertResourceInner>> 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:
Returns: