Interface Iscsi.Service
-
- All Superinterfaces:
Group.Service
,Maskable
,ResultLimitable
,Service
- Enclosing class:
- Iscsi
@ApiService("SoftLayer_Network_Storage_Group_Iscsi") public static interface Iscsi.Service extends Group.Service
- See Also:
- SoftLayer_Network_Storage_Group_Iscsi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Boolean
addAllowedHost(Host allowedHost)
Use this method to attach a SoftLayer_Network_Storage_Allowed_Host object to this group.Iscsi.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
attachToVolume(Storage volume)
Use this method to attach a SoftLayer_Network_Storage volume to this group.Iscsi
getObjectForIscsi()
Boolean
removeAllowedHost(Host allowedHost)
Use this method to remove a SoftLayer_Network_Storage_Allowed_Host object from this group.Boolean
removeFromVolume(Storage volume)
Use this method to remove a SoftLayer_Network_Storage volume from this group.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.Service
createObject, deleteObject, editObject, getAccount, getAllObjects, getAllowedHosts, getAttachedVolumes, getGroupType, getNetworkConnectionDetails, getObject, getOsType, getServiceResource, setMask
-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Iscsi.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service- Specified by:
asAsync
in interfaceGroup.Service
- Specified by:
asAsync
in interfaceService
-
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.Service
- 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.Service
- Specified by:
withMask
in interfaceMaskable
-
setMask
void setMask(Iscsi.Mask mask)
-
addAllowedHost
@ApiMethod(instanceRequired=true) Boolean addAllowedHost(Host allowedHost)
Use this method to attach a SoftLayer_Network_Storage_Allowed_Host object to this group. This will automatically enable access from this host to any SoftLayer_Network_Storage volumes currently attached to this group.- Specified by:
addAllowedHost
in interfaceGroup.Service
- See Also:
- SoftLayer_Network_Storage_Group_Iscsi::addAllowedHost
-
attachToVolume
@ApiMethod(instanceRequired=true) Boolean attachToVolume(Storage volume)
Use this method to attach a SoftLayer_Network_Storage volume to this group. This will automatically enable access to this volume for any SoftLayer_Network_Storage_Allowed_Host objects currently attached to this group.- Specified by:
attachToVolume
in interfaceGroup.Service
- See Also:
- SoftLayer_Network_Storage_Group_Iscsi::attachToVolume
-
getObjectForIscsi
@ApiMethod(value="getObject", instanceRequired=true) Iscsi getObjectForIscsi()
-
removeAllowedHost
@ApiMethod(instanceRequired=true) Boolean removeAllowedHost(Host allowedHost)
Use this method to remove a SoftLayer_Network_Storage_Allowed_Host object from this group. This will automatically disable access from this host to any SoftLayer_Network_Storage volumes currently attached to this group.- Specified by:
removeAllowedHost
in interfaceGroup.Service
- See Also:
- SoftLayer_Network_Storage_Group_Iscsi::removeAllowedHost
-
removeFromVolume
@ApiMethod(instanceRequired=true) Boolean removeFromVolume(Storage volume)
Use this method to remove a SoftLayer_Network_Storage volume from this group. This will automatically disable access to this volume for any SoftLayer_Network_Storage_Allowed_Host objects currently attached to this group.- Specified by:
removeFromVolume
in interfaceGroup.Service
- See Also:
- SoftLayer_Network_Storage_Group_Iscsi::removeFromVolume
-
-