Skip to content

[Feature]: Harmonize command names and add retype feature for block storage volumes #126

@NedraEBD

Description

@NedraEBD

Is there an existing issue for this?

  • I have searched the existing issues

Product concerned

Block Storage

Feature description

The OVHcloud CLI commands for managing block storage volumes have inconsistent naming between Manager/API and lack a retype feature ( edit --type) .

This issue aims to address these points by:

1- Adding the retype command for volumes  : edit <volumeId> --type <newType>
2- Renaming existing commands to harmonize them with the Manager and API
        cloud storage-block create <region> [flags]
        cloud storage-block edit <volume_id>
        cloud storage-block delete <volume_id>
        cloud storage-block upsize <volume_id> <new_size (GB)>
        cloud storage-block list [flags]
        cloud storage-block get <volume_id>
        cloud storage-block attach <volume_id> <instance_id> [flags]
        cloud storage-block detach <volume_id> <instance_id> [flags]
        cloud storage-block snapshot create <volume_id> [flags]
       cloud storage-block snapshot delete <snapshot_id> [flags]
       cloud storage-block snapshot list [flags]
       cloud storage-block backup create <volume_id> <backup_name> [flags]
       cloud storage-block backup delete <backup_id> [flags]
       cloud storage-block create-from-backup <backup_id> <volume_name> [flags]
       cloud storage-block backup restore <backup_id> <volume_id> [flags]
       cloud storage-block backup list [flags]
       cloud storage-block backup get <backup_id> [flags]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Planned

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions