Package com.morpheusdata.core
Interface MorpheusKeyPairService
- All Superinterfaces:
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.MorpheusDataService
bulkCreate, bulkRemove, bulkSave, count, create, create, find, get, list, listById, listOptions, remove, remove, save, save, search
-
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
-