struct_disk.go 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. Size int `json:"Size" xml:"Size"`
  26. IOPS int `json:"IOPS" xml:"IOPS"`
  27. RegionId string `json:"RegionId" xml:"RegionId"`
  28. MountInstanceNum int `json:"MountInstanceNum" xml:"MountInstanceNum"`
  29. StorageSetId string `json:"StorageSetId" xml:"StorageSetId"`
  30. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  31. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  32. Description string `json:"Description" xml:"Description"`
  33. Type string `json:"Type" xml:"Type"`
  34. ExpiredTime string `json:"ExpiredTime" xml:"ExpiredTime"`
  35. Device string `json:"Device" xml:"Device"`
  36. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  37. IOPSRead int `json:"IOPSRead" xml:"IOPSRead"`
  38. SourceSnapshotId string `json:"SourceSnapshotId" xml:"SourceSnapshotId"`
  39. StorageSetPartitionNumber int `json:"StorageSetPartitionNumber" xml:"StorageSetPartitionNumber"`
  40. ProductCode string `json:"ProductCode" xml:"ProductCode"`
  41. Portable bool `json:"Portable" xml:"Portable"`
  42. KMSKeyId string `json:"KMSKeyId" xml:"KMSKeyId"`
  43. Encrypted bool `json:"Encrypted" xml:"Encrypted"`
  44. EnableAutoSnapshot bool `json:"EnableAutoSnapshot" xml:"EnableAutoSnapshot"`
  45. DetachedTime string `json:"DetachedTime" xml:"DetachedTime"`
  46. DeleteWithInstance bool `json:"DeleteWithInstance" xml:"DeleteWithInstance"`
  47. ZoneId string `json:"ZoneId" xml:"ZoneId"`
  48. DiskChargeType string `json:"DiskChargeType" xml:"DiskChargeType"`
  49. PerformanceLevel string `json:"PerformanceLevel" xml:"PerformanceLevel"`
  50. DiskName string `json:"DiskName" xml:"DiskName"`
  51. Status string `json:"Status" xml:"Status"`
  52. AttachedTime string `json:"AttachedTime" xml:"AttachedTime"`
  53. IOPSWrite int `json:"IOPSWrite" xml:"IOPSWrite"`
  54. Tags TagsInDescribeDisks `json:"Tags" xml:"Tags"`
  55. MountInstances MountInstances `json:"MountInstances" xml:"MountInstances"`
  56. OperationLocks OperationLocksInDescribeDisks `json:"OperationLocks" xml:"OperationLocks"`
  57. }