DiskSpecification.go 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Copyright 2018 JDCLOUD.COM
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. //
  15. // NOTE: This class is auto generated by the jdcloud code generator program.
  16. package models
  17. type DiskSpecification struct {
  18. /* 云硬盘类型 (Optional) */
  19. DiskType string `json:"diskType"`
  20. /* 支持的最小尺寸,单位为 GiB (Optional) */
  21. MinSizeGB int `json:"minSizeGB"`
  22. /* 支持的最大尺寸,单位为 GiB (Optional) */
  23. MaxSizeGB int `json:"maxSizeGB"`
  24. /* 步长尺寸,单位为 GiB (Optional) */
  25. StepSizeGB int `json:"stepSizeGB"`
  26. /* 描述信息 (Optional) */
  27. Description string `json:"description"`
  28. /* 类型名称 (Optional) */
  29. DiskTypeName string `json:"diskTypeName"`
  30. /* 默认的iops数量(基础iops数量) (Optional) */
  31. DefaultIOPS int `json:"defaultIOPS"`
  32. /* iops步长增量 (Optional) */
  33. StepIOPS float32 `json:"stepIOPS"`
  34. /* 最大iops数量 (Optional) */
  35. MaxIOPS int `json:"maxIOPS"`
  36. /* 默认的吞吐量 (Optional) */
  37. DefaultThroughput int `json:"defaultThroughput"`
  38. /* 吞吐量步长增量 (Optional) */
  39. StepThroughput float32 `json:"stepThroughput"`
  40. /* 最大吞吐量 (Optional) */
  41. MaxThroughput int `json:"maxThroughput"`
  42. /* 是否开启IOPS可调整 (Optional) */
  43. ScalableIOPS bool `json:"scalableIOPS"`
  44. /* 最大iops步长 (Optional) */
  45. MaxStepIOPS int `json:"maxStepIOPS"`
  46. }