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

Example text and some features are missing slcli block volume-cancel, slcli block volume-duplicate, lcli block volume-duplicate #2015

Closed
ramkishor-ch opened this issue Jul 12, 2023 · 0 comments · Fixed by #2061
Assignees

Comments

@ramkishor-ch
Copy link
Contributor

1
a. Should add Example.
EXAMPLE:
slcli block volume-cancel 12345678 --immediate -f
This command cancels volume with ID 12345678 immediately and without asking for confirmation.
b. Should add option: --force
-f, --force Force operation without confirmation

Expected:

./slcli block volume-cancel --help 
Usage: slcli block volume-cancel [OPTIONS] VOLUME_ID

EXAMPLE:
   slcli block volume-cancel 12345678 --immediate -f 
   This command cancels volume with ID 12345678 immediately and without asking for confirmation.

        Cancel an existing block storage volume.

┌────┬─────────────┬────────────────────────────────────────────────────────────────────────────────────┐
│    │ volume-id   │                                                                                    │
│ -f │ --force     │       Force operation without confirmation                                         │  
│    │ --reason    │ An optional reason for cancellation                                                │
│    │ --immediate │ Cancels the block storage volume immediately instead of on the billing anniversary │
│ -h │ --help      │ Show this message and exit.                                                        │
└────┴─────────────┴────────────────────────────────────────────────────────────────────────────────────┘
  1. ./slcli block volume-duplicate
    Should add Example.
    EXAMPLE:
    ${COMMAND_NAME} sl block volume-duplicate 12345678
    This command shows order a new volume by duplicating the volume with ID 12345678.

Expected:

./slcli block volume-duplicate --help
Usage: slcli block volume-duplicate [OPTIONS] ORIGIN_VOLUME_ID

EXAMPLE:
   slcli block volume-duplicate 12345678 
   This command shows order a new volume by duplicating the volume with ID 12345678.

        Order a duplicate block storage volume.

┌────┬───────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ origin-volume-id          │                                                                                                                         │
│ -o │ --origin-snapshot-id      │ ID of an origin volume snapshot to use for duplcation.                                                                  │
│ -c │ --duplicate-size          │ Size of duplicate block volume in GB. ***If no size is specified, the size of the origin volume will be used.***        │
│    │                           │ Potential Sizes: [20, 40, 80, 100, 250, 500, 1000, 2000, 4000, 8000, 12000] Minimum: [the size of the origin volume]    │
│ -i │ --duplicate-iops          │ Performance Storage IOPS, between 100 and 6000 in multiples of 100 [only used for performance volumes] ***If no IOPS    │
│    │                           │ value is specified, the IOPS value of the origin volume will be used.***                                                │
│    │                           │ Requirements: [If IOPS/GB for the origin volume is less than 0.3, IOPS/GB for the duplicate must also be less than 0.3. │
│    │                           │ If IOPS/GB for the origin volume is greater than or equal to 0.3, IOPS/GB for the duplicate must also be greater than   │
│    │                           │ or equal to 0.3.]                                                                                                       │
│ -t │ --duplicate-tier          │ Endurance Storage Tier (IOPS per GB) [only used for endurance volumes] ***If no tier is specified, the tier of the      │
│    │                           │ origin volume will be used.***                                                                                          │
│    │                           │ Requirements: [If IOPS/GB for the origin volume is 0.25, IOPS/GB for the duplicate must also be 0.25. If IOPS/GB for    │
│    │                           │ the origin volume is greater than 0.25, IOPS/GB for the duplicate must also be greater than 0.25.] Choices: 0.25, 2, 4, │
│    │                           │ 10                                                                                                                      │
│ -s │ --duplicate-snapshot-size │ The size of snapshot space to order for the duplicate. ***If no snapshot space size is specified, the snapshot space    │
│    │                           │ size of the origin block volume will be used.***                                                                        │
│    │                           │ Input "0" for this parameter to order a duplicate volume with no snapshot space.                                        │
│    │ --billing                 │ Optional parameter for Billing rate (default to monthly) Choices: hourly, monthly                                       │
│    │ --dependent-duplicate     │ Whether or not this duplicate will be a dependent duplicate of the origin volume.  [default: False]                     │
│ -h │ --help                    │ Show this message and exit.                                                                                             │
└────┴───────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. ./slcli block volume-duplicate --help
    Should add Example.

EXAMPLE:
slcli block volume-duplicate 12345678
This command shows order a new volume by duplicating the volume with ID 12345678.

Expected:

./slcli block volume-duplicate --help
Usage: slcli block volume-duplicate [OPTIONS] ORIGIN_VOLUME_ID

EXAMPLE:
   slcli block volume-duplicate 12345678 
   This command shows order a new volume by duplicating the volume with ID 12345678.

        Order a duplicate block storage volume.

┌────┬───────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ origin-volume-id          │                                                                                                                         │
│ -o │ --origin-snapshot-id      │ ID of an origin volume snapshot to use for duplcation.                                                                  │
│ -c │ --duplicate-size          │ Size of duplicate block volume in GB. ***If no size is specified, the size of the origin volume will be used.***        │
│    │                           │ Potential Sizes: [20, 40, 80, 100, 250, 500, 1000, 2000, 4000, 8000, 12000] Minimum: [the size of the origin volume]    │
│ -i │ --duplicate-iops          │ Performance Storage IOPS, between 100 and 6000 in multiples of 100 [only used for performance volumes] ***If no IOPS    │
│    │                           │ value is specified, the IOPS value of the origin volume will be used.***                                                │
│    │                           │ Requirements: [If IOPS/GB for the origin volume is less than 0.3, IOPS/GB for the duplicate must also be less than 0.3. │
│    │                           │ If IOPS/GB for the origin volume is greater than or equal to 0.3, IOPS/GB for the duplicate must also be greater than   │
│    │                           │ or equal to 0.3.]                                                                                                       │
│ -t │ --duplicate-tier          │ Endurance Storage Tier (IOPS per GB) [only used for endurance volumes] ***If no tier is specified, the tier of the      │
│    │                           │ origin volume will be used.***                                                                                          │
│    │                           │ Requirements: [If IOPS/GB for the origin volume is 0.25, IOPS/GB for the duplicate must also be 0.25. If IOPS/GB for    │
│    │                           │ the origin volume is greater than 0.25, IOPS/GB for the duplicate must also be greater than 0.25.] Choices: 0.25, 2, 4, │
│    │                           │ 10                                                                                                                      │
│ -s │ --duplicate-snapshot-size │ The size of snapshot space to order for the duplicate. ***If no snapshot space size is specified, the snapshot space    │
│    │                           │ size of the origin block volume will be used.***                                                                        │
│    │                           │ Input "0" for this parameter to order a duplicate volume with no snapshot space.                                        │
│    │ --billing                 │ Optional parameter for Billing rate (default to monthly) Choices: hourly, monthly                                       │
│    │ --dependent-duplicate     │ Whether or not this duplicate will be a dependent duplicate of the origin volume.  [default: False]                     │
│ -h │ --help                    │ Show this message and exit.                                                                                             │
└────┴───────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
JayasilanJibm pushed a commit that referenced this issue Aug 4, 2023
Example text and some features for slcli block volume-cancel, slcli block volume-duplicate command
@JayasilanJibm JayasilanJibm self-assigned this Aug 4, 2023
allmightyspiff added a commit that referenced this issue Aug 8, 2023
Example text and some features for slcli block volume-cancel, slcli block volume-duplicate command #2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants