Interface MorpheusLoadBalancerCertificateService
public interface MorpheusLoadBalancerCertificateService
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
create
(List<ReferenceData> certificates) Create new certificate in Morpheusio.reactivex.rxjava3.core.Single<ReferenceData>
createCertInstallToken
(AccountCertificate cert, String name, String category) io.reactivex.rxjava3.core.Single<Boolean>
io.reactivex.rxjava3.core.Single<Optional<AccountCertificate>>
getAccountCertificateById
(Long certificateId) io.reactivex.rxjava3.core.Single<Map>
This method will return a map containing details about an account certificate.io.reactivex.rxjava3.core.Observable<AccountCertificate>
listAccountCertificates
(Long loadBalancerId) io.reactivex.rxjava3.core.Observable<ReferenceData>
listById
(Collection<Long> ids) Get a list of ReferenceData (certificates) objects from a list of projection idsio.reactivex.rxjava3.core.Observable<ReferenceDataSyncProjection>
listSyncProjections
(Long loadBalancerId, String objCategory) Get a list ofReferenceData
projections based on NetworkLoadBalancer idio.reactivex.rxjava3.core.Single<Boolean>
remove
(List<ReferenceDataSyncProjection> certificates) Remove persisted certificate from Morpheusio.reactivex.rxjava3.core.Single<Boolean>
save
(List<ReferenceData> certificates) Save updates to existing certificate
-
Method Details
-
listSyncProjections
io.reactivex.rxjava3.core.Observable<ReferenceDataSyncProjection> listSyncProjections(Long loadBalancerId, String objCategory) Get a list ofReferenceData
projections based on NetworkLoadBalancer id- Parameters:
loadBalancerId
- the id of the load balancerobjCategory
- an additional category used for sync comparisons- Returns:
- Observable stream of sync projection
-
listById
Get a list of ReferenceData (certificates) objects from a list of projection ids- Parameters:
ids
- certificateid- Returns:
- Observable stream of partition
-
save
Save updates to existing certificate- Parameters:
certificates
- updated certificate- Returns:
- success
-
create
Create new certificate in Morpheus- Parameters:
certificates
- new ReferenceData (certificate) to persist- Returns:
- success
-
remove
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
-
getCertificateContent
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()
-