|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SSHKeyPairApi
Provides synchronous access to CloudStack SSHKeyPair features.
| Method Summary | |
|---|---|
SshKeyPair |
createSSHKeyPair(String name)
Creates a SshKeyPair with specified name. |
void |
deleteSSHKeyPair(String name)
Deletes the SSHKeyPairApi with given name. |
SshKeyPair |
getSSHKeyPair(String name)
Retrieves the SSHKeyPairApi with given name. |
Set<SshKeyPair> |
listSSHKeyPairs(ListSSHKeyPairsOptions... options)
Returns a list of SshKeyPairs registered by current user. |
SshKeyPair |
registerSSHKeyPair(String name,
String publicKey)
Registers a SshKeyPair with the given name and public kay material. |
| Method Detail |
|---|
@Named(value="listSSHKeyPairs") Set<SshKeyPair> listSSHKeyPairs(ListSSHKeyPairsOptions... options)
SshKeyPairs registered by current user.
options - if present, how to constrain the list
SshKeyPairs matching the current constrains or
empty set if no SshKeyPairs found.
@Named(value="registerSSHKeyPair")
SshKeyPair registerSSHKeyPair(String name,
String publicKey)
SshKeyPair with the given name and public kay material.
name - of the keypairpublicKey - Public key material of the keypair
@Named(value="createSSHKeyPair") SshKeyPair createSSHKeyPair(String name)
SshKeyPair with specified name.
name - of the SshKeyPair.
@Named(value="listSSHKeyPairs") SshKeyPair getSSHKeyPair(String name)
SSHKeyPairApi with given name.
name - name of the key pair
@Named(value="deleteSSHKeyPair") void deleteSSHKeyPair(String name)
SSHKeyPairApi with given name.
name - name of the key pair
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||