|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Beta public interface KeyPairApi
Provides access to the OpenStack Compute (Nova) Key Pair Extension API.
| Method Summary | |
|---|---|
KeyPair |
create(String name)
Creates a KeyPair. |
KeyPair |
createWithPublicKey(String name,
String publicKey)
Creates a KeyPair with a public key. |
boolean |
delete(String name)
Deletes a KeyPair. |
KeyPair |
get(String name)
Gets a specific KeyPair by name. |
com.google.common.collect.FluentIterable<KeyPair> |
list()
Lists all Key Pairs. |
| Method Detail |
|---|
@Named(value="keypair:list") com.google.common.collect.FluentIterable<KeyPair> list()
@Named(value="keypair:create") KeyPair create(String name)
KeyPair.
KeyPair.
@Named(value="keypair:create")
KeyPair createWithPublicKey(String name,
String publicKey)
KeyPair with a public key.
KeyPair.@Named(value="keypair:get") @Nullable KeyPair get(String name)
KeyPair by name.
name - the name of the KeyPair
KeyPair, otherwise null.@Named(value="keypair:delete") boolean delete(String name)
KeyPair.
name - the name of the KeyPair
true if the KeyPair was deleted, otherwise false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||