Share via


ActionGroupsOperationsExtensions.EnableReceiver Method

Definition

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.

public static void EnableReceiver (this Microsoft.Azure.Management.Monitor.IActionGroupsOperations operations, string resourceGroupName, string actionGroupName, string receiverName);
static member EnableReceiver : Microsoft.Azure.Management.Monitor.IActionGroupsOperations * string * string * string -> unit
<Extension()>
Public Sub EnableReceiver (operations As IActionGroupsOperations, resourceGroupName As String, actionGroupName As String, receiverName As String)

Parameters

operations
IActionGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

actionGroupName
String

The name of the action group.

receiverName
String

The name of the receiver to resubscribe.

Applies to