/// <summary> /// 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. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='actionGroupName'> /// The name of the action group. /// </param> /// <param name='receiverName'> /// The name of the receiver to resubscribe. /// </param> public static void EnableReceiver(this IActionGroupsOperations operations, string resourceGroupName, string actionGroupName, string receiverName) { operations.EnableReceiverAsync(resourceGroupName, actionGroupName, receiverName).GetAwaiter().GetResult(); }