Class: Ansible::Ruby::Modules::Vultr_ssh_key

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vultr/vr_ssh_key.rb,
lib/ansible/ruby/modules/generated/cloud/vultr/vultr_ssh_key.rb

Overview

Create, update and remove 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

#nameString

Returns Name of the ssh key.

Returns:

  • (String)

    Name of the ssh key.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_ssh_key.rb', line 12

attribute :name

#ssh_keyString?

Returns SSH public key.,Required if C(state=present).

Returns:

  • (String, nil)

    SSH public key.,Required if C(state=present).



16
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_ssh_key.rb', line 16

attribute :ssh_key

#state:present, ...

Returns State of the ssh key.

Returns:

  • (:present, :absent, nil)

    State of the ssh key.



20
# File 'lib/ansible/ruby/modules/generated/cloud/vultr/vr_ssh_key.rb', line 20

attribute :state