Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rdb): add Block Storage feature for RDB #1468

Merged
merged 2 commits into from
Oct 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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