@@ -135,7 +135,7 @@ type CloneVolumesInput struct {
135
135
SubZones * string `json:"sub_zones" name:"sub_zones" location:"params"`
136
136
Volume * string `json:"volume" name:"volume" location:"params"` // Required
137
137
VolumeName * string `json:"volume_name" name:"volume_name" location:"params"`
138
- // VolumeType's available values: 0, 1, 2, 3, 4, 5, 10, 100, 200
138
+ // VolumeType's available values: 0, 1, 2, 3, 4, 5, 6, 10, 100, 200
139
139
VolumeType * int `json:"volume_type" name:"volume_type" default:"0" location:"params"`
140
140
Zone * string `json:"zone" name:"zone" location:"params"`
141
141
}
@@ -150,7 +150,7 @@ func (v *CloneVolumesInput) Validate() error {
150
150
}
151
151
152
152
if v .VolumeType != nil {
153
- volumeTypeValidValues := []string {"0" , "1" , "2" , "3" , "4" , "5" , "10" , "100" , "200" }
153
+ volumeTypeValidValues := []string {"0" , "1" , "2" , "3" , "4" , "5" , "6" , " 10" , "100" , "200" }
154
154
volumeTypeParameterValue := fmt .Sprint (* v .VolumeType )
155
155
156
156
volumeTypeIsValid := false
@@ -211,7 +211,7 @@ type CreateVolumesInput struct {
211
211
Repl * string `json:"repl" name:"repl" location:"params"`
212
212
Size * int `json:"size" name:"size" location:"params"` // Required
213
213
VolumeName * string `json:"volume_name" name:"volume_name" location:"params"`
214
- // VolumeType's available values: 0, 1, 2, 3, 4, 5, 10, 100, 200
214
+ // VolumeType's available values: 0, 1, 2, 3, 4, 5, 6, 10, 100, 200
215
215
VolumeType * int `json:"volume_type" name:"volume_type" default:"0" location:"params"`
216
216
Zone * string `json:"zone" name:"zone" location:"params"`
217
217
}
@@ -226,7 +226,7 @@ func (v *CreateVolumesInput) Validate() error {
226
226
}
227
227
228
228
if v .VolumeType != nil {
229
- volumeTypeValidValues := []string {"0" , "1" , "2" , "3" , "4" , "5" , "10" , "100" , "200" }
229
+ volumeTypeValidValues := []string {"0" , "1" , "2" , "3" , "4" , "5" , "6" , " 10" , "100" , "200" }
230
230
volumeTypeParameterValue := fmt .Sprint (* v .VolumeType )
231
231
232
232
volumeTypeIsValid := false
@@ -341,7 +341,7 @@ type DescribeVolumesInput struct {
341
341
Tags []* string `json:"tags" name:"tags" location:"params"`
342
342
// Verbose's available values: 0, 1
343
343
Verbose * int `json:"verbose" name:"verbose" default:"0" location:"params"`
344
- // VolumeType's available values: 0, 1, 2, 3, 4, 5, 10, 100, 200
344
+ // VolumeType's available values: 0, 1, 2, 3, 4, 5, 6, 10, 100, 200
345
345
VolumeType * int `json:"volume_type" name:"volume_type" location:"params"`
346
346
Volumes []* string `json:"volumes" name:"volumes" location:"params"`
347
347
Zone * string `json:"zone" name:"zone" location:"params"`
@@ -370,7 +370,7 @@ func (v *DescribeVolumesInput) Validate() error {
370
370
}
371
371
372
372
if v .VolumeType != nil {
373
- volumeTypeValidValues := []string {"0" , "1" , "2" , "3" , "4" , "5" , "10" , "100" , "200" }
373
+ volumeTypeValidValues := []string {"0" , "1" , "2" , "3" , "4" , "5" , "6" , " 10" , "100" , "200" }
374
374
volumeTypeParameterValue := fmt .Sprint (* v .VolumeType )
375
375
376
376
volumeTypeIsValid := false
0 commit comments