Interface ActionGroups
- All Superinterfaces:
HasInner<com.microsoft.azure.management.monitor.implementation.ActionGroupsInner>,HasManager<com.microsoft.azure.management.monitor.implementation.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<com.microsoft.azure.management.monitor.implementation.MonitorManager>, HasInner<com.microsoft.azure.management.monitor.implementation.ActionGroupsInner>
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.rx.CompletableenableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName) Enable a receiver in an action group.com.microsoft.rest.ServiceFuture<Void>enableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName, com.microsoft.rest.ServiceCallback<Void> callback) Enable a receiver in an action group.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsBatchCreation
create, create, createAsync, createAsync, createAsync, createAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsCreating
defineMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsDeletingById
deleteById, deleteByIdAsync, deleteByIdAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.SupportsGettingById
getById, getByIdAsync, getByIdAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.collection.SupportsListing
list, listAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.collection.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.
-
enableReceiverAsync
rx.Completable 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.
-
enableReceiverAsync
com.microsoft.rest.ServiceFuture<Void> enableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName, com.microsoft.rest.ServiceCallback<Void> callback) 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.callback- the async ServiceCallback to handle successful and failed responses.- Returns:
- the
ServiceFutureobject
-