From 858c5889f10c23afa93d63aa0c207e4ab7791391 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Fri, 24 Apr 2026 17:54:13 +0000 Subject: [PATCH] update backup type with per instance and total backup count max --- access-types.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/access-types.go b/access-types.go index 1ab1fb2..efb2a4c 100644 --- a/access-types.go +++ b/access-types.go @@ -8,7 +8,7 @@ type Pool struct { Templates Templates `json:"templates"` AllowedNodes map[string]bool `json:"nodes-allowed"` VMIDRange VMID `json:"vmid-allowed"` - Backups Backups `json:"backups-allowed"` // measured in numbers + Backups Backups `json:"backups-allowed"` } // proxmox typically formats as gid-realm for non pve realms @@ -44,7 +44,8 @@ type VMID struct { } type Backups struct { - Max int `json:"max"` + MaxPerInstance int `json:"max-per-instance"` + MaxTotal int `json:"max-total"` } type Templates struct {