@@ -60,23 +60,25 @@ spec:
60
60
same as the name returned by the CSI GetPluginName() call for that
61
61
driver. Required.
62
62
type : string
63
- snapshotClassName :
64
- description : name of the SnapshotClass to which this snapshot belongs.
65
- type : string
66
63
source :
67
64
description : source specifies from where a snapshot will be created.
68
65
This field is immutable after creation. Required.
69
66
properties :
70
67
snapshotHandle :
71
- description : snapshotHandle specifies the CSI name of a pre-existing
72
- snapshot on the underlying storage system. This field is immutable.
68
+ description : snapshotHandle specifies the CSI "snapshot_id" of a
69
+ pre-existing snapshot on the underlying storage system. This field
70
+ is immutable.
73
71
type : string
74
72
volumeHandle :
75
- description : volumeHandle specifies the CSI name of the volume from
76
- which a snapshot should be dynamically taken from. This field
73
+ description : volumeHandle specifies the "volume_id" of the volume
74
+ from which a snapshot should be dynamically taken from. This field
77
75
is immutable.
78
76
type : string
79
77
type : object
78
+ volumeSnapshotClassName :
79
+ description : name of the VolumeSnapshotClass to which this snapshot
80
+ belongs.
81
+ type : string
80
82
volumeSnapshotRef :
81
83
description : volumeSnapshotRef specifies the VolumeSnapshot object to
82
84
which this VolumeSnapshotContent object is bound. VolumeSnapshot.Spec.VolumeSnapshotContentName
@@ -131,12 +133,13 @@ spec:
131
133
description : creationTime is the timestamp when the point-in-time snapshot
132
134
is taken by the underlying storage system. In dynamic snapshot creation
133
135
case, this field will be filled in with the "creation_time" value
134
- returned from CSI "CreateSnapshotRequest" gRPC call. For pre-existing
136
+ returned from CSI "CreateSnapshotRequest" gRPC call. For a pre-existing
135
137
snapshot, this field will be filled with the "creation_time" value
136
- returned from CSI "ListSnapshots" gRPC call if the CSI driver supports.
137
- The format of this field is a Unix nanoseconds time encoded as an
138
- int64. On Unix, the command `date +%s%N` returns the current time
139
- in nanoseconds since 1970-01-01 00:00:00 UTC.
138
+ returned from the CSI "ListSnapshots" gRPC call if the driver supports
139
+ it. If not specified, it indicates the creation time is unknown. The
140
+ format of this field is a Unix nanoseconds time encoded as an int64.
141
+ On Unix, the command `date +%s%N` returns the current time in nanoseconds
142
+ since 1970-01-01 00:00:00 UTC.
140
143
format : int64
141
144
type : integer
142
145
error :
@@ -157,28 +160,29 @@ spec:
157
160
description : readyToUse indicates if a snapshot is ready to be used
158
161
to restore a volume. In dynamic snapshot creation case, this field
159
162
will be filled in with the "ready_to_use" value returned from CSI
160
- " CreateSnapshotRequest" gRPC call. For pre-existing snapshot, this
161
- field will be filled with the "read_to_use" value returned from CSI
162
- " ListSnapshots" gRPC call if the CSI driver supports. If not specified,
163
- it means the readiness of a snapshot is unknown.
163
+ " CreateSnapshotRequest" gRPC call. For a pre-existing snapshot, this
164
+ field will be filled with the "ready_to_use" value returned from the
165
+ CSI "ListSnapshots" gRPC call if the driver supports it, otherwise,
166
+ this field will be set to "True". If not specified, it means the readiness
167
+ of a snapshot is unknown.
164
168
type : boolean
165
169
restoreSize :
166
170
description : restoreSize represents the complete size of the snapshot
167
171
in bytes. In dynamic snapshot creation case, this field will be filled
168
172
in with the "size_bytes" value returned from CSI "CreateSnapshotRequest"
169
- gRPC call. For pre-existing snapshot, this field will be filled with
170
- the "size_bytes" value returned from CSI "ListSnapshots" gRPC call
171
- if the CSI driver supports. When restoring a volume from this snapshot,
172
- the size of the volume MUST NOT be smaller than the restoreSize if
173
- it is specified. Otherwise the restoration will fail. If not specified,
174
- it indicates that the size is unknown.
173
+ gRPC call. For a pre-existing snapshot, this field will be filled
174
+ with the "size_bytes" value returned from the CSI "ListSnapshots"
175
+ gRPC call if the driver supports it . When restoring a volume from
176
+ this snapshot, the size of the volume MUST NOT be smaller than the
177
+ restoreSize if it is specified, otherwise the restoration will fail.
178
+ If not specified, it indicates that the size is unknown.
175
179
format : int64
176
180
minimum : 0
177
181
type : integer
178
182
snapshotHandle :
179
- description : snapshotHandle is the "snapshot_id" of a snapshot on the
180
- underlying storage system. If not specified, it indicates that dynamic
181
- snapshot creation has either failed or it is still in progress.
183
+ description : snapshotHandle is the CSI "snapshot_id" of a snapshot on
184
+ the underlying storage system. If not specified, it indicates that
185
+ dynamic snapshot creation has either failed or it is still in progress.
182
186
type : string
183
187
type : object
184
188
required :
0 commit comments