Class: Ansible::Ruby::Modules::Rax_keypair

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

Overview

Create a keypair for use with Rackspace Cloud Servers

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 keypair.

Returns:

  • (String)

    Name of keypair



12
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_keypair.rb', line 12

attribute :name

#public_keyObject?

Returns Public Key string to upload. Can be a file path or string.

Returns:

  • (Object, nil)

    Public Key string to upload. Can be a file path or string



16
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_keypair.rb', line 16

attribute :public_key

#state:present, ...

Returns Indicate desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the resource



19
# File 'lib/ansible/ruby/modules/generated/cloud/rackspace/rax_keypair.rb', line 19

attribute :state