File tree 3 files changed +10
-9
lines changed
internal/namespaces/instance/v1
3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ EXAMPLES:
16
16
scw instance volume create volume-type=l_ssd base-volume=00112233-4455-6677-8899-aabbccddeeff
17
17
18
18
ARGS:
19
- [name] The volume name
20
- [project-id] Project ID to use. If none is passed the default project ID will be used
21
- [volume-type] The volume type (l_ssd | b_ssd)
22
- [size] The volume disk size
23
- [base-volume] The ID of the volume on which this volume will be based
24
- [base-snapshot] The ID of the snapshot on which this volume will be based
25
- [organization-id] Organization ID to use. If none is passed the default organization ID will be used
26
- [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | pl-waw-1)
19
+ [name=<generated>] The volume name
20
+ [project-id] Project ID to use. If none is passed the default project ID will be used
21
+ [volume-type] The volume type (l_ssd | b_ssd)
22
+ [size] The volume disk size
23
+ [base-volume] The ID of the volume on which this volume will be based
24
+ [base-snapshot] The ID of the snapshot on which this volume will be based
25
+ [organization-id] Organization ID to use. If none is passed the default organization ID will be used
26
+ [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | pl-waw-1)
27
27
28
28
FLAGS:
29
29
-h, --help help for create
Original file line number Diff line number Diff line change @@ -2222,7 +2222,7 @@ scw instance volume create [arg=value ...]
2222
2222
2223
2223
| Name | | Description |
2224
2224
| ------| ---| -------------|
2225
- | name | | The volume name |
2225
+ | name | Default: ` <generated> ` | The volume name |
2226
2226
| project-id | | Project ID to use. If none is passed the default project ID will be used |
2227
2227
| volume-type | One of: ` l_ssd ` , ` b_ssd ` | The volume type |
2228
2228
| size | | The volume disk size |
Original file line number Diff line number Diff line change @@ -1470,6 +1470,7 @@ func instanceVolumeCreate() *core.Command {
1470
1470
Required : false ,
1471
1471
Deprecated : false ,
1472
1472
Positional : false ,
1473
+ Default : core .RandomValueGenerator ("vol" ),
1473
1474
},
1474
1475
core .ProjectArgSpec (),
1475
1476
{
You can’t perform that action at this time.
0 commit comments