struct_disk.go 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. DiskId string `json:"DiskId" xml:"DiskId"`
  19. RegionId string `json:"RegionId" xml:"RegionId"`
  20. ZoneId string `json:"ZoneId" xml:"ZoneId"`
  21. DiskName string `json:"DiskName" xml:"DiskName"`
  22. Description string `json:"Description" xml:"Description"`
  23. Type string `json:"Type" xml:"Type"`
  24. Category string `json:"Category" xml:"Category"`
  25. Size int `json:"Size" xml:"Size"`
  26. ImageId string `json:"ImageId" xml:"ImageId"`
  27. SourceSnapshotId string `json:"SourceSnapshotId" xml:"SourceSnapshotId"`
  28. AutoSnapshotPolicyId string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
  29. ProductCode string `json:"ProductCode" xml:"ProductCode"`
  30. Portable bool `json:"Portable" xml:"Portable"`
  31. Status string `json:"Status" xml:"Status"`
  32. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  33. Device string `json:"Device" xml:"Device"`
  34. DeleteWithInstance bool `json:"DeleteWithInstance" xml:"DeleteWithInstance"`
  35. DeleteAutoSnapshot bool `json:"DeleteAutoSnapshot" xml:"DeleteAutoSnapshot"`
  36. EnableAutoSnapshot bool `json:"EnableAutoSnapshot" xml:"EnableAutoSnapshot"`
  37. EnableAutomatedSnapshotPolicy bool `json:"EnableAutomatedSnapshotPolicy" xml:"EnableAutomatedSnapshotPolicy"`
  38. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  39. AttachedTime string `json:"AttachedTime" xml:"AttachedTime"`
  40. DetachedTime string `json:"DetachedTime" xml:"DetachedTime"`
  41. DiskChargeType string `json:"DiskChargeType" xml:"DiskChargeType"`
  42. ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
  43. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  44. Encrypted bool `json:"Encrypted" xml:"Encrypted"`
  45. MountInstanceNum int `json:"MountInstanceNum" xml:"MountInstanceNum"`
  46. IOPS int `json:"IOPS" xml:"IOPS"`
  47. IOPSRead int `json:"IOPSRead" xml:"IOPSRead"`
  48. IOPSWrite int `json:"IOPSWrite" xml:"IOPSWrite"`
  49. KMSKeyId string `json:"KMSKeyId" xml:"KMSKeyId"`
  50. OperationLocks OperationLocksInDescribeDisks `json:"OperationLocks" xml:"OperationLocks"`
  51. MountInstances MountInstances `json:"MountInstances" xml:"MountInstances"`
  52. Tags TagsInDescribeDisks `json:"Tags" xml:"Tags"`
  53. }