azure_mgmt_recovery_services_backup 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +15 -13
  3. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +6 -5
  4. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -5
  5. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/backups.rb +6 -7
  6. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +6 -5
  7. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +12 -12
  8. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +6 -5
  9. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +6 -5
  10. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +6 -5
  11. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/jobs.rb +21 -18
  12. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protectable_items.rb +15 -13
  13. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -5
  14. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -5
  15. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +33 -30
  16. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -5
  17. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +6 -5
  18. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +33 -28
  19. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +33 -30
  20. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -5
  21. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -5
  22. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +21 -18
  23. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -1
  24. data/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/restores.rb +6 -7
  25. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_display.rb +9 -7
  26. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_for_log_specification.rb +2 -2
  27. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_response.rb +3 -3
  28. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/models/client_discovery_value_for_single_api.rb +7 -6
  29. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/operations.rb +15 -13
  30. data/lib/2016-08-10/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +4 -1
  31. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup.rb +119 -68
  32. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_engines.rb +21 -18
  33. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_operation_results.rb +6 -5
  34. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_operation_statuses.rb +6 -5
  35. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_protectable_items.rb +15 -13
  36. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_protection_containers.rb +15 -13
  37. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_resource_storage_configs.rb +23 -10
  38. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_resource_vault_configs.rb +12 -12
  39. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backup_workload_items.rb +256 -0
  40. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/backups.rb +6 -7
  41. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/item_level_recovery_connections.rb +12 -12
  42. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/job_cancellations.rb +6 -5
  43. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/job_operation_results.rb +6 -5
  44. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_container.rb +8 -17
  45. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_backup_server_engine.rb +2 -2
  46. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_backup_request.rb +62 -0
  47. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protectable_item.rb +118 -0
  48. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb +111 -0
  49. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_recovery_point.rb +85 -0
  50. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_restore_request.rb +132 -0
  51. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_type.rb +17 -0
  52. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb +192 -0
  53. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb +71 -0
  54. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmcontainer.rb +4 -13
  55. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotectable_item.rb +8 -0
  56. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +8 -0
  57. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmcontainer.rb +4 -13
  58. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotectable_item.rb +8 -0
  59. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +8 -0
  60. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +9 -2
  61. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_container.rb +4 -13
  62. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +8 -0
  63. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/{job_query_object.rb → azure_sqlagworkload_container_protection_container.rb} +38 -37
  64. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_container.rb +126 -0
  65. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_protectable_container.rb +82 -0
  66. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_item.rb +138 -0
  67. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protectable_item.rb +165 -0
  68. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb +71 -0
  69. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb +102 -0
  70. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlavailability_group_protectable_item.rb +141 -0
  71. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protectable_item.rb +140 -0
  72. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb +250 -0
  73. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_workload_item.rb +122 -0
  74. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlinstance_protectable_item.rb +140 -0
  75. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqlinstance_workload_item.rb +143 -0
  76. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protectable_container.rb +82 -0
  77. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmapp_container_protection_container.rb +107 -0
  78. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_backup_request.rb +86 -0
  79. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_container.rb +119 -0
  80. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_container_extended_info.rb +80 -0
  81. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_recovery_point.rb +74 -0
  82. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_restore_request.rb +94 -0
  83. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlpoint_in_time_recovery_point.rb +95 -0
  84. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlpoint_in_time_restore_request.rb +137 -0
  85. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrecovery_point.rb +83 -0
  86. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrecovery_point_extended_info.rb +68 -0
  87. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_sqlrestore_request.rb +138 -0
  88. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_engine_base.rb +5 -4
  89. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_item_type.rb +2 -0
  90. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +3 -0
  91. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_request.rb +2 -0
  92. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_resource_config.rb +12 -0
  93. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_resource_vault_config.rb +12 -0
  94. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/backup_type.rb +19 -0
  95. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_engines_query_object.rb +2 -1
  96. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmscontainer_query_object.rb +16 -2
  97. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmspoquery_object.rb +27 -1
  98. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsrefresh_containers_query_object.rb +49 -0
  99. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsrpquery_object.rb +25 -0
  100. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/bmsworkload_item_query_object.rb +87 -0
  101. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/container_identity_info.rb +79 -0
  102. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/container_type.rb +4 -0
  103. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/copy_options.rb +19 -0
  104. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +2 -0
  105. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/distributed_nodes_info.rb +70 -0
  106. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_backup_engine.rb +2 -2
  107. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpm_container.rb +8 -17
  108. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +8 -0
  109. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb +76 -0
  110. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_container.rb +106 -0
  111. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_container_extended_info.rb +78 -0
  112. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb +184 -0
  113. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb +102 -0
  114. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmcontainer.rb +4 -13
  115. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaa_svmprotectable_item.rb +8 -0
  116. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrecovery_point.rb +3 -3
  117. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/iaas_vmrestore_request.rb +1 -1
  118. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/inquiry_info.rb +81 -0
  119. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/{job_status.rb → inquiry_status.rb} +3 -7
  120. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/inquiry_validation.rb +58 -0
  121. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb +18 -0
  122. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb +62 -0
  123. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container.rb +36 -13
  124. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_container_extended_info.rb +2 -1
  125. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +8 -0
  126. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/mabcontainer_health_details.rb +87 -0
  127. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/overwrite_options.rb +17 -0
  128. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/point_in_time_range.rb +57 -0
  129. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/pre_backup_validation.rb +71 -0
  130. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container.rb +94 -0
  131. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container_resource.rb +108 -0
  132. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protectable_container_resource_list.rb +95 -0
  133. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +17 -2
  134. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb +19 -0
  135. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container.rb +10 -23
  136. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_container_resource.rb +1 -1
  137. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +3 -0
  138. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +1 -0
  139. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/recovery_point.rb +4 -0
  140. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_file_specs.rb +68 -0
  141. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_point_query_type.rb +20 -0
  142. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_point_type.rb +18 -0
  143. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request.rb +4 -0
  144. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/restore_request_type.rb +17 -0
  145. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +1 -0
  146. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb +58 -0
  147. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory.rb +69 -0
  148. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory_mapping.rb +80 -0
  149. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sqldata_directory_type.rb +17 -0
  150. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb +76 -0
  151. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/target_afsrestore_info.rb +57 -0
  152. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/target_restore_info.rb +71 -0
  153. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_inquiry_details.rb +71 -0
  154. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item.rb +95 -0
  155. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_resource.rb +109 -0
  156. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_resource_list.rb +95 -0
  157. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_item_type.rb +17 -0
  158. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_protectable_item.rb +18 -1
  159. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +27 -0
  160. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protectable_containers.rb +240 -0
  161. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_results.rb +6 -5
  162. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_item_operation_statuses.rb +6 -5
  163. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb +18 -17
  164. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_container_operation_results.rb +6 -5
  165. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_container_refresh_operation_results.rb +6 -5
  166. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb +344 -11
  167. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policies.rb +18 -17
  168. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_results.rb +6 -5
  169. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protection_policy_operation_statuses.rb +6 -5
  170. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/recovery_points.rb +21 -18
  171. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +12 -21
  172. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/restores.rb +6 -7
  173. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/security_pins.rb +6 -5
  174. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup.rb +112 -9
  175. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_jobs.rb +15 -13
  176. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_policies.rb +18 -16
  177. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_protected_items.rb +18 -16
  178. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_status.rb +124 -0
  179. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/backup_usage_summaries.rb +8 -7
  180. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/export_jobs_operation_results.rb +18 -7
  181. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/feature_support.rb +127 -0
  182. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/job_details.rb +6 -5
  183. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/jobs.rb +7 -6
  184. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_file_share_protection_policy.rb +111 -0
  185. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item.rb +192 -0
  186. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_fileshare_protected_item_extended_info.rb +71 -0
  187. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_sclassic_compute_vmprotected_item.rb +197 -0
  188. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_scompute_vmprotected_item.rb +197 -0
  189. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmhealth_details.rb +87 -0
  190. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item.rb +234 -0
  191. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotected_item_extended_info.rb +71 -0
  192. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_iaa_svmprotection_policy.rb +100 -0
  193. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_resource_protection_intent.rb +102 -0
  194. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item.rb +144 -0
  195. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protected_item_extended_info.rb +71 -0
  196. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_sql_protection_policy.rb +72 -0
  197. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_error_info.rb +77 -0
  198. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job.rb +195 -0
  199. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_extended_info.rb +85 -0
  200. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_storage_job_task_details.rb +57 -0
  201. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protected_item_extended_info.rb +71 -0
  202. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_protection_policy.rb +102 -0
  203. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vm_workload_sqldatabase_protected_item.rb +250 -0
  204. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_request.rb +73 -0
  205. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_vmresource_feature_support_response.rb +48 -0
  206. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_error_info.rb +100 -0
  207. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job.rb +172 -0
  208. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_extended_info.rb +85 -0
  209. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/azure_workload_job_task_details.rb +57 -0
  210. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_management_type.rb +3 -0
  211. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage.rb +1 -1
  212. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/backup_management_usage_list.rb +1 -1
  213. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_request.rb +72 -0
  214. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/backup_status_response.rb +140 -0
  215. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/bmsbackup_summaries_query_object.rb +1 -1
  216. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_format.rb +55 -0
  217. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/daily_retention_schedule.rb +66 -0
  218. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/data_source_type.rb +27 -0
  219. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day.rb +57 -0
  220. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/day_of_week.rb +21 -0
  221. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item.rb +166 -0
  222. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/dpmprotected_item_extended_info.rb +198 -0
  223. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/error_detail.rb +76 -0
  224. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/export_jobs_operation_result_info.rb +1 -1
  225. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/fabric_name.rb +16 -0
  226. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/feature_support_request.rb +46 -0
  227. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protected_item.rb +184 -0
  228. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/generic_protection_policy.rb +102 -0
  229. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/health_state.rb +1 -1
  230. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/health_status.rb +18 -0
  231. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/http_status_code.rb +1 -1
  232. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job.rb +4 -1
  233. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/job_query_object.rb +2 -1
  234. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/last_backup_status.rb +18 -0
  235. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/log_schedule_policy.rb +62 -0
  236. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_retention_policy.rb +102 -0
  237. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/long_term_schedule_policy.rb +50 -0
  238. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item.rb +187 -0
  239. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_file_folder_protected_item_extended_info.rb +69 -0
  240. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_job.rb +4 -2
  241. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_protection_policy.rb +86 -0
  242. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/mab_server_type.rb +4 -0
  243. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/month_of_year.rb +27 -0
  244. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/monthly_retention_schedule.rb +105 -0
  245. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/name_info.rb +1 -1
  246. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info.rb +1 -1
  247. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base.rb +1 -1
  248. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_result_info_base_resource.rb +2 -2
  249. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/operation_worker_response.rb +2 -2
  250. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_request.rb +88 -0
  251. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/pre_validate_enable_backup_response.rb +105 -0
  252. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item.rb +139 -0
  253. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_health_status.rb +19 -0
  254. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protected_item_query_object.rb +26 -3
  255. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource.rb +108 -0
  256. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protected_item_resource_list.rb +1 -1
  257. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protected_item_state.rb +20 -0
  258. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent.rb +108 -0
  259. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_intent_resource.rb +108 -0
  260. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy.rb +63 -0
  261. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protection_policy_query_object.rb +14 -2
  262. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource.rb +109 -0
  263. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/protection_policy_resource_list.rb +1 -1
  264. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_state.rb +20 -0
  265. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/protection_status.rb +19 -0
  266. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration.rb +62 -0
  267. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_duration_type.rb +19 -0
  268. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_policy.rb +47 -0
  269. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/retention_schedule_format.rb +17 -0
  270. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_policy.rb +48 -0
  271. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/schedule_run_type.rb +17 -0
  272. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/settings.rb +58 -0
  273. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_retention_policy.rb +63 -0
  274. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/simple_schedule_policy.rb +114 -0
  275. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/sub_protection_policy.rb +76 -0
  276. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/support_status.rb +19 -0
  277. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/type.rb +1 -1
  278. data/lib/{2016-12-01 → 2017-07-01}/generated/azure_mgmt_recovery_services_backup/models/usages_unit.rb +1 -1
  279. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/validation_status.rb +17 -0
  280. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/week_of_month.rb +19 -0
  281. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_format.rb +75 -0
  282. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/weekly_retention_schedule.rb +87 -0
  283. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/workload_type.rb +2 -0
  284. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/models/yearly_retention_schedule.rb +125 -0
  285. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/protection_intent_operations.rb +253 -0
  286. data/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/recovery_services_backup_client.rb +36 -1
  287. data/lib/profiles/latest/modules/recoveryservicesbackup_profile_module.rb +1039 -628
  288. data/lib/profiles/latest/recoveryservicesbackup_latest_profile_client.rb +28 -9
  289. data/lib/profiles/latest/recoveryservicesbackup_module_definition.rb +0 -1
  290. data/lib/version.rb +1 -1
  291. metadata +182 -28
  292. data/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/models/job_operation_type.rb +0 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d71616ea16c1710206254e5bdd0ff1f44e0bfac
4
- data.tar.gz: 1e1a14345b849ff48a58e08e350b3230c610896e
3
+ metadata.gz: 1d2f39cd48daf12511338ef07fdcb7f106d0d1e8
4
+ data.tar.gz: 8360303efc57e5d66337176392dc8611080fc08b
5
5
  SHA512:
6
- metadata.gz: c540a6846deb677c972afbc6f80c0868f61bd6d1e10918c25caa08a1f45af2f50964b782c5fd0c416c99576617b6e6816d60b094cf90698e6bf1d00207e238c2
7
- data.tar.gz: 292db1616cb7963904243536f712bfa783ce585010b0164af754949ca27e4089d5d7c44fd60ecf2fd5b4b4269d7e742aea80026553c2651fa498e483fb972573
6
+ metadata.gz: a8e7b490ddb879ed2700e70142f0efbeb8084c447f6b53168c812006a401b6df93400e3dd05a532bfe26e80fd2ab8c1c612f8dd5d121e33957d0a42d4fb29618
7
+ data.tar.gz: e2fc9c990f514a5867f90905459ffcf9f3ead178500dd7a661cb836dcd4e203289a724ff66c675f8d7d9133ecc4516e362d218c1cff90d28c36ffa8e28bd0368
@@ -41,8 +41,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
41
41
  #
42
42
  # @return [Array<BackupEngineBaseResource>] operation results.
43
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)
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:filter, skip_token:skip_token, custom_headers:custom_headers)
46
46
  first_page.get_all_items
47
47
  end
48
48
 
@@ -62,8 +62,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
62
62
  #
63
63
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
64
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!
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:filter, skip_token:skip_token, custom_headers:custom_headers).value!
67
67
  end
68
68
 
69
69
  #
@@ -82,7 +82,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
82
82
  #
83
83
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
84
84
  #
85
- def get_async(vault_name, resource_group_name, filter = nil, skip_token = nil, custom_headers = nil)
85
+ def get_async(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
86
86
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
87
87
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
88
88
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -90,6 +90,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
90
90
 
91
91
 
92
92
  request_headers = {}
93
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
93
94
 
94
95
  # Set Headers
95
96
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -145,8 +146,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
145
146
  #
146
147
  # @return [BackupEngineBaseResourceList] operation results.
147
148
  #
148
- def get_next(next_page_link, custom_headers = nil)
149
- response = get_next_async(next_page_link, custom_headers).value!
149
+ def get_next(next_page_link, custom_headers:nil)
150
+ response = get_next_async(next_page_link, custom_headers:custom_headers).value!
150
151
  response.body unless response.nil?
151
152
  end
152
153
 
@@ -161,8 +162,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
161
162
  #
162
163
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
163
164
  #
164
- def get_next_with_http_info(next_page_link, custom_headers = nil)
165
- get_next_async(next_page_link, custom_headers).value!
165
+ def get_next_with_http_info(next_page_link, custom_headers:nil)
166
+ get_next_async(next_page_link, custom_headers:custom_headers).value!
166
167
  end
167
168
 
168
169
  #
@@ -176,11 +177,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
176
177
  #
177
178
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
178
179
  #
179
- def get_next_async(next_page_link, custom_headers = nil)
180
+ def get_next_async(next_page_link, custom_headers:nil)
180
181
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
181
182
 
182
183
 
183
184
  request_headers = {}
185
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
184
186
 
185
187
  # Set Headers
186
188
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -241,12 +243,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
241
243
  # @return [BackupEngineBaseResourceList] which provide lazy access to pages of
242
244
  # the response.
243
245
  #
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
+ def get_as_lazy(vault_name, resource_group_name, filter:nil, skip_token:nil, custom_headers:nil)
247
+ response = get_async(vault_name, resource_group_name, filter:filter, skip_token:skip_token, custom_headers:custom_headers).value!
246
248
  unless response.nil?
247
249
  page = response.body
248
250
  page.next_method = Proc.new do |next_page_link|
249
- get_next_async(next_page_link, custom_headers)
251
+ get_next_async(next_page_link, custom_headers:custom_headers)
250
252
  end
251
253
  page
252
254
  end
@@ -41,8 +41,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
41
41
  # will be added to the HTTP request.
42
42
  #
43
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!
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:custom_headers).value!
46
46
  nil
47
47
  end
48
48
 
@@ -63,8 +63,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
63
63
  #
64
64
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
65
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!
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:custom_headers).value!
68
68
  end
69
69
 
70
70
  #
@@ -84,7 +84,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
84
84
  #
85
85
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
86
86
  #
87
- def get_async(vault_name, resource_group_name, operation_id, custom_headers = nil)
87
+ def get_async(vault_name, resource_group_name, operation_id, custom_headers:nil)
88
88
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
89
89
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
90
90
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -93,6 +93,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
93
93
 
94
94
 
95
95
  request_headers = {}
96
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
96
97
 
97
98
  # Set Headers
98
99
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -41,8 +41,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
41
41
  #
42
42
  # @return [OperationStatus] operation results.
43
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!
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:custom_headers).value!
46
46
  response.body unless response.nil?
47
47
  end
48
48
 
@@ -62,8 +62,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
62
62
  #
63
63
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
64
64
  #
65
- def get_with_http_info(vault_name, resource_group_name, operation_id, custom_headers = nil)
66
- get_async(vault_name, resource_group_name, operation_id, custom_headers).value!
65
+ def get_with_http_info(vault_name, resource_group_name, operation_id, custom_headers:nil)
66
+ get_async(vault_name, resource_group_name, operation_id, custom_headers:custom_headers).value!
67
67
  end
68
68
 
69
69
  #
@@ -82,7 +82,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
82
82
  #
83
83
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
84
84
  #
85
- def get_async(vault_name, resource_group_name, operation_id, custom_headers = nil)
85
+ def get_async(vault_name, resource_group_name, operation_id, custom_headers:nil)
86
86
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
87
87
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
88
88
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -91,6 +91,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
91
91
 
92
92
 
93
93
  request_headers = {}
94
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
94
95
 
95
96
  # Set Headers
96
97
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -44,8 +44,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
44
44
  # will be added to the HTTP request.
45
45
  #
46
46
  #
47
- def trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers = nil)
48
- response = trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers).value!
47
+ def trigger(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers:nil)
48
+ response = trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers:custom_headers).value!
49
49
  nil
50
50
  end
51
51
 
@@ -69,8 +69,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
69
69
  #
70
70
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
71
71
  #
72
- def trigger_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers = nil)
73
- trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers).value!
72
+ def trigger_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers:nil)
73
+ trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers:custom_headers).value!
74
74
  end
75
75
 
76
76
  #
@@ -93,7 +93,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
93
93
  #
94
94
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
95
95
  #
96
- def trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers = nil)
96
+ def trigger_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_backup_request, custom_headers:nil)
97
97
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
98
98
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
99
99
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -105,13 +105,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
105
105
 
106
106
 
107
107
  request_headers = {}
108
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
108
109
 
109
110
  # Set Headers
110
111
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
111
112
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
112
113
 
113
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
114
-
115
114
  # Serialize Request
116
115
  request_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::BackupRequestResource.mapper()
117
116
  request_content = @client.serialize(request_mapper, resource_backup_request)
@@ -37,8 +37,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
37
37
  #
38
38
  # @return [OperationResultInfoBaseResource] operation results.
39
39
  #
40
- def get(vault_name, resource_group_name, operation_id, custom_headers = nil)
41
- response = get_async(vault_name, resource_group_name, operation_id, custom_headers).value!
40
+ def get(vault_name, resource_group_name, operation_id, custom_headers:nil)
41
+ response = get_async(vault_name, resource_group_name, operation_id, custom_headers:custom_headers).value!
42
42
  response.body unless response.nil?
43
43
  end
44
44
 
@@ -54,8 +54,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
54
54
  #
55
55
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
56
56
  #
57
- def get_with_http_info(vault_name, resource_group_name, operation_id, custom_headers = nil)
58
- get_async(vault_name, resource_group_name, operation_id, custom_headers).value!
57
+ def get_with_http_info(vault_name, resource_group_name, operation_id, custom_headers:nil)
58
+ get_async(vault_name, resource_group_name, operation_id, custom_headers:custom_headers).value!
59
59
  end
60
60
 
61
61
  #
@@ -70,7 +70,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
70
70
  #
71
71
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
72
72
  #
73
- def get_async(vault_name, resource_group_name, operation_id, custom_headers = nil)
73
+ def get_async(vault_name, resource_group_name, operation_id, custom_headers:nil)
74
74
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
75
75
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
76
76
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -79,6 +79,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
79
79
 
80
80
 
81
81
  request_headers = {}
82
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
82
83
 
83
84
  # Set Headers
84
85
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -45,8 +45,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
45
45
  # will be added to the HTTP request.
46
46
  #
47
47
  #
48
- def revoke(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers = nil)
49
- response = revoke_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers).value!
48
+ def revoke(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:nil)
49
+ response = revoke_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:custom_headers).value!
50
50
  nil
51
51
  end
52
52
 
@@ -71,8 +71,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
71
71
  #
72
72
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
73
73
  #
74
- def revoke_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers = nil)
75
- revoke_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers).value!
74
+ def revoke_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:nil)
75
+ revoke_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:custom_headers).value!
76
76
  end
77
77
 
78
78
  #
@@ -96,7 +96,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
96
96
  #
97
97
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
98
98
  #
99
- def revoke_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers = nil)
99
+ def revoke_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, custom_headers:nil)
100
100
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
101
101
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
102
102
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -108,6 +108,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
108
108
 
109
109
 
110
110
  request_headers = {}
111
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
111
112
 
112
113
  # Set Headers
113
114
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -164,8 +165,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
164
165
  # will be added to the HTTP request.
165
166
  #
166
167
  #
167
- def provision(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers = nil)
168
- response = provision_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers).value!
168
+ def provision(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers:nil)
169
+ response = provision_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers:custom_headers).value!
169
170
  nil
170
171
  end
171
172
 
@@ -192,8 +193,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
192
193
  #
193
194
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
194
195
  #
195
- def provision_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers = nil)
196
- provision_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers).value!
196
+ def provision_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers:nil)
197
+ provision_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers:custom_headers).value!
197
198
  end
198
199
 
199
200
  #
@@ -219,7 +220,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
219
220
  #
220
221
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
221
222
  #
222
- def provision_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers = nil)
223
+ def provision_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, recovery_point_id, resource_ilrrequest, custom_headers:nil)
223
224
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
224
225
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
225
226
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -232,13 +233,12 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
232
233
 
233
234
 
234
235
  request_headers = {}
236
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
235
237
 
236
238
  # Set Headers
237
239
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
238
240
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
239
241
 
240
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
241
-
242
242
  # Serialize Request
243
243
  request_mapper = Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::ILRRequestResource.mapper()
244
244
  request_content = @client.serialize(request_mapper, resource_ilrrequest)
@@ -37,8 +37,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
37
37
  # will be added to the HTTP request.
38
38
  #
39
39
  #
40
- def trigger(vault_name, resource_group_name, job_name, custom_headers = nil)
41
- response = trigger_async(vault_name, resource_group_name, job_name, custom_headers).value!
40
+ def trigger(vault_name, resource_group_name, job_name, custom_headers:nil)
41
+ response = trigger_async(vault_name, resource_group_name, job_name, custom_headers:custom_headers).value!
42
42
  nil
43
43
  end
44
44
 
@@ -55,8 +55,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
55
55
  #
56
56
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
57
57
  #
58
- def trigger_with_http_info(vault_name, resource_group_name, job_name, custom_headers = nil)
59
- trigger_async(vault_name, resource_group_name, job_name, custom_headers).value!
58
+ def trigger_with_http_info(vault_name, resource_group_name, job_name, custom_headers:nil)
59
+ trigger_async(vault_name, resource_group_name, job_name, custom_headers:custom_headers).value!
60
60
  end
61
61
 
62
62
  #
@@ -72,7 +72,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
72
72
  #
73
73
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
74
  #
75
- def trigger_async(vault_name, resource_group_name, job_name, custom_headers = nil)
75
+ def trigger_async(vault_name, resource_group_name, job_name, custom_headers:nil)
76
76
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
77
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
78
78
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -81,6 +81,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
81
81
 
82
82
 
83
83
  request_headers = {}
84
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
84
85
 
85
86
  # Set Headers
86
87
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -37,8 +37,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
37
37
  #
38
38
  # @return [JobResource] operation results.
39
39
  #
40
- def get(vault_name, resource_group_name, job_name, custom_headers = nil)
41
- response = get_async(vault_name, resource_group_name, job_name, custom_headers).value!
40
+ def get(vault_name, resource_group_name, job_name, custom_headers:nil)
41
+ response = get_async(vault_name, resource_group_name, job_name, custom_headers:custom_headers).value!
42
42
  response.body unless response.nil?
43
43
  end
44
44
 
@@ -54,8 +54,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
54
54
  #
55
55
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
56
56
  #
57
- def get_with_http_info(vault_name, resource_group_name, job_name, custom_headers = nil)
58
- get_async(vault_name, resource_group_name, job_name, custom_headers).value!
57
+ def get_with_http_info(vault_name, resource_group_name, job_name, custom_headers:nil)
58
+ get_async(vault_name, resource_group_name, job_name, custom_headers:custom_headers).value!
59
59
  end
60
60
 
61
61
  #
@@ -70,7 +70,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
70
70
  #
71
71
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
72
72
  #
73
- def get_async(vault_name, resource_group_name, job_name, custom_headers = nil)
73
+ def get_async(vault_name, resource_group_name, job_name, custom_headers:nil)
74
74
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
75
75
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
76
76
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -79,6 +79,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
79
79
 
80
80
 
81
81
  request_headers = {}
82
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
82
83
 
83
84
  # Set Headers
84
85
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -37,8 +37,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
37
37
  # will be added to the HTTP request.
38
38
  #
39
39
  #
40
- def get(vault_name, resource_group_name, job_name, operation_id, custom_headers = nil)
41
- response = get_async(vault_name, resource_group_name, job_name, operation_id, custom_headers).value!
40
+ def get(vault_name, resource_group_name, job_name, operation_id, custom_headers:nil)
41
+ response = get_async(vault_name, resource_group_name, job_name, operation_id, custom_headers:custom_headers).value!
42
42
  nil
43
43
  end
44
44
 
@@ -55,8 +55,8 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
55
55
  #
56
56
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
57
57
  #
58
- def get_with_http_info(vault_name, resource_group_name, job_name, operation_id, custom_headers = nil)
59
- get_async(vault_name, resource_group_name, job_name, operation_id, custom_headers).value!
58
+ def get_with_http_info(vault_name, resource_group_name, job_name, operation_id, custom_headers:nil)
59
+ get_async(vault_name, resource_group_name, job_name, operation_id, custom_headers:custom_headers).value!
60
60
  end
61
61
 
62
62
  #
@@ -72,7 +72,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
72
72
  #
73
73
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
74
  #
75
- def get_async(vault_name, resource_group_name, job_name, operation_id, custom_headers = nil)
75
+ def get_async(vault_name, resource_group_name, job_name, operation_id, custom_headers:nil)
76
76
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
77
  fail ArgumentError, 'vault_name is nil' if vault_name.nil?
78
78
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -82,6 +82,7 @@ module Azure::RecoveryServicesBackup::Mgmt::V2016_06_01
82
82
 
83
83
 
84
84
  request_headers = {}
85
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
85
86
 
86
87
  # Set Headers
87
88
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid