Interface MorpheusLoadBalancerCertificateService


public interface MorpheusLoadBalancerCertificateService
  • Method Details

    • listSyncProjections

      io.reactivex.rxjava3.core.Observable<ReferenceDataSyncProjection> listSyncProjections(Long loadBalancerId, String objCategory)
      Get a list of ReferenceData projections based on NetworkLoadBalancer id
      Parameters:
      loadBalancerId - the id of the load balancer
      objCategory - an additional category used for sync comparisons
      Returns:
      Observable stream of sync projection
    • listById

      io.reactivex.rxjava3.core.Observable<ReferenceData> listById(Collection<Long> ids)
      Get a list of ReferenceData (certificates) objects from a list of projection ids
      Parameters:
      ids - certificateid
      Returns:
      Observable stream of partition
    • save

      io.reactivex.rxjava3.core.Single<Boolean> save(List<ReferenceData> certificates)
      Save updates to existing certificate
      Parameters:
      certificates - updated certificate
      Returns:
      success
    • create

      io.reactivex.rxjava3.core.Single<Boolean> create(List<ReferenceData> certificates)
      Create new certificate in Morpheus
      Parameters:
      certificates - new ReferenceData (certificate) to persist
      Returns:
      success
    • remove

      io.reactivex.rxjava3.core.Single<Boolean> remove(List<ReferenceDataSyncProjection> certificates)
      Remove persisted certificate from Morpheus
      Parameters:
      certificates - Images to delete
      Returns:
      success
    • listAccountCertificates

      io.reactivex.rxjava3.core.Observable<AccountCertificate> listAccountCertificates(Long loadBalancerId)
    • getAccountCertificateById

      io.reactivex.rxjava3.core.Single<Optional<AccountCertificate>> getAccountCertificateById(Long certificateId)
    • createCertInstallToken

      io.reactivex.rxjava3.core.Single<ReferenceData> createCertInstallToken(AccountCertificate cert, String name, String category)
    • expireCertInstallToken

      io.reactivex.rxjava3.core.Single<Boolean> expireCertInstallToken(ReferenceData token)
    • getCertificateContent

      io.reactivex.rxjava3.core.Single<Map> getCertificateContent(AccountCertificate cert)
      This method will return a map containing details about an account certificate. The source of the details may come from morpheus or another existing certificate integration if applicable
      Parameters:
      cert - AccountCertificate
      Returns:
      a Map containing details about an account certificate
    • getSslInstallTokenName

      String getSslInstallTokenName()