0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 11:02:59 +00:00
terraform-provider-proxmox/docs/resources
Sven Greb 2eb36f4134
feat(cluster): Extend the available attributes for the proxmox_virtual_environment_cluster_options resource (#1241)
This commit implements the `next-id` and `notify` PVE API cluster
options.

The `next-id` attribute allows to control the range for the next free
VM ID. It is implemented as object and can be used in the
`proxmox_virtual_environment_cluster_options` resource and can be used
like this:

```terraform
resource "proxmox_virtual_environment_cluster_options" "options" {
  next_id = {
    lower = 200
    upper = 299
  }
}
```

Note that the minimum and maximum values are unfortunately not
documented in the PVE API explorer but can be found in the web UI where
the form fields have validations!

The `notify` PVE API attribute is also an object that has all the PVE
API fields:

```terraform
resource "proxmox_virtual_environment_cluster_options" "options" {
  notify = {
    ha_fencing_mode            = "never"
    ha_fencing_target          = "default-matcher"
    package_updates            = "always"
    package_updates_target     = "default-matcher"
    package_replication        = "always"
    package_replication_target = "default-matcher"
  }
}
```terraform

Note that the "fencing" attribute names have been adjusted to better
reflect their meaning since they are scoped to the Proxmox VE HA fencing
feature [1]. All attributes with the `_target` suffix are names for the
Proxmox VE notifications matchers [2].

[1]: https://pve.proxmox.com/wiki/Fencing
[2]: https://pve.proxmox.com/pve-docs/chapter-notifications.html#notification_matchers

---------

Signed-off-by: Sven Greb <development@svengreb.de>
2024-04-29 20:08:44 -04:00
..
virtual_environment_certificate.md chore(docs): remove static website generator with ruby dependencies (#929) 2024-01-18 03:21:50 +00:00
virtual_environment_cluster_firewall_security_group.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_cluster_firewall.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_cluster_options.md feat(cluster): Extend the available attributes for the proxmox_virtual_environment_cluster_options resource (#1241) 2024-04-29 20:08:44 -04:00
virtual_environment_container.md fix(vm,lxc,file): improve timeouts handling (#1222) 2024-04-19 12:38:16 -04:00
virtual_environment_dns.md chore(docs): remove static website generator with ruby dependencies (#929) 2024-01-18 03:21:50 +00:00
virtual_environment_download_file.md feat(file): add overwrite_unmanaged attribute to virtual_environment_download_file resource (#1064) 2024-02-25 21:33:17 -05:00
virtual_environment_file.md chore(docs): minor documentation updates (#1200) 2024-04-10 02:07:22 +00:00
virtual_environment_firewall_alias.md chore(docs): remove static website generator with ruby dependencies (#929) 2024-01-18 03:21:50 +00:00
virtual_environment_firewall_ipset.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_firewall_options.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_firewall_rules.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_group.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_hagroup.md feat(cluster): add cluster options resource (#548) 2023-09-12 07:49:03 -04:00
virtual_environment_hardware_mapping_pci.md feat(cluster): Implement initial support for "hardware mappings" (#1213) 2024-04-18 16:00:51 -04:00
virtual_environment_hardware_mapping_usb.md feat(cluster): Implement initial support for "hardware mappings" (#1213) 2024-04-18 16:00:51 -04:00
virtual_environment_haresource.md feat(cluster): add cluster options resource (#548) 2023-09-12 07:49:03 -04:00
virtual_environment_hosts.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_network_linux_bridge.md feat(docs): add initial mini-howtos for VM (#730) 2023-11-28 12:38:47 -05:00
virtual_environment_network_linux_vlan.md feat(docs): add initial mini-howtos for VM (#730) 2023-11-28 12:38:47 -05:00
virtual_environment_pool.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_role.md chore(docs): remove static website generator with ruby dependencies (#929) 2024-01-18 03:21:50 +00:00
virtual_environment_time.md chore(docs): remove static website generator with ruby dependencies (#929) 2024-01-18 03:21:50 +00:00
virtual_environment_user.md fix(docs): Inconsistent indentations in docs (#961) 2024-01-26 20:25:51 -05:00
virtual_environment_vm2.md chore(vm2): experimental support for clone and inherited attributes (#1235) 2024-04-24 02:00:11 +00:00
virtual_environment_vm.md fix(vm,lxc,file): improve timeouts handling (#1222) 2024-04-19 12:38:16 -04:00