azure_mgmt_recovery_services_backup 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup.rb +180 -0
  3. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +256 -0
  4. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +131 -0
  5. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +139 -0
  6. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backups.rb +152 -0
  7. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +127 -0
  8. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +279 -0
  9. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +119 -0
  10. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +127 -0
  11. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +120 -0
  12. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/jobs.rb +372 -0
  13. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +96 -0
  14. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +6 -5
  15. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +5 -5
  16. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +140 -0
  17. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +111 -0
  18. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +81 -0
  19. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +141 -0
  20. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +5 -6
  21. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +173 -0
  22. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +4 -4
  23. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +108 -0
  24. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +169 -0
  25. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +72 -0
  26. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +87 -0
  27. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +5 -4
  28. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +125 -0
  29. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +71 -0
  30. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +4 -4
  31. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +116 -0
  32. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +101 -0
  33. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +2 -2
  34. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +3 -6
  35. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +2 -2
  36. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/backup_request.rb +4 -4
  37. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +101 -0
  38. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb +69 -0
  39. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +51 -0
  40. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +72 -0
  41. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +71 -0
  42. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +58 -0
  43. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +71 -0
  44. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +2 -2
  45. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +66 -0
  46. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/data_source_type.rb +3 -6
  47. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/day.rb +4 -4
  48. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/day_of_week.rb +2 -2
  49. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +96 -0
  50. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +4 -4
  51. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb +202 -0
  52. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +3 -3
  53. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +3 -3
  54. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb +91 -0
  55. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +74 -0
  56. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +3 -3
  57. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +3 -3
  58. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/http_status_code.rb +2 -2
  59. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +122 -0
  60. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +86 -0
  61. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +64 -0
  62. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +96 -0
  63. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +128 -0
  64. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +206 -0
  65. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +3 -3
  66. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +100 -0
  67. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +3 -3
  68. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job.rb +125 -0
  69. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +2 -4
  70. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +107 -0
  71. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb +100 -0
  72. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +3 -3
  73. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_status.rb +2 -2
  74. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +2 -2
  75. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb +71 -0
  76. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +67 -0
  77. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +8 -8
  78. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +3 -3
  79. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +141 -0
  80. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +99 -0
  81. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +3 -3
  82. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +153 -0
  83. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +70 -0
  84. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +198 -0
  85. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +4 -4
  86. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +3 -3
  87. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +86 -0
  88. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +5 -5
  89. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/month_of_year.rb +2 -2
  90. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +103 -0
  91. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +3 -3
  92. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +4 -4
  93. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +80 -0
  94. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb +118 -0
  95. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +58 -0
  96. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +4 -4
  97. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +4 -4
  98. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +4 -4
  99. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +65 -0
  100. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +2 -2
  101. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +87 -0
  102. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +111 -0
  103. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +85 -0
  104. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +100 -0
  105. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +4 -4
  106. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +2 -2
  107. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +114 -0
  108. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +101 -0
  109. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +95 -0
  110. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +62 -0
  111. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +51 -0
  112. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +101 -0
  113. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +95 -0
  114. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protection_state.rb +2 -2
  115. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/protection_status.rb +2 -2
  116. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point.rb +5 -5
  117. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +101 -0
  118. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +95 -0
  119. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_type.rb +2 -2
  120. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/resource.rb +107 -0
  121. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/resource_list.rb +4 -4
  122. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/restore_request.rb +4 -4
  123. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +101 -0
  124. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +64 -0
  125. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +2 -2
  126. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/retention_policy.rb +4 -4
  127. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +2 -2
  128. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +3 -3
  129. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +2 -2
  130. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +2 -2
  131. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +112 -0
  132. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/week_of_month.rb +2 -2
  133. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +3 -3
  134. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +85 -0
  135. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +84 -0
  136. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +101 -0
  137. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +3 -3
  138. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/models/workload_type.rb +3 -6
  139. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +123 -0
  140. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/module_definition.rb +4 -3
  141. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +279 -0
  142. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +145 -0
  143. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +157 -0
  144. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +612 -0
  145. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +138 -0
  146. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +123 -0
  147. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +541 -0
  148. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +569 -0
  149. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +134 -0
  150. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +146 -0
  151. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +389 -0
  152. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +222 -0
  153. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/restores.rb +153 -0
  154. data/lib/{generated → 2016-06-01/generated}/azure_mgmt_recovery_services_backup/version.rb +3 -3
  155. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup.rb +34 -0
  156. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +2 -6
  157. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +2 -6
  158. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb +2 -6
  159. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb +2 -6
  160. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +2 -6
  161. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +2 -6
  162. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/module_definition.rb +9 -0
  163. data/lib/{generated → 2016-08-10/generated}/azure_mgmt_recovery_services_backup/operations.rb +7 -11
  164. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +126 -0
  165. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
  166. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup.rb +192 -0
  167. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_engines.rb +10 -14
  168. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_operation_results.rb +5 -9
  169. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -10
  170. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_policies.rb +7 -11
  171. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_protectable_items.rb +7 -11
  172. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_protected_items.rb +7 -11
  173. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +7 -11
  174. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +8 -12
  175. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +10 -14
  176. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +6 -10
  177. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/backups.rb +6 -10
  178. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +6 -10
  179. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +8 -12
  180. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/job_cancellations.rb +5 -9
  181. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/job_operation_results.rb +5 -9
  182. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/jobs.rb +5 -9
  183. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +2 -6
  184. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +2 -6
  185. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +106 -0
  186. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +77 -0
  187. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +2 -6
  188. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +2 -6
  189. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +2 -6
  190. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +2 -6
  191. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +2 -6
  192. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +2 -6
  193. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +2 -6
  194. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +2 -6
  195. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +84 -0
  196. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +2 -6
  197. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +2 -6
  198. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +68 -0
  199. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +2 -6
  200. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb +2 -6
  201. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb +91 -0
  202. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb +2 -6
  203. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +25 -0
  204. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +20 -0
  205. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +2 -6
  206. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +2 -6
  207. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +46 -0
  208. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb +2 -6
  209. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +2 -6
  210. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb +2 -6
  211. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +2 -6
  212. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb +2 -6
  213. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bekdetails.rb +2 -6
  214. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb +2 -6
  215. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +2 -6
  216. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +2 -6
  217. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +2 -6
  218. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +2 -6
  219. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +2 -6
  220. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb +2 -6
  221. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/container_type.rb +2 -6
  222. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +52 -0
  223. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +2 -6
  224. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +25 -0
  225. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/day.rb +54 -0
  226. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
  227. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +2 -6
  228. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_container.rb +2 -6
  229. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb +2 -6
  230. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +2 -6
  231. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +2 -6
  232. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/encryption_details.rb +2 -6
  233. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb +2 -6
  234. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +2 -6
  235. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb +89 -0
  236. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb +45 -0
  237. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/health_state.rb +2 -6
  238. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/health_status.rb +2 -6
  239. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +61 -0
  240. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +2 -6
  241. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +2 -6
  242. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb +2 -6
  243. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb +2 -6
  244. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +2 -6
  245. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +2 -6
  246. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb +45 -0
  247. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb +2 -6
  248. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb +52 -0
  249. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +22 -0
  250. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/job_query_object.rb +2 -6
  251. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +21 -0
  252. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/kekdetails.rb +2 -6
  253. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb +2 -6
  254. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +96 -0
  255. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +48 -0
  256. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_container.rb +2 -6
  257. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +2 -6
  258. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +2 -6
  259. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +2 -6
  260. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +2 -6
  261. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
  262. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +2 -6
  263. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/name_info.rb +2 -6
  264. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +65 -0
  265. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +46 -0
  266. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +2 -6
  267. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status.rb +2 -6
  268. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_error.rb +2 -6
  269. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb +47 -0
  270. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb +58 -0
  271. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb +83 -0
  272. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb +2 -6
  273. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb +19 -0
  274. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +2 -6
  275. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item.rb +2 -6
  276. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +2 -6
  277. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +2 -6
  278. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +91 -0
  279. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
  280. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_container.rb +2 -6
  281. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +2 -6
  282. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb +2 -6
  283. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy.rb +2 -6
  284. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +2 -6
  285. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +2 -6
  286. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +2 -6
  287. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
  288. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +18 -0
  289. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +47 -0
  290. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb +2 -6
  291. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb +2 -6
  292. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb +2 -6
  293. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb +2 -6
  294. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb +2 -6
  295. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb +18 -0
  296. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/resource.rb +2 -6
  297. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +45 -0
  298. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +46 -0
  299. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb +2 -6
  300. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/retention_duration.rb +2 -6
  301. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
  302. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +46 -0
  303. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
  304. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +46 -0
  305. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
  306. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +60 -0
  307. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +2 -6
  308. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/storage_type.rb +2 -6
  309. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/storage_type_state.rb +2 -6
  310. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/token_information.rb +2 -6
  311. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/type.rb +2 -6
  312. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/usages_unit.rb +2 -6
  313. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
  314. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +70 -0
  315. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +2 -6
  316. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +2 -6
  317. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb +2 -6
  318. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb +91 -0
  319. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +2 -6
  320. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/module_definition.rb +9 -0
  321. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -10
  322. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -10
  323. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protected_items.rb +11 -15
  324. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -10
  325. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +5 -9
  326. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_containers.rb +8 -12
  327. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_policies.rb +12 -16
  328. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -10
  329. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -10
  330. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/recovery_points.rb +10 -14
  331. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +8 -20
  332. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/restores.rb +6 -10
  333. data/lib/{generated → 2016-12-01/generated}/azure_mgmt_recovery_services_backup/security_pins.rb +6 -10
  334. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
  335. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup.rb +53 -0
  336. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/backup_jobs.rb +7 -11
  337. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/job_details.rb +6 -10
  338. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb +83 -0
  339. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb +2 -6
  340. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb +91 -0
  341. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb +2 -6
  342. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +20 -0
  343. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb +62 -0
  344. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/dpm_job.rb +2 -6
  345. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb +80 -0
  346. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb +84 -0
  347. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/job.rb +2 -6
  348. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +22 -0
  349. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +100 -0
  350. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/job_resource.rb +2 -6
  351. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb +91 -0
  352. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_status.rb +21 -0
  353. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb +17 -0
  354. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb +61 -0
  355. data/lib/{generated → 2017-07-01/generated}/azure_mgmt_recovery_services_backup/models/mab_job.rb +2 -6
  356. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb +79 -0
  357. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb +84 -0
  358. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +25 -0
  359. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/resource.rb +106 -0
  360. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb +45 -0
  361. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +25 -0
  362. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/module_definition.rb +9 -0
  363. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +133 -0
  364. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/version.rb +8 -0
  365. data/lib/azure_mgmt_recovery_services_backup.rb +5 -1
  366. data/lib/module_definition.rb +8 -0
  367. data/lib/profiles/common/configurable.rb +73 -0
  368. data/lib/profiles/common/default.rb +68 -0
  369. data/lib/profiles/latest/modules/recoveryservicesbackup_profile_module.rb +756 -0
  370. data/lib/profiles/latest/recoveryservicesbackup_latest_profile_client.rb +33 -0
  371. data/lib/profiles/latest/recoveryservicesbackup_module_definition.rb +9 -0
  372. data/lib/version.rb +7 -0
  373. metadata +372 -198
  374. data/lib/generated/azure_mgmt_recovery_services_backup.rb +0 -223
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 854b7dbc724e762ee33501b463dcc20d128bf75c
4
- data.tar.gz: 96a849d95204bf01a5a359e82d1de78bf95270b8
3
+ metadata.gz: 2aeb35120f6f2327c62aebf66b51a7ea88185a02
4
+ data.tar.gz: 39908d4c80cd11722375c20eec5e39b838d2c234
5
5
  SHA512:
6
- metadata.gz: cd9d52f19db5b69fedfe1b33dc9cc5eb1e782a6b4c9000c05f6701bea3256d38e1ff898c3f366619c4ed083ad9c6605606594c9845f06a12ccd7c9bbfecb6df6
7
- data.tar.gz: 9b0997ef391474342ca60e8b9bece8dcdfdb379ea13a42a028282b1581a8414ac9d5dc738bee75efe059e356091637d4f35e0a93a5ec4c0d30dd91ab45042526
6
+ metadata.gz: 82ad47b374de04d1b4efc601a2bb2d9378a0a2cdcf53c97f51d32e3ddf4dfc6435205d3e304bb87ddb6836f3167ff76e12d94c5fde3dad08eed1de199b4d8582
7
+ data.tar.gz: 0e9292bb20fc4ad4cf9529c21332888308581be7472a872b06df6d9f3cb91a0b2b271474d80fcf98c7e8dc72b55cfa729c29596f752b8ad9a89d67c911902082
@@ -0,0 +1,180 @@
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 2.2.27.0
7
+ # Changes may cause incorrect behavior and will be lost if the code is
8
+ # regenerated.
9
+
10
+ require 'uri'
11
+ require 'cgi'
12
+ require 'date'
13
+ require 'json'
14
+ require 'base64'
15
+ require 'erb'
16
+ require 'securerandom'
17
+ require 'time'
18
+ require 'timeliness'
19
+ require 'faraday'
20
+ require 'faraday-cookie_jar'
21
+ require 'concurrent'
22
+ require 'ms_rest'
23
+ require '2016-06-01/generated/azure_mgmt_recovery_services_backup/module_definition'
24
+ require 'ms_rest_azure'
25
+
26
+ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
27
+ autoload :ItemLevelRecoveryConnections, '2016-06-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb'
28
+ autoload :Restores, '2016-06-01/generated/azure_mgmt_recovery_services_backup/restores.rb'
29
+ autoload :ProtectionPolicyOperationStatuses, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb'
30
+ autoload :ProtectionPolicyOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb'
31
+ autoload :ProtectionPolicies, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb'
32
+ autoload :ProtectionContainerOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb'
33
+ autoload :ProtectionContainerRefreshOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb'
34
+ autoload :ProtectionContainers, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb'
35
+ autoload :RecoveryPoints, '2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb'
36
+ autoload :Backups, '2016-06-01/generated/azure_mgmt_recovery_services_backup/backups.rb'
37
+ autoload :ProtectedItemOperationStatuses, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb'
38
+ autoload :ProtectedItemOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb'
39
+ autoload :ProtectedItems, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb'
40
+ autoload :ProtectableItems, '2016-06-01/generated/azure_mgmt_recovery_services_backup/protectable_items.rb'
41
+ autoload :ExportJobsOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb'
42
+ autoload :JobOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb'
43
+ autoload :Jobs, '2016-06-01/generated/azure_mgmt_recovery_services_backup/jobs.rb'
44
+ autoload :JobCancellations, '2016-06-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb'
45
+ autoload :JobDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/job_details.rb'
46
+ autoload :BackupOperationStatuses, '2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb'
47
+ autoload :BackupOperationResults, '2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb'
48
+ autoload :BackupEngines, '2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb'
49
+ autoload :RecoveryServicesBackupClient, '2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb'
50
+
51
+ module Models
52
+ autoload :SchedulePolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb'
53
+ autoload :RetentionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb'
54
+ autoload :Job, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job.rb'
55
+ autoload :ILRRequest, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
56
+ autoload :BMSRPQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb'
57
+ autoload :ProtectionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
58
+ autoload :BMSBackupEngineQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb'
59
+ autoload :WeeklyRetentionFormat, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb'
60
+ autoload :OperationStatusExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb'
61
+ autoload :MonthlyRetentionSchedule, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb'
62
+ autoload :OperationWorkerResponse, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb'
63
+ autoload :BMSContainerQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb'
64
+ autoload :WorkloadProtectableItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb'
65
+ autoload :RestoreRequest, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb'
66
+ autoload :DpmErrorInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
67
+ autoload :KeyAndSecretDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb'
68
+ autoload :ProtectedItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
69
+ autoload :ProtectionPolicyQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
70
+ autoload :BMSPOQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb'
71
+ autoload :BEKDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb'
72
+ autoload :GetProtectedItemQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb'
73
+ autoload :KEKDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb'
74
+ autoload :AzureIaaSVMJobTaskDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb'
75
+ autoload :YearlyRetentionSchedule, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
76
+ autoload :RecoveryPoint, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb'
77
+ autoload :ResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
78
+ autoload :Day, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/day.rb'
79
+ autoload :ClientScriptForConnect, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb'
80
+ autoload :DailyRetentionFormat, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb'
81
+ autoload :InstantItemRecoveryTarget, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb'
82
+ autoload :BackupEngineBase, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
83
+ autoload :MabContainerExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb'
84
+ autoload :OperationStatus, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
85
+ autoload :RetentionDuration, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb'
86
+ autoload :DpmJobTaskDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb'
87
+ autoload :MabJobExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
88
+ autoload :WeeklyRetentionSchedule, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
89
+ autoload :AzureIaaSVMProtectedItemExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb'
90
+ autoload :BackupRequest, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb'
91
+ autoload :MabJobTaskDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb'
92
+ autoload :AzureIaaSVMErrorInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
93
+ autoload :MabFileFolderProtectedItemExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb'
94
+ autoload :EncryptionDetails, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb'
95
+ autoload :MabErrorInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb'
96
+ autoload :JobQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
97
+ autoload :AzureSqlProtectedItemExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb'
98
+ autoload :AzureIaaSVMJobExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb'
99
+ autoload :DailyRetentionSchedule, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb'
100
+ autoload :ProtectionContainer, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb'
101
+ autoload :DpmJobExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb'
102
+ autoload :OperationResultInfoBase, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb'
103
+ autoload :Resource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/resource.rb'
104
+ autoload :OperationStatusError, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb'
105
+ autoload :ProtectedItemQueryObject, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
106
+ autoload :JobResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_resource.rb'
107
+ autoload :JobResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb'
108
+ autoload :WorkloadProtectableItemResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb'
109
+ autoload :WorkloadProtectableItemResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb'
110
+ autoload :ProtectedItemResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb'
111
+ autoload :ProtectedItemResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb'
112
+ autoload :BackupRequestResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb'
113
+ autoload :RecoveryPointResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb'
114
+ autoload :RecoveryPointResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb'
115
+ autoload :ProtectionContainerResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb'
116
+ autoload :ProtectionContainerResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb'
117
+ autoload :ProtectionPolicyResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
118
+ autoload :ProtectionPolicyResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
119
+ autoload :RestoreRequestResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb'
120
+ autoload :ILRRequestResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb'
121
+ autoload :AzureBackupServerEngine, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb'
122
+ autoload :DpmBackupEngine, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb'
123
+ autoload :AzureSqlContainer, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb'
124
+ autoload :IaaSVMContainer, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb'
125
+ autoload :MabContainer, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb'
126
+ autoload :IaaSVMProtectableItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb'
127
+ autoload :AzureIaaSVMProtectedItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb'
128
+ autoload :MabFileFolderProtectedItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb'
129
+ autoload :AzureSqlProtectedItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb'
130
+ autoload :IaasVMBackupRequest, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb'
131
+ autoload :AzureIaaSVMProtectionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb'
132
+ autoload :MabProtectionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb'
133
+ autoload :AzureSqlProtectionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb'
134
+ autoload :IaasVMRecoveryPoint, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb'
135
+ autoload :GenericRecoveryPoint, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb'
136
+ autoload :IaasVMRestoreRequest, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb'
137
+ autoload :IaasVMILRRegistrationRequest, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb'
138
+ autoload :AzureIaaSVMJob, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb'
139
+ autoload :DpmJob, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb'
140
+ autoload :MabJob, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb'
141
+ autoload :OperationResultInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb'
142
+ autoload :ExportJobsOperationResultInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb'
143
+ autoload :AzureIaaSComputeVMContainer, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb'
144
+ autoload :AzureIaaSClassicComputeVMContainer, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb'
145
+ autoload :AzureIaaSComputeVMProtectableItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb'
146
+ autoload :AzureIaaSClassicComputeVMProtectableItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb'
147
+ autoload :AzureIaaSComputeVMProtectedItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb'
148
+ autoload :AzureIaaSClassicComputeVMProtectedItem, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb'
149
+ autoload :OperationStatusJobExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb'
150
+ autoload :OperationStatusProvisionILRExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb'
151
+ autoload :OperationStatusJobsExtendedInfo, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb'
152
+ autoload :LongTermSchedulePolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb'
153
+ autoload :SimpleSchedulePolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb'
154
+ autoload :SimpleRetentionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb'
155
+ autoload :LongTermRetentionPolicy, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb'
156
+ autoload :BackupEngineBaseResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb'
157
+ autoload :BackupEngineBaseResourceList, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb'
158
+ autoload :OperationResultInfoBaseResource, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb'
159
+ autoload :BackupManagementType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
160
+ autoload :OperationStatusValues, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb'
161
+ autoload :HttpStatusCode, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb'
162
+ autoload :JobStatus, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_status.rb'
163
+ autoload :JobOperationType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb'
164
+ autoload :ProtectionStatus, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb'
165
+ autoload :DataSourceType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb'
166
+ autoload :BackupItemType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb'
167
+ autoload :ProtectionState, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb'
168
+ autoload :ProtectedItemState, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb'
169
+ autoload :RecoveryType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb'
170
+ autoload :JobSupportedAction, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb'
171
+ autoload :MabServerType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb'
172
+ autoload :WorkloadType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb'
173
+ autoload :ScheduleRunType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb'
174
+ autoload :DayOfWeek, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb'
175
+ autoload :RetentionDurationType, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb'
176
+ autoload :RetentionScheduleFormat, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb'
177
+ autoload :WeekOfMonth, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb'
178
+ autoload :MonthOfYear, '2016-06-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb'
179
+ end
180
+ end
@@ -0,0 +1,256 @@
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 2.2.27.0
7
+ # Changes may cause incorrect behavior and will be lost if the code is
8
+ # regenerated.
9
+
10
+ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
11
+ #
12
+ # Open API 2.0 Specs for Azure RecoveryServices Backup service
13
+ #
14
+ class BackupEngines
15
+ include MsRestAzure
16
+
17
+ #
18
+ # Creates and initializes a new instance of the BackupEngines class.
19
+ # @param client service class for accessing basic functionality.
20
+ #
21
+ def initialize(client)
22
+ @client = client
23
+ end
24
+
25
+ # @return [RecoveryServicesBackupClient] reference to the RecoveryServicesBackupClient
26
+ attr_reader :client
27
+
28
+ #
29
+ # The backup management servers registered to a Recovery Services vault. This
30
+ # returns a pageable list of servers.
31
+ #
32
+ # @param vault_name [String] The name of the Recovery Services vault.
33
+ # @param resource_group_name [String] The name of the resource group associated
34
+ # with the Recovery Services vault.
35
+ # @param filter [String] Use this filter to choose the specific backup
36
+ # management server. backupManagementType { AzureIaasVM, MAB, DPM,
37
+ # AzureBackupServer, AzureSql }.
38
+ # @param skip_token [String] The Skip Token filter.
39
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
40
+ # will be added to the HTTP request.
41
+ #
42
+ # @return [Array<BackupEngineBaseResource>] operation results.
43
+ #
44
+ def get(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
45
+ first_page = get_as_lazy(vault_name, resource_group_name, filter, skip_token, custom_headers)
46
+ first_page.get_all_items
47
+ end
48
+
49
+ #
50
+ # The backup management servers registered to a Recovery Services vault. This
51
+ # returns a pageable list of servers.
52
+ #
53
+ # @param vault_name [String] The name of the Recovery Services vault.
54
+ # @param resource_group_name [String] The name of the resource group associated
55
+ # with the Recovery Services vault.
56
+ # @param filter [String] Use this filter to choose the specific backup
57
+ # management server. backupManagementType { AzureIaasVM, MAB, DPM,
58
+ # AzureBackupServer, AzureSql }.
59
+ # @param skip_token [String] The Skip Token filter.
60
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
61
+ # will be added to the HTTP request.
62
+ #
63
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
64
+ #
65
+ def get_with_http_info(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
66
+ get_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
67
+ end
68
+
69
+ #
70
+ # The backup management servers registered to a Recovery Services vault. This
71
+ # returns a pageable list of servers.
72
+ #
73
+ # @param vault_name [String] The name of the Recovery Services vault.
74
+ # @param resource_group_name [String] The name of the resource group associated
75
+ # with the Recovery Services vault.
76
+ # @param filter [String] Use this filter to choose the specific backup
77
+ # management server. backupManagementType { AzureIaasVM, MAB, DPM,
78
+ # AzureBackupServer, AzureSql }.
79
+ # @param skip_token [String] The Skip Token filter.
80
+ # @param [Hash{String => String}] A hash of custom headers that will be added
81
+ # to the HTTP request.
82
+ #
83
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
84
+ #
85
+ def get_async(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
86
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
87
+ fail ArgumentError, 'vault_name is nil' if vault_name.nil?
88
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
89
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
90
+
91
+
92
+ request_headers = {}
93
+
94
+ # Set Headers
95
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
96
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
97
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines'
98
+
99
+ request_url = @base_url || @client.base_url
100
+
101
+ options = {
102
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
103
+ path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id},
104
+ query_params: {'api-version' => @client.api_version,'$filter' => filter,'$skipToken' => skip_token},
105
+ headers: request_headers.merge(custom_headers || {}),
106
+ base_url: request_url
107
+ }
108
+ promise = @client.make_request_async(:get, path_template, options)
109
+
110
+ promise = promise.then do |result|
111
+ http_response = result.response
112
+ status_code = http_response.status
113
+ response_content = http_response.body
114
+ unless status_code == 200
115
+ error_model = JSON.load(response_content)
116
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
117
+ end
118
+
119
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
120
+ # Deserialize Response
121
+ if status_code == 200
122
+ begin
123
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
124
+ result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::BackupEngineBaseResourceList.mapper()
125
+ result.body = @client.deserialize(result_mapper, parsed_response)
126
+ rescue Exception => e
127
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
128
+ end
129
+ end
130
+
131
+ result
132
+ end
133
+
134
+ promise.execute
135
+ end
136
+
137
+ #
138
+ # The backup management servers registered to a Recovery Services vault. This
139
+ # returns a pageable list of servers.
140
+ #
141
+ # @param next_page_link [String] The NextLink from the previous successful call
142
+ # to List operation.
143
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
144
+ # will be added to the HTTP request.
145
+ #
146
+ # @return [BackupEngineBaseResourceList] operation results.
147
+ #
148
+ def get_next(next_page_link, custom_headers = nil)
149
+ response = get_next_async(next_page_link, custom_headers).value!
150
+ response.body unless response.nil?
151
+ end
152
+
153
+ #
154
+ # The backup management servers registered to a Recovery Services vault. This
155
+ # returns a pageable list of servers.
156
+ #
157
+ # @param next_page_link [String] The NextLink from the previous successful call
158
+ # to List operation.
159
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
160
+ # will be added to the HTTP request.
161
+ #
162
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
163
+ #
164
+ def get_next_with_http_info(next_page_link, custom_headers = nil)
165
+ get_next_async(next_page_link, custom_headers).value!
166
+ end
167
+
168
+ #
169
+ # The backup management servers registered to a Recovery Services vault. This
170
+ # returns a pageable list of servers.
171
+ #
172
+ # @param next_page_link [String] The NextLink from the previous successful call
173
+ # to List operation.
174
+ # @param [Hash{String => String}] A hash of custom headers that will be added
175
+ # to the HTTP request.
176
+ #
177
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
178
+ #
179
+ def get_next_async(next_page_link, custom_headers = nil)
180
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
181
+
182
+
183
+ request_headers = {}
184
+
185
+ # Set Headers
186
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
187
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
188
+ path_template = '{nextLink}'
189
+
190
+ request_url = @base_url || @client.base_url
191
+
192
+ options = {
193
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
194
+ skip_encoding_path_params: {'nextLink' => next_page_link},
195
+ headers: request_headers.merge(custom_headers || {}),
196
+ base_url: request_url
197
+ }
198
+ promise = @client.make_request_async(:get, path_template, options)
199
+
200
+ promise = promise.then do |result|
201
+ http_response = result.response
202
+ status_code = http_response.status
203
+ response_content = http_response.body
204
+ unless status_code == 200
205
+ error_model = JSON.load(response_content)
206
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
207
+ end
208
+
209
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
210
+ # Deserialize Response
211
+ if status_code == 200
212
+ begin
213
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
214
+ result_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::BackupEngineBaseResourceList.mapper()
215
+ result.body = @client.deserialize(result_mapper, parsed_response)
216
+ rescue Exception => e
217
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
218
+ end
219
+ end
220
+
221
+ result
222
+ end
223
+
224
+ promise.execute
225
+ end
226
+
227
+ #
228
+ # The backup management servers registered to a Recovery Services vault. This
229
+ # returns a pageable list of servers.
230
+ #
231
+ # @param vault_name [String] The name of the Recovery Services vault.
232
+ # @param resource_group_name [String] The name of the resource group associated
233
+ # with the Recovery Services vault.
234
+ # @param filter [String] Use this filter to choose the specific backup
235
+ # management server. backupManagementType { AzureIaasVM, MAB, DPM,
236
+ # AzureBackupServer, AzureSql }.
237
+ # @param skip_token [String] The Skip Token filter.
238
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
239
+ # will be added to the HTTP request.
240
+ #
241
+ # @return [BackupEngineBaseResourceList] which provide lazy access to pages of
242
+ # the response.
243
+ #
244
+ def get_as_lazy(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
245
+ response = get_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
246
+ unless response.nil?
247
+ page = response.body
248
+ page.next_method = Proc.new do |next_page_link|
249
+ get_next_async(next_page_link, custom_headers)
250
+ end
251
+ page
252
+ end
253
+ end
254
+
255
+ end
256
+ end
@@ -0,0 +1,131 @@
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 2.2.27.0
7
+ # Changes may cause incorrect behavior and will be lost if the code is
8
+ # regenerated.
9
+
10
+ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
11
+ #
12
+ # Open API 2.0 Specs for Azure RecoveryServices Backup service
13
+ #
14
+ class BackupOperationResults
15
+ include MsRestAzure
16
+
17
+ #
18
+ # Creates and initializes a new instance of the BackupOperationResults class.
19
+ # @param client service class for accessing basic functionality.
20
+ #
21
+ def initialize(client)
22
+ @client = client
23
+ end
24
+
25
+ # @return [RecoveryServicesBackupClient] reference to the RecoveryServicesBackupClient
26
+ attr_reader :client
27
+
28
+ #
29
+ # Provides the status of the delete operations, for example, deleting a backup
30
+ # item. Once the operation starts, the response status code is Accepted. The
31
+ # response status code remains in this state until the operation reaches
32
+ # completion. On successful completion, the status code changes to OK. This
33
+ # method expects OperationID as an argument. OperationID is part of the
34
+ # Location header of the operation response.
35
+ #
36
+ # @param vault_name [String] The name of the Recovery Services vault.
37
+ # @param resource_group_name [String] The name of the resource group associated
38
+ # with the Recovery Services vault.
39
+ # @param operation_id [String] The ID of the operation.
40
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
41
+ # will be added to the HTTP request.
42
+ #
43
+ #
44
+ def get(vault_name, resource_group_name, operation_id, custom_headers = nil)
45
+ response = get_async(vault_name, resource_group_name, operation_id, custom_headers).value!
46
+ nil
47
+ end
48
+
49
+ #
50
+ # Provides the status of the delete operations, for example, deleting a backup
51
+ # item. Once the operation starts, the response status code is Accepted. The
52
+ # response status code remains in this state until the operation reaches
53
+ # completion. On successful completion, the status code changes to OK. This
54
+ # method expects OperationID as an argument. OperationID is part of the
55
+ # Location header of the operation response.
56
+ #
57
+ # @param vault_name [String] The name of the Recovery Services vault.
58
+ # @param resource_group_name [String] The name of the resource group associated
59
+ # with the Recovery Services vault.
60
+ # @param operation_id [String] The ID of the operation.
61
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
62
+ # will be added to the HTTP request.
63
+ #
64
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
65
+ #
66
+ def get_with_http_info(vault_name, resource_group_name, operation_id, custom_headers = nil)
67
+ get_async(vault_name, resource_group_name, operation_id, custom_headers).value!
68
+ end
69
+
70
+ #
71
+ # Provides the status of the delete operations, for example, deleting a backup
72
+ # item. Once the operation starts, the response status code is Accepted. The
73
+ # response status code remains in this state until the operation reaches
74
+ # completion. On successful completion, the status code changes to OK. This
75
+ # method expects OperationID as an argument. OperationID is part of the
76
+ # Location header of the operation response.
77
+ #
78
+ # @param vault_name [String] The name of the Recovery Services vault.
79
+ # @param resource_group_name [String] The name of the resource group associated
80
+ # with the Recovery Services vault.
81
+ # @param operation_id [String] The ID of the operation.
82
+ # @param [Hash{String => String}] A hash of custom headers that will be added
83
+ # to the HTTP request.
84
+ #
85
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
86
+ #
87
+ def get_async(vault_name, resource_group_name, operation_id, custom_headers = nil)
88
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
89
+ fail ArgumentError, 'vault_name is nil' if vault_name.nil?
90
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
91
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
92
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
93
+
94
+
95
+ request_headers = {}
96
+
97
+ # Set Headers
98
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
99
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
100
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupOperationResults/{operationId}'
101
+
102
+ request_url = @base_url || @client.base_url
103
+
104
+ options = {
105
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
106
+ path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'operationId' => operation_id},
107
+ query_params: {'api-version' => @client.api_version},
108
+ headers: request_headers.merge(custom_headers || {}),
109
+ base_url: request_url
110
+ }
111
+ promise = @client.make_request_async(:get, path_template, options)
112
+
113
+ promise = promise.then do |result|
114
+ http_response = result.response
115
+ status_code = http_response.status
116
+ response_content = http_response.body
117
+ unless status_code == 200 || status_code == 202 || status_code == 204
118
+ error_model = JSON.load(response_content)
119
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
120
+ end
121
+
122
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
123
+
124
+ result
125
+ end
126
+
127
+ promise.execute
128
+ end
129
+
130
+ end
131
+ end