struct_snapshot.go 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. // Snapshot is a nested struct in ecs response
  17. type Snapshot struct {
  18. SnapshotId string `json:"SnapshotId" xml:"SnapshotId"`
  19. SnapshotName string `json:"SnapshotName" xml:"SnapshotName"`
  20. Progress string `json:"Progress" xml:"Progress"`
  21. ProductCode string `json:"ProductCode" xml:"ProductCode"`
  22. SourceDiskId string `json:"SourceDiskId" xml:"SourceDiskId"`
  23. SourceDiskType string `json:"SourceDiskType" xml:"SourceDiskType"`
  24. RetentionDays int `json:"RetentionDays" xml:"RetentionDays"`
  25. Encrypted bool `json:"Encrypted" xml:"Encrypted"`
  26. SourceDiskSize string `json:"SourceDiskSize" xml:"SourceDiskSize"`
  27. Description string `json:"Description" xml:"Description"`
  28. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  29. Status string `json:"Status" xml:"Status"`
  30. Usage string `json:"Usage" xml:"Usage"`
  31. SourceStorageType string `json:"SourceStorageType" xml:"SourceStorageType"`
  32. RemainTime int `json:"RemainTime" xml:"RemainTime"`
  33. ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
  34. KMSKeyId string `json:"KMSKeyId" xml:"KMSKeyId"`
  35. Tags TagsInDescribeSnapshots `json:"Tags" xml:"Tags"`
  36. }