com.softlayer.api.service.network.Monitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.network;
import com.softlayer.api.ApiClient;
import com.softlayer.api.ResponseHandler;
import com.softlayer.api.annotation.ApiMethod;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import com.softlayer.api.service.Hardware;
import com.softlayer.api.service.network.subnet.IpAddress;
import com.softlayer.api.service.virtual.Guest;
import java.util.List;
import java.util.concurrent.Future;
/**
* @see SoftLayer_Network_Monitor
*/
@ApiType("SoftLayer_Network_Monitor")
public class Monitor extends Entity {
public static Service service(ApiClient client) {
return client.createService(Service.class, null);
}
/**
* @see SoftLayer_Network_Monitor
*/
@com.softlayer.api.annotation.ApiService("SoftLayer_Network_Monitor")
public static interface Service extends com.softlayer.api.Service {
public ServiceAsync asAsync();
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* This will return an arrayObject of objects containing the ipaddresses. Using an string parameter you can send a partial ipaddress to search within a given ipaddress. You can also set the max limit as well using the setting the resultLimit.
*
* @see SoftLayer_Network_Monitor::getIpAddressesByHardware
*/
@ApiMethod
public List getIpAddressesByHardware(Hardware hardware, String partialIpAddress);
/**
* This will return an arrayObject of objects containing the ipaddresses. Using an string parameter you can send a partial ipaddress to search within a given ipaddress. You can also set the max limit as well using the setting the resultLimit.
*
* @see SoftLayer_Network_Monitor::getIpAddressesByVirtualGuest
*/
@ApiMethod
public List getIpAddressesByVirtualGuest(Guest guest, String partialIpAddress);
}
public static interface ServiceAsync extends com.softlayer.api.ServiceAsync {
public Mask withNewMask();
public Mask withMask();
public void setMask(Mask mask);
/**
* Async version of {@link Service#getIpAddressesByHardware}
*/
public Future> getIpAddressesByHardware(Hardware hardware, String partialIpAddress);
public Future> getIpAddressesByHardware(Hardware hardware, String partialIpAddress, ResponseHandler> callback);
/**
* Async version of {@link Service#getIpAddressesByVirtualGuest}
*/
public Future> getIpAddressesByVirtualGuest(Guest guest, String partialIpAddress);
public Future> getIpAddressesByVirtualGuest(Guest guest, String partialIpAddress, ResponseHandler> callback);
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
}
}