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 {