Skip to content

Commit d964566

Browse files
authored
feat(instance): add base_volume_id filter on ListSnapshotsRequest (#3370)
1 parent 7be7579 commit d964566

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

cmd/scw/testdata/test-all-usage-instance-snapshot-list-usage.golden

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ARGS:
1616
[name]
1717
[project-id]
1818
[tags]
19+
[base-volume-id]
1920
[organization-id]
2021
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | fr-par-3 | nl-ams-1 | nl-ams-2 | nl-ams-3 | pl-waw-1 | pl-waw-2 | pl-waw-3 | all)
2122

docs/commands/instance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2604,6 +2604,7 @@ scw instance snapshot list [arg=value ...]
26042604
| name | | |
26052605
| project-id | | |
26062606
| tags | | |
2607+
| base-volume-id | | |
26072608
| organization-id | | |
26082609
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `fr-par-3`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config |
26092610

internal/namespaces/instance/v1/instance_cli.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,12 @@ func instanceSnapshotList() *core.Command {
13511351
Deprecated: false,
13521352
Positional: false,
13531353
},
1354+
{
1355+
Name: "base-volume-id",
1356+
Required: false,
1357+
Deprecated: false,
1358+
Positional: false,
1359+
},
13541360
{
13551361
Name: "organization",
13561362
Required: false,

0 commit comments

Comments
 (0)