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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1785c93c5b24384e6212575134948b7153fab6ad
4
- data.tar.gz: ece1d3538fa64b939a2e9d1c5829d407cd59a3bd
3
+ metadata.gz: edd5141b0ca2c7f052d4d8c8a5e76518cb4f700b
4
+ data.tar.gz: b15965b0cb471e20b4487c7caee55f8ec6250216
5
5
  SHA512:
6
- metadata.gz: 25b6eb251c2e9e0bcc76d38723bfceffd6abc35d4cebc994776679fb2cf3a06f9166f8370601abb4d4a5bd728ac63613a063848c0b842a6e9c6f9a45b64c4ca5
7
- data.tar.gz: 4c68b082277fdfedaf6968f83f4541cc7baaaca71376ac7bc17e45a00ebe0a5217e97da4d6d9187939c9e0e465755a751929678120e70287a695cf8f378aa244
6
+ metadata.gz: 226a417df73c25acb16e79750c116fac5d15ea879bf32c8ad8e6b8925e55474eea52b2afb0d24377f4776fda0d5417a334d92dab458b572d0562025930198056
7
+ data.tar.gz: 9f543d946323db9b9eb22e6bbbd48e53db7bb8a043198a969004dc9eb4574428cb8485bee64f598d846d1ab96a2e2a46cb39001e6025acb02fec29bdecd40c35
@@ -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
 
@@ -20,157 +24,200 @@ require 'generated/azure_mgmt_recovery_services_backup/module_definition'
20
24
  require 'ms_rest_azure'
21
25
 
22
26
  module Azure::ARM::RecoveryServicesBackup
23
- autoload :ItemLevelRecoveryConnections, 'generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb'
24
- autoload :Restores, 'generated/azure_mgmt_recovery_services_backup/restores.rb'
25
- autoload :ProtectionPolicyOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb'
26
- autoload :ProtectionPolicyOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb'
27
- autoload :ProtectionPolicies, 'generated/azure_mgmt_recovery_services_backup/protection_policies.rb'
28
- autoload :ProtectionContainerOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb'
27
+ autoload :BackupResourceVaultConfigs, 'generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb'
28
+ autoload :BackupEngines, 'generated/azure_mgmt_recovery_services_backup/backup_engines.rb'
29
29
  autoload :ProtectionContainerRefreshOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb'
30
30
  autoload :ProtectionContainers, 'generated/azure_mgmt_recovery_services_backup/protection_containers.rb'
31
- autoload :RecoveryPoints, 'generated/azure_mgmt_recovery_services_backup/recovery_points.rb'
31
+ autoload :ProtectionContainerOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb'
32
+ autoload :ProtectedItems, 'generated/azure_mgmt_recovery_services_backup/protected_items.rb'
32
33
  autoload :Backups, 'generated/azure_mgmt_recovery_services_backup/backups.rb'
33
- autoload :ProtectedItemOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb'
34
34
  autoload :ProtectedItemOperationResults, 'generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb'
35
- autoload :ProtectedItems, 'generated/azure_mgmt_recovery_services_backup/protected_items.rb'
36
- autoload :ProtectableItems, 'generated/azure_mgmt_recovery_services_backup/protectable_items.rb'
37
- autoload :ExportJobsOperationResults, 'generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb'
35
+ autoload :ProtectedItemOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb'
36
+ autoload :RecoveryPoints, 'generated/azure_mgmt_recovery_services_backup/recovery_points.rb'
37
+ autoload :ItemLevelRecoveryConnections, 'generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb'
38
+ autoload :Restores, 'generated/azure_mgmt_recovery_services_backup/restores.rb'
39
+ autoload :BackupJobs, 'generated/azure_mgmt_recovery_services_backup/backup_jobs.rb'
40
+ autoload :JobDetails, 'generated/azure_mgmt_recovery_services_backup/job_details.rb'
41
+ autoload :JobCancellations, 'generated/azure_mgmt_recovery_services_backup/job_cancellations.rb'
38
42
  autoload :JobOperationResults, 'generated/azure_mgmt_recovery_services_backup/job_operation_results.rb'
43
+ autoload :ExportJobsOperationResults, 'generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb'
39
44
  autoload :Jobs, 'generated/azure_mgmt_recovery_services_backup/jobs.rb'
40
- autoload :JobCancellations, 'generated/azure_mgmt_recovery_services_backup/job_cancellations.rb'
41
- autoload :JobDetails, 'generated/azure_mgmt_recovery_services_backup/job_details.rb'
42
- autoload :BackupOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb'
43
45
  autoload :BackupOperationResults, 'generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb'
44
- autoload :BackupEngines, 'generated/azure_mgmt_recovery_services_backup/backup_engines.rb'
46
+ autoload :BackupOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb'
47
+ autoload :BackupPolicies, 'generated/azure_mgmt_recovery_services_backup/backup_policies.rb'
48
+ autoload :ProtectionPolicies, 'generated/azure_mgmt_recovery_services_backup/protection_policies.rb'
49
+ autoload :ProtectionPolicyOperationResults, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb'
50
+ autoload :ProtectionPolicyOperationStatuses, 'generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb'
51
+ autoload :BackupProtectableItems, 'generated/azure_mgmt_recovery_services_backup/backup_protectable_items.rb'
52
+ autoload :BackupProtectedItems, 'generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb'
53
+ autoload :BackupProtectionContainers, 'generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb'
54
+ autoload :SecurityPINs, 'generated/azure_mgmt_recovery_services_backup/security_pins.rb'
55
+ autoload :BackupResourceStorageConfigs, 'generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb'
56
+ autoload :BackupUsageSummaries, 'generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb'
57
+ autoload :Operations, 'generated/azure_mgmt_recovery_services_backup/operations.rb'
45
58
  autoload :RecoveryServicesBackupClient, 'generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb'
46
59
 
47
60
  module Models
48
- autoload :SchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb'
49
- autoload :RetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb'
50
- autoload :Job, 'generated/azure_mgmt_recovery_services_backup/models/job.rb'
51
- autoload :ILRRequest, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
52
- autoload :BMSRPQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb'
53
- autoload :ProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
61
+ autoload :KeyAndSecretDetails, 'generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb'
62
+ autoload :RecoveryPointTierInformation, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_information.rb'
54
63
  autoload :BMSBackupEngineQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engine_query_object.rb'
55
- autoload :WeeklyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb'
56
- autoload :OperationStatusExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb'
57
- autoload :MonthlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb'
58
- autoload :OperationWorkerResponse, 'generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb'
64
+ autoload :BMSBackupEnginesQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb'
65
+ autoload :ClientDiscoveryResponse, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb'
66
+ autoload :BMSBackupSummariesQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb'
67
+ autoload :ClientDiscoveryForProperties, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_properties.rb'
59
68
  autoload :BMSContainerQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb'
60
- autoload :WorkloadProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb'
61
- autoload :RestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/restore_request.rb'
62
- autoload :DpmErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
63
- autoload :KeyAndSecretDetails, 'generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb'
64
- autoload :ProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
65
- autoload :ProtectionPolicyQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
69
+ autoload :ClientDiscoveryForLogSpecification, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb'
66
70
  autoload :BMSPOQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb'
67
- autoload :BEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb'
68
- autoload :GetProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb'
69
- autoload :KEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb'
71
+ autoload :AzureIaaSVMErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
72
+ autoload :BMSRPQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb'
70
73
  autoload :AzureIaaSVMJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_task_details.rb'
71
- autoload :YearlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
72
- autoload :RecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb'
73
- autoload :ResourceList, 'generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
74
- autoload :Day, 'generated/azure_mgmt_recovery_services_backup/models/day.rb'
75
74
  autoload :ClientScriptForConnect, 'generated/azure_mgmt_recovery_services_backup/models/client_script_for_connect.rb'
75
+ autoload :WorkloadProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb'
76
+ autoload :Day, 'generated/azure_mgmt_recovery_services_backup/models/day.rb'
77
+ autoload :TokenInformation, 'generated/azure_mgmt_recovery_services_backup/models/token_information.rb'
76
78
  autoload :DailyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb'
77
- autoload :InstantItemRecoveryTarget, 'generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb'
78
- autoload :BackupEngineBase, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
79
- autoload :MabContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb'
80
- autoload :OperationStatus, 'generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
79
+ autoload :RetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb'
81
80
  autoload :RetentionDuration, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb'
81
+ autoload :ResourceList, 'generated/azure_mgmt_recovery_services_backup/models/resource_list.rb'
82
+ autoload :DailyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb'
83
+ autoload :Resource, 'generated/azure_mgmt_recovery_services_backup/models/resource.rb'
84
+ autoload :OperationWorkerResponse, 'generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb'
85
+ autoload :BackupEngineExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_extended_info.rb'
86
+ autoload :OperationStatus, 'generated/azure_mgmt_recovery_services_backup/models/operation_status.rb'
87
+ autoload :ProtectionPolicyQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb'
88
+ autoload :DpmErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_error_info.rb'
89
+ autoload :NameInfo, 'generated/azure_mgmt_recovery_services_backup/models/name_info.rb'
82
90
  autoload :DpmJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_task_details.rb'
91
+ autoload :BackupManagementUsageList, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb'
92
+ autoload :DpmJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb'
93
+ autoload :ProtectionContainer, 'generated/azure_mgmt_recovery_services_backup/models/protection_container.rb'
94
+ autoload :OperationStatusExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_extended_info.rb'
95
+ autoload :ProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
96
+ autoload :DPMProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb'
97
+ autoload :ProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/protected_item.rb'
98
+ autoload :OperationStatusError, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb'
99
+ autoload :EncryptionDetails, 'generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb'
100
+ autoload :ClientDiscoveryForServiceSpecification, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_service_specification.rb'
101
+ autoload :OperationResultInfoBase, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb'
102
+ autoload :AzureIaaSVMHealthDetails, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb'
83
103
  autoload :MabJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_extended_info.rb'
84
- autoload :WeeklyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
85
104
  autoload :AzureIaaSVMProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb'
86
- autoload :BackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/backup_request.rb'
105
+ autoload :GetProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/get_protected_item_query_object.rb'
106
+ autoload :RestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/restore_request.rb'
87
107
  autoload :MabJobTaskDetails, 'generated/azure_mgmt_recovery_services_backup/models/mab_job_task_details.rb'
88
- autoload :AzureIaaSVMErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmerror_info.rb'
108
+ autoload :RecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb'
89
109
  autoload :MabFileFolderProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb'
90
- autoload :EncryptionDetails, 'generated/azure_mgmt_recovery_services_backup/models/encryption_details.rb'
110
+ autoload :ProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb'
91
111
  autoload :MabErrorInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_error_info.rb'
92
- autoload :JobQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
93
- autoload :AzureSqlProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb'
112
+ autoload :BackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/backup_request.rb'
113
+ autoload :MabContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb'
114
+ autoload :BackupResourceVaultConfig, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb'
115
+ autoload :KEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/kekdetails.rb'
116
+ autoload :ClientDiscoveryValueForSingleApi, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb'
117
+ autoload :DPMContainerExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpmcontainer_extended_info.rb'
94
118
  autoload :AzureIaaSVMJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob_extended_info.rb'
95
- autoload :DailyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb'
96
- autoload :ProtectionContainer, 'generated/azure_mgmt_recovery_services_backup/models/protection_container.rb'
97
- autoload :DpmJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job_extended_info.rb'
98
- autoload :OperationResultInfoBase, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb'
99
- autoload :Resource, 'generated/azure_mgmt_recovery_services_backup/models/resource.rb'
100
- autoload :OperationStatusError, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_error.rb'
101
- autoload :ProtectedItemQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb'
102
- autoload :JobResource, 'generated/azure_mgmt_recovery_services_backup/models/job_resource.rb'
103
- autoload :JobResourceList, 'generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb'
104
- autoload :WorkloadProtectableItemResource, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb'
105
- autoload :WorkloadProtectableItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb'
106
- autoload :ProtectedItemResource, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb'
107
- autoload :ProtectedItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb'
108
- autoload :BackupRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb'
109
- autoload :RecoveryPointResource, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb'
110
- autoload :RecoveryPointResourceList, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb'
111
- autoload :ProtectionContainerResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb'
112
- autoload :ProtectionContainerResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb'
113
- autoload :ProtectionPolicyResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
114
- autoload :ProtectionPolicyResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
115
- autoload :RestoreRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb'
116
- autoload :ILRRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb'
119
+ autoload :YearlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb'
120
+ autoload :AzureSqlProtectedItemExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb'
121
+ autoload :MonthlyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb'
122
+ autoload :BackupManagementUsage, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb'
123
+ autoload :WeeklyRetentionFormat, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb'
124
+ autoload :BEKDetails, 'generated/azure_mgmt_recovery_services_backup/models/bekdetails.rb'
125
+ autoload :ILRRequest, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest.rb'
126
+ autoload :SchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb'
127
+ autoload :WeeklyRetentionSchedule, 'generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb'
128
+ autoload :BackupResourceConfig, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb'
129
+ autoload :InstantItemRecoveryTarget, 'generated/azure_mgmt_recovery_services_backup/models/instant_item_recovery_target.rb'
130
+ autoload :BackupEngineBase, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb'
131
+ autoload :Job, 'generated/azure_mgmt_recovery_services_backup/models/job.rb'
132
+ autoload :ClientDiscoveryDisplay, 'generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb'
133
+ autoload :JobQueryObject, 'generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb'
134
+ autoload :AzureBackupServerContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb'
117
135
  autoload :AzureBackupServerEngine, 'generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb'
118
- autoload :DpmBackupEngine, 'generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb'
119
- autoload :AzureSqlContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb'
120
- autoload :IaaSVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb'
121
- autoload :MabContainer, 'generated/azure_mgmt_recovery_services_backup/models/mab_container.rb'
122
- autoload :IaaSVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb'
136
+ autoload :AzureIaaSClassicComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb'
137
+ autoload :AzureIaaSClassicComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb'
138
+ autoload :AzureIaaSClassicComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb'
139
+ autoload :AzureIaaSComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb'
140
+ autoload :AzureIaaSComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb'
141
+ autoload :AzureIaaSComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb'
142
+ autoload :AzureIaaSVMJob, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb'
123
143
  autoload :AzureIaaSVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb'
124
- autoload :MabFileFolderProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb'
125
- autoload :AzureSqlProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb'
126
- autoload :IaasVMBackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb'
127
144
  autoload :AzureIaaSVMProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb'
128
- autoload :MabProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb'
145
+ autoload :AzureSqlContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb'
146
+ autoload :AzureSqlProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb'
129
147
  autoload :AzureSqlProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb'
130
- autoload :IaasVMRecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb'
148
+ autoload :BackupEngineBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb'
149
+ autoload :BackupEngineBaseResourceList, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb'
150
+ autoload :BackupRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_request_resource.rb'
151
+ autoload :BackupResourceConfigResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_config_resource.rb'
152
+ autoload :BackupResourceVaultConfigResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config_resource.rb'
153
+ autoload :DpmBackupEngine, 'generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb'
154
+ autoload :DpmContainer, 'generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb'
155
+ autoload :DpmJob, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb'
156
+ autoload :DPMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb'
157
+ autoload :ExportJobsOperationResultInfo, 'generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb'
131
158
  autoload :GenericRecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/generic_recovery_point.rb'
132
- autoload :IaasVMRestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb'
159
+ autoload :IaasVMBackupRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmbackup_request.rb'
160
+ autoload :IaaSVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb'
133
161
  autoload :IaasVMILRRegistrationRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmilrregistration_request.rb'
134
- autoload :AzureIaaSVMJob, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmjob.rb'
135
- autoload :DpmJob, 'generated/azure_mgmt_recovery_services_backup/models/dpm_job.rb'
162
+ autoload :IaaSVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb'
163
+ autoload :IaasVMRecoveryPoint, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb'
164
+ autoload :IaasVMRestoreRequest, 'generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb'
165
+ autoload :ILRRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/ilrrequest_resource.rb'
166
+ autoload :JobResource, 'generated/azure_mgmt_recovery_services_backup/models/job_resource.rb'
167
+ autoload :JobResourceList, 'generated/azure_mgmt_recovery_services_backup/models/job_resource_list.rb'
168
+ autoload :LongTermRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb'
169
+ autoload :LongTermSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb'
170
+ autoload :MabContainer, 'generated/azure_mgmt_recovery_services_backup/models/mab_container.rb'
171
+ autoload :MabFileFolderProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb'
136
172
  autoload :MabJob, 'generated/azure_mgmt_recovery_services_backup/models/mab_job.rb'
173
+ autoload :MabProtectionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb'
137
174
  autoload :OperationResultInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb'
138
- autoload :ExportJobsOperationResultInfo, 'generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb'
139
- autoload :AzureIaaSComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb'
140
- autoload :AzureIaaSClassicComputeVMContainer, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb'
141
- autoload :AzureIaaSComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb'
142
- autoload :AzureIaaSClassicComputeVMProtectableItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb'
143
- autoload :AzureIaaSComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb'
144
- autoload :AzureIaaSClassicComputeVMProtectedItem, 'generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb'
175
+ autoload :OperationResultInfoBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb'
145
176
  autoload :OperationStatusJobExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_job_extended_info.rb'
146
- autoload :OperationStatusProvisionILRExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb'
147
177
  autoload :OperationStatusJobsExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_jobs_extended_info.rb'
148
- autoload :LongTermSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb'
149
- autoload :SimpleSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb'
178
+ autoload :OperationStatusProvisionILRExtendedInfo, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_provision_ilrextended_info.rb'
179
+ autoload :ProtectedItemResource, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb'
180
+ autoload :ProtectedItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb'
181
+ autoload :ProtectionContainerResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb'
182
+ autoload :ProtectionContainerResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_container_resource_list.rb'
183
+ autoload :ProtectionPolicyResource, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb'
184
+ autoload :ProtectionPolicyResourceList, 'generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb'
185
+ autoload :RecoveryPointResource, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource.rb'
186
+ autoload :RecoveryPointResourceList, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_resource_list.rb'
187
+ autoload :RestoreRequestResource, 'generated/azure_mgmt_recovery_services_backup/models/restore_request_resource.rb'
150
188
  autoload :SimpleRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb'
151
- autoload :LongTermRetentionPolicy, 'generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb'
152
- autoload :BackupEngineBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource.rb'
153
- autoload :BackupEngineBaseResourceList, 'generated/azure_mgmt_recovery_services_backup/models/backup_engine_base_resource_list.rb'
154
- autoload :OperationResultInfoBaseResource, 'generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb'
155
- autoload :BackupManagementType, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
156
- autoload :OperationStatusValues, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb'
157
- autoload :HttpStatusCode, 'generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb'
158
- autoload :JobStatus, 'generated/azure_mgmt_recovery_services_backup/models/job_status.rb'
159
- autoload :JobOperationType, 'generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb'
160
- autoload :ProtectionStatus, 'generated/azure_mgmt_recovery_services_backup/models/protection_status.rb'
161
- autoload :DataSourceType, 'generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb'
162
- autoload :BackupItemType, 'generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb'
189
+ autoload :SimpleSchedulePolicy, 'generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb'
190
+ autoload :WorkloadProtectableItemResource, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource.rb'
191
+ autoload :WorkloadProtectableItemResourceList, 'generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item_resource_list.rb'
192
+ autoload :JobSupportedAction, 'generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb'
163
193
  autoload :ProtectionState, 'generated/azure_mgmt_recovery_services_backup/models/protection_state.rb'
194
+ autoload :HealthStatus, 'generated/azure_mgmt_recovery_services_backup/models/health_status.rb'
164
195
  autoload :ProtectedItemState, 'generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb'
196
+ autoload :BackupManagementType, 'generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb'
197
+ autoload :UsagesUnit, 'generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb'
198
+ autoload :StorageType, 'generated/azure_mgmt_recovery_services_backup/models/storage_type.rb'
199
+ autoload :StorageTypeState, 'generated/azure_mgmt_recovery_services_backup/models/storage_type_state.rb'
200
+ autoload :EnhancedSecurityState, 'generated/azure_mgmt_recovery_services_backup/models/enhanced_security_state.rb'
201
+ autoload :Type, 'generated/azure_mgmt_recovery_services_backup/models/type.rb'
202
+ autoload :ContainerType, 'generated/azure_mgmt_recovery_services_backup/models/container_type.rb'
203
+ autoload :RetentionDurationType, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb'
204
+ autoload :RecoveryPointTierType, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_type.rb'
205
+ autoload :RecoveryPointTierStatus, 'generated/azure_mgmt_recovery_services_backup/models/recovery_point_tier_status.rb'
165
206
  autoload :RecoveryType, 'generated/azure_mgmt_recovery_services_backup/models/recovery_type.rb'
166
- autoload :JobSupportedAction, 'generated/azure_mgmt_recovery_services_backup/models/job_supported_action.rb'
167
- autoload :MabServerType, 'generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb'
168
- autoload :WorkloadType, 'generated/azure_mgmt_recovery_services_backup/models/workload_type.rb'
169
- autoload :ScheduleRunType, 'generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb'
207
+ autoload :JobStatus, 'generated/azure_mgmt_recovery_services_backup/models/job_status.rb'
208
+ autoload :JobOperationType, 'generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb'
170
209
  autoload :DayOfWeek, 'generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb'
171
- autoload :RetentionDurationType, 'generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb'
172
210
  autoload :RetentionScheduleFormat, 'generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb'
173
211
  autoload :WeekOfMonth, 'generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb'
174
212
  autoload :MonthOfYear, 'generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb'
213
+ autoload :BackupItemType, 'generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb'
214
+ autoload :MabServerType, 'generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb'
215
+ autoload :WorkloadType, 'generated/azure_mgmt_recovery_services_backup/models/workload_type.rb'
216
+ autoload :OperationStatusValues, 'generated/azure_mgmt_recovery_services_backup/models/operation_status_values.rb'
217
+ autoload :HttpStatusCode, 'generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb'
218
+ autoload :DataSourceType, 'generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb'
219
+ autoload :HealthState, 'generated/azure_mgmt_recovery_services_backup/models/health_state.rb'
220
+ autoload :ScheduleRunType, 'generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb'
221
+ autoload :ProtectionStatus, 'generated/azure_mgmt_recovery_services_backup/models/protection_status.rb'
175
222
  end
176
223
  end
@@ -1,14 +1,17 @@
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
  #
8
- # Composite Swagger for Recovery Services Backup Client
12
+ # Open API 2.0 Specs for Azure RecoveryServices Backup service
9
13
  #
10
14
  class BackupEngines
11
- include Azure::ARM::RecoveryServicesBackup::Models
12
15
  include MsRestAzure
13
16
 
14
17
  #
@@ -23,64 +26,58 @@ module Azure::ARM::RecoveryServicesBackup
23
26
  attr_reader :client
24
27
 
25
28
  #
26
- # The backup management servers registered to a Recovery Services vault. This
27
- # returns a pageable list of servers.
29
+ # Backup management servers registered to Recovery Services Vault. Returns a
30
+ # pageable list of servers.
28
31
  #
29
- # @param vault_name [String] The name of the Recovery Services vault.
30
- # @param resource_group_name [String] The name of the resource group associated
31
- # with the Recovery Services vault.
32
- # @param filter [String] Use this filter to choose the specific backup
33
- # management server. backupManagementType { AzureIaasVM, MAB, DPM,
34
- # AzureBackupServer, AzureSql }.
35
- # @param skip_token [String] The Skip Token filter.
32
+ # @param vault_name [String] The name of the recovery services vault.
33
+ # @param resource_group_name [String] The name of the resource group where the
34
+ # recovery services vault is present.
35
+ # @param filter [String] OData filter options.
36
+ # @param skip_token [String] skipToken Filter.
36
37
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
37
38
  # will be added to the HTTP request.
38
39
  #
39
40
  # @return [Array<BackupEngineBaseResource>] operation results.
40
41
  #
41
- def get(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
42
- first_page = get_as_lazy(vault_name, resource_group_name, filter, skip_token, custom_headers)
42
+ def list(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
43
+ first_page = list_as_lazy(vault_name, resource_group_name, filter, skip_token, custom_headers)
43
44
  first_page.get_all_items
44
45
  end
45
46
 
46
47
  #
47
- # The backup management servers registered to a Recovery Services vault. This
48
- # returns a pageable list of servers.
48
+ # Backup management servers registered to Recovery Services Vault. Returns a
49
+ # pageable list of servers.
49
50
  #
50
- # @param vault_name [String] The name of the Recovery Services vault.
51
- # @param resource_group_name [String] The name of the resource group associated
52
- # with the Recovery Services vault.
53
- # @param filter [String] Use this filter to choose the specific backup
54
- # management server. backupManagementType { AzureIaasVM, MAB, DPM,
55
- # AzureBackupServer, AzureSql }.
56
- # @param skip_token [String] The Skip Token filter.
51
+ # @param vault_name [String] The name of the recovery services vault.
52
+ # @param resource_group_name [String] The name of the resource group where the
53
+ # recovery services vault is present.
54
+ # @param filter [String] OData filter options.
55
+ # @param skip_token [String] skipToken Filter.
57
56
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
58
57
  # will be added to the HTTP request.
59
58
  #
60
59
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
61
60
  #
62
- def get_with_http_info(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
63
- get_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
61
+ def list_with_http_info(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
62
+ list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
64
63
  end
65
64
 
66
65
  #
67
- # The backup management servers registered to a Recovery Services vault. This
68
- # returns a pageable list of servers.
66
+ # Backup management servers registered to Recovery Services Vault. Returns a
67
+ # pageable list of servers.
69
68
  #
70
- # @param vault_name [String] The name of the Recovery Services vault.
71
- # @param resource_group_name [String] The name of the resource group associated
72
- # with the Recovery Services vault.
73
- # @param filter [String] Use this filter to choose the specific backup
74
- # management server. backupManagementType { AzureIaasVM, MAB, DPM,
75
- # AzureBackupServer, AzureSql }.
76
- # @param skip_token [String] The Skip Token filter.
69
+ # @param vault_name [String] The name of the recovery services vault.
70
+ # @param resource_group_name [String] The name of the resource group where the
71
+ # recovery services vault is present.
72
+ # @param filter [String] OData filter options.
73
+ # @param skip_token [String] skipToken Filter.
77
74
  # @param [Hash{String => String}] A hash of custom headers that will be added
78
75
  # to the HTTP request.
79
76
  #
80
77
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
81
78
  #
82
- def get_async(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
83
- api_version = '2016-06-01'
79
+ def list_async(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
80
+ api_version = '2016-12-01'
84
81
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
85
82
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
86
83
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -91,7 +88,7 @@ module Azure::ARM::RecoveryServicesBackup
91
88
  # Set Headers
92
89
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
93
90
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
94
- path_template = '/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines'
91
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines'
95
92
 
96
93
  request_url = @base_url || @client.base_url
97
94
 
@@ -118,8 +115,8 @@ module Azure::ARM::RecoveryServicesBackup
118
115
  if status_code == 200
119
116
  begin
120
117
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
121
- result_mapper = BackupEngineBaseResourceList.mapper()
122
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
118
+ result_mapper = Azure::ARM::RecoveryServicesBackup::Models::BackupEngineBaseResourceList.mapper()
119
+ result.body = @client.deserialize(result_mapper, parsed_response)
123
120
  rescue Exception => e
124
121
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
125
122
  end
@@ -132,8 +129,112 @@ module Azure::ARM::RecoveryServicesBackup
132
129
  end
133
130
 
134
131
  #
135
- # The backup management servers registered to a Recovery Services vault. This
136
- # returns a pageable list of servers.
132
+ # Returns backup management server registered to Recovery Services Vault.
133
+ #
134
+ # @param vault_name [String] The name of the recovery services vault.
135
+ # @param resource_group_name [String] The name of the resource group where the
136
+ # recovery services vault is present.
137
+ # @param backup_engine_name [String] Name of the backup management server.
138
+ # @param filter [String] OData filter options.
139
+ # @param skip_token [String] skipToken Filter.
140
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
141
+ # will be added to the HTTP request.
142
+ #
143
+ # @return [BackupEngineBaseResource] operation results.
144
+ #
145
+ def get(vault_name, resource_group_name, backup_engine_name, filter = nil, skip_token = nil, custom_headers = nil)
146
+ response = get_async(vault_name, resource_group_name, backup_engine_name, filter, skip_token, custom_headers).value!
147
+ response.body unless response.nil?
148
+ end
149
+
150
+ #
151
+ # Returns backup management server registered to Recovery Services Vault.
152
+ #
153
+ # @param vault_name [String] The name of the recovery services vault.
154
+ # @param resource_group_name [String] The name of the resource group where the
155
+ # recovery services vault is present.
156
+ # @param backup_engine_name [String] Name of the backup management server.
157
+ # @param filter [String] OData filter options.
158
+ # @param skip_token [String] skipToken Filter.
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_with_http_info(vault_name, resource_group_name, backup_engine_name, filter = nil, skip_token = nil, custom_headers = nil)
165
+ get_async(vault_name, resource_group_name, backup_engine_name, filter, skip_token, custom_headers).value!
166
+ end
167
+
168
+ #
169
+ # Returns backup management server registered to Recovery Services Vault.
170
+ #
171
+ # @param vault_name [String] The name of the recovery services vault.
172
+ # @param resource_group_name [String] The name of the resource group where the
173
+ # recovery services vault is present.
174
+ # @param backup_engine_name [String] Name of the backup management server.
175
+ # @param filter [String] OData filter options.
176
+ # @param skip_token [String] skipToken Filter.
177
+ # @param [Hash{String => String}] A hash of custom headers that will be added
178
+ # to the HTTP request.
179
+ #
180
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
181
+ #
182
+ def get_async(vault_name, resource_group_name, backup_engine_name, filter = nil, skip_token = nil, custom_headers = nil)
183
+ api_version = '2016-12-01'
184
+ fail ArgumentError, 'vault_name is nil' if vault_name.nil?
185
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
186
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
187
+ fail ArgumentError, 'backup_engine_name is nil' if backup_engine_name.nil?
188
+
189
+
190
+ request_headers = {}
191
+
192
+ # Set Headers
193
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
194
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
195
+ path_template = 'Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupEngines/{backupEngineName}'
196
+
197
+ request_url = @base_url || @client.base_url
198
+
199
+ options = {
200
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
201
+ path_params: {'vaultName' => vault_name,'resourceGroupName' => resource_group_name,'subscriptionId' => @client.subscription_id,'backupEngineName' => backup_engine_name},
202
+ query_params: {'api-version' => api_version,'$filter' => filter,'$skipToken' => skip_token},
203
+ headers: request_headers.merge(custom_headers || {}),
204
+ base_url: request_url
205
+ }
206
+ promise = @client.make_request_async(:get, path_template, options)
207
+
208
+ promise = promise.then do |result|
209
+ http_response = result.response
210
+ status_code = http_response.status
211
+ response_content = http_response.body
212
+ unless status_code == 200
213
+ error_model = JSON.load(response_content)
214
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
215
+ end
216
+
217
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
218
+ # Deserialize Response
219
+ if status_code == 200
220
+ begin
221
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
222
+ result_mapper = Azure::ARM::RecoveryServicesBackup::Models::BackupEngineBaseResource.mapper()
223
+ result.body = @client.deserialize(result_mapper, parsed_response)
224
+ rescue Exception => e
225
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
226
+ end
227
+ end
228
+
229
+ result
230
+ end
231
+
232
+ promise.execute
233
+ end
234
+
235
+ #
236
+ # Backup management servers registered to Recovery Services Vault. Returns a
237
+ # pageable list of servers.
137
238
  #
138
239
  # @param next_page_link [String] The NextLink from the previous successful call
139
240
  # to List operation.
@@ -142,14 +243,14 @@ module Azure::ARM::RecoveryServicesBackup
142
243
  #
143
244
  # @return [BackupEngineBaseResourceList] operation results.
144
245
  #
145
- def get_next(next_page_link, custom_headers = nil)
146
- response = get_next_async(next_page_link, custom_headers).value!
246
+ def list_next(next_page_link, custom_headers = nil)
247
+ response = list_next_async(next_page_link, custom_headers).value!
147
248
  response.body unless response.nil?
148
249
  end
149
250
 
150
251
  #
151
- # The backup management servers registered to a Recovery Services vault. This
152
- # returns a pageable list of servers.
252
+ # Backup management servers registered to Recovery Services Vault. Returns a
253
+ # pageable list of servers.
153
254
  #
154
255
  # @param next_page_link [String] The NextLink from the previous successful call
155
256
  # to List operation.
@@ -158,13 +259,13 @@ module Azure::ARM::RecoveryServicesBackup
158
259
  #
159
260
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
160
261
  #
161
- def get_next_with_http_info(next_page_link, custom_headers = nil)
162
- get_next_async(next_page_link, custom_headers).value!
262
+ def list_next_with_http_info(next_page_link, custom_headers = nil)
263
+ list_next_async(next_page_link, custom_headers).value!
163
264
  end
164
265
 
165
266
  #
166
- # The backup management servers registered to a Recovery Services vault. This
167
- # returns a pageable list of servers.
267
+ # Backup management servers registered to Recovery Services Vault. Returns a
268
+ # pageable list of servers.
168
269
  #
169
270
  # @param next_page_link [String] The NextLink from the previous successful call
170
271
  # to List operation.
@@ -173,7 +274,7 @@ module Azure::ARM::RecoveryServicesBackup
173
274
  #
174
275
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
175
276
  #
176
- def get_next_async(next_page_link, custom_headers = nil)
277
+ def list_next_async(next_page_link, custom_headers = nil)
177
278
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
178
279
 
179
280
 
@@ -208,8 +309,8 @@ module Azure::ARM::RecoveryServicesBackup
208
309
  if status_code == 200
209
310
  begin
210
311
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
211
- result_mapper = BackupEngineBaseResourceList.mapper()
212
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
312
+ result_mapper = Azure::ARM::RecoveryServicesBackup::Models::BackupEngineBaseResourceList.mapper()
313
+ result.body = @client.deserialize(result_mapper, parsed_response)
213
314
  rescue Exception => e
214
315
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
215
316
  end
@@ -222,28 +323,26 @@ module Azure::ARM::RecoveryServicesBackup
222
323
  end
223
324
 
224
325
  #
225
- # The backup management servers registered to a Recovery Services vault. This
226
- # returns a pageable list of servers.
326
+ # Backup management servers registered to Recovery Services Vault. Returns a
327
+ # pageable list of servers.
227
328
  #
228
- # @param vault_name [String] The name of the Recovery Services vault.
229
- # @param resource_group_name [String] The name of the resource group associated
230
- # with the Recovery Services vault.
231
- # @param filter [String] Use this filter to choose the specific backup
232
- # management server. backupManagementType { AzureIaasVM, MAB, DPM,
233
- # AzureBackupServer, AzureSql }.
234
- # @param skip_token [String] The Skip Token filter.
329
+ # @param vault_name [String] The name of the recovery services vault.
330
+ # @param resource_group_name [String] The name of the resource group where the
331
+ # recovery services vault is present.
332
+ # @param filter [String] OData filter options.
333
+ # @param skip_token [String] skipToken Filter.
235
334
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
236
335
  # will be added to the HTTP request.
237
336
  #
238
337
  # @return [BackupEngineBaseResourceList] which provide lazy access to pages of
239
338
  # the response.
240
339
  #
241
- def get_as_lazy(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
242
- response = get_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
340
+ def list_as_lazy(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
341
+ response = list_async(vault_name, resource_group_name, filter, skip_token, custom_headers).value!
243
342
  unless response.nil?
244
343
  page = response.body
245
344
  page.next_method = Proc.new do |next_page_link|
246
- get_next_async(next_page_link, custom_headers)
345
+ list_next_async(next_page_link, custom_headers)
247
346
  end
248
347
  page
249
348
  end