Class: Ansible::Ruby::Modules::Proxmox_kvm

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

Overview

Allows you to create/delete/stop Qemu(KVM) Virtual Machines 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

#acpiString?

Returns Specify if ACPI should be enabled/disabled.

Returns:

  • (String, nil)

    Specify if ACPI should be enabled/disabled.



12
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 12

attribute :acpi

#agentObject?

Returns Specify if the QEMU Guest Agent should be enabled/disabled.

Returns:

  • (Object, nil)

    Specify if the QEMU Guest Agent should be enabled/disabled.



16
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 16

attribute :agent

#api_hostString

Returns Specify the target host of the Proxmox VE cluster.

Returns:

  • (String)

    Specify the target host of the Proxmox VE cluster.



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

attribute :api_host

#api_passwordString?

Returns Specify the password to authenticate with.,You can use C(PROXMOX_PASSWORD) environment variable.

Returns:

  • (String, nil)

    Specify the password to authenticate with.,You can use C(PROXMOX_PASSWORD) environment variable.



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

attribute :api_password

#api_userString

Returns Specify the user to authenticate with.

Returns:

  • (String)

    Specify the user to authenticate with.



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

attribute :api_user

#argsArray<String>, ...

Returns Pass arbitrary arguments to kvm.,This option is for experts only!.

Returns:

  • (Array<String>, String, nil)

    Pass arbitrary arguments to kvm.,This option is for experts only!



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

attribute :args

#autostartString?

Returns Specify if the VM should be automatically restarted after crash (currently ignored in PVE API).

Returns:

  • (String, nil)

    Specify if the VM should be automatically restarted after crash (currently ignored in PVE API).



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

attribute :autostart

#balloonInteger?

Returns Specify the amount of RAM for the VM in MB.,Using zero disables the balloon driver.

Returns:

  • (Integer, nil)

    Specify the amount of RAM for the VM in MB.,Using zero disables the balloon driver.



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

attribute :balloon

#bios:seabios, ...

Returns Specify the BIOS implementation.

Returns:

  • (:seabios, :ovmf, nil)

    Specify the BIOS implementation.



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

attribute :bios

#bootString?

Returns Specify the boot order -> boot on floppy C(a), hard disk C©, CD-ROM C(d), or network C(n).,You can combine to set order.

Returns:

  • (String, nil)

    Specify the boot order -> boot on floppy C(a), hard disk C©, CD-ROM C(d), or network C(n).,You can combine to set order.



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

attribute :boot

#bootdiskObject?

Returns Enable booting from specified disk. C((ide|sata|scsi|virtio)d+).

Returns:

  • (Object, nil)

    Enable booting from specified disk. C((ide|sata|scsi|virtio)d+)



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

attribute :bootdisk

#cloneString?

Returns Name of VM to be cloned. If C(vmid) is setted, C(clone) can take arbitrary value but required for intiating the clone.

Returns:

  • (String, nil)

    Name of VM to be cloned. If C(vmid) is setted, C(clone) can take arbitrary value but required for intiating the clone.



54
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 54

attribute :clone

#coresInteger?

Returns Specify number of cores per socket.

Returns:

  • (Integer, nil)

    Specify number of cores per socket.



58
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 58

attribute :cores

#cpuString?

Returns Specify emulated CPU type.

Returns:

  • (String, nil)

    Specify emulated CPU type.



62
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 62

attribute :cpu

#cpulimitObject?

Returns Specify if CPU usage will be limited. Value 0 indicates no CPU limit.,If the computer has 2 CPUs, it has total of ‘2’ CPU time.

Returns:

  • (Object, nil)

    Specify if CPU usage will be limited. Value 0 indicates no CPU limit.,If the computer has 2 CPUs, it has total of ‘2’ CPU time



66
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 66

attribute :cpulimit

#cpuunitsInteger?

Returns Specify CPU weight for a VM.,You can disable fair-scheduler configuration by setting this to 0.

Returns:

  • (Integer, nil)

    Specify CPU weight for a VM.,You can disable fair-scheduler configuration by setting this to 0



69
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 69

attribute :cpuunits

#deleteArray<String>, ...

Returns Specify a list of settings you want to delete.

Returns:

  • (Array<String>, String, nil)

    Specify a list of settings you want to delete.



73
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 73

attribute :delete

#descriptionObject?

Returns Specify the description for the VM. Only used on the configuration web interface.,This is saved as comment inside the configuration file.

Returns:

  • (Object, nil)

    Specify the description for the VM. Only used on the configuration web interface.,This is saved as comment inside the configuration file.



77
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 77

attribute :description

#digestObject?

Returns Specify if to prevent changes if current configuration file has different SHA1 digest.,This can be used to prevent concurrent modifications.

Returns:

  • (Object, nil)

    Specify if to prevent changes if current configuration file has different SHA1 digest.,This can be used to prevent concurrent modifications.



80
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 80

attribute :digest

#forceBoolean?

Returns Allow to force stop VM.,Can be used only with states C(stopped), C(restarted).

Returns:

  • (Boolean, nil)

    Allow to force stop VM.,Can be used only with states C(stopped), C(restarted).



83
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 83

attribute :force

#format:cloop, ...

Returns Target drive’s backing file’s data format.,Used only with clone.

Returns:

  • (:cloop, :cow, :qcow, :qcow2, :qed, :raw, :vmdk, nil)

    Target drive’s backing file’s data format.,Used only with clone



87
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 87

attribute :format

#freezeObject?

Returns Specify if PVE should freeze CPU at startup (use ‘c’ monitor command to start execution).

Returns:

  • (Object, nil)

    Specify if PVE should freeze CPU at startup (use ‘c’ monitor command to start execution).



91
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 91

attribute :freeze

#fullString?

Returns Create a full copy of all disk. This is always done when you clone a normal VM.,For VM templates, we try to create a linked clone by default.,Used only with clone.

Returns:

  • (String, nil)

    Create a full copy of all disk. This is always done when you clone a normal VM.,For VM templates, we try to create a linked clone by default.,Used only with clone



94
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 94

attribute :full

#hostpciObject?

Returns Specify a hash/dictionary of map host pci devices into guest. C(hostpci=‘“key”:“value”’).,Keys allowed are - C(hostpci) where 0 ≤ n ≤ N.,Values allowed are - C(“host=”HOSTPCIID“,pcie=”1|0“,rombar=”1|0“,x-vga=”1|0“”).,The C(host) parameter is Host PCI device pass through. HOSTPCIID syntax is C(bus:dev.func) (hexadecimal numbers).,C(pcie=boolean) I(default=0) Choose the PCI-express bus (needs the q35 machine model).,C(rombar=boolean) I(default=1) Specify whether or not the device’s ROM will be visible in the guest’s memory map.,C(x-vga=boolean) I(default=0) Enable vfio-vga device support.,/!\ This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.

Returns:

  • (Object, nil)

    Specify a hash/dictionary of map host pci devices into guest. C(hostpci=‘“key”:“value”’).,Keys allowed are - C(hostpci) where 0 ≤ n ≤ N.,Values allowed are - C(“host=”HOSTPCIID“,pcie=”1|0“,rombar=”1|0“,x-vga=”1|0“”).,The C(host) parameter is Host PCI device pass through. HOSTPCIID syntax is C(bus:dev.func) (hexadecimal numbers).,C(pcie=boolean) I(default=0) Choose the PCI-express bus (needs the q35 machine model).,C(rombar=boolean) I(default=1) Specify whether or not the device’s ROM will be visible in the guest’s memory map.,C(x-vga=boolean) I(default=0) Enable vfio-vga device support.,/!\ This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.



98
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 98

attribute :hostpci

#hotplugObject?

Returns Selectively enable hotplug features.,This is a comma separated list of hotplug features C(‘network’, ‘disk’, ‘cpu’, ‘memory’ and ‘usb’).,Value 0 disables hotplug completely and value 1 is an alias for the default C(‘network,disk,usb’).

Returns:

  • (Object, nil)

    Selectively enable hotplug features.,This is a comma separated list of hotplug features C(‘network’, ‘disk’, ‘cpu’, ‘memory’ and ‘usb’).,Value 0 disables hotplug completely and value 1 is an alias for the default C(‘network,disk,usb’).



101
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 101

attribute :hotplug

#hugepages:any, ...

Returns Enable/disable hugepages memory.

Returns:

  • (:any, 2, 1024, nil)

    Enable/disable hugepages memory.



104
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 104

attribute :hugepages

#ideObject?

Returns A hash/dictionary of volume used as IDE hard disk or CD-ROM. C(ide=‘“key”:“value”’).,Keys allowed are - C(ide) where 0 ≤ n ≤ 3.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).

Returns:

  • (Object, nil)

    A hash/dictionary of volume used as IDE hard disk or CD-ROM. C(ide=‘“key”:“value”’).,Keys allowed are - C(ide) where 0 ≤ n ≤ 3.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).



108
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 108

attribute :ide

#keyboardObject?

Returns Sets the keyboard layout for VNC server.

Returns:

  • (Object, nil)

    Sets the keyboard layout for VNC server.



111
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 111

attribute :keyboard

#kvmString?

Returns Enable/disable KVM hardware virtualization.

Returns:

  • (String, nil)

    Enable/disable KVM hardware virtualization.



114
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 114

attribute :kvm

#localtimeObject?

Returns Sets the real time clock to local time.,This is enabled by default if ostype indicates a Microsoft OS.

Returns:

  • (Object, nil)

    Sets the real time clock to local time.,This is enabled by default if ostype indicates a Microsoft OS.



118
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 118

attribute :localtime

#lock:migrate, ...

Returns Lock/unlock the VM.

Returns:

  • (:migrate, :backup, :snapshot, :rollback, nil)

    Lock/unlock the VM.



121
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 121

attribute :lock

#machineObject?

Returns Specifies the Qemu machine type.,type => C((pc|pc(-i440fx)?-d+.d+(.pxe)?|q35|pc-q35-d+.d+(.pxe)?)).

Returns:

  • (Object, nil)

    Specifies the Qemu machine type.,type => C((pc|pc(-i440fx)?-d+.d+(.pxe)?|q35|pc-q35-d+.d+(.pxe)?))



125
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 125

attribute :machine

#memoryInteger?

Returns Memory size in MB for instance.

Returns:

  • (Integer, nil)

    Memory size in MB for instance.



128
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 128

attribute :memory

#migrate_downtimeObject?

Returns Sets maximum tolerated downtime (in seconds) for migrations.

Returns:

  • (Object, nil)

    Sets maximum tolerated downtime (in seconds) for migrations.



132
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 132

attribute :migrate_downtime

#migrate_speedObject?

Returns Sets maximum speed (in MB/s) for migrations.,A value of 0 is no limit.

Returns:

  • (Object, nil)

    Sets maximum speed (in MB/s) for migrations.,A value of 0 is no limit.



135
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 135

attribute :migrate_speed

#nameString?

Returns Specifies the VM name. Only used on the configuration web interface.,Required only for C(state=present).

Returns:

  • (String, nil)

    Specifies the VM name. Only used on the configuration web interface.,Required only for C(state=present).



138
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 138

attribute :name

#netHash?

Returns A hash/dictionary of network interfaces for the VM. C(net=‘“key”:“value”’).,Keys allowed are - C(net) where 0 ≤ n ≤ N.,Values allowed are - C(“model=”XX:XX:XX:XX:XX:XX“,brigde=”value“,rate=”value“,tag=”value“,firewall=”1|0“,trunks=”vlanid“”).,Model is one of C(e1000 e1000-82540em e1000-82544gc e1000-82545em i82551 i82557b i82559er ne2k_isa ne2k_pci pcnet rtl8139 virtio vmxnet3).,C(XX:XX:XX:XX:XX:XX) should be an unique MAC address. This is automatically generated if not specified.,The C(bridge) parameter can be used to automatically add the interface to a bridge device. The Proxmox VE standard bridge is called ‘vmbr0’.,Option C(rate) is used to limit traffic bandwidth from and to this interface. It is specified as floating point number, unit is ‘Megabytes per second’.,If you specify no bridge, we create a kvm ‘user’ (NATed) network device, which provides DHCP and DNS services.

Returns:

  • (Hash, nil)

    A hash/dictionary of network interfaces for the VM. C(net=‘“key”:“value”’).,Keys allowed are - C(net) where 0 ≤ n ≤ N.,Values allowed are - C(“model=”XX:XX:XX:XX:XX:XX“,brigde=”value“,rate=”value“,tag=”value“,firewall=”1|0“,trunks=”vlanid“”).,Model is one of C(e1000 e1000-82540em e1000-82544gc e1000-82545em i82551 i82557b i82559er ne2k_isa ne2k_pci pcnet rtl8139 virtio vmxnet3).,C(XX:XX:XX:XX:XX:XX) should be an unique MAC address. This is automatically generated if not specified.,The C(bridge) parameter can be used to automatically add the interface to a bridge device. The Proxmox VE standard bridge is called ‘vmbr0’.,Option C(rate) is used to limit traffic bandwidth from and to this interface. It is specified as floating point number, unit is ‘Megabytes per second’.,If you specify no bridge, we create a kvm ‘user’ (NATed) network device, which provides DHCP and DNS services.



142
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 142

attribute :net

#newidInteger?

Returns VMID for the clone. Used only with clone.,If newid is not set, the next available VM ID will be fetched from ProxmoxAPI.

Returns:

  • (Integer, nil)

    VMID for the clone. Used only with clone.,If newid is not set, the next available VM ID will be fetched from ProxmoxAPI.



146
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 146

attribute :newid

#nodeString?

Returns Proxmox VE node, where the new VM will be created.,Only required for C(state=present).,For other states, it will be autodiscovered.

Returns:

  • (String, nil)

    Proxmox VE node, where the new VM will be created.,Only required for C(state=present).,For other states, it will be autodiscovered.



150
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 150

attribute :node

#numaObject?

Returns A hash/dictionaries of NUMA topology. C(numa=‘“key”:“value”’).,Keys allowed are - C(numa) where 0 ≤ n ≤ N.,Values allowed are - C(“cpu=”<id;…>“,hostnodes=“<id;…>”,memory=“number”,policy=“(bind|interleave|preferred)”“).,C(cpus) CPUs accessing this NUMA node.,C(hostnodes) Host NUMA nodes to use.,C(memory) Amount of memory this NUMA node provides.,C(policy) NUMA allocation policy.

Returns:

  • (Object, nil)

    A hash/dictionaries of NUMA topology. C(numa=‘“key”:“value”’).,Keys allowed are - C(numa) where 0 ≤ n ≤ N.,Values allowed are - C(“cpu=”<id;…>“,hostnodes=“<id;…>”,memory=“number”,policy=“(bind|interleave|preferred)”“).,C(cpus) CPUs accessing this NUMA node.,C(hostnodes) Host NUMA nodes to use.,C(memory) Amount of memory this NUMA node provides.,C(policy) NUMA allocation policy.



154
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 154

attribute :numa

#onbootString?

Returns Specifies whether a VM will be started during system bootup.

Returns:

  • (String, nil)

    Specifies whether a VM will be started during system bootup.



157
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 157

attribute :onboot

#ostype:other, ...

Returns Specifies guest operating system. This is used to enable special optimization/features for specific operating systems.,The l26 is Linux 2.6/3.X Kernel.

Returns:

  • (:other, :wxp, :w2k, :w2k3, :w2k8, :wvista, :win7, :win8, :l24, :l26, :solaris, nil)

    Specifies guest operating system. This is used to enable special optimization/features for specific operating systems.,The l26 is Linux 2.6/3.X Kernel.



161
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 161

attribute :ostype

#parallelObject?

Returns A hash/dictionary of map host parallel devices. C(parallel=‘“key”:“value”’).,Keys allowed are - (parallel) where 0 ≤ n ≤ 2.,Values allowed are - C(“/dev/parportd+|/dev/usb/lpd+”).

Returns:

  • (Object, nil)

    A hash/dictionary of map host parallel devices. C(parallel=‘“key”:“value”’).,Keys allowed are - (parallel) where 0 ≤ n ≤ 2.,Values allowed are - C(“/dev/parportd+|/dev/usb/lpd+”).



165
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 165

attribute :parallel

#poolObject?

Returns Add the new VM to the specified pool.

Returns:

  • (Object, nil)

    Add the new VM to the specified pool.



168
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 168

attribute :pool

#protectionBoolean?

Returns Enable/disable the protection flag of the VM. This will enable/disable the remove VM and remove disk operations.

Returns:

  • (Boolean, nil)

    Enable/disable the protection flag of the VM. This will enable/disable the remove VM and remove disk operations.



171
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 171

attribute :protection

#rebootObject?

Returns Allow reboot. If set to C(yes), the VM exit on reboot.

Returns:

  • (Object, nil)

    Allow reboot. If set to C(yes), the VM exit on reboot.



175
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 175

attribute :reboot

#revertArray<String>, ...

Returns Revert a pending change.

Returns:

  • (Array<String>, String, nil)

    Revert a pending change.



178
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 178

attribute :revert

#sataObject?

Returns A hash/dictionary of volume used as sata hard disk or CD-ROM. C(sata=‘“key”:“value”’).,Keys allowed are - C(sata) where 0 ≤ n ≤ 5.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).

Returns:

  • (Object, nil)

    A hash/dictionary of volume used as sata hard disk or CD-ROM. C(sata=‘“key”:“value”’).,Keys allowed are - C(sata) where 0 ≤ n ≤ 5.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).



182
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 182

attribute :sata

#scsiObject?

Returns A hash/dictionary of volume used as SCSI hard disk or CD-ROM. C(scsi=‘“key”:“value”’).,Keys allowed are - C(sata) where 0 ≤ n ≤ 13.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).

Returns:

  • (Object, nil)

    A hash/dictionary of volume used as SCSI hard disk or CD-ROM. C(scsi=‘“key”:“value”’).,Keys allowed are - C(sata) where 0 ≤ n ≤ 13.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).



185
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 185

attribute :scsi

#scsihw:lsi, ...

Returns Specifies the SCSI controller model.

Returns:

  • (:lsi, :lsi53c810, :"virtio-scsi-pci", :"virtio-scsi-single", :megasas, :pvscsi, nil)

    Specifies the SCSI controller model.



188
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 188

attribute :scsihw

#serialObject?

Returns A hash/dictionary of serial device to create inside the VM. C(‘“key”:“value”’).,Keys allowed are - serial(str; required) where 0 ≤ n ≤ 3.,Values allowed are - C((/dev/.+|socket)).,/!\ If you pass through a host serial device, it is no longer possible to migrate such machines - use with special care.

Returns:

  • (Object, nil)

    A hash/dictionary of serial device to create inside the VM. C(‘“key”:“value”’).,Keys allowed are - serial(str; required) where 0 ≤ n ≤ 3.,Values allowed are - C((/dev/.+|socket)).,/!\ If you pass through a host serial device, it is no longer possible to migrate such machines - use with special care.



192
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 192

attribute :serial

#sharesObject?

Returns Rets amount of memory shares for auto-ballooning. (0 - 50000).,The larger the number is, the more memory this VM gets.,The number is relative to weights of all other running VMs.,Using 0 disables auto-ballooning, this means no limit.

Returns:

  • (Object, nil)

    Rets amount of memory shares for auto-ballooning. (0 - 50000).,The larger the number is, the more memory this VM gets.,The number is relative to weights of all other running VMs.,Using 0 disables auto-ballooning, this means no limit.



195
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 195

attribute :shares

#skiplockObject?

Returns Ignore locks,Only root is allowed to use this option.

Returns:

  • (Object, nil)

    Ignore locks,Only root is allowed to use this option.



198
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 198

attribute :skiplock

#smbiosObject?

Returns Specifies SMBIOS type 1 fields.

Returns:

  • (Object, nil)

    Specifies SMBIOS type 1 fields.



201
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 201

attribute :smbios

#snapnameObject?

Returns The name of the snapshot. Used only with clone.

Returns:

  • (Object, nil)

    The name of the snapshot. Used only with clone.



204
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 204

attribute :snapname

#socketsInteger?

Returns Sets the number of CPU sockets. (1 - N).

Returns:

  • (Integer, nil)

    Sets the number of CPU sockets. (1 - N).



207
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 207

attribute :sockets

#startdateObject?

Returns Sets the initial date of the real time clock.,Valid format for date are C(‘now’) or C(‘2016-09-25T16:01:21’) or C(‘2016-09-25’).

Returns:

  • (Object, nil)

    Sets the initial date of the real time clock.,Valid format for date are C(‘now’) or C(‘2016-09-25T16:01:21’) or C(‘2016-09-25’).



211
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 211

attribute :startdate

#startupObject?

Returns Startup and shutdown behavior. C([d+] [,up=d+] [,down=d+]).,Order is a non-negative number defining the general startup order.,Shutdown in done with reverse ordering.

Returns:

  • (Object, nil)

    Startup and shutdown behavior. C([d+] [,up=d+] [,down=d+]).,Order is a non-negative number defining the general startup order.,Shutdown in done with reverse ordering.



214
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 214

attribute :startup

#state:present, ...

Returns Indicates desired state of the instance.,If C(current), the current state of the VM will be fecthed. You can access it with C(results.status).

Returns:

  • (:present, :started, :absent, :stopped, :restarted, :current, nil)

    Indicates desired state of the instance.,If C(current), the current state of the VM will be fecthed. You can access it with C(results.status)



217
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 217

attribute :state

#storageString?

Returns Target storage for full clone.

Returns:

  • (String, nil)

    Target storage for full clone.



221
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 221

attribute :storage

#tabletString?

Returns Enables/disables the USB tablet device.

Returns:

  • (String, nil)

    Enables/disables the USB tablet device.



225
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 225

attribute :tablet

#targetObject?

Returns Target node. Only allowed if the original VM is on shared storage.,Used only with clone.

Returns:

  • (Object, nil)

    Target node. Only allowed if the original VM is on shared storage.,Used only with clone



229
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 229

attribute :target

#tdfObject?

Returns Enables/disables time drift fix.

Returns:

  • (Object, nil)

    Enables/disables time drift fix.



232
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 232

attribute :tdf

#templateString?

Returns Enables/disables the template.

Returns:

  • (String, nil)

    Enables/disables the template.



235
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 235

attribute :template

#timeoutInteger?

Returns Timeout for operations.

Returns:

  • (Integer, nil)

    Timeout for operations.



239
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 239

attribute :timeout

#updateString?

Returns If C(yes), the VM will be update with new value.,Cause of the operations of the API and security reasons, I have disabled the update of the following parameters,C(net, virtio, ide, sata, scsi). Per example updating C(net) update the MAC address and C(virtio) create always new disk…

Returns:

  • (String, nil)

    If C(yes), the VM will be update with new value.,Cause of the operations of the API and security reasons, I have disabled the update of the following parameters,C(net, virtio, ide, sata, scsi). Per example updating C(net) update the MAC address and C(virtio) create always new disk…



243
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 243

attribute :update

#validate_certsString?

Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.

Returns:

  • (String, nil)

    If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.



247
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 247

attribute :validate_certs

#vcpusInteger?

Returns Sets number of hotplugged vcpus.

Returns:

  • (Integer, nil)

    Sets number of hotplugged vcpus.



251
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 251

attribute :vcpus

#vga:std, ...

Returns Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option ‘std’ or ‘vmware’.

Returns:

  • (:std, :cirrus, :vmware, :qxl, :serial0, :serial1, :serial2, :serial3, :qxl2, :qxl3, :qxl4, nil)

    Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option ‘std’ or ‘vmware’.



255
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 255

attribute :vga

#virtioHash?

Returns A hash/dictionary of volume used as VIRTIO hard disk. C(virtio=‘“key”:“value”’).,Keys allowed are - C(virto) where 0 ≤ n ≤ 15.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).

Returns:

  • (Hash, nil)

    A hash/dictionary of volume used as VIRTIO hard disk. C(virtio=‘“key”:“value”’).,Keys allowed are - C(virto) where 0 ≤ n ≤ 15.,Values allowed are - C(“storage:size,format=value”).,C(storage) is the storage identifier where to create the disk.,C(size) is the size of the disk in GB.,C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).



259
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 259

attribute :virtio

#vmidInteger?

Returns Specifies the VM ID. Instead use I(name) parameter.,If vmid is not set, the next available VM ID will be fetched from ProxmoxAPI.

Returns:

  • (Integer, nil)

    Specifies the VM ID. Instead use I(name) parameter.,If vmid is not set, the next available VM ID will be fetched from ProxmoxAPI.



263
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 263

attribute :vmid

#watchdogObject?

Returns Creates a virtual hardware watchdog device.

Returns:

  • (Object, nil)

    Creates a virtual hardware watchdog device.



267
# File 'lib/ansible/ruby/modules/generated/cloud/misc/proxmox_kvm.rb', line 267

attribute :watchdog