proxmox-backup-client: add missing prune options to api definition.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
Christian Ebner 2020-01-29 16:34:07 +01:00 committed by Dietmar Maurer
parent 93fbb4ef0a
commit 74616f63b0

View File

@ -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,
},
}
}
)]