Class: Ansible::Ruby::Modules::Proxmox_template

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb

Overview

allows you to upload/delete templates in Proxmox VE cluster

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

#api_hostString

Returns the host of the Proxmox VE cluster.

Returns:

  • (String)

    the host of the Proxmox VE cluster



11
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 11

attribute :api_host

#api_passwordString?

Returns the password to authenticate with,you can use PROXMOX_PASSWORD environment variable.

Returns:

  • (String, nil)

    the password to authenticate with,you can use PROXMOX_PASSWORD environment variable



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

attribute :api_password

#api_userString

Returns the user to authenticate with.

Returns:

  • (String)

    the user to authenticate with



15
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 15

attribute :api_user

#content_type:vztmpl, ...

Returns content type,required only for C(state=present).

Returns:

  • (:vztmpl, :iso, nil)

    content type,required only for C(state=present)



39
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 39

attribute :content_type

#forceBoolean?

Returns can be used only with C(state=present), exists template will be overwritten.

Returns:

  • (Boolean, nil)

    can be used only with C(state=present), exists template will be overwritten



51
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 51

attribute :force

#nodeString

Returns Proxmox VE node, when you will operate with template.

Returns:

  • (String)

    Proxmox VE node, when you will operate with template



27
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 27

attribute :node

#srcString?

Returns path to uploaded file,required only for C(state=present).

Returns:

  • (String, nil)

    path to uploaded file,required only for C(state=present)



31
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 31

attribute :src

#state:present, ...

Returns Indicate desired state of the template.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the template



55
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 55

attribute :state

#storageString?

Returns target storage.

Returns:

  • (String, nil)

    target storage



43
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 43

attribute :storage

#templateString?

Returns the template name,required only for states C(absent), C(info).

Returns:

  • (String, nil)

    the template name,required only for states C(absent), C(info)



35
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 35

attribute :template

#timeoutInteger?

Returns timeout for operations.

Returns:

  • (Integer, nil)

    timeout for operations



47
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 47

attribute :timeout

#validate_certsBoolean?

Returns enable / disable https certificate verification.

Returns:

  • (Boolean, nil)

    enable / disable https certificate verification



23
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox_template.rb', line 23

attribute :validate_certs