Class: Ansible::Ruby::Modules::Proxmox
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Proxmox
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb
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.
-
#cpus ⇒ Integer?
Numbers of allocated cpus for instance.
-
#cpuunits ⇒ Integer?
CPU weight for a VM.
-
#disk ⇒ Integer?
Hard disk size in GB for instance.
-
#force ⇒ Boolean?
Forcing operations,can be used only with states C(present), C(stopped), C(restarted),with C(state=present) force option allow to overwrite existing container,with states C(stopped) , C(restarted) allow to force stop instance.
-
#hostname ⇒ String?
The instance hostname,required only for C(state=present).
-
#ip_address ⇒ Object?
Specifies the address the container will be assigned.
-
#memory ⇒ Integer?
Memory size in MB for instance.
-
#nameserver ⇒ Object?
Sets DNS server IP address for a container.
-
#netif ⇒ String?
Specifies network interfaces for the container.
-
#node ⇒ String?
Proxmox VE node, when new VM will be created,required only for C(state=present),for another states will be autodiscovered.
-
#onboot ⇒ Boolean?
Specifies whether a VM will be started during system bootup.
-
#ostemplate ⇒ String?
The template for VM creating,required only for C(state=present).
-
#password ⇒ String?
The instance root password,required only for C(state=present).
-
#searchdomain ⇒ Object?
Sets DNS search domain for a container.
-
#state ⇒ :present, ...
Indicate desired state of the instance.
-
#storage ⇒ String?
Target storage.
-
#swap ⇒ Integer?
Swap memory size in MB for instance.
-
#timeout ⇒ Integer?
Timeout for operations.
-
#validate_certs ⇒ Boolean?
Enable / disable https certificate verification.
-
#vmid ⇒ String
The instance id.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #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.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 10 attribute :api_host |
#api_password ⇒ String?
Returns the password to authenticate with,you can use PROXMOX_PASSWORD environment variable.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 18 attribute :api_password |
#api_user ⇒ String
Returns the user to authenticate with.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 14 attribute :api_user |
#cpus ⇒ Integer?
Returns numbers of allocated cpus for instance.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 50 attribute :cpus |
#cpuunits ⇒ Integer?
Returns CPU weight for a VM.
77 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 77 attribute :cpuunits |
#disk ⇒ Integer?
Returns hard disk size in GB for instance.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 46 attribute :disk |
#force ⇒ Boolean?
Returns forcing operations,can be used only with states C(present), C(stopped), C(restarted),with C(state=present) force option allow to overwrite existing container,with states C(stopped) , C(restarted) allow to force stop instance.
91 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 91 attribute :force |
#hostname ⇒ String?
Returns the instance hostname,required only for C(state=present).
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 38 attribute :hostname |
#ip_address ⇒ Object?
Returns specifies the address the container will be assigned.
66 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 66 attribute :ip_address |
#memory ⇒ Integer?
Returns memory size in MB for instance.
54 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 54 attribute :memory |
#nameserver ⇒ Object?
Returns sets DNS server IP address for a container.
81 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 81 attribute :nameserver |
#netif ⇒ String?
Returns specifies network interfaces for the container.
62 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 62 attribute :netif |
#node ⇒ String?
Returns Proxmox VE node, when new VM will be created,required only for C(state=present),for another states will be autodiscovered.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 30 attribute :node |
#onboot ⇒ Boolean?
Returns specifies whether a VM will be started during system bootup.
69 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 69 attribute :onboot |
#ostemplate ⇒ String?
Returns the template for VM creating,required only for C(state=present).
42 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 42 attribute :ostemplate |
#password ⇒ String?
Returns the instance root password,required only for C(state=present).
34 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 34 attribute :password |
#searchdomain ⇒ Object?
Returns sets DNS search domain for a container.
84 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 84 attribute :searchdomain |
#state ⇒ :present, ...
Returns Indicate desired state of the instance.
95 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 95 attribute :state |
#storage ⇒ String?
Returns target storage.
73 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 73 attribute :storage |
#swap ⇒ Integer?
Returns swap memory size in MB for instance.
58 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 58 attribute :swap |
#timeout ⇒ Integer?
Returns timeout for operations.
87 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 87 attribute :timeout |
#validate_certs ⇒ Boolean?
Returns enable / disable https certificate verification.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 26 attribute :validate_certs |
#vmid ⇒ String
Returns the instance id.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/misc/proxmox.rb', line 22 attribute :vmid |