Closed rubercuellar closed 8 years ago
I tried the following code without any issue (use a hardware or virtual guest object of your own):
Monitor.Service monitorService = Monitor.service(client);
List<IpAddress> ipList = monitorService.getIpAddressesByHardware(hardware, "");
for (IpAddress ip : ipList) {
System.out.println(ip.getId() + ", " + ip.getIpAddress());
}
Could you provide more detail?
I'm really sorry, you are right, my mistake
I'm trying to use these methods:
getIpAddressesByHardware getIpAddressByVirtualGuest
from
SoftLayer_Network_Monitor service and I cannot instantiate the service.