struct_disk.go 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package ecs
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Disk is a nested struct in ecs response
  17. type Disk struct {
  18. Category string `json:"Category" xml:"Category"`
  19. BdfId string `json:"BdfId" xml:"BdfId"`
  20. ImageId string `json:"ImageId" xml:"ImageId"`
  21. AutoSnapshotPolicyId string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
  22. DeleteAutoSnapshot bool `json:"DeleteAutoSnapshot" xml:"DeleteAutoSnapshot"`
  23. EnableAutomatedSnapshotPolicy bool `json:"EnableAutomatedSnapshotPolicy" xml:"EnableAutomatedSnapshotPolicy"`
  24. DiskId string `json:"DiskId" xml:"DiskId"`
  25. SerialNumber string `json:"SerialNumber" xml:"SerialNumber"`
  26. Size int `json:"Size" xml:"Size"`
  27. IOPS int `json:"IOPS" xml:"IOPS"`
  28. RegionId string `json:"RegionId" xml:"RegionId"`
  29. MountInstanceNum int `json:"MountInstanceNum" xml:"MountInstanceNum"`
  30. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  31. StorageSetId string `json:"StorageSetId" xml:"StorageSetId"`
  32. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  33. Description string `json:"Description" xml:"Description"`
  34. Type string `json:"Type" xml:"Type"`
  35. ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
  36. Device string `json:"Device" xml:"Device"`
  37. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  38. IOPSRead int `json:"IOPSRead" xml:"IOPSRead"`
  39. SourceSnapshotId string `json:"SourceSnapshotId" xml:"SourceSnapshotId"`
  40. StorageSetPartitionNumber int `json:"StorageSetPartitionNumber" xml:"StorageSetPartitionNumber"`
  41. ProductCode string `json:"ProductCode" xml:"ProductCode"`
  42. Portable bool `json:"Portable" xml:"Portable"`
  43. KMSKeyId string `json:"KMSKeyId" xml:"KMSKeyId"`
  44. Encrypted bool `json:"Encrypted" xml:"Encrypted"`
  45. EnableAutoSnapshot bool `json:"EnableAutoSnapshot" xml:"EnableAutoSnapshot"`
  46. DetachedTime string `json:"DetachedTime" xml:"DetachedTime"`
  47. DeleteWithInstance bool `json:"DeleteWithInstance" xml:"DeleteWithInstance"`
  48. ZoneId string `json:"ZoneId" xml:"ZoneId"`
  49. DiskChargeType string `json:"DiskChargeType" xml:"DiskChargeType"`
  50. PerformanceLevel string `json:"PerformanceLevel" xml:"PerformanceLevel"`
  51. DiskName string `json:"DiskName" xml:"DiskName"`
  52. Status string `json:"Status" xml:"Status"`
  53. AttachedTime string `json:"AttachedTime" xml:"AttachedTime"`
  54. IOPSWrite int `json:"IOPSWrite" xml:"IOPSWrite"`
  55. Tags TagsInDescribeDisks `json:"Tags" xml:"Tags"`
  56. MountInstances MountInstances `json:"MountInstances" xml:"MountInstances"`
  57. OperationLocks OperationLocksInDescribeDisks `json:"OperationLocks" xml:"OperationLocks"`
  58. }