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.
cfcli update volume [flags]Examples:
x
#update a volume in project: "proj" with volume name: "vol", to new maximum capacity: "20 Gib":cfcli 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":cfcli update volume --project-name proj --uuid u-u-i-d --size new-acl| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| --help | -h | bool | Help for volume. | |
| --acl | stringSlice | The 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 | The force volume shrink. This must be set in order to intentionally shrink the volume size. | ||
| --ip-acl | stringSlice | The IP address ACL assigned to the volume. | ||
| --name | string | The volume name. | ||
| --project-name | string | The project name. | ||
| --size | string | The volume maximal capacity in human readable format (e.g., 3gib, 1024mib). | ||
| --uuid | string | The volume UUID. |
Was this page helpful?