From 78e39cceec833793383269ee07b880a4d3e8e82a Mon Sep 17 00:00:00 2001 From: Michal-Leszczynski <74614433+Michal-Leszczynski@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:08:06 +0100 Subject: [PATCH] feat(swagger): add new restore flags to restore target (#4084) --- .../gen/scylla-manager/models/restore_target.go | 12 ++++++++++++ v3/swagger/scylla-manager.json | 15 +++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/v3/swagger/gen/scylla-manager/models/restore_target.go b/v3/swagger/gen/scylla-manager/models/restore_target.go index 6fcd07fb1b..f8024c7a3a 100644 --- a/v3/swagger/gen/scylla-manager/models/restore_target.go +++ b/v3/swagger/gen/scylla-manager/models/restore_target.go @@ -18,6 +18,9 @@ import ( // swagger:model RestoreTarget type RestoreTarget struct { + // allow compaction + AllowCompaction bool `json:"allow_compaction,omitempty"` + // batch size BatchSize int64 `json:"batch_size,omitempty"` @@ -30,15 +33,24 @@ type RestoreTarget struct { // parallel Parallel int64 `json:"parallel,omitempty"` + // rate limit + RateLimit []string `json:"rate_limit"` + // size Size int64 `json:"size,omitempty"` // snapshot tag SnapshotTag string `json:"snapshot_tag,omitempty"` + // transfers + Transfers int64 `json:"transfers,omitempty"` + // units Units []*RestoreUnit `json:"units"` + // unpin agent cpu + UnpinAgentCPU bool `json:"unpin_agent_cpu,omitempty"` + // views Views []*RestoreView `json:"views"` } diff --git a/v3/swagger/scylla-manager.json b/v3/swagger/scylla-manager.json index d344d50c05..fc2fd047ac 100644 --- a/v3/swagger/scylla-manager.json +++ b/v3/swagger/scylla-manager.json @@ -704,6 +704,21 @@ }, "parallel": { "type": "integer" + }, + "transfers": { + "type": "integer" + }, + "rate_limit": { + "type": "array", + "items": { + "type": "string" + } + }, + "allow_compaction": { + "type": "boolean" + }, + "unpin_agent_cpu": { + "type": "boolean" } } },