icmcli list snapshots

AI Tools

Lists all snapshots.

Synopsis

Lists all snapshots.

icmcli list snapshots [flags]

Examples

#list all snapshots: icmcli list snapshots

Flag

Short

Type

Default

Description

--help

-h

bool


Help for snapshots.

--limit


int64


Limits the number of snapshots in the response.

--offset-uuid


string


When provided, the returned list starts with next to offset-uuid snapshot.

--project-name


string


The project this snapshot belongs to.

--show-all


bool


Show all snapshots, not just the active ones.

Response Type

Returns a list of Snapshot objects. Each object has the following fields:

Field

Type

Description

state

StateEnum


UUID

string


name

string


description

string


creationTime

string


retentionTime

string


sourceVolumeUUID

string


sourceVolumeName

string


replicaCount

integer


nodeList

array


nsid

integer


acl

StringList


compression

boolean


size

string


IPAcl

StringList


sectorSize

integer


statistics

SnapshotStatisticsApi


ETag

string


projectName

string


primaryNodeUUID

string


labels

array

Once a snapshot is taken, the volume's labels are copied to the snapshot. Once a clone is created, if the user does not pass new labels on clone creation, the cloned volume labels are copied from the source snapshot labels.

clusterId

string

The ID of the cluster where the snapshot resides.