novaclient.v2.keypairs
Module¶Keypair interface
novaclient.v2.keypairs.
Keypair
(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
A keypair is a ssh key that can be injected into a server on launch.
Populate and bind to a manager.
Parameters: |
|
---|
delete
()¶Delete this keypair.
Returns: | An instance of novaclient.base.TupleWithMeta |
---|
id
¶novaclient.v2.keypairs.
KeypairManager
(api)¶Bases: novaclient.base.ManagerWithFind
create
(obj, *args, **kwargs)¶Create a keypair
Parameters: |
|
---|
delete
(obj, *args, **kwargs)¶Delete a keypair
Parameters: |
|
---|---|
Returns: | An instance of novaclient.base.TupleWithMeta |
get
(obj, *args, **kwargs)¶Get a keypair.
Parameters: |
|
---|---|
Return type: |
is_alphanum_id_allowed
= True¶keypair_prefix
= 'os-keypairs'¶list
(obj, *args, **kwargs)¶Get a list of keypairs.
Parameters: |
|
---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.