Yes switch does have internet connection. I have assigned the appropriate gateway & dns.
See below output show aruba-central:
Configuration and Status - Aruba Central
Server URL : https://app1-ap.central.arubanetworks.com/ws
Connected : Yes
Mode : Managed
Last Disconnect Time : Fri Oct 2 07:49:41 2020
Server DNS Lookup : Success
Proxy Server DNS Lookup : NA
Error Reason : NA
Model: HP 2530 PoE+
Firmware: 16.10