@@ -118,7 +118,9 @@ GET http://localhost:8080/csp/containers/v1/volumes
118
118
"config" : {
119
119
"parameter1" : " default" ,
120
120
"parameter2" : false
121
- }
121
+ },
122
+ "used_bytes" : 12570624 ,
123
+ "free_bytes" : 1061171200
122
124
},
123
125
{
124
126
"id" : " 067b5b0c6a3d0ece0600000000000000000000001d" ,
@@ -129,7 +131,9 @@ GET http://localhost:8080/csp/containers/v1/volumes
129
131
"config" : {
130
132
"parameter1" : " default" ,
131
133
"parameter2" : false
132
- }
134
+ },
135
+ "used_bytes" : 12570624 ,
136
+ "free_bytes" : 1061171200
133
137
}
134
138
]
135
139
```
@@ -154,7 +158,9 @@ GET http://localhost:8080/csp/containers/v1/volumes/067b5b0c6a3d0ece060000000000
154
158
"config" : {
155
159
"parameter1" : " default" ,
156
160
"parameter2" : false
157
- }
161
+ },
162
+ "used_bytes" : 12570624 ,
163
+ "free_bytes" : 1061171200
158
164
}
159
165
```
160
166
@@ -181,7 +187,9 @@ GET http://localhost:8080/csp/containers/v1/volumes?name=volume1
181
187
"parameter2" : false
182
188
},
183
189
"base_snapshot_id" : " " ,
184
- "volume_group_id" : " "
190
+ "volume_group_id" : " " ,
191
+ "used_bytes" : 12570624 ,
192
+ "free_bytes" : 1061171200
185
193
}
186
194
]
187
195
```
@@ -224,7 +232,9 @@ PUT `/containers/v1/volumes/{id}`
224
232
"config" : {
225
233
"parameter1" : " default" ,
226
234
"parameter2" : false
227
- }
235
+ },
236
+ "used_bytes" : 12570624 ,
237
+ "free_bytes" : 1061171200
228
238
}
229
239
```
230
240
@@ -915,6 +925,8 @@ DELETE http://localhost:8080/csp/containers/v1/snapshot_groups/052265c9672660666
915
925
| | volume_group_id | string | | X | X |
916
926
| | published | boolean | | | X |
917
927
| | config | map[ string] interface{} | | | X |
928
+ | | free_bytes | number | | | X |
929
+ | | used_bytes | number | | | X |
918
930
| PublishOptions | | | | | |
919
931
| | host_uuid | string | X | X | |
920
932
| | access_protocol | string | X | X | |
0 commit comments