azure_mgmt_recovery_services_backup 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_recovery_services_backup.rb +158 -111
  3. data/lib/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +163 -64
  4. data/lib/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb +240 -0
  5. data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +38 -35
  6. data/lib/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +28 -25
  7. data/lib/generated/azure_mgmt_recovery_services_backup/backup_policies.rb +244 -0
  8. data/lib/generated/azure_mgmt_recovery_services_backup/{protectable_items.rb → backup_protectable_items.rb} +48 -76
  9. data/lib/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb +248 -0
  10. data/lib/generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +237 -0
  11. data/lib/generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +206 -0
  12. data/lib/generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +230 -0
  13. data/lib/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +129 -0
  14. data/lib/generated/azure_mgmt_recovery_services_backup/backups.rb +46 -46
  15. data/lib/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +31 -22
  16. data/lib/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +108 -111
  17. data/lib/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +23 -20
  18. data/lib/generated/azure_mgmt_recovery_services_backup/job_details.rb +25 -22
  19. data/lib/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +32 -23
  20. data/lib/generated/azure_mgmt_recovery_services_backup/jobs.rb +26 -277
  21. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +177 -0
  22. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +51 -4
  23. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +9 -5
  24. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +9 -4
  25. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +47 -8
  26. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +9 -5
  27. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +9 -4
  28. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +47 -9
  29. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +10 -4
  30. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +86 -0
  31. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +15 -11
  32. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +8 -3
  33. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +9 -4
  34. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +67 -19
  35. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +10 -6
  36. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +22 -6
  37. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +8 -4
  38. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +20 -11
  39. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +11 -6
  40. data/lib/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +8 -3
  41. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +80 -14
  42. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +11 -3
  43. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +6 -1
  44. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb +119 -0
  45. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +9 -2
  46. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +5 -1
  47. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +102 -0
  48. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +58 -0
  49. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +8 -3
  50. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +11 -3
  51. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +62 -0
  52. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb +102 -0
  53. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +73 -0
  54. data/lib/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb +103 -0
  55. data/lib/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +9 -5
  56. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +12 -10
  57. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +71 -0
  58. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +51 -0
  59. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +35 -8
  60. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +13 -9
  61. data/lib/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +9 -4
  62. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +79 -0
  63. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +69 -0
  64. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb +50 -0
  65. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb +59 -0
  66. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +99 -0
  67. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +83 -0
  68. data/lib/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +35 -7
  69. data/lib/generated/azure_mgmt_recovery_services_backup/models/container_type.rb +29 -0
  70. data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +6 -1
  71. data/lib/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +8 -3
  72. data/lib/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +9 -2
  73. data/lib/generated/azure_mgmt_recovery_services_backup/models/day.rb +8 -3
  74. data/lib/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +5 -1
  75. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +51 -5
  76. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb +177 -0
  77. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +8 -3
  78. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +15 -11
  79. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +7 -2
  80. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +7 -2
  81. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb +49 -0
  82. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +150 -0
  83. data/lib/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +187 -0
  84. data/lib/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +11 -8
  85. data/lib/generated/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb +21 -0
  86. data/lib/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +9 -5
  87. data/lib/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +7 -2
  88. data/lib/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +7 -2
  89. data/lib/generated/azure_mgmt_recovery_services_backup/models/health_state.rb +22 -0
  90. data/lib/generated/azure_mgmt_recovery_services_backup/models/health_status.rb +22 -0
  91. data/lib/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +5 -1
  92. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +12 -9
  93. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +9 -7
  94. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +9 -5
  95. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +14 -10
  96. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +50 -7
  97. data/lib/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +39 -37
  98. data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +7 -2
  99. data/lib/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +11 -3
  100. data/lib/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +7 -2
  101. data/lib/generated/azure_mgmt_recovery_services_backup/models/job.rb +12 -8
  102. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +7 -1
  103. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +16 -14
  104. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +11 -3
  105. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +7 -2
  106. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +5 -1
  107. data/lib/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +5 -1
  108. data/lib/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +10 -8
  109. data/lib/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +14 -11
  110. data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +12 -7
  111. data/lib/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +7 -2
  112. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +14 -10
  113. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +15 -10
  114. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +7 -2
  115. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +34 -14
  116. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +10 -6
  117. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +20 -18
  118. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +8 -3
  119. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +7 -2
  120. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +9 -5
  121. data/lib/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +8 -4
  122. data/lib/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +5 -1
  123. data/lib/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +12 -8
  124. data/lib/generated/azure_mgmt_recovery_services_backup/models/name_info.rb +59 -0
  125. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +7 -2
  126. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +8 -3
  127. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +12 -6
  128. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +9 -7
  129. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +9 -4
  130. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +8 -3
  131. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +8 -3
  132. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +8 -3
  133. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +9 -5
  134. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +5 -1
  135. data/lib/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +20 -15
  136. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +34 -19
  137. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +49 -14
  138. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +11 -3
  139. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +8 -3
  140. data/lib/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +5 -1
  141. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +25 -17
  142. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +11 -3
  143. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +11 -6
  144. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +9 -4
  145. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +11 -7
  146. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +11 -3
  147. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +11 -6
  148. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +5 -1
  149. data/lib/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +5 -1
  150. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +9 -4
  151. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +12 -4
  152. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +11 -6
  153. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb +63 -0
  154. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb +22 -0
  155. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb +21 -0
  156. data/lib/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +5 -1
  157. data/lib/generated/azure_mgmt_recovery_services_backup/models/resource.rb +10 -2
  158. data/lib/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +8 -3
  159. data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +8 -3
  160. data/lib/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +12 -4
  161. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +14 -10
  162. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +5 -1
  163. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +8 -3
  164. data/lib/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +5 -1
  165. data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +7 -2
  166. data/lib/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +5 -1
  167. data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +6 -1
  168. data/lib/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +14 -11
  169. data/lib/generated/azure_mgmt_recovery_services_backup/models/storage_type.rb +21 -0
  170. data/lib/generated/azure_mgmt_recovery_services_backup/models/storage_type_state.rb +21 -0
  171. data/lib/generated/azure_mgmt_recovery_services_backup/models/token_information.rb +69 -0
  172. data/lib/generated/azure_mgmt_recovery_services_backup/models/type.rb +21 -0
  173. data/lib/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb +24 -0
  174. data/lib/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +5 -1
  175. data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +7 -2
  176. data/lib/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +10 -5
  177. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +15 -11
  178. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +13 -4
  179. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +7 -2
  180. data/lib/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +9 -2
  181. data/lib/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +15 -13
  182. data/lib/generated/azure_mgmt_recovery_services_backup/module_definition.rb +5 -1
  183. data/lib/generated/azure_mgmt_recovery_services_backup/operations.rb +217 -0
  184. data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +40 -34
  185. data/lib/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +43 -37
  186. data/lib/generated/azure_mgmt_recovery_services_backup/protected_items.rb +112 -350
  187. data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +37 -31
  188. data/lib/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +26 -20
  189. data/lib/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +57 -365
  190. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +87 -313
  191. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +31 -25
  192. data/lib/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +43 -37
  193. data/lib/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +110 -114
  194. data/lib/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +95 -55
  195. data/lib/generated/azure_mgmt_recovery_services_backup/restores.rb +46 -46
  196. data/lib/generated/azure_mgmt_recovery_services_backup/security_pins.rb +123 -0
  197. data/lib/generated/azure_mgmt_recovery_services_backup/version.rb +6 -2
  198. metadata +48 -5
@@ -1,5 +1,9 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
7
  # Changes may cause incorrect behavior and will be lost if the code is
4
8
  # regenerated.
5
9
 
@@ -12,11 +16,12 @@ module Azure::ARM::RecoveryServicesBackup
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
  # @return [String] Localized error string.
16
21
  attr_accessor :error_string
17
22
 
18
- # @return [Array<String>] The list of localized recommendations for the
19
- # error string.
23
+ # @return [Array<String>] List of localized recommendations for above
24
+ # error code.
20
25
  attr_accessor :recommendations
21
26
 
22
27
 
@@ -1,17 +1,22 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
7
  # Changes may cause incorrect behavior and will be lost if the code is
4
8
  # regenerated.
5
9
 
6
10
  module Azure::ARM::RecoveryServicesBackup
7
11
  module Models
8
12
  #
9
- # The DPM workload-specifc job object.
13
+ # DPM workload-specifc job object.
10
14
  #
11
15
  class DpmJob < Job
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
 
16
21
  def initialize
17
22
  @jobType = "DpmJob"
@@ -19,25 +24,25 @@ module Azure::ARM::RecoveryServicesBackup
19
24
 
20
25
  attr_accessor :jobType
21
26
 
22
- # @return [Duration] The time elapsed for the job.
27
+ # @return [Duration] Time elapsed for job.
23
28
  attr_accessor :duration
24
29
 
25
30
  # @return [String] DPM server name managing the backup item or backup
26
31
  # job.
27
32
  attr_accessor :dpm_server_name
28
33
 
29
- # @return [String] The name of the cluster or server protecting the
30
- # current backup item, if any.
34
+ # @return [String] Name of cluster/server protecting current backup item,
35
+ # if any.
31
36
  attr_accessor :container_name
32
37
 
33
- # @return [String] The type of container.
38
+ # @return [String] Type of container.
34
39
  attr_accessor :container_type
35
40
 
36
- # @return [String] The type of backup item.
41
+ # @return [String] Type of backup item.
37
42
  attr_accessor :workload_type
38
43
 
39
- # @return [Array<JobSupportedAction>] The state or actions applicable on
40
- # this job, such as Cancel or Retry.
44
+ # @return [Array<JobSupportedAction>] The state/actions applicable on
45
+ # this job like cancel/retry.
41
46
  attr_accessor :actions_info
42
47
 
43
48
  # @return [Array<DpmErrorInfo>] The errors.
@@ -70,8 +75,7 @@ module Azure::ARM::RecoveryServicesBackup
70
75
  required: false,
71
76
  serialized_name: 'backupManagementType',
72
77
  type: {
73
- name: 'Enum',
74
- module: 'BackupManagementType'
78
+ name: 'String'
75
79
  }
76
80
  },
77
81
  operation: {
@@ -1,5 +1,9 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
7
  # Changes may cause incorrect behavior and will be lost if the code is
4
8
  # regenerated.
5
9
 
@@ -12,6 +16,7 @@ module Azure::ARM::RecoveryServicesBackup
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
  # @return [Array<DpmJobTaskDetails>] List of tasks associated with this
16
21
  # job.
17
22
  attr_accessor :tasks_list
@@ -19,7 +24,7 @@ module Azure::ARM::RecoveryServicesBackup
19
24
  # @return [Hash{String => String}] The job properties.
20
25
  attr_accessor :property_bag
21
26
 
22
- # @return [String] Non-localized error message on job execution.
27
+ # @return [String] Non localized error message on job execution.
23
28
  attr_accessor :dynamic_error_message
24
29
 
25
30
 
@@ -1,5 +1,9 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
7
  # Changes may cause incorrect behavior and will be lost if the code is
4
8
  # regenerated.
5
9
 
@@ -12,6 +16,7 @@ module Azure::ARM::RecoveryServicesBackup
12
16
 
13
17
  include MsRestAzure
14
18
 
19
+ include MsRest::JSONable
15
20
  # @return [String] The task display name.
16
21
  attr_accessor :task_id
17
22
 
@@ -21,7 +26,7 @@ module Azure::ARM::RecoveryServicesBackup
21
26
  # @return [DateTime] The end time.
22
27
  attr_accessor :end_time
23
28
 
24
- # @return [Duration] The time elapsed for task.
29
+ # @return [Duration] Time elapsed for task.
25
30
  attr_accessor :duration
26
31
 
27
32
  # @return [String] The status.
@@ -0,0 +1,49 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
7
+ # Changes may cause incorrect behavior and will be lost if the code is
8
+ # regenerated.
9
+
10
+ module Azure::ARM::RecoveryServicesBackup
11
+ module Models
12
+ #
13
+ # Additional information of the DPMContainer.
14
+ #
15
+ class DPMContainerExtendedInfo
16
+
17
+ include MsRestAzure
18
+
19
+ include MsRest::JSONable
20
+ # @return [DateTime] Last refresh time of the DPMContainer.
21
+ attr_accessor :last_refreshed_at
22
+
23
+
24
+ #
25
+ # Mapper for DPMContainerExtendedInfo class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'DPMContainerExtendedInfo',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'DPMContainerExtendedInfo',
35
+ model_properties: {
36
+ last_refreshed_at: {
37
+ required: false,
38
+ serialized_name: 'lastRefreshedAt',
39
+ type: {
40
+ name: 'DateTime'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,150 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
7
+ # Changes may cause incorrect behavior and will be lost if the code is
8
+ # regenerated.
9
+
10
+ module Azure::ARM::RecoveryServicesBackup
11
+ module Models
12
+ #
13
+ # Additional information on Backup engine specific backup item.
14
+ #
15
+ class DPMProtectedItem < ProtectedItem
16
+
17
+ include MsRestAzure
18
+
19
+ include MsRest::JSONable
20
+
21
+ def initialize
22
+ @protectedItemType = "DPMProtectedItem"
23
+ end
24
+
25
+ attr_accessor :protectedItemType
26
+
27
+ # @return [String] Friendly name of the managed item
28
+ attr_accessor :friendly_name
29
+
30
+ # @return [String] Backup Management server protecting this backup item
31
+ attr_accessor :backup_engine_name
32
+
33
+ # @return [ProtectedItemState] Protection state of the backupengine.
34
+ # Possible values include: 'Invalid', 'IRPending', 'Protected',
35
+ # 'ProtectionError', 'ProtectionStopped', 'ProtectionPaused'
36
+ attr_accessor :protection_state
37
+
38
+ # @return [Boolean] To check if backup item is scheduled for deferred
39
+ # delete
40
+ attr_accessor :is_scheduled_for_deferred_delete
41
+
42
+ # @return [DPMProtectedItemExtendedInfo] Extended info of the backup
43
+ # item.
44
+ attr_accessor :extended_info
45
+
46
+
47
+ #
48
+ # Mapper for DPMProtectedItem class as Ruby Hash.
49
+ # This will be used for serialization/deserialization.
50
+ #
51
+ def self.mapper()
52
+ {
53
+ required: false,
54
+ serialized_name: 'DPMProtectedItem',
55
+ type: {
56
+ name: 'Composite',
57
+ class_name: 'DPMProtectedItem',
58
+ model_properties: {
59
+ backup_management_type: {
60
+ required: false,
61
+ serialized_name: 'backupManagementType',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ workload_type: {
67
+ required: false,
68
+ serialized_name: 'workloadType',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ container_name: {
74
+ required: false,
75
+ serialized_name: 'containerName',
76
+ type: {
77
+ name: 'String'
78
+ }
79
+ },
80
+ source_resource_id: {
81
+ required: false,
82
+ serialized_name: 'sourceResourceId',
83
+ type: {
84
+ name: 'String'
85
+ }
86
+ },
87
+ policy_id: {
88
+ required: false,
89
+ serialized_name: 'policyId',
90
+ type: {
91
+ name: 'String'
92
+ }
93
+ },
94
+ last_recovery_point: {
95
+ required: false,
96
+ serialized_name: 'lastRecoveryPoint',
97
+ type: {
98
+ name: 'DateTime'
99
+ }
100
+ },
101
+ protectedItemType: {
102
+ required: true,
103
+ serialized_name: 'protectedItemType',
104
+ type: {
105
+ name: 'String'
106
+ }
107
+ },
108
+ friendly_name: {
109
+ required: false,
110
+ serialized_name: 'friendlyName',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ backup_engine_name: {
116
+ required: false,
117
+ serialized_name: 'backupEngineName',
118
+ type: {
119
+ name: 'String'
120
+ }
121
+ },
122
+ protection_state: {
123
+ required: false,
124
+ serialized_name: 'protectionState',
125
+ type: {
126
+ name: 'String'
127
+ }
128
+ },
129
+ is_scheduled_for_deferred_delete: {
130
+ required: false,
131
+ serialized_name: 'isScheduledForDeferredDelete',
132
+ type: {
133
+ name: 'Boolean'
134
+ }
135
+ },
136
+ extended_info: {
137
+ required: false,
138
+ serialized_name: 'extendedInfo',
139
+ type: {
140
+ name: 'Composite',
141
+ class_name: 'DPMProtectedItemExtendedInfo'
142
+ }
143
+ }
144
+ }
145
+ }
146
+ }
147
+ end
148
+ end
149
+ end
150
+ end
@@ -0,0 +1,187 @@
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for
4
+ # license information.
5
+ #
6
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
7
+ # Changes may cause incorrect behavior and will be lost if the code is
8
+ # regenerated.
9
+
10
+ module Azure::ARM::RecoveryServicesBackup
11
+ module Models
12
+ #
13
+ # Additional information of DPM Protected item.
14
+ #
15
+ class DPMProtectedItemExtendedInfo
16
+
17
+ include MsRestAzure
18
+
19
+ include MsRest::JSONable
20
+ # @return [Hash{String => String}] Attribute to provide information on
21
+ # various DBs.
22
+ attr_accessor :protectable_object_load_path
23
+
24
+ # @return [Boolean] To check if backup item is disk protected.
25
+ attr_accessor :protected
26
+
27
+ # @return [Boolean] To check if backup item is cloud protected.
28
+ attr_accessor :is_present_on_cloud
29
+
30
+ # @return [String] Last backup status information on backup item.
31
+ attr_accessor :last_backup_status
32
+
33
+ # @return [DateTime] Last refresh time on backup item.
34
+ attr_accessor :last_refreshed_at
35
+
36
+ # @return [DateTime] Oldest cloud recovery point time.
37
+ attr_accessor :oldest_recovery_point
38
+
39
+ # @return [Integer] cloud recovery point count.
40
+ attr_accessor :recovery_point_count
41
+
42
+ # @return [DateTime] Oldest disk recovery point time.
43
+ attr_accessor :on_premise_oldest_recovery_point
44
+
45
+ # @return [DateTime] latest disk recovery point time.
46
+ attr_accessor :on_premise_latest_recovery_point
47
+
48
+ # @return [Integer] disk recovery point count.
49
+ attr_accessor :on_premise_recovery_point_count
50
+
51
+ # @return [Boolean] To check if backup item is collocated.
52
+ attr_accessor :is_collocated
53
+
54
+ # @return [String] Protection group name of the backup item.
55
+ attr_accessor :protection_group_name
56
+
57
+ # @return [String] Used Disk storage in bytes.
58
+ attr_accessor :disk_storage_used_in_bytes
59
+
60
+ # @return [String] total Disk storage in bytes.
61
+ attr_accessor :total_disk_storage_size_in_bytes
62
+
63
+
64
+ #
65
+ # Mapper for DPMProtectedItemExtendedInfo class as Ruby Hash.
66
+ # This will be used for serialization/deserialization.
67
+ #
68
+ def self.mapper()
69
+ {
70
+ required: false,
71
+ serialized_name: 'DPMProtectedItemExtendedInfo',
72
+ type: {
73
+ name: 'Composite',
74
+ class_name: 'DPMProtectedItemExtendedInfo',
75
+ model_properties: {
76
+ protectable_object_load_path: {
77
+ required: false,
78
+ serialized_name: 'protectableObjectLoadPath',
79
+ type: {
80
+ name: 'Dictionary',
81
+ value: {
82
+ required: false,
83
+ serialized_name: 'StringElementType',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ },
90
+ protected: {
91
+ required: false,
92
+ serialized_name: 'protected',
93
+ type: {
94
+ name: 'Boolean'
95
+ }
96
+ },
97
+ is_present_on_cloud: {
98
+ required: false,
99
+ serialized_name: 'isPresentOnCloud',
100
+ type: {
101
+ name: 'Boolean'
102
+ }
103
+ },
104
+ last_backup_status: {
105
+ required: false,
106
+ serialized_name: 'lastBackupStatus',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ last_refreshed_at: {
112
+ required: false,
113
+ serialized_name: 'lastRefreshedAt',
114
+ type: {
115
+ name: 'DateTime'
116
+ }
117
+ },
118
+ oldest_recovery_point: {
119
+ required: false,
120
+ serialized_name: 'oldestRecoveryPoint',
121
+ type: {
122
+ name: 'DateTime'
123
+ }
124
+ },
125
+ recovery_point_count: {
126
+ required: false,
127
+ serialized_name: 'recoveryPointCount',
128
+ type: {
129
+ name: 'Number'
130
+ }
131
+ },
132
+ on_premise_oldest_recovery_point: {
133
+ required: false,
134
+ serialized_name: 'onPremiseOldestRecoveryPoint',
135
+ type: {
136
+ name: 'DateTime'
137
+ }
138
+ },
139
+ on_premise_latest_recovery_point: {
140
+ required: false,
141
+ serialized_name: 'onPremiseLatestRecoveryPoint',
142
+ type: {
143
+ name: 'DateTime'
144
+ }
145
+ },
146
+ on_premise_recovery_point_count: {
147
+ required: false,
148
+ serialized_name: 'onPremiseRecoveryPointCount',
149
+ type: {
150
+ name: 'Number'
151
+ }
152
+ },
153
+ is_collocated: {
154
+ required: false,
155
+ serialized_name: 'isCollocated',
156
+ type: {
157
+ name: 'Boolean'
158
+ }
159
+ },
160
+ protection_group_name: {
161
+ required: false,
162
+ serialized_name: 'protectionGroupName',
163
+ type: {
164
+ name: 'String'
165
+ }
166
+ },
167
+ disk_storage_used_in_bytes: {
168
+ required: false,
169
+ serialized_name: 'diskStorageUsedInBytes',
170
+ type: {
171
+ name: 'String'
172
+ }
173
+ },
174
+ total_disk_storage_size_in_bytes: {
175
+ required: false,
176
+ serialized_name: 'totalDiskStorageSizeInBytes',
177
+ type: {
178
+ name: 'String'
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+ end
185
+ end
186
+ end
187
+ end