Skip to content

Commit c1d3f66

Browse files
feat(rdb): add Block Storage feature for RDB (#1468)
Co-authored-by: Rémy Léone <[email protected]>
1 parent 5ad7a4f commit c1d3f66

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

cmd/scw/testdata/test-all-usage-rdb-instance-create-usage.golden

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ ARGS:
1717
[tags.{index}] Tags to apply to the instance
1818
[init-settings.{index}.name]
1919
[init-settings.{index}.value]
20+
[volume-type] Type of volume where data are stored (lssd, bssd, ...) (lssd | bssd)
21+
[volume-size] Volume size when volume_type is not lssd
2022
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
2123
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams)
2224

internal/namespaces/rdb/v1/rdb_cli.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,21 @@ func rdbInstanceCreate() *core.Command {
773773
Deprecated: false,
774774
Positional: false,
775775
},
776+
{
777+
Name: "volume-type",
778+
Short: `Type of volume where data are stored (lssd, bssd, ...)`,
779+
Required: false,
780+
Deprecated: false,
781+
Positional: false,
782+
EnumValues: []string{"lssd", "bssd"},
783+
},
784+
{
785+
Name: "volume-size",
786+
Short: `Volume size when volume_type is not lssd`,
787+
Required: false,
788+
Deprecated: false,
789+
Positional: false,
790+
},
776791
core.OrganizationIDArgSpec(),
777792
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms),
778793
},

0 commit comments

Comments
 (0)