@@ -315,12 +315,11 @@ type VolumeGroupSnapshotContentSpec struct {
315
315
// The VolumeSnapshotInfo struct is added in v1beta2
316
316
// VolumeSnapshotInfo contains information for a snapshot
317
317
type VolumeSnapshotInfo struct {
318
- // VolumeHandle is a unique id returned by the CSI driver to identify a volume
319
- // on the storage system
318
+ // VolumeHandle specifies the CSI "volume_id" of the volume from which this snapshot
319
+ // was taken from.
320
320
VolumeHandle string `json:"volumeHandle,omitempty" protobuf:"bytes,1,opt,name=volumeHandle"`
321
321
322
- // SnapshotHandle is a unique id returned by the CSI driver to identify a volume
323
- // snapshot on the storage system
322
+ // SnapshotHandle is the CSI "snapshot_id" of this snapshot on the underlying storage system.
324
323
SnapshotHandle string `json:"snapshotHandle,omitempty" protobuf:"bytes,2,opt,name=snapshotHandle"`
325
324
326
325
// creationTime is the timestamp when the point-in-time snapshot is taken
@@ -332,7 +331,8 @@ type VolumeSnapshotInfo struct {
332
331
// +optional
333
332
ReadyToUse * bool `json:"readyToUse,omitempty" protobuf:"varint,4,opt,name=readyToUse"`
334
333
335
- // RestoreSize represents the complete size of the snapshot in bytes.
334
+ // RestoreSize represents the minimum size of volume required to create a volume
335
+ // from this snapshot.
336
336
// +optional
337
337
RestoreSize * int64 `json:"restoreSize,omitempty" protobuf:"bytes,5,opt,name=restoreSize"`
338
338
}
0 commit comments