mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 18:42:58 +00:00
* fix(cluster): inconsistencies in applying cluster options Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> * address review comments Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --------- Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
3.4 KiB
3.4 KiB
layout | title | parent | subcategory | description |
---|---|---|---|---|
page | proxmox_virtual_environment_cluster_options | Resources | Virtual Environment | Manages Proxmox VE Cluster Datacenter options. |
Resource: proxmox_virtual_environment_cluster_options
Manages Proxmox VE Cluster Datacenter options.
Example Usage
resource "proxmox_virtual_environment_cluster_options" "options" {
language = "en"
keyboard = "pl"
email_from = "ged@gont.earthsea"
bandwidth_limit_migration = 555555
bandwidth_limit_default = 666666
max_workers = 5
migration_cidr = "10.0.0.0/8"
migration_type = "secure"
}
Schema
Optional
bandwidth_limit_clone
(Number) Clone I/O bandwidth limit in KiB/s.bandwidth_limit_default
(Number) Default I/O bandwidth limit in KiB/s.bandwidth_limit_migration
(Number) Migration I/O bandwidth limit in KiB/s.bandwidth_limit_move
(Number) Move I/O bandwidth limit in KiB/s.bandwidth_limit_restore
(Number) Restore I/O bandwidth limit in KiB/s.console
(String) Select the default Console viewer. Must beapplet
|vv
|html5
|xtermjs
. You can either use the builtin java applet (VNC; deprecated and maps to html5), an external virt-viewer compatible application (SPICE), an HTML5 based vnc viewer (noVNC), or an HTML5 based console client (xtermjs). If the selected viewer is not available (e.g. SPICE not activated for the VM), the fallback is noVNC.crs_ha
(String) Cluster resource scheduling setting for HA. Must bestatic
|basic
(default isbasic
).crs_ha_rebalance_on_start
(Boolean) Cluster resource scheduling setting for HA rebalance on start.description
(String) Datacenter description. Shown in the web-interface datacenter notes panel. This is saved as comment inside the configuration file.email_from
(String) email address to send notification from (default is root@$hostname).ha_shutdown_policy
(String) Cluster wide HA shutdown policy (). Must befreeze
|failover
|migrate
|conditional
(default isconditional
).http_proxy
(String) Specify external http proxy which is used for downloads (example:http://username:password@host:port/
).keyboard
(String) Default keyboard layout for vnc server. Must bede
|de-ch
|da
|en-gb
|en-us
|es
|fi
|fr
|fr-be
|fr-ca
|fr-ch
|hu
|is
|it
|ja
|lt
|mk
|nl
|no
|pl
|pt
|pt-br
|sv
|sl
|tr
.language
(String) Default GUI language. Must beca
|da
|de
|en
|es
|eu
|fa
|fr
|he
|it
|ja
|nb
|nn
|pl
|pt_BR
|ru
|sl
|sv
|tr
|zh_CN
|zh_TW
.mac_prefix
(String) Prefix for autogenerated MAC addresses.max_workers
(Number) Defines how many workers (per node) are maximal started on actions like 'stopall VMs' or task from the ha-manager.migration_cidr
(String) Cluster wide migration network CIDR.migration_type
(String) Cluster wide migration type. Must besecure
|unsecure
(default issecure
).
Read-Only
id
(String) The unique identifier of this resource.
Import
Import is supported using the following syntax:
#!/usr/bin/env sh
# Cluster options are global and can be imported using e.g.:
terraform import proxmox_virtual_environment_cluster_options.options cluster