struct_replication_job.go 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. package smc
  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. // ReplicationJob is a nested struct in smc response
  17. type ReplicationJob struct {
  18. JobId string `json:"JobId" xml:"JobId"`
  19. SourceId string `json:"SourceId" xml:"SourceId"`
  20. Name string `json:"Name" xml:"Name"`
  21. Description string `json:"Description" xml:"Description"`
  22. RegionId string `json:"RegionId" xml:"RegionId"`
  23. TargetType string `json:"TargetType" xml:"TargetType"`
  24. ScheduledStartTime string `json:"ScheduledStartTime" xml:"ScheduledStartTime"`
  25. ImageName string `json:"ImageName" xml:"ImageName"`
  26. InstanceId string `json:"InstanceId" xml:"InstanceId"`
  27. ImageId string `json:"ImageId" xml:"ImageId"`
  28. Status string `json:"Status" xml:"Status"`
  29. BusinessStatus string `json:"BusinessStatus" xml:"BusinessStatus"`
  30. ErrorCode string `json:"ErrorCode" xml:"ErrorCode"`
  31. Progress float64 `json:"Progress" xml:"Progress"`
  32. CreationTime string `json:"CreationTime" xml:"CreationTime"`
  33. ValidTime string `json:"ValidTime" xml:"ValidTime"`
  34. StartTime string `json:"StartTime" xml:"StartTime"`
  35. EndTime string `json:"EndTime" xml:"EndTime"`
  36. NetMode int `json:"NetMode" xml:"NetMode"`
  37. SystemDiskSize int `json:"SystemDiskSize" xml:"SystemDiskSize"`
  38. VpcId string `json:"VpcId" xml:"VpcId"`
  39. VSwitchId string `json:"VSwitchId" xml:"VSwitchId"`
  40. TransitionInstanceId string `json:"TransitionInstanceId" xml:"TransitionInstanceId"`
  41. StatusInfo string `json:"StatusInfo" xml:"StatusInfo"`
  42. ReplicationParameters string `json:"ReplicationParameters" xml:"ReplicationParameters"`
  43. RunOnce bool `json:"RunOnce" xml:"RunOnce"`
  44. Frequency int `json:"Frequency" xml:"Frequency"`
  45. MaxNumberOfImageToKeep int `json:"MaxNumberOfImageToKeep" xml:"MaxNumberOfImageToKeep"`
  46. InstanceType string `json:"InstanceType" xml:"InstanceType"`
  47. DataDisks DataDisksInDescribeReplicationJobs `json:"DataDisks" xml:"DataDisks"`
  48. ReplicationJobRuns ReplicationJobRuns `json:"ReplicationJobRuns" xml:"ReplicationJobRuns"`
  49. }