Package com.morpheusdata.core
Interface MorpheusKeyPairService
- All Superinterfaces:
MorpheusDataQueryService<KeyPair>
,MorpheusDataService<KeyPair,
KeyPairIdentityProjection>
public interface MorpheusKeyPairService
extends MorpheusDataService<KeyPair,KeyPairIdentityProjection>
Context methods for InstanceScaleType in Morpheus
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<Boolean>
addKeyPairLocation
(Long keyPairId, String locationId, String keyId) io.reactivex.rxjava3.core.Single<Boolean>
addZoneKeyPairLocation
(Long cloudId, String locationId, String keyId) io.reactivex.rxjava3.core.Maybe<KeyPair>
findOrGenerateByAccount
(Long accountId) io.reactivex.rxjava3.core.Observable<KeyPairIdentityProjection>
listIdentityProjections
(Long cloudId, String regionCode) Get a list ofKeyPairIdentityProjection
projections based on Cloud idMethods inherited from interface com.morpheusdata.core.MorpheusDataQueryService
count, find, get, list, list, listById, listOptions, listOptions, search
Methods inherited from interface com.morpheusdata.core.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, create, create, remove, remove, save, save
-
Method Details
-
listIdentityProjections
io.reactivex.rxjava3.core.Observable<KeyPairIdentityProjection> listIdentityProjections(Long cloudId, String regionCode) Get a list ofKeyPairIdentityProjection
projections based on Cloud id- Parameters:
cloudId
- Cloud idregionCode
- theComputeZoneRegion
to optionally filter by- Returns:
- Observable stream of identity projection
-
findOrGenerateByAccount
-
addZoneKeyPairLocation
-
addKeyPairLocation
-