Interface MorpheusInstanceService

All Superinterfaces:
MorpheusDataQueryService<Instance>, MorpheusDataService<Instance,InstanceIdentityProjection>

public interface MorpheusInstanceService extends MorpheusDataService<Instance,InstanceIdentityProjection>
Context methods for dealing with Instance in Morpheus
  • Method Details

    • delete

      io.reactivex.rxjava3.core.Single<ServiceResponse> delete(Instance instance, DeleteInstanceRequest deleteRequest)
      Delete the existing Instance from Morpheus and the resources from the underlying Cloud. Use with caution as resources within the Cloud will be deleted.
      Parameters:
      instance - Instance to delete
      deleteRequest - Options for the delete
      Returns:
      ServiceResponse indicating success or failure. This is an async request within Morpheus and the return will not capture any underlying errors experienced asynchronously.
    • getInstanceClouds

      io.reactivex.rxjava3.core.Observable<Cloud> getInstanceClouds(Instance instance)
    • getScale

      Returns the Instance Scale Service
      Returns:
      An instance of the Instance Scale Service
    • getThreshold

      Returns the Instance Threshold Service
      Returns:
      An instance of the Instance Threshold Service