Interface MorpheusKeyPairService

All Superinterfaces:
MorpheusDataQueryService<KeyPair>, MorpheusDataService<KeyPair,KeyPairIdentityProjection>

public interface MorpheusKeyPairService extends MorpheusDataService<KeyPair,KeyPairIdentityProjection>
Context methods for InstanceScaleType in Morpheus
  • Method Details

    • listIdentityProjections

      io.reactivex.rxjava3.core.Observable<KeyPairIdentityProjection> listIdentityProjections(Long cloudId, String regionCode)
      Get a list of KeyPairIdentityProjection projections based on Cloud id
      Parameters:
      cloudId - Cloud id
      regionCode - the ComputeZoneRegion to optionally filter by
      Returns:
      Observable stream of identity projection
    • findOrGenerateByAccount

      io.reactivex.rxjava3.core.Maybe<KeyPair> findOrGenerateByAccount(Long accountId)
    • addZoneKeyPairLocation

      io.reactivex.rxjava3.core.Single<Boolean> addZoneKeyPairLocation(Long cloudId, String locationId, String keyId)
    • addKeyPairLocation

      io.reactivex.rxjava3.core.Single<Boolean> addKeyPairLocation(Long keyPairId, String locationId, String keyId)