struct_volume.go 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. // Volume is a nested struct in ecs response
  17. type Volume struct {
  18. VolumeId string `json:"VolumeId" xml:"VolumeId"`
  19. RegionId string `json:"RegionId" xml:"RegionId"`
  20. ZoneId string `json:"ZoneId" xml:"ZoneId"`
  21. VolumeName string `json:"VolumeName" xml:"VolumeName"`
  22. Description string `json:"Description" xml:"Description"`
  23. Category string `json:"Category" xml:"Category"`
  24. Size int `json:"Size" xml:"Size"`
  25. SourceSnapshotId string `json:"SourceSnapshotId" xml:"SourceSnapshotId"`
  26. AutoSnapshotPolicyId string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
  27. SnapshotLinkId string `json:"SnapshotLinkId" xml:"SnapshotLinkId"`
  28. Status string `json:"Status" xml:"Status"`
  29. EnableAutomatedSnapshotPolicy bool `json:"EnableAutomatedSnapshotPolicy" xml:"EnableAutomatedSnapshotPolicy"`
  30. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  31. VolumeChargeType string `json:"VolumeChargeType" xml:"VolumeChargeType"`
  32. MountInstanceNum int `json:"MountInstanceNum" xml:"MountInstanceNum"`
  33. Encrypted bool `json:"Encrypted" xml:"Encrypted"`
  34. OperationLocks OperationLocksInDescribeVolumes `json:"OperationLocks" xml:"OperationLocks"`
  35. MountInstances MountInstancesInDescribeVolumes `json:"MountInstances" xml:"MountInstances"`
  36. Tags TagsInDescribeVolumes `json:"Tags" xml:"Tags"`
  37. }