icmcli update volume

AI Tools

Updates an existing volume.

Synopsis

Updates an existing volume. Specify either --name or --uuid, but not both. At least a single volume parameter must be updated.

icmcli update volume [flags]

Examples

#update a volume in project: "proj" with volume name: "vol", to new maximum capacity: "20 Gib": icmcli update volume --project-name proj --name vol --size 20Gib #update a volume in project: "proj" with volume uuid: "u-u-i-d", to a new acl: "new-acl": icmcli update volume --project-name proj --uuid u-u-i-d --acl new-acl

Flag

Short

Type

Default

Description

--acl


stringSlice


ACL assigned to the volume.

--compression


string


Compression mode, values: 'true'/'false'.

--etag


string


An opaque identifier allowing a client to make conditional volume requests.

--force


bool


Force volume shrink. This must be set in order intentionally shrink volume size.

--help

-h

bool


Help for volume.

--ip-acl


stringSlice


IP Address ACL assigned to the volume.

--name


string


Volume name.

--project-name


string


The project this volume belongs to.

--size


string


Volume maximal capacity in human readable format (e.g., 3gib, 1024mib).

--uuid


string


Volume UUID.