Hello,
i just tried to use this function and i completed to get list of Logical switches. Simply use the function with arguments pageSize=9999 and startIndex=0.
virtualWiresDto = NSXVirtualWireController.getAllWiresV2(connection, 9999, 0);
var pagingInfo = virtualWiresDto.dataPage.pagingInfo;
System.debug("pagingInfo.pageSize="+pagingInfo.pageSize);
System.debug("pagingInfo.startIndex="+pagingInfo.startIndex);
System.debug("pagingInfo.totalCount="+pagingInfo.totalCount);
var datas = virtualWiresDto.dataPage.data;
for each (d in datas){
System.debug("d="+d);
System.debug("d.name="+d.name);
}
hope it will help you and others vro users.
best regards