Package com.morpheusdata.core.network
Interface MorpheusVirtualSwitchSegmentService
- All Superinterfaces:
MorpheusDataQueryService<VirtualSwitchSegment>,MorpheusDataService<VirtualSwitchSegment,VirtualSwitchSegment>
public interface MorpheusVirtualSwitchSegmentService
extends MorpheusDataService<VirtualSwitchSegment,VirtualSwitchSegment>
Context/service for querying and managing
VirtualSwitchSegment objects.
Provides standard CRUD operations for traffic segments within a VirtualSwitch.
Access via:
morpheusContext.getNetwork().getVirtualSwitch().getSegment()
- Since:
- 1.5.0
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Observable<VirtualSwitchSegment>listByVirtualSwitchId(Long virtualSwitchId) List all segments belonging to a specific VirtualSwitch.Methods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, searchMethods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, create, remove, remove, save, save
-
Method Details
-
listByVirtualSwitchId
io.reactivex.rxjava3.core.Observable<VirtualSwitchSegment> listByVirtualSwitchId(Long virtualSwitchId) List all segments belonging to a specific VirtualSwitch.- Parameters:
virtualSwitchId- the ID of the parent VirtualSwitch- Returns:
- Observable stream of VirtualSwitchSegment
-