Interface MorpheusStorageControllerService

All Superinterfaces:
MorpheusDataQueryService<StorageController>, MorpheusDataService<StorageController,StorageControllerIdentityProjection>, MorpheusIdentityService<StorageControllerIdentityProjection>

Context methods for syncing StorageControllers in Morpheus
Since:
0.13.0
  • Method Details

    • getStorageControllerType

      MorpheusStorageControllerTypeService getStorageControllerType()
      Returns the MorpheusStorageControllerTypeService context used for performing updates or queries on StorageControllerType related assets within Morpheus.
      Returns:
      An instance of the MorpheusStorageControllerTypeService Context
    • listById

      @Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Observable<StorageController> listById(Collection<Long> ids)
      Deprecated.
      Get a list of StorageControllers objects from a list of projection ids
      Parameters:
      ids - StorageController ids
      Returns:
      Observable stream of StorageControllers
    • create

      io.reactivex.rxjava3.core.Single<Boolean> create(List<StorageController> storageControllers, VirtualImageIdentityProjection virtualImage)
      Create persisted StorageControllers in Morpheus and add them to the VirtualImage. Typically called during sync operations for the cloud
      Parameters:
      storageControllers - controllers to add
      virtualImage - VirtualImageIdentityProjection to add the controllers to
      Returns:
      success
    • create

      io.reactivex.rxjava3.core.Single<Boolean> create(List<StorageController> storageControllers, VirtualImageLocationIdentityProjection virtualImageLocation)
      Create persisted StorageControllers in Morpheus and add them to the VirtualImageLocation. Typically called during sync operations for the cloud
      Parameters:
      storageControllers - controllers to add
      virtualImageLocation - VirtualImageLocationIdentityProjection to add the controllers to
      Returns:
      success
    • create

      io.reactivex.rxjava3.core.Single<Boolean> create(List<StorageController> storageControllers, ComputeServerIdentityProjection computeServer)
      Create persisted StorageControllers in Morpheus and add them to the ComputeServer. Typically called during sync operations for the cloud
      Parameters:
      storageControllers - controllers to add
      computeServer - ComputeServerIdentityProjection to add the controllers to
      Returns:
      success
    • remove

      io.reactivex.rxjava3.core.Single<Boolean> remove(List<StorageControllerIdentityProjection> storageControllers, VirtualImageLocationIdentityProjection virtualImageLocation)
      Remove persisted StorageControllers from Morpheus and remove them from the VirtualImageLocation. Typically called during sync operations for the cloud to inform Morpheus that the StorageController no longer exists in the cloud
      Parameters:
      storageControllers - controllers to remove
      virtualImageLocation - VirtualImageLocationIdentityProjection to remove the controllers from
      Returns:
      success
    • remove

      io.reactivex.rxjava3.core.Single<Boolean> remove(List<StorageControllerIdentityProjection> storageControllers, ComputeServerIdentityProjection computeServer, Boolean force)
      Remove persisted StorageControllers from Morpheus and remove them from the ComputeServer. Typically called during sync operations for the cloud to inform Morpheus that the StorageController no longer exists in the cloud
      Parameters:
      storageControllers - controllers to remove
      computeServer - ComputeServerIdentityProjection to remove the controllers from
      force - Remove the StorageVolumes from the ComputeServer even if the status of the ComputeServer is 'resizing' (optional) defaults to false
      Returns:
      success
    • remove

      io.reactivex.rxjava3.core.Single<Boolean> remove(List<StorageControllerIdentityProjection> storageControllers, VirtualImageIdentityProjection virtualImage)
      Remove persisted StorageControllers from Morpheus and remove them from the VirtualImage. Typically called during sync operations for the cloud to inform Morpheus that the StorageController no longer exists in the cloud
      Parameters:
      storageControllers - controllers to remove
      virtualImage - VirtualImageIdentityProjection to remove the controllers from
      Returns:
      success
    • save

      @Deprecated(since="0.15.4") io.reactivex.rxjava3.core.Single<Boolean> save(List<StorageController> storageControllers)
      Save updates to existing StorageControllers
      Specified by:
      save in interface MorpheusDataService<StorageController,StorageControllerIdentityProjection>
      Parameters:
      storageControllers - controllers to save
      Returns:
      success
      See Also: