proxmox-backup-client: add missing prune options to api definition.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
93fbb4ef0a
commit
74616f63b0
@ -1392,6 +1392,42 @@ async fn upload_log(param: Value) -> Result<Value, Error> {
|
||||
description: "Just show what prune would do, but do not delete anything.",
|
||||
optional: true,
|
||||
},
|
||||
"keep-last": {
|
||||
type: Integer,
|
||||
description: "Number of backups to keep.",
|
||||
optional: true,
|
||||
minimum: 1,
|
||||
},
|
||||
"keep-hourly": {
|
||||
type: Integer,
|
||||
description: "Number of hourly backups to keep.",
|
||||
optional: true,
|
||||
minimum: 1,
|
||||
},
|
||||
"keep-daily": {
|
||||
type: Integer,
|
||||
description: "Number of daily backups to keep.",
|
||||
optional: true,
|
||||
minimum: 1,
|
||||
},
|
||||
"keep-monthly": {
|
||||
type: Integer,
|
||||
description: "Number of monthly backups to keep.",
|
||||
optional: true,
|
||||
minimum: 1,
|
||||
},
|
||||
"keep-weekly": {
|
||||
type: Integer,
|
||||
description: "Number of weekly backups to keep.",
|
||||
optional: true,
|
||||
minimum: 1,
|
||||
},
|
||||
"keep-yearly": {
|
||||
type: Integer,
|
||||
description: "Number of yearly backups to keep.",
|
||||
optional: true,
|
||||
minimum: 1,
|
||||
},
|
||||
}
|
||||
}
|
||||
)]
|
||||
|
Loading…
Reference in New Issue
Block a user