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/extras/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, #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.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 19 attribute :account |
#domain ⇒ Object?
Returns Domain the public key is related to.
16 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 16 attribute :domain |
#name ⇒ String
Returns Name of public key.
12 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 12 attribute :name |
#project ⇒ Object?
Returns Name of the project the public key to be registered in.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 22 attribute :project |
#public_key ⇒ String?
Returns String of the public key.
29 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 29 attribute :public_key |
#state ⇒ :present, ...
Returns State of the public key.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 25 attribute :state |