update backup type with per instance and total backup count max
This commit is contained in:
+3
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user