azure_mgmt_automation 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-31/generated/azure_mgmt_automation.rb +183 -0
  3. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/activity_operations.rb +4 -4
  4. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/agent_registration_information.rb +4 -4
  5. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/automation_account_operations.rb +11 -11
  6. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/automation_client.rb +3 -3
  7. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/certificate_operations.rb +9 -9
  8. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/connection_operations.rb +10 -10
  9. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/connection_type_operations.rb +7 -7
  10. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/credential_operations.rb +9 -9
  11. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_compilation_job_operations.rb +7 -7
  12. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_configuration_operations.rb +7 -7
  13. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_node_configuration_operations.rb +7 -7
  14. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/dsc_node_operations.rb +7 -7
  15. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/fields.rb +2 -2
  16. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +6 -6
  17. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/job_operations.rb +6 -6
  18. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/job_schedule_operations.rb +6 -6
  19. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/job_stream_operations.rb +4 -4
  20. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity.rb +1 -1
  21. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_list_result.rb +1 -1
  22. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_output_type.rb +1 -1
  23. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_parameter.rb +1 -1
  24. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/activity_parameter_set.rb +1 -1
  25. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/advanced_schedule.rb +1 -1
  26. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/advanced_schedule_monthly_occurrence.rb +1 -1
  27. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration.rb +1 -1
  28. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration_key_name.rb +1 -1
  29. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration_keys.rb +1 -1
  30. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/agent_registration_regenerate_key_parameter.rb +1 -1
  31. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account.rb +1 -1
  32. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_create_or_update_parameters.rb +1 -1
  33. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_list_result.rb +1 -1
  34. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_state.rb +1 -1
  35. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/automation_account_update_parameters.rb +1 -1
  36. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate.rb +1 -1
  37. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate_create_or_update_parameters.rb +1 -1
  38. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate_list_result.rb +1 -1
  39. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
  40. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection.rb +1 -1
  41. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_create_or_update_parameters.rb +1 -1
  42. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_list_result.rb +1 -1
  43. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type.rb +1 -1
  44. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type_association_property.rb +1 -1
  45. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type_create_or_update_parameters.rb +1 -1
  46. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_type_list_result.rb +1 -1
  47. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/connection_update_parameters.rb +1 -1
  48. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_hash.rb +1 -1
  49. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_link.rb +1 -1
  50. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_source.rb +1 -1
  51. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/content_source_type.rb +1 -1
  52. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential.rb +1 -1
  53. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential_create_or_update_parameters.rb +1 -1
  54. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential_list_result.rb +1 -1
  55. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
  56. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_compilation_job.rb +1 -1
  57. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +1 -1
  58. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_compilation_job_list_result.rb +1 -1
  59. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration.rb +1 -1
  60. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_association_property.rb +1 -1
  61. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_create_or_update_parameters.rb +1 -1
  62. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_list_result.rb +1 -1
  63. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_parameter.rb +1 -1
  64. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_provisioning_state.rb +1 -1
  65. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_configuration_state.rb +1 -1
  66. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_meta_configuration.rb +1 -1
  67. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node.rb +1 -1
  68. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration.rb +1 -1
  69. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration_association_property.rb +1 -1
  70. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +1 -1
  71. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_configuration_list_result.rb +1 -1
  72. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_list_result.rb +1 -1
  73. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_report.rb +1 -1
  74. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_report_list_result.rb +1 -1
  75. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_node_update_parameters.rb +1 -1
  76. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_report_error.rb +1 -1
  77. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_report_resource.rb +1 -1
  78. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/dsc_report_resource_navigation.rb +1 -1
  79. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/error_response.rb +1 -1
  80. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/field_definition.rb +1 -1
  81. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/http_status_code.rb +1 -1
  82. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker.rb +1 -1
  83. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker_group.rb +1 -1
  84. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker_group_update_parameters.rb +1 -1
  85. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/hybrid_runbook_worker_groups_list_result.rb +1 -1
  86. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job.rb +1 -1
  87. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_create_parameters.rb +1 -1
  88. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_list_result.rb +1 -1
  89. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_schedule.rb +1 -1
  90. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_schedule_create_parameters.rb +1 -1
  91. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_schedule_list_result.rb +1 -1
  92. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_status.rb +1 -1
  93. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_stream.rb +1 -1
  94. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_stream_list_result.rb +1 -1
  95. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/job_stream_type.rb +1 -1
  96. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_create_or_update_parameters.rb +1 -1
  97. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_error_info.rb +1 -1
  98. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_list_result.rb +1 -1
  99. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_model.rb +1 -1
  100. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_provisioning_state.rb +1 -1
  101. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/module_update_parameters.rb +1 -1
  102. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/operation.rb +1 -1
  103. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/operation_display.rb +1 -1
  104. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/operation_list_result.rb +1 -1
  105. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/resource.rb +1 -1
  106. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/run_as_credential_association_property.rb +1 -1
  107. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook.rb +1 -1
  108. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_association_property.rb +1 -1
  109. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_create_or_update_draft_parameters.rb +1 -1
  110. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_create_or_update_draft_properties.rb +1 -1
  111. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_create_or_update_parameters.rb +1 -1
  112. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_draft.rb +1 -1
  113. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_draft_undo_edit_result.rb +1 -1
  114. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_list_result.rb +1 -1
  115. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_parameter.rb +1 -1
  116. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_provisioning_state.rb +1 -1
  117. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_state.rb +1 -1
  118. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_type_enum.rb +1 -1
  119. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/runbook_update_parameters.rb +1 -1
  120. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule.rb +1 -1
  121. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_association_property.rb +1 -1
  122. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +1 -1
  123. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_day.rb +1 -1
  124. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_frequency.rb +1 -1
  125. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_list_result.rb +1 -1
  126. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
  127. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/sku.rb +1 -1
  128. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/sku_name_enum.rb +1 -1
  129. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/statistics.rb +1 -1
  130. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/statistics_list_result.rb +1 -1
  131. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/sub_resource.rb +1 -1
  132. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/test_job.rb +1 -1
  133. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/test_job_create_parameters.rb +1 -1
  134. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/type_field.rb +1 -1
  135. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/type_field_list_result.rb +1 -1
  136. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/usage.rb +1 -1
  137. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/usage_counter_name.rb +1 -1
  138. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/usage_list_result.rb +1 -1
  139. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable.rb +1 -1
  140. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable_create_or_update_parameters.rb +1 -1
  141. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable_list_result.rb +1 -1
  142. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
  143. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook.rb +1 -1
  144. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook_create_or_update_parameters.rb +1 -1
  145. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook_list_result.rb +1 -1
  146. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/models/webhook_update_parameters.rb +1 -1
  147. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/module_definition.rb +3 -2
  148. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/module_model_operations.rb +9 -9
  149. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/node_reports.rb +4 -4
  150. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/object_data_types.rb +3 -3
  151. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/operations.rb +2 -2
  152. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/runbook_draft_operations.rb +5 -5
  153. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/runbook_operations.rb +7 -7
  154. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/schedule_operations.rb +8 -8
  155. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/statistics_operations.rb +2 -2
  156. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/test_job_streams.rb +4 -4
  157. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/test_jobs.rb +4 -4
  158. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/usages.rb +2 -2
  159. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/variable_operations.rb +9 -9
  160. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/version.rb +2 -2
  161. data/lib/{generated → 2015-10-31/generated}/azure_mgmt_automation/webhook_operations.rb +9 -9
  162. data/lib/azure_mgmt_automation.rb +2 -2
  163. data/lib/module_definition.rb +7 -0
  164. data/lib/profiles/common/configurable.rb +73 -0
  165. data/lib/profiles/common/default.rb +68 -0
  166. data/lib/profiles/latest/automation_latest_profile_client.rb +33 -0
  167. data/lib/profiles/latest/automation_module_definition.rb +9 -0
  168. data/lib/profiles/latest/modules/automation_profile_module.rb +606 -0
  169. data/lib/version.rb +7 -0
  170. metadata +169 -162
  171. data/lib/generated/azure_mgmt_automation.rb +0 -183
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -103,7 +103,7 @@ module Azure::ARM::Automation
103
103
  if status_code == 200
104
104
  begin
105
105
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
- result_mapper = Azure::ARM::Automation::Models::Connection.mapper()
106
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Connection.mapper()
107
107
  result.body = @client.deserialize(result_mapper, parsed_response)
108
108
  rescue Exception => e
109
109
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -198,7 +198,7 @@ module Azure::ARM::Automation
198
198
  if status_code == 200
199
199
  begin
200
200
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
201
- result_mapper = Azure::ARM::Automation::Models::Connection.mapper()
201
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Connection.mapper()
202
202
  result.body = @client.deserialize(result_mapper, parsed_response)
203
203
  rescue Exception => e
204
204
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -280,7 +280,7 @@ module Azure::ARM::Automation
280
280
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
281
281
 
282
282
  # Serialize Request
283
- request_mapper = Azure::ARM::Automation::Models::ConnectionCreateOrUpdateParameters.mapper()
283
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionCreateOrUpdateParameters.mapper()
284
284
  request_content = @client.serialize(request_mapper, parameters)
285
285
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
286
286
 
@@ -312,7 +312,7 @@ module Azure::ARM::Automation
312
312
  if status_code == 201
313
313
  begin
314
314
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
315
- result_mapper = Azure::ARM::Automation::Models::Connection.mapper()
315
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Connection.mapper()
316
316
  result.body = @client.deserialize(result_mapper, parsed_response)
317
317
  rescue Exception => e
318
318
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -322,7 +322,7 @@ module Azure::ARM::Automation
322
322
  if status_code == 200
323
323
  begin
324
324
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
325
- result_mapper = Azure::ARM::Automation::Models::Connection.mapper()
325
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Connection.mapper()
326
326
  result.body = @client.deserialize(result_mapper, parsed_response)
327
327
  rescue Exception => e
328
328
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -404,7 +404,7 @@ module Azure::ARM::Automation
404
404
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
405
405
 
406
406
  # Serialize Request
407
- request_mapper = Azure::ARM::Automation::Models::ConnectionUpdateParameters.mapper()
407
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionUpdateParameters.mapper()
408
408
  request_content = @client.serialize(request_mapper, parameters)
409
409
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
410
410
 
@@ -436,7 +436,7 @@ module Azure::ARM::Automation
436
436
  if status_code == 200
437
437
  begin
438
438
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
439
- result_mapper = Azure::ARM::Automation::Models::Connection.mapper()
439
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Connection.mapper()
440
440
  result.body = @client.deserialize(result_mapper, parsed_response)
441
441
  rescue Exception => e
442
442
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -527,7 +527,7 @@ module Azure::ARM::Automation
527
527
  if status_code == 200
528
528
  begin
529
529
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
530
- result_mapper = Azure::ARM::Automation::Models::ConnectionListResult.mapper()
530
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult.mapper()
531
531
  result.body = @client.deserialize(result_mapper, parsed_response)
532
532
  rescue Exception => e
533
533
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -614,7 +614,7 @@ module Azure::ARM::Automation
614
614
  if status_code == 200
615
615
  begin
616
616
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
617
- result_mapper = Azure::ARM::Automation::Models::ConnectionListResult.mapper()
617
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionListResult.mapper()
618
618
  result.body = @client.deserialize(result_mapper, parsed_response)
619
619
  rescue Exception => e
620
620
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -187,7 +187,7 @@ module Azure::ARM::Automation
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::Automation::Models::ConnectionType.mapper()
190
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -269,7 +269,7 @@ module Azure::ARM::Automation
269
269
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
270
270
 
271
271
  # Serialize Request
272
- request_mapper = Azure::ARM::Automation::Models::ConnectionTypeCreateOrUpdateParameters.mapper()
272
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeCreateOrUpdateParameters.mapper()
273
273
  request_content = @client.serialize(request_mapper, parameters)
274
274
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
275
275
 
@@ -301,7 +301,7 @@ module Azure::ARM::Automation
301
301
  if status_code == 201
302
302
  begin
303
303
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
304
- result_mapper = Azure::ARM::Automation::Models::ConnectionType.mapper()
304
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType.mapper()
305
305
  result.body = @client.deserialize(result_mapper, parsed_response)
306
306
  rescue Exception => e
307
307
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -311,7 +311,7 @@ module Azure::ARM::Automation
311
311
  if status_code == 409
312
312
  begin
313
313
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
314
- result_mapper = Azure::ARM::Automation::Models::ConnectionType.mapper()
314
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionType.mapper()
315
315
  result.body = @client.deserialize(result_mapper, parsed_response)
316
316
  rescue Exception => e
317
317
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -402,7 +402,7 @@ module Azure::ARM::Automation
402
402
  if status_code == 200
403
403
  begin
404
404
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
405
- result_mapper = Azure::ARM::Automation::Models::ConnectionTypeListResult.mapper()
405
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult.mapper()
406
406
  result.body = @client.deserialize(result_mapper, parsed_response)
407
407
  rescue Exception => e
408
408
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -489,7 +489,7 @@ module Azure::ARM::Automation
489
489
  if status_code == 200
490
490
  begin
491
491
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
492
- result_mapper = Azure::ARM::Automation::Models::ConnectionTypeListResult.mapper()
492
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ConnectionTypeListResult.mapper()
493
493
  result.body = @client.deserialize(result_mapper, parsed_response)
494
494
  rescue Exception => e
495
495
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -187,7 +187,7 @@ module Azure::ARM::Automation
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::Automation::Models::Credential.mapper()
190
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Credential.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -269,7 +269,7 @@ module Azure::ARM::Automation
269
269
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
270
270
 
271
271
  # Serialize Request
272
- request_mapper = Azure::ARM::Automation::Models::CredentialCreateOrUpdateParameters.mapper()
272
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialCreateOrUpdateParameters.mapper()
273
273
  request_content = @client.serialize(request_mapper, parameters)
274
274
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
275
275
 
@@ -301,7 +301,7 @@ module Azure::ARM::Automation
301
301
  if status_code == 201
302
302
  begin
303
303
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
304
- result_mapper = Azure::ARM::Automation::Models::Credential.mapper()
304
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Credential.mapper()
305
305
  result.body = @client.deserialize(result_mapper, parsed_response)
306
306
  rescue Exception => e
307
307
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -311,7 +311,7 @@ module Azure::ARM::Automation
311
311
  if status_code == 200
312
312
  begin
313
313
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
314
- result_mapper = Azure::ARM::Automation::Models::Credential.mapper()
314
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Credential.mapper()
315
315
  result.body = @client.deserialize(result_mapper, parsed_response)
316
316
  rescue Exception => e
317
317
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -393,7 +393,7 @@ module Azure::ARM::Automation
393
393
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
394
394
 
395
395
  # Serialize Request
396
- request_mapper = Azure::ARM::Automation::Models::CredentialUpdateParameters.mapper()
396
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialUpdateParameters.mapper()
397
397
  request_content = @client.serialize(request_mapper, parameters)
398
398
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
399
399
 
@@ -425,7 +425,7 @@ module Azure::ARM::Automation
425
425
  if status_code == 200
426
426
  begin
427
427
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
428
- result_mapper = Azure::ARM::Automation::Models::Credential.mapper()
428
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::Credential.mapper()
429
429
  result.body = @client.deserialize(result_mapper, parsed_response)
430
430
  rescue Exception => e
431
431
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -516,7 +516,7 @@ module Azure::ARM::Automation
516
516
  if status_code == 200
517
517
  begin
518
518
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
519
- result_mapper = Azure::ARM::Automation::Models::CredentialListResult.mapper()
519
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult.mapper()
520
520
  result.body = @client.deserialize(result_mapper, parsed_response)
521
521
  rescue Exception => e
522
522
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -603,7 +603,7 @@ module Azure::ARM::Automation
603
603
  if status_code == 200
604
604
  begin
605
605
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
606
- result_mapper = Azure::ARM::Automation::Models::CredentialListResult.mapper()
606
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::CredentialListResult.mapper()
607
607
  result.body = @client.deserialize(result_mapper, parsed_response)
608
608
  rescue Exception => e
609
609
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -87,7 +87,7 @@ module Azure::ARM::Automation
87
87
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
88
88
 
89
89
  # Serialize Request
90
- request_mapper = Azure::ARM::Automation::Models::DscCompilationJobCreateParameters.mapper()
90
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobCreateParameters.mapper()
91
91
  request_content = @client.serialize(request_mapper, parameters)
92
92
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
93
93
 
@@ -119,7 +119,7 @@ module Azure::ARM::Automation
119
119
  if status_code == 201
120
120
  begin
121
121
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
122
- result_mapper = Azure::ARM::Automation::Models::DscCompilationJob.mapper()
122
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob.mapper()
123
123
  result.body = @client.deserialize(result_mapper, parsed_response)
124
124
  rescue Exception => e
125
125
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -214,7 +214,7 @@ module Azure::ARM::Automation
214
214
  if status_code == 200
215
215
  begin
216
216
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
217
- result_mapper = Azure::ARM::Automation::Models::DscCompilationJob.mapper()
217
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJob.mapper()
218
218
  result.body = @client.deserialize(result_mapper, parsed_response)
219
219
  rescue Exception => e
220
220
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -308,7 +308,7 @@ module Azure::ARM::Automation
308
308
  if status_code == 200
309
309
  begin
310
310
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
311
- result_mapper = Azure::ARM::Automation::Models::DscCompilationJobListResult.mapper()
311
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult.mapper()
312
312
  result.body = @client.deserialize(result_mapper, parsed_response)
313
313
  rescue Exception => e
314
314
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -407,7 +407,7 @@ module Azure::ARM::Automation
407
407
  if status_code == 200
408
408
  begin
409
409
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
410
- result_mapper = Azure::ARM::Automation::Models::JobStream.mapper()
410
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::JobStream.mapper()
411
411
  result.body = @client.deserialize(result_mapper, parsed_response)
412
412
  rescue Exception => e
413
413
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -494,7 +494,7 @@ module Azure::ARM::Automation
494
494
  if status_code == 200
495
495
  begin
496
496
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
497
- result_mapper = Azure::ARM::Automation::Models::DscCompilationJobListResult.mapper()
497
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscCompilationJobListResult.mapper()
498
498
  result.body = @client.deserialize(result_mapper, parsed_response)
499
499
  rescue Exception => e
500
500
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -187,7 +187,7 @@ module Azure::ARM::Automation
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::Automation::Models::DscConfiguration.mapper()
190
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -269,7 +269,7 @@ module Azure::ARM::Automation
269
269
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
270
270
 
271
271
  # Serialize Request
272
- request_mapper = Azure::ARM::Automation::Models::DscConfigurationCreateOrUpdateParameters.mapper()
272
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationCreateOrUpdateParameters.mapper()
273
273
  request_content = @client.serialize(request_mapper, parameters)
274
274
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
275
275
 
@@ -301,7 +301,7 @@ module Azure::ARM::Automation
301
301
  if status_code == 200
302
302
  begin
303
303
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
304
- result_mapper = Azure::ARM::Automation::Models::DscConfiguration.mapper()
304
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration.mapper()
305
305
  result.body = @client.deserialize(result_mapper, parsed_response)
306
306
  rescue Exception => e
307
307
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -311,7 +311,7 @@ module Azure::ARM::Automation
311
311
  if status_code == 201
312
312
  begin
313
313
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
314
- result_mapper = Azure::ARM::Automation::Models::DscConfiguration.mapper()
314
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfiguration.mapper()
315
315
  result.body = @client.deserialize(result_mapper, parsed_response)
316
316
  rescue Exception => e
317
317
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -503,7 +503,7 @@ module Azure::ARM::Automation
503
503
  if status_code == 200
504
504
  begin
505
505
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
506
- result_mapper = Azure::ARM::Automation::Models::DscConfigurationListResult.mapper()
506
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult.mapper()
507
507
  result.body = @client.deserialize(result_mapper, parsed_response)
508
508
  rescue Exception => e
509
509
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -590,7 +590,7 @@ module Azure::ARM::Automation
590
590
  if status_code == 200
591
591
  begin
592
592
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
593
- result_mapper = Azure::ARM::Automation::Models::DscConfigurationListResult.mapper()
593
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscConfigurationListResult.mapper()
594
594
  result.body = @client.deserialize(result_mapper, parsed_response)
595
595
  rescue Exception => e
596
596
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -187,7 +187,7 @@ module Azure::ARM::Automation
187
187
  if status_code == 200
188
188
  begin
189
189
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
190
- result_mapper = Azure::ARM::Automation::Models::DscNodeConfiguration.mapper()
190
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration.mapper()
191
191
  result.body = @client.deserialize(result_mapper, parsed_response)
192
192
  rescue Exception => e
193
193
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -269,7 +269,7 @@ module Azure::ARM::Automation
269
269
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
270
270
 
271
271
  # Serialize Request
272
- request_mapper = Azure::ARM::Automation::Models::DscNodeConfigurationCreateOrUpdateParameters.mapper()
272
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationCreateOrUpdateParameters.mapper()
273
273
  request_content = @client.serialize(request_mapper, parameters)
274
274
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
275
275
 
@@ -301,7 +301,7 @@ module Azure::ARM::Automation
301
301
  if status_code == 200
302
302
  begin
303
303
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
304
- result_mapper = Azure::ARM::Automation::Models::DscNodeConfiguration.mapper()
304
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration.mapper()
305
305
  result.body = @client.deserialize(result_mapper, parsed_response)
306
306
  rescue Exception => e
307
307
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -311,7 +311,7 @@ module Azure::ARM::Automation
311
311
  if status_code == 201
312
312
  begin
313
313
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
314
- result_mapper = Azure::ARM::Automation::Models::DscNodeConfiguration.mapper()
314
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfiguration.mapper()
315
315
  result.body = @client.deserialize(result_mapper, parsed_response)
316
316
  rescue Exception => e
317
317
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -405,7 +405,7 @@ module Azure::ARM::Automation
405
405
  if status_code == 200
406
406
  begin
407
407
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
408
- result_mapper = Azure::ARM::Automation::Models::DscNodeConfigurationListResult.mapper()
408
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult.mapper()
409
409
  result.body = @client.deserialize(result_mapper, parsed_response)
410
410
  rescue Exception => e
411
411
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -492,7 +492,7 @@ module Azure::ARM::Automation
492
492
  if status_code == 200
493
493
  begin
494
494
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
495
- result_mapper = Azure::ARM::Automation::Models::DscNodeConfigurationListResult.mapper()
495
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeConfigurationListResult.mapper()
496
496
  result.body = @client.deserialize(result_mapper, parsed_response)
497
497
  rescue Exception => e
498
498
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::Automation
6
+ module Azure::Automation::Mgmt::V2015_10_31
7
7
  #
8
8
  # Automation Client
9
9
  #
@@ -103,7 +103,7 @@ module Azure::ARM::Automation
103
103
  if status_code == 200
104
104
  begin
105
105
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
106
- result_mapper = Azure::ARM::Automation::Models::DscNode.mapper()
106
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode.mapper()
107
107
  result.body = @client.deserialize(result_mapper, parsed_response)
108
108
  rescue Exception => e
109
109
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -198,7 +198,7 @@ module Azure::ARM::Automation
198
198
  if status_code == 200
199
199
  begin
200
200
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
201
- result_mapper = Azure::ARM::Automation::Models::DscNode.mapper()
201
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode.mapper()
202
202
  result.body = @client.deserialize(result_mapper, parsed_response)
203
203
  rescue Exception => e
204
204
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -277,7 +277,7 @@ module Azure::ARM::Automation
277
277
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
278
278
 
279
279
  # Serialize Request
280
- request_mapper = Azure::ARM::Automation::Models::DscNodeUpdateParameters.mapper()
280
+ request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeUpdateParameters.mapper()
281
281
  request_content = @client.serialize(request_mapper, parameters)
282
282
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
283
283
 
@@ -309,7 +309,7 @@ module Azure::ARM::Automation
309
309
  if status_code == 200
310
310
  begin
311
311
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
312
- result_mapper = Azure::ARM::Automation::Models::DscNode.mapper()
312
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNode.mapper()
313
313
  result.body = @client.deserialize(result_mapper, parsed_response)
314
314
  rescue Exception => e
315
315
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -403,7 +403,7 @@ module Azure::ARM::Automation
403
403
  if status_code == 200
404
404
  begin
405
405
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
406
- result_mapper = Azure::ARM::Automation::Models::DscNodeListResult.mapper()
406
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult.mapper()
407
407
  result.body = @client.deserialize(result_mapper, parsed_response)
408
408
  rescue Exception => e
409
409
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -490,7 +490,7 @@ module Azure::ARM::Automation
490
490
  if status_code == 200
491
491
  begin
492
492
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
493
- result_mapper = Azure::ARM::Automation::Models::DscNodeListResult.mapper()
493
+ result_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::DscNodeListResult.mapper()
494
494
  result.body = @client.deserialize(result_mapper, parsed_response)
495
495
  rescue Exception => e
496
496
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)