Class: Ansible::Ruby::Modules::Digital_ocean_sshkey
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Digital_ocean_sshkey
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb
Overview
Create/delete an SSH key.
Instance Method Summary collapse
-
#api_key ⇒ String?
DigitalOcean api key.
-
#client_id ⇒ String?
DigitalOcean manager id.
-
#id ⇒ Object?
Numeric, the SSH key id you want to operate on.
-
#name ⇒ String?
String, this is the name of an SSH key to create or destroy.
-
#ssh_pub_key ⇒ String?
The public SSH key you want to add to your account.
-
#state ⇒ :present, ...
Indicate desired state of the target.
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
#api_key ⇒ String?
Returns DigitalOcean api key.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb', line 19 attribute :api_key |
#client_id ⇒ String?
Returns DigitalOcean manager id.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb', line 15 attribute :client_id |
#id ⇒ Object?
Returns Numeric, the SSH key id you want to operate on.
23 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb', line 23 attribute :id |
#name ⇒ String?
Returns String, this is the name of an SSH key to create or destroy.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb', line 26 attribute :name |
#ssh_pub_key ⇒ String?
Returns The public SSH key you want to add to your account.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb', line 30 attribute :ssh_pub_key |
#state ⇒ :present, ...
Returns Indicate desired state of the target.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/digital_ocean/digital_ocean_sshkey.rb', line 11 attribute :state |