Class: Ansible::Ruby::Modules::Cs_sshkeypair
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_sshkeypair
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb
Overview
Create, register and remove SSH keys. If no key was found and no public key was provided and a new SSH private/public key pair will be created and the private key will be returned.
Instance Method Summary collapse
-
#account ⇒ Object?
Account the public key is related to.
-
#domain ⇒ Object?
Domain the public key is related to.
-
#name ⇒ String
Name of public key.
-
#project ⇒ Object?
Name of the project the public key to be registered in.
-
#public_key ⇒ String?
String of the public key.
-
#state ⇒ :present, ...
State of the public key.
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
#account ⇒ Object?
Returns Account the public key is related to.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb', line 20 attribute :account |
#domain ⇒ Object?
Returns Domain the public key is related to.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb', line 17 attribute :domain |
#name ⇒ String
Returns Name of public key.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb', line 13 attribute :name |
#project ⇒ Object?
Returns Name of the project the public key to be registered in.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb', line 23 attribute :project |
#public_key ⇒ String?
Returns String of the public key.
30 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb', line 30 attribute :public_key |
#state ⇒ :present, ...
Returns State of the public key.
26 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_sshkeypair.rb', line 26 attribute :state |