vinfra service compute volume snapshot set
Modify volume snapshot parameters:
usage: vinfra service compute volume snapshot set [--description <description>] [--name <name>] <volume-snapshot>
--description <description>
- Volume snapshot description
--name <name>
- A new name for the volume snapshot
<volume-snapshot>
- Volume snapshot ID or name
Example:
# vinfra service compute volume snapshot set mysnapshot --name mynewsnapshot +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2019-04-30T13:12:54.297629+00:00 | | description | | | id | 3fdfe5d6-8bd2-4bf5-8599-a9cef50e5b71 | | metadata | {} | | name | mynewsnapshot | | project_id | fd0ae61496d04ef6bb637bc3167b7eaf | | size | 8 | | status | available | | volume_id | 92dc3bd7-713d-42bf-83cd-4de40c24fed9 | +-------------+--------------------------------------+
This command changes the name of the volume snapshot mysnapshot
to mynewsnapshot
.