org.jclouds.openstack.nova.v2_0.extensions
Interface KeyPairApi


public interface KeyPairApi

Provides synchronous access to Security Groups.

Author:
Jeremy Daggett
See Also:
KeyPairAsyncApi

Method Summary
 KeyPair createKeyPair(String name)
          Create a Key Pair.
 KeyPair createKeyPairWithPublicKey(String name, String publicKey)
          Create a Key Pair with a public key.
 Boolean deleteKeyPair(String name)
          Delete a Key Pairs.
 Set<Map<String,KeyPair>> listKeyPairs()
          List all Key Pairs.
 

Method Detail

listKeyPairs

Set<Map<String,KeyPair>> listKeyPairs()
List all Key Pairs.

Returns:
all Key Pairs

createKeyPair

KeyPair createKeyPair(String name)
Create a Key Pair.

Returns:
a Key Pair

createKeyPairWithPublicKey

KeyPair createKeyPairWithPublicKey(String name,
                                   String publicKey)
Create a Key Pair with a public key.

Returns:
a Key Pair with a public key.

deleteKeyPair

Boolean deleteKeyPair(String name)
Delete a Key Pairs.

Returns:


Copyright © 2009-2012 jclouds. All Rights Reserved.