Suggested-by: Thomas Lamprecht <t.lampre...@proxmox.com> Signed-off-by: Daniel Kral <d.k...@proxmox.com> --- src/PVE/API2/HA/Rules.pm | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/PVE/API2/HA/Rules.pm b/src/PVE/API2/HA/Rules.pm index b180d2ed..d797f621 100644 --- a/src/PVE/API2/HA/Rules.pm +++ b/src/PVE/API2/HA/Rules.pm @@ -223,6 +223,8 @@ __PACKAGE__->register_method({ rule => get_standard_option('pve-ha-rule-id'), type => { type => 'string', + description => "HA rule type.", + enum => PVE::HA::Rules->lookup_types(), }, }, }, -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel