Class: Ansible::Ruby::Modules::Proxmox_template
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Proxmox_template
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb
Overview
allows you to upload/delete templates in Proxmox VE cluster
Instance Method Summary collapse
-
#api_host ⇒ String
The host of the Proxmox VE cluster.
-
#api_password ⇒ String?
The password to authenticate with,you can use PROXMOX_PASSWORD environment variable.
-
#api_user ⇒ String
The user to authenticate with.
-
#content_type ⇒ :vztmpl, ...
Content type,required only for C(state=present).
-
#force ⇒ :yes, ...
Can be used only with C(state=present), exists template will be overwritten.
-
#node ⇒ String
Proxmox VE node, when you will operate with template.
-
#src ⇒ String?
Path to uploaded file,required only for C(state=present).
-
#state ⇒ :present, ...
Indicate desired state of the template.
-
#storage ⇒ String?
Target storage.
-
#template ⇒ String?
The template name,required only for states C(absent), C(info).
-
#timeout ⇒ Integer?
Timeout for operations.
-
#validate_certs ⇒ :yes, ...
Enable / disable https certificate verification.
Methods inherited from Base
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
#api_host ⇒ String
Returns the host of the Proxmox VE cluster.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 12 attribute :api_host |
#api_password ⇒ String?
Returns the password to authenticate with,you can use PROXMOX_PASSWORD environment variable.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 20 attribute :api_password |
#api_user ⇒ String
Returns the user to authenticate with.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 16 attribute :api_user |
#content_type ⇒ :vztmpl, ...
Returns content type,required only for C(state=present).
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 40 attribute :content_type |
#force ⇒ :yes, ...
Returns can be used only with C(state=present), exists template will be overwritten.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 52 attribute :force |
#node ⇒ String
Returns Proxmox VE node, when you will operate with template.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 28 attribute :node |
#src ⇒ String?
Returns path to uploaded file,required only for C(state=present).
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 32 attribute :src |
#state ⇒ :present, ...
Returns Indicate desired state of the template.
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 56 attribute :state |
#storage ⇒ String?
Returns target storage.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 44 attribute :storage |
#template ⇒ String?
Returns the template name,required only for states C(absent), C(info).
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 36 attribute :template |
#timeout ⇒ Integer?
Returns timeout for operations.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 48 attribute :timeout |
#validate_certs ⇒ :yes, ...
Returns enable / disable https certificate verification.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_template.rb', line 24 attribute :validate_certs |