Skip to content

Example and some sub features are missing in slcli file volume-cancel, slcli file volume-duplicate, slcli file volume-limits  #2029

Closed
@ramkishor-ch

Description

@ramkishor-ch
  1. slcli file volume-cancel
    a. Example was missing, please add it.
    EXAMPLE:
    slcli file volume-cancel 12345678 --immediate -f
    This command cancels volume with ID 12345678 immediately and without asking for confirmation.

b. Options: --force was missing, please add it.
Options:
--force Force operation without confirmation

Expected:

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

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

        Cancel an existing file storage volume.

┌────┬─────────────┬───────────────────────────────────────────────────────────────────────────────────┐
│    │ volume-id   │                                                                                   │
│    │ --reason    │ An optional reason for cancellation                                               │
│    │ --immediate │ Cancels the file storage volume immediately instead of on the billing anniversary │
│ -h │ --help      │ Show this message and exit.                                                       │
│ -f │ --force      │ Force operation without confirmation                                                     │
└────┴─────────────┴───────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file volume-duplicate
    a. Example was missing, please add it.
    EXAMPLE:
    slcli file volume-duplicate 12345678
    This command shows order a new volume by duplicating the volume with ID 12345678.
    b. Options: --force was missing, please add it.
    -f, --force Force operation without confirmation

Expected:

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

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

        Order a duplicate file 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 file volume in GB. ***If no size is specified, the size of the origin volume will be used.***             │
│    │                           │ 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 file 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 duplicateof the origin volume.  [default: False]                          │
│ -h │ --help                    │ Show this message and exit.                                                                                                 │
└────┴───────────────────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  1. slcli file volume-limits
    Example was missing, please add it.
    EXAMPLE:
    slcli file volume-limits
    This command lists the storage limits per datacenter for this account.

Expected:

./slcli file volume-limits --help   
Usage: slcli file volume-limits [OPTIONS]

EXAMPLE:
        slcli file volume-limits
        This command lists the storage limits per datacenter for this account.

        List number of block storage volumes limit per datacenter.

┌────┬──────────────┬─────────────────────────────┐
│    │ --sortby     │ Column to sort by           │
│ -d │ --datacenter │ Filter by datacenter        │
│ -h │ --help       │ Show this message and exit. │
└────┴──────────────┴─────────────────────────────┘

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions