struct_auto_snapshot_policy.go 2.5 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. // AutoSnapshotPolicy is a nested struct in ecs response
  17. type AutoSnapshotPolicy struct {
  18. DataDiskPolicyEnabled string `json:"DataDiskPolicyEnabled" xml:"DataDiskPolicyEnabled"`
  19. RepeatWeekdays string `json:"RepeatWeekdays" xml:"RepeatWeekdays"`
  20. SystemDiskPolicyRetentionLastWeek string `json:"SystemDiskPolicyRetentionLastWeek" xml:"SystemDiskPolicyRetentionLastWeek"`
  21. AutoSnapshotPolicyId string `json:"AutoSnapshotPolicyId" xml:"AutoSnapshotPolicyId"`
  22. VolumeNums int `json:"VolumeNums" xml:"VolumeNums"`
  23. DataDiskPolicyRetentionDays string `json:"DataDiskPolicyRetentionDays" xml:"DataDiskPolicyRetentionDays"`
  24. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  25. DataDiskPolicyTimePeriod string `json:"DataDiskPolicyTimePeriod" xml:"DataDiskPolicyTimePeriod"`
  26. SystemDiskPolicyTimePeriod string `json:"SystemDiskPolicyTimePeriod" xml:"SystemDiskPolicyTimePeriod"`
  27. DiskNums int `json:"DiskNums" xml:"DiskNums"`
  28. SystemDiskPolicyEnabled string `json:"SystemDiskPolicyEnabled" xml:"SystemDiskPolicyEnabled"`
  29. RegionId string `json:"RegionId" xml:"RegionId"`
  30. AutoSnapshotPolicyName string `json:"AutoSnapshotPolicyName" xml:"AutoSnapshotPolicyName"`
  31. RetentionDays int `json:"RetentionDays" xml:"RetentionDays"`
  32. TimePoints string `json:"TimePoints" xml:"TimePoints"`
  33. SystemDiskPolicyRetentionDays string `json:"SystemDiskPolicyRetentionDays" xml:"SystemDiskPolicyRetentionDays"`
  34. Status string `json:"Status" xml:"Status"`
  35. DataDiskPolicyRetentionLastWeek string `json:"DataDiskPolicyRetentionLastWeek" xml:"DataDiskPolicyRetentionLastWeek"`
  36. }