Class: Ansible::Ruby::Modules::Os_keypair
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_keypair
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_keypair.rb
Overview
Add or Remove key pair from OpenStack
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#name ⇒ String
Name that has to be given to the key pair.
-
#public_key ⇒ Object?
The public key that would be uploaded to nova and injected into VMs upon creation.
-
#public_key_file ⇒ String?
Path to local file containing ssh public key.
-
#state ⇒ :present, ...
Should the resource be present or absent.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#availability_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_keypair.rb', line 27 attribute :availability_zone |
#name ⇒ String
Returns Name that has to be given to the key pair.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_keypair.rb', line 12 attribute :name |
#public_key ⇒ Object?
Returns The public key that would be uploaded to nova and injected into VMs upon creation.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_keypair.rb', line 16 attribute :public_key |
#public_key_file ⇒ String?
Returns Path to local file containing ssh public key. Mutually exclusive with public_key.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_keypair.rb', line 19 attribute :public_key_file |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_keypair.rb', line 23 attribute :state |