Class: Ansible::Ruby::Modules::Digital_ocean_sshkey

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_sshkey.rb

Overview

Create/delete DigitalOcean SSH keys.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#fingerprintString?

Returns This is a unique identifier for the SSH key used to delete a key.

Returns:

  • (String, nil)

    This is a unique identifier for the SSH key used to delete a key



16
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_sshkey.rb', line 16

attribute :fingerprint

#nameString?

Returns The name for the SSH key.

Returns:

  • (String, nil)

    The name for the SSH key



20
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_sshkey.rb', line 20

attribute :name

#oauth_tokenString

Returns DigitalOcean OAuth token.

Returns:

  • (String)

    DigitalOcean OAuth token.



28
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_sshkey.rb', line 28

attribute :oauth_token

#ssh_pub_keyString?

Returns The Public SSH key to add.

Returns:

  • (String, nil)

    The Public SSH key to add.



24
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_sshkey.rb', line 24

attribute :ssh_pub_key

#state:present, ...

Returns Indicate desired state of the target.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the target.



12
# File 'lib/ansible/ruby/modules/generated/cloud/digital_ocean/digital_ocean_sshkey.rb', line 12

attribute :state