Nice work !
It is also now available with PowerArubaCX => https://github.com/PowerAruba/PowerArubaCX/pull/75 :) (more easy to use -From on Invoke-RestMethod or Invoke-WebRequest !)
But require PS 7.x...
------------------------------
PowerArubaSW : Powershell Module to use Aruba Switch API for Vlan, VlanPorts, LACP, LLDP...
PowerArubaCP: Powershell Module to use ClearPass API (create NAD, Guest...)
PowerArubaCL: Powershell Module to use Aruba Central
PowerArubaCX: Powershell Module to use ArubaCX API (get interface/vlan/ports info)..
ACEP / ACMX #107 / ACDX #1281
------------------------------