Interface ActionGroups

All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<MonitorManager>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<ActionGroup.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<ActionGroup>

public interface ActionGroups extends com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating<ActionGroup.DefinitionStages.Blank>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation<ActionGroup>, com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup, com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion, com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager<MonitorManager>
Entry point for Action Group management API.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    enableReceiver(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 com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager

    manager

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation

    create, create, createAsync, createAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion

    deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating

    define

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById

    deleteById, deleteByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup

    deleteByResourceGroup, deleteByResourceGroupAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById

    getById, getByIdAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing

    list, listAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup

    listByResourceGroup, listByResourceGroupAsync
  • Method Details

    • enableReceiver

      void enableReceiver(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.
      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