pcloud compute volumes list
List Volumes
Synopsis
List Volumes with details. If no –instance parameter is provided, list Volume(s) of Cloud Instance. If –instance parameter is provided, and if –affinity is not provided, list volumes attached to a VM Instance. If –instance parameter is provided, and if –affinity is provided, list volumes in affinity with a VM Instance. Volumes details are displayed with –long option. Volumes can be filtered out with –filter option. Output format depends on –format option.
pcloud compute volumes list [flags]
Options
-a, --affinity List volumes in affinity with a VM Instance (note that --instance must be set)
-f, --filter string Set search filter.
Filters can be any boolean expression built on Volume attributes from this list:
"AuxVolumeName BootVolume Bootable ConsistencyGroupName CreationDate DeleteOnTermination DiskType GroupID IoThrottleRate LastUpdateDate MasterVolumeName MirroringState Name PvmInstanceIDs ReplicationStatus Shareable Size State VolumeID VolumePool VolumeType Wwn"
-h, --help help for list
-i, --instance string Without -a option, VM Instance to see its attached volumes.
With -a option, VM Instance to see its affinity volumes.
(note that 'InstanceID' or 'InstanceName' can be used)
-l, --long Print detailed info of each Volume
Options inherited from parent commands
-F, --format string Available formats: 'table', 'yaml', 'json', 'csv'.
Default is command specific.
Can be used with describe and list subcommands.
-D, --log.dir string Override Log file directory
-L, --log.file string Override Log file name
-V, --verbosity string Override Log verbosity
SEE ALSO
- pcloud compute volumes - Volume management commands