Class: Ansible::Ruby::Modules::Cs_sshkeypair

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#accountObject?

Returns Account the public key is related to.

Returns:

  • (Object, nil)

    Account the public key is related to.



19
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 19

attribute :account

#domainObject?

Returns Domain the public key is related to.

Returns:

  • (Object, nil)

    Domain the public key is related to.



16
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 16

attribute :domain

#nameString

Returns Name of public key.

Returns:

  • (String)

    Name of public key.



12
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 12

attribute :name

#projectObject?

Returns Name of the project the public key to be registered in.

Returns:

  • (Object, nil)

    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_keyString?

Returns String of the public key.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    State of the public key.



25
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_sshkeypair.rb', line 25

attribute :state