azure_mgmt_recovery_services_backup 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/azure_mgmt_recovery_services_backup.rb +5 -0
  4. data/lib/generated/azure_mgmt_recovery_services_backup.rb +175 -0
  5. data/lib/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +253 -0
  6. data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +128 -0
  7. data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +136 -0
  8. data/lib/generated/azure_mgmt_recovery_services_backup/backups.rb +149 -0
  9. data/lib/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +124 -0
  10. data/lib/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +276 -0
  11. data/lib/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +116 -0
  12. data/lib/generated/azure_mgmt_recovery_services_backup/job_details.rb +124 -0
  13. data/lib/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +117 -0
  14. data/lib/generated/azure_mgmt_recovery_services_backup/jobs.rb +369 -0
  15. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +92 -0
  16. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +107 -0
  17. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +77 -0
  18. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +136 -0
  19. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +107 -0
  20. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +77 -0
  21. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +137 -0
  22. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +82 -0
  23. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +169 -0
  24. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +91 -0
  25. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +104 -0
  26. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +165 -0
  27. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +68 -0
  28. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +83 -0
  29. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +85 -0
  30. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +121 -0
  31. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +67 -0
  32. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +68 -0
  33. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +112 -0
  34. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +97 -0
  35. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +90 -0
  36. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +22 -0
  37. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +20 -0
  38. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +46 -0
  39. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +97 -0
  40. data/lib/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +65 -0
  41. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +47 -0
  42. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +68 -0
  43. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +67 -0
  44. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +54 -0
  45. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +67 -0
  46. data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +52 -0
  47. data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +62 -0
  48. data/lib/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +22 -0
  49. data/lib/generated/azure_mgmt_recovery_services_backup/models/day.rb +54 -0
  50. data/lib/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
  51. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +92 -0
  52. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +62 -0
  53. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +198 -0
  54. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +80 -0
  55. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +84 -0
  56. data/lib/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +87 -0
  57. data/lib/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +70 -0
  58. data/lib/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +89 -0
  59. data/lib/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +45 -0
  60. data/lib/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +61 -0
  61. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +118 -0
  62. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +82 -0
  63. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +60 -0
  64. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +92 -0
  65. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +124 -0
  66. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +202 -0
  67. data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +45 -0
  68. data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +96 -0
  69. data/lib/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +52 -0
  70. data/lib/generated/azure_mgmt_recovery_services_backup/models/job.rb +121 -0
  71. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +20 -0
  72. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +103 -0
  73. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +96 -0
  74. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +90 -0
  75. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +21 -0
  76. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +17 -0
  77. data/lib/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +67 -0
  78. data/lib/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +63 -0
  79. data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +96 -0
  80. data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +48 -0
  81. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +137 -0
  82. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +95 -0
  83. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +61 -0
  84. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +149 -0
  85. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +66 -0
  86. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +194 -0
  87. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +79 -0
  88. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +84 -0
  89. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +82 -0
  90. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +25 -0
  91. data/lib/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
  92. data/lib/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +99 -0
  93. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +65 -0
  94. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +46 -0
  95. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +76 -0
  96. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +114 -0
  97. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +54 -0
  98. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +47 -0
  99. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +58 -0
  100. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +83 -0
  101. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +61 -0
  102. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +19 -0
  103. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +83 -0
  104. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +107 -0
  105. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +81 -0
  106. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +96 -0
  107. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +90 -0
  108. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
  109. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +110 -0
  110. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +97 -0
  111. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +90 -0
  112. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +58 -0
  113. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +47 -0
  114. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +97 -0
  115. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +90 -0
  116. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
  117. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +18 -0
  118. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +47 -0
  119. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +97 -0
  120. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +90 -0
  121. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +18 -0
  122. data/lib/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +45 -0
  123. data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +46 -0
  124. data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +97 -0
  125. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +60 -0
  126. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
  127. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +46 -0
  128. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
  129. data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +46 -0
  130. data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
  131. data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +60 -0
  132. data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +108 -0
  133. data/lib/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
  134. data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +70 -0
  135. data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +81 -0
  136. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +80 -0
  137. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +97 -0
  138. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +90 -0
  139. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +22 -0
  140. data/lib/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +119 -0
  141. data/lib/generated/azure_mgmt_recovery_services_backup/module_definition.rb +8 -0
  142. data/lib/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +276 -0
  143. data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +142 -0
  144. data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +154 -0
  145. data/lib/generated/azure_mgmt_recovery_services_backup/protected_items.rb +609 -0
  146. data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +135 -0
  147. data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +120 -0
  148. data/lib/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +538 -0
  149. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +566 -0
  150. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +131 -0
  151. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +143 -0
  152. data/lib/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +386 -0
  153. data/lib/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +215 -0
  154. data/lib/generated/azure_mgmt_recovery_services_backup/restores.rb +150 -0
  155. data/lib/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
  156. metadata +268 -0
@@ -0,0 +1,21 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServicesBackup
7
+ module Models
8
+ #
9
+ # Defines values for DayOfWeek
10
+ #
11
+ module DayOfWeek
12
+ Sunday = "Sunday"
13
+ Monday = "Monday"
14
+ Tuesday = "Tuesday"
15
+ Wednesday = "Wednesday"
16
+ Thursday = "Thursday"
17
+ Friday = "Friday"
18
+ Saturday = "Saturday"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,92 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServicesBackup
7
+ module Models
8
+ #
9
+ # The backup engine type when Data Protection Manager (DPM) is used to
10
+ # manage backups.
11
+ #
12
+ class DpmBackupEngine < BackupEngineBase
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @backupEngineType = "DpmBackupEngine"
19
+ end
20
+
21
+ attr_accessor :backupEngineType
22
+
23
+
24
+ #
25
+ # Mapper for DpmBackupEngine class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'DpmBackupEngine',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'DpmBackupEngine',
35
+ model_properties: {
36
+ friendly_name: {
37
+ required: false,
38
+ serialized_name: 'friendlyName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ backup_management_type: {
44
+ required: false,
45
+ serialized_name: 'backupManagementType',
46
+ type: {
47
+ name: 'Enum',
48
+ module: 'BackupManagementType'
49
+ }
50
+ },
51
+ registration_status: {
52
+ required: false,
53
+ serialized_name: 'registrationStatus',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ health_status: {
59
+ required: false,
60
+ serialized_name: 'healthStatus',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ can_re_register: {
66
+ required: false,
67
+ serialized_name: 'canReRegister',
68
+ type: {
69
+ name: 'Boolean'
70
+ }
71
+ },
72
+ backup_engine_id: {
73
+ required: false,
74
+ serialized_name: 'backupEngineId',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ backupEngineType: {
80
+ required: true,
81
+ serialized_name: 'backupEngineType',
82
+ type: {
83
+ name: 'String'
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,62 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServicesBackup
7
+ module Models
8
+ #
9
+ # DPM workload-specific error information.
10
+ #
11
+ class DpmErrorInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Localized error string.
16
+ attr_accessor :error_string
17
+
18
+ # @return [Array<String>] The list of localized recommendations for the
19
+ # error string.
20
+ attr_accessor :recommendations
21
+
22
+
23
+ #
24
+ # Mapper for DpmErrorInfo class as Ruby Hash.
25
+ # This will be used for serialization/deserialization.
26
+ #
27
+ def self.mapper()
28
+ {
29
+ required: false,
30
+ serialized_name: 'DpmErrorInfo',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'DpmErrorInfo',
34
+ model_properties: {
35
+ error_string: {
36
+ required: false,
37
+ serialized_name: 'errorString',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ recommendations: {
43
+ required: false,
44
+ serialized_name: 'recommendations',
45
+ type: {
46
+ name: 'Sequence',
47
+ element: {
48
+ required: false,
49
+ serialized_name: 'StringElementType',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
59
+ end
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,198 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServicesBackup
7
+ module Models
8
+ #
9
+ # The DPM workload-specifc job object.
10
+ #
11
+ class DpmJob < Job
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @jobType = "DpmJob"
18
+ end
19
+
20
+ attr_accessor :jobType
21
+
22
+ # @return [Duration] The time elapsed for the job.
23
+ attr_accessor :duration
24
+
25
+ # @return [String] DPM server name managing the backup item or backup
26
+ # job.
27
+ attr_accessor :dpm_server_name
28
+
29
+ # @return [String] The name of the cluster or server protecting the
30
+ # current backup item, if any.
31
+ attr_accessor :container_name
32
+
33
+ # @return [String] The type of container.
34
+ attr_accessor :container_type
35
+
36
+ # @return [String] The type of backup item.
37
+ attr_accessor :workload_type
38
+
39
+ # @return [Array<JobSupportedAction>] The state or actions applicable on
40
+ # this job, such as Cancel or Retry.
41
+ attr_accessor :actions_info
42
+
43
+ # @return [Array<DpmErrorInfo>] The errors.
44
+ attr_accessor :error_details
45
+
46
+ # @return [DpmJobExtendedInfo] Additional information for this job.
47
+ attr_accessor :extended_info
48
+
49
+
50
+ #
51
+ # Mapper for DpmJob class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ required: false,
57
+ serialized_name: 'DpmJob',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'DpmJob',
61
+ model_properties: {
62
+ entity_friendly_name: {
63
+ required: false,
64
+ serialized_name: 'entityFriendlyName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ backup_management_type: {
70
+ required: false,
71
+ serialized_name: 'backupManagementType',
72
+ type: {
73
+ name: 'Enum',
74
+ module: 'BackupManagementType'
75
+ }
76
+ },
77
+ operation: {
78
+ required: false,
79
+ serialized_name: 'operation',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ status: {
85
+ required: false,
86
+ serialized_name: 'status',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ start_time: {
92
+ required: false,
93
+ serialized_name: 'startTime',
94
+ type: {
95
+ name: 'DateTime'
96
+ }
97
+ },
98
+ end_time: {
99
+ required: false,
100
+ serialized_name: 'endTime',
101
+ type: {
102
+ name: 'DateTime'
103
+ }
104
+ },
105
+ activity_id: {
106
+ required: false,
107
+ serialized_name: 'activityId',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ jobType: {
113
+ required: true,
114
+ serialized_name: 'jobType',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ duration: {
120
+ required: false,
121
+ serialized_name: 'duration',
122
+ type: {
123
+ name: 'TimeSpan'
124
+ }
125
+ },
126
+ dpm_server_name: {
127
+ required: false,
128
+ serialized_name: 'dpmServerName',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ container_name: {
134
+ required: false,
135
+ serialized_name: 'containerName',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ container_type: {
141
+ required: false,
142
+ serialized_name: 'containerType',
143
+ type: {
144
+ name: 'String'
145
+ }
146
+ },
147
+ workload_type: {
148
+ required: false,
149
+ serialized_name: 'workloadType',
150
+ type: {
151
+ name: 'String'
152
+ }
153
+ },
154
+ actions_info: {
155
+ required: false,
156
+ serialized_name: 'actionsInfo',
157
+ type: {
158
+ name: 'Sequence',
159
+ element: {
160
+ required: false,
161
+ serialized_name: 'JobSupportedActionElementType',
162
+ type: {
163
+ name: 'Enum',
164
+ module: 'JobSupportedAction'
165
+ }
166
+ }
167
+ }
168
+ },
169
+ error_details: {
170
+ required: false,
171
+ serialized_name: 'errorDetails',
172
+ type: {
173
+ name: 'Sequence',
174
+ element: {
175
+ required: false,
176
+ serialized_name: 'DpmErrorInfoElementType',
177
+ type: {
178
+ name: 'Composite',
179
+ class_name: 'DpmErrorInfo'
180
+ }
181
+ }
182
+ }
183
+ },
184
+ extended_info: {
185
+ required: false,
186
+ serialized_name: 'extendedInfo',
187
+ type: {
188
+ name: 'Composite',
189
+ class_name: 'DpmJobExtendedInfo'
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ end
196
+ end
197
+ end
198
+ end
@@ -0,0 +1,80 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::RecoveryServicesBackup
7
+ module Models
8
+ #
9
+ # Additional information on the DPM workload-specific job.
10
+ #
11
+ class DpmJobExtendedInfo
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DpmJobTaskDetails>] List of tasks associated with this
16
+ # job.
17
+ attr_accessor :tasks_list
18
+
19
+ # @return [Hash{String => String}] The job properties.
20
+ attr_accessor :property_bag
21
+
22
+ # @return [String] Non-localized error message on job execution.
23
+ attr_accessor :dynamic_error_message
24
+
25
+
26
+ #
27
+ # Mapper for DpmJobExtendedInfo class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'DpmJobExtendedInfo',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'DpmJobExtendedInfo',
37
+ model_properties: {
38
+ tasks_list: {
39
+ required: false,
40
+ serialized_name: 'tasksList',
41
+ type: {
42
+ name: 'Sequence',
43
+ element: {
44
+ required: false,
45
+ serialized_name: 'DpmJobTaskDetailsElementType',
46
+ type: {
47
+ name: 'Composite',
48
+ class_name: 'DpmJobTaskDetails'
49
+ }
50
+ }
51
+ }
52
+ },
53
+ property_bag: {
54
+ required: false,
55
+ serialized_name: 'propertyBag',
56
+ type: {
57
+ name: 'Dictionary',
58
+ value: {
59
+ required: false,
60
+ serialized_name: 'StringElementType',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ },
67
+ dynamic_error_message: {
68
+ required: false,
69
+ serialized_name: 'dynamicErrorMessage',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ end
78
+ end
79
+ end
80
+ end