Interface Iscsi.ServiceAsync
-
- All Superinterfaces:
Group.ServiceAsync
,Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Iscsi
public static interface Iscsi.ServiceAsync extends Group.ServiceAsync
-
-
Method Summary
Modifier and Type Method Description Future<Boolean>
addAllowedHost(Host allowedHost)
Future<?>
addAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
Future<Boolean>
attachToVolume(Storage volume)
Future<?>
attachToVolume(Storage volume, ResponseHandler<Boolean> callback)
Future<Iscsi>
getObjectForIscsi()
Async version ofIscsi.Service.getObjectForIscsi()
Future<?>
getObjectForIscsi(ResponseHandler<Iscsi> callback)
Future<Boolean>
removeAllowedHost(Host allowedHost)
Future<?>
removeAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
Future<Boolean>
removeFromVolume(Storage volume)
Future<?>
removeFromVolume(Storage volume, ResponseHandler<Boolean> callback)
void
setMask(Iscsi.Mask mask)
Iscsi.Mask
withMask()
Use the existing mask on this service or create it if not presentIscsi.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.service.network.storage.Group.ServiceAsync
createObject, createObject, deleteObject, deleteObject, editObject, editObject, getAccount, getAccount, getAllObjects, getAllObjects, getAllowedHosts, getAllowedHosts, getAttachedVolumes, getAttachedVolumes, getGroupType, getGroupType, getNetworkConnectionDetails, getNetworkConnectionDetails, getObject, getObject, getOsType, getOsType, getServiceResource, getServiceResource, setMask
-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
withNewMask
Iscsi.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceGroup.ServiceAsync
- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Iscsi.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceGroup.ServiceAsync
- Specified by:
withMask
in interfaceMaskable
-
setMask
void setMask(Iscsi.Mask mask)
-
addAllowedHost
Future<Boolean> addAllowedHost(Host allowedHost)
Async version ofIscsi.Service.addAllowedHost(com.softlayer.api.service.network.storage.allowed.Host)
- Specified by:
addAllowedHost
in interfaceGroup.ServiceAsync
-
addAllowedHost
Future<?> addAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
- Specified by:
addAllowedHost
in interfaceGroup.ServiceAsync
-
attachToVolume
Future<Boolean> attachToVolume(Storage volume)
- Specified by:
attachToVolume
in interfaceGroup.ServiceAsync
-
attachToVolume
Future<?> attachToVolume(Storage volume, ResponseHandler<Boolean> callback)
- Specified by:
attachToVolume
in interfaceGroup.ServiceAsync
-
getObjectForIscsi
Future<Iscsi> getObjectForIscsi()
Async version ofIscsi.Service.getObjectForIscsi()
-
getObjectForIscsi
Future<?> getObjectForIscsi(ResponseHandler<Iscsi> callback)
-
removeAllowedHost
Future<Boolean> removeAllowedHost(Host allowedHost)
Async version ofIscsi.Service.removeAllowedHost(com.softlayer.api.service.network.storage.allowed.Host)
- Specified by:
removeAllowedHost
in interfaceGroup.ServiceAsync
-
removeAllowedHost
Future<?> removeAllowedHost(Host allowedHost, ResponseHandler<Boolean> callback)
- Specified by:
removeAllowedHost
in interfaceGroup.ServiceAsync
-
removeFromVolume
Future<Boolean> removeFromVolume(Storage volume)
- Specified by:
removeFromVolume
in interfaceGroup.ServiceAsync
-
removeFromVolume
Future<?> removeFromVolume(Storage volume, ResponseHandler<Boolean> callback)
- Specified by:
removeFromVolume
in interfaceGroup.ServiceAsync
-
-