The edge localized mode (ELM) is an essential magneto-hydrodynamic(MHD) instability in tokamak high-confinement (H-mode) discharges, that leads to the huge heat loads on the plasma-facing components (PFCs) and may result in the damage to thePFCs. It is important to effectively control the large ELMs, in order to ensure the safe operation of the reactor-level devices (e.g. ITER, DEMO), and to improve plasma performance in the present machines (e.g. HL-2A/2M and EAST in China). Resonant magnetic perturbation (RMP) is experimentally demonstrated to be an effective and robust method of controlling the ELM. Several key parameters (such as the edge safety factor, the plasma flow, the RMP coil geometry and its current toroidal phasing) play an important role in controlling the ELM by the RMP. In addition, the plasma pressure also affects the plasma response to the applied external RMP, in particular near the no-wall beta limit. For example, the plasma has an amplification effect on the RMP when the plasma pressure is too high. However, in the high-pressure tokamak plasma, the influence of toroidal rotation on RMP spectrum needs further investigating, in order to give the supports in physics for the future devices (e.g. ITER). In the 10 MA scenario of ITER, the device will operate in a pressure regime near to the no-wall beta limit. In addition, the new tokamak device HL-2M will operate in the relatively high-beta regime and provide an experimental platform for studying the RMP physics and the related ELM control by RMP in high-performance plasma. It is valuable to carry out the related numerical computation for guiding the future HL-2M experiment with ELM controlled by the RMP. In this work, the single fluid model is employed, including the two main physical quantities related to RMP physics: plasma resistivity and toroidal rotation. The former allows the penetrating of external RMP field inside the plasma, while the latter mainly gives rise to the screening effect on the applied RMP field. In the present work, numerical investigations are performed by utilizing the MARS-F code (linearized single fluid resistive MHD code in full toroidal geometry), to understand the plasma response to the externally applied <i>n</i>=1 (<i>n</i> is the toroidal mode number) RMP in high-pressure plasma on HL-2M, while varying the plasma toroidal rotation profile. The plasma response is found to (i) substantially modify the poloidal spectrum of the applied vacuum RMP field, (ii) change the amplitude of the resonant radial field amplitude near the plasma edge, and (iii) affect optimal current phasing between the two rows of RMP coils on HL-2M. A sufficiently slow toroidal flow near the plasma edge amplifies the radial field at rational surfaces associated with the perturbation. Since the latter serves as a reliable indicator for controlling the type-I edge localized mode (ELM) by the RMP, varying rotation profile near the plasma edge offers a promising approach to optimizing the ELM control.