共用方式為


ActionGroups Interface

Implements

public interface ActionGroups
extends SupportsCreating<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 Type Method and Description
abstract void enableReceiver(String resourceGroupName, String actionGroupName, String receiverName)

Enable a receiver in an action group.

abstract Mono<Void> enableReceiverAsync(String resourceGroupName, String actionGroupName, String receiverName)

Enable a receiver in an action group.

Method Details

enableReceiver

public abstract 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.

enableReceiverAsync

public abstract Mono 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.

Applies to