Skip to content

Commit

Permalink
feat(rdb): add Block Storage feature for RDB (#1468)
Browse files Browse the repository at this point in the history
Co-authored-by: Rémy Léone <[email protected]>
  • Loading branch information
scaleway-bot and remyleone authored Oct 12, 2020
1 parent 5ad7a4f commit c1d3f66
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ ARGS:
[tags.{index}] Tags to apply to the instance
[init-settings.{index}.name]
[init-settings.{index}.value]
[volume-type] Type of volume where data are stored (lssd, bssd, ...) (lssd | bssd)
[volume-size] Volume size when volume_type is not lssd
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | nl-ams)

Expand Down
15 changes: 15 additions & 0 deletions internal/namespaces/rdb/v1/rdb_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,21 @@ func rdbInstanceCreate() *core.Command {
Deprecated: false,
Positional: false,
},
{
Name: "volume-type",
Short: `Type of volume where data are stored (lssd, bssd, ...)`,
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{"lssd", "bssd"},
},
{
Name: "volume-size",
Short: `Volume size when volume_type is not lssd`,
Required: false,
Deprecated: false,
Positional: false,
},
core.OrganizationIDArgSpec(),
core.RegionArgSpec(scw.RegionFrPar, scw.RegionNlAms),
},
Expand Down

0 comments on commit c1d3f66

Please sign in to comment.