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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/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, fix_inclusion, #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.



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

attribute :account

#domainObject?

Returns Domain the public key is related to.

Returns:

  • (Object, nil)

    Domain the public key is related to.



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

attribute :domain

#nameString

Returns Name of public key.

Returns:

  • (String)

    Name of public key.



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

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.



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

attribute :project

#public_keyString?

Returns String of the public key.

Returns:

  • (String, nil)

    String of the public key.



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

attribute :public_key

#state:present, ...

Returns State of the public key.

Returns:

  • (:present, :absent, nil)

    State of the public key.



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

attribute :state