Interface ActionGroups
- All Superinterfaces:
HasManager<MonitorManager>, SupportsBatchCreation<ActionGroup>, SupportsBatchDeletion, SupportsCreating<ActionGroup.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<ActionGroup>, SupportsListing<ActionGroup>, SupportsListingByResourceGroup<ActionGroup>
public interface ActionGroups
extends SupportsCreating<ActionGroup.DefinitionStages.Blank>, SupportsListing<ActionGroup>, SupportsListingByResourceGroup<ActionGroup>, SupportsGettingById<ActionGroup>, SupportsBatchCreation<ActionGroup>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchDeletion, HasManager<MonitorManager>
Entry point for Action Group management API.
-
Method Summary
Modifier and TypeMethodDescriptionvoidenableReceiver(String resourceGroupName, String actionGroupName, String receiverName) Enable a receiver in an action group.enableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName) Enable a receiver in an action group.Methods inherited from interface HasManager
managerMethods inherited from interface SupportsBatchCreation
create, create, createAsync, createAsyncMethods inherited from interface SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncMethods inherited from interface SupportsCreating
defineMethods inherited from interface SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface SupportsGettingById
getById, getByIdAsyncMethods inherited from interface SupportsListing
list, listAsyncMethods inherited from interface SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
enableReceiver
Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.- Parameters:
resourceGroupName- The name of the resource group.actionGroupName- The name of the action group.receiverName- The name of the receiver to resubscribe.- Throws:
com.azure.core.management.exception.ManagementException- if the specified receiver is already enabled
-
enableReceiverAsync
Mono<Void> enableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName) Enable a receiver in an action group. This changes the receiver's status from Disabled to Enabled. This operation is only supported for Email or SMS receivers.- Parameters:
resourceGroupName- The name of the resource group.actionGroupName- The name of the action group.receiverName- The name of the receiver to resubscribe.- Returns:
- a representation of the deferred computation of this call.
- Throws:
com.azure.core.management.exception.ManagementException- if the specified receiver is already enabled
-