|
20 | 20 | @click.option('--new-iops', '-i',
|
21 | 21 | type=int,
|
22 | 22 | help='Performance Storage IOPS, between 100 and 6000 in multiples of 100 [only for performance volumes] '
|
23 |
| - '***If no IOPS value is specified, the original IOPS value of the volume will be used.***\n' |
24 |
| - 'Requirements: [If original IOPS/GB for the volume is less than 0.3, new IOPS/GB must also be ' |
25 |
| - 'less than 0.3. If original IOPS/GB for the volume is greater than or equal to 0.3, new IOPS/GB ' |
26 |
| - 'for the volume must also be greater than or equal to 0.3.]') |
| 23 | + '***If no IOPS value is specified, the original IOPS value of the volume will be used.***') |
27 | 24 | @click.option('--new-tier', '-t',
|
28 |
| - help='Endurance Storage Tier (IOPS per GB) [only for endurance volumes] ' |
29 |
| - '***If no tier is specified, the original tier of the volume will be used.***\n' |
30 |
| - 'Requirements: [If original IOPS/GB for the volume is 0.25, new IOPS/GB for the volume must also ' |
31 |
| - 'be 0.25. If original IOPS/GB for the volume is greater than 0.25, new IOPS/GB for the volume ' |
32 |
| - 'must also be greater than 0.25.]', |
| 25 | + help='Endurance Storage Tier (IOPS per GB) [only for endurance volumes] Classic Choices: ' |
| 26 | + '***If no tier is specified, the original tier of the volume will be used.***', |
33 | 27 | type=click.Choice(['0.25', '2', '4', '10']))
|
34 | 28 | @environment.pass_env
|
35 | 29 | def cli(env, volume_id, new_size, new_iops, new_tier):
|
36 |
| - """Modify an existing block storage volume. |
| 30 | + """Modify an existing block storage volume. Choices. |
| 31 | +
|
| 32 | + Valid size and iops options can be found here: |
| 33 | + https://cloud.ibm.com/docs/BlockStorage/index.html#provisioning-considerations |
| 34 | + https://cloud.ibm.com/docs/BlockStorage?topic=BlockStorage-orderingBlockStorage&interface=cli |
37 | 35 |
|
38 | 36 | Example::
|
| 37 | +
|
39 | 38 | slcli block volume-modify 12345678 --new-size 1000 --new-iops 4000
|
40 | 39 | This command modify a volume 12345678 with size is 1000GB, IOPS is 4000.
|
41 | 40 |
|
|
0 commit comments