azure_mgmt_automation 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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-31/generated/azure_mgmt_automation.rb +54 -53
  3. data/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb +27 -31
  4. data/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb +18 -24
  5. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_account_operations.rb +54 -50
  6. data/lib/2015-10-31/generated/azure_mgmt_automation/automation_client.rb +7 -1
  7. data/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb +54 -68
  8. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb +54 -68
  9. data/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb +45 -55
  10. data/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb +54 -68
  11. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb +45 -55
  12. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb +54 -66
  13. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb +45 -55
  14. data/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_operations.rb +45 -55
  15. data/lib/2015-10-31/generated/azure_mgmt_automation/fields.rb +9 -11
  16. data/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb +45 -55
  17. data/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb +81 -99
  18. data/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb +45 -55
  19. data/lib/2015-10-31/generated/azure_mgmt_automation/job_stream_operations.rb +27 -31
  20. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate.rb +12 -0
  21. data/lib/2015-10-31/generated/azure_mgmt_automation/models/certificate_update_parameters.rb +1 -1
  22. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection.rb +12 -0
  23. data/lib/2015-10-31/generated/azure_mgmt_automation/models/connection_type.rb +12 -0
  24. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential.rb +13 -0
  25. data/lib/2015-10-31/generated/azure_mgmt_automation/models/credential_update_parameters.rb +1 -1
  26. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_compilation_job_create_parameters.rb +12 -0
  27. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node.rb +21 -0
  28. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_configuration_create_or_update_parameters.rb +12 -0
  29. data/lib/2015-10-31/generated/azure_mgmt_automation/models/dsc_node_extension_handler_association_property.rb +58 -0
  30. data/lib/2015-10-31/generated/azure_mgmt_automation/models/job_schedule.rb +26 -1
  31. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule.rb +16 -2
  32. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_create_or_update_parameters.rb +2 -2
  33. data/lib/2015-10-31/generated/azure_mgmt_automation/models/schedule_update_parameters.rb +1 -1
  34. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable.rb +16 -2
  35. data/lib/2015-10-31/generated/azure_mgmt_automation/models/variable_update_parameters.rb +1 -1
  36. data/lib/2015-10-31/generated/azure_mgmt_automation/module_model_operations.rb +54 -68
  37. data/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb +36 -42
  38. data/lib/2015-10-31/generated/azure_mgmt_automation/object_data_types.rb +18 -22
  39. data/lib/2015-10-31/generated/azure_mgmt_automation/operations.rb +6 -5
  40. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_draft_operations.rb +53 -70
  41. data/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb +63 -79
  42. data/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb +54 -68
  43. data/lib/2015-10-31/generated/azure_mgmt_automation/statistics_operations.rb +6 -5
  44. data/lib/2015-10-31/generated/azure_mgmt_automation/test_job_streams.rb +27 -31
  45. data/lib/2015-10-31/generated/azure_mgmt_automation/test_jobs.rb +45 -57
  46. data/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb +6 -5
  47. data/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb +54 -68
  48. data/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb +63 -79
  49. data/lib/profiles/latest/automation_latest_profile_client.rb +28 -9
  50. data/lib/profiles/latest/automation_module_definition.rb +0 -1
  51. data/lib/profiles/latest/modules/automation_profile_module.rb +494 -471
  52. data/lib/version.rb +1 -1
  53. metadata +3 -2
@@ -24,22 +24,20 @@ module Azure::Automation::Mgmt::V2015_10_31
24
24
  #
25
25
  # Delete the module by name.
26
26
  #
27
- # @param resource_group_name [String] The resource group name.
28
27
  # @param automation_account_name [String] The automation account name.
29
28
  # @param module_name [String] The module name.
30
29
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
31
30
  # will be added to the HTTP request.
32
31
  #
33
32
  #
34
- def delete(resource_group_name, automation_account_name, module_name, custom_headers = nil)
35
- response = delete_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
33
+ def delete(automation_account_name, module_name, custom_headers:nil)
34
+ response = delete_async(automation_account_name, module_name, custom_headers:custom_headers).value!
36
35
  nil
37
36
  end
38
37
 
39
38
  #
40
39
  # Delete the module by name.
41
40
  #
42
- # @param resource_group_name [String] The resource group name.
43
41
  # @param automation_account_name [String] The automation account name.
44
42
  # @param module_name [String] The module name.
45
43
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -47,14 +45,13 @@ module Azure::Automation::Mgmt::V2015_10_31
47
45
  #
48
46
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
49
47
  #
50
- def delete_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers = nil)
51
- delete_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
48
+ def delete_with_http_info(automation_account_name, module_name, custom_headers:nil)
49
+ delete_async(automation_account_name, module_name, custom_headers:custom_headers).value!
52
50
  end
53
51
 
54
52
  #
55
53
  # Delete the module by name.
56
54
  #
57
- # @param resource_group_name [String] The resource group name.
58
55
  # @param automation_account_name [String] The automation account name.
59
56
  # @param module_name [String] The module name.
60
57
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -62,9 +59,9 @@ module Azure::Automation::Mgmt::V2015_10_31
62
59
  #
63
60
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
64
61
  #
65
- def delete_async(resource_group_name, automation_account_name, module_name, custom_headers = nil)
66
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
67
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
62
+ def delete_async(automation_account_name, module_name, custom_headers:nil)
63
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
64
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
68
65
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
69
66
  fail ArgumentError, 'module_name is nil' if module_name.nil?
70
67
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -72,6 +69,7 @@ module Azure::Automation::Mgmt::V2015_10_31
72
69
 
73
70
 
74
71
  request_headers = {}
72
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
75
73
 
76
74
  # Set Headers
77
75
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -82,7 +80,7 @@ module Azure::Automation::Mgmt::V2015_10_31
82
80
 
83
81
  options = {
84
82
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
85
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
83
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
86
84
  query_params: {'api-version' => @client.api_version},
87
85
  headers: request_headers.merge(custom_headers || {}),
88
86
  base_url: request_url
@@ -109,7 +107,6 @@ module Azure::Automation::Mgmt::V2015_10_31
109
107
  #
110
108
  # Retrieve the module identified by module name.
111
109
  #
112
- # @param resource_group_name [String] The resource group name.
113
110
  # @param automation_account_name [String] The automation account name.
114
111
  # @param module_name [String] The module name.
115
112
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -117,15 +114,14 @@ module Azure::Automation::Mgmt::V2015_10_31
117
114
  #
118
115
  # @return [ModuleModel] operation results.
119
116
  #
120
- def get(resource_group_name, automation_account_name, module_name, custom_headers = nil)
121
- response = get_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
117
+ def get(automation_account_name, module_name, custom_headers:nil)
118
+ response = get_async(automation_account_name, module_name, custom_headers:custom_headers).value!
122
119
  response.body unless response.nil?
123
120
  end
124
121
 
125
122
  #
126
123
  # Retrieve the module identified by module name.
127
124
  #
128
- # @param resource_group_name [String] The resource group name.
129
125
  # @param automation_account_name [String] The automation account name.
130
126
  # @param module_name [String] The module name.
131
127
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
@@ -133,14 +129,13 @@ module Azure::Automation::Mgmt::V2015_10_31
133
129
  #
134
130
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
135
131
  #
136
- def get_with_http_info(resource_group_name, automation_account_name, module_name, custom_headers = nil)
137
- get_async(resource_group_name, automation_account_name, module_name, custom_headers).value!
132
+ def get_with_http_info(automation_account_name, module_name, custom_headers:nil)
133
+ get_async(automation_account_name, module_name, custom_headers:custom_headers).value!
138
134
  end
139
135
 
140
136
  #
141
137
  # Retrieve the module identified by module name.
142
138
  #
143
- # @param resource_group_name [String] The resource group name.
144
139
  # @param automation_account_name [String] The automation account name.
145
140
  # @param module_name [String] The module name.
146
141
  # @param [Hash{String => String}] A hash of custom headers that will be added
@@ -148,9 +143,9 @@ module Azure::Automation::Mgmt::V2015_10_31
148
143
  #
149
144
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
150
145
  #
151
- def get_async(resource_group_name, automation_account_name, module_name, custom_headers = nil)
152
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
153
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
146
+ def get_async(automation_account_name, module_name, custom_headers:nil)
147
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
148
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
154
149
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
155
150
  fail ArgumentError, 'module_name is nil' if module_name.nil?
156
151
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -158,6 +153,7 @@ module Azure::Automation::Mgmt::V2015_10_31
158
153
 
159
154
 
160
155
  request_headers = {}
156
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
161
157
 
162
158
  # Set Headers
163
159
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -168,7 +164,7 @@ module Azure::Automation::Mgmt::V2015_10_31
168
164
 
169
165
  options = {
170
166
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
171
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
167
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
172
168
  query_params: {'api-version' => @client.api_version},
173
169
  headers: request_headers.merge(custom_headers || {}),
174
170
  base_url: request_url
@@ -205,7 +201,6 @@ module Azure::Automation::Mgmt::V2015_10_31
205
201
  #
206
202
  # Create or Update the module identified by module name.
207
203
  #
208
- # @param resource_group_name [String] The resource group name.
209
204
  # @param automation_account_name [String] The automation account name.
210
205
  # @param module_name [String] The name of module.
211
206
  # @param parameters [ModuleCreateOrUpdateParameters] The create or update
@@ -215,15 +210,14 @@ module Azure::Automation::Mgmt::V2015_10_31
215
210
  #
216
211
  # @return [ModuleModel] operation results.
217
212
  #
218
- def create_or_update(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
219
- response = create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value!
213
+ def create_or_update(automation_account_name, module_name, parameters, custom_headers:nil)
214
+ response = create_or_update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value!
220
215
  response.body unless response.nil?
221
216
  end
222
217
 
223
218
  #
224
219
  # Create or Update the module identified by module name.
225
220
  #
226
- # @param resource_group_name [String] The resource group name.
227
221
  # @param automation_account_name [String] The automation account name.
228
222
  # @param module_name [String] The name of module.
229
223
  # @param parameters [ModuleCreateOrUpdateParameters] The create or update
@@ -233,14 +227,13 @@ module Azure::Automation::Mgmt::V2015_10_31
233
227
  #
234
228
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
235
229
  #
236
- def create_or_update_with_http_info(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
237
- create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value!
230
+ def create_or_update_with_http_info(automation_account_name, module_name, parameters, custom_headers:nil)
231
+ create_or_update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value!
238
232
  end
239
233
 
240
234
  #
241
235
  # Create or Update the module identified by module name.
242
236
  #
243
- # @param resource_group_name [String] The resource group name.
244
237
  # @param automation_account_name [String] The automation account name.
245
238
  # @param module_name [String] The name of module.
246
239
  # @param parameters [ModuleCreateOrUpdateParameters] The create or update
@@ -250,9 +243,9 @@ module Azure::Automation::Mgmt::V2015_10_31
250
243
  #
251
244
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
252
245
  #
253
- def create_or_update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
254
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
255
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
246
+ def create_or_update_async(automation_account_name, module_name, parameters, custom_headers:nil)
247
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
248
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
256
249
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
257
250
  fail ArgumentError, 'module_name is nil' if module_name.nil?
258
251
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -261,13 +254,12 @@ module Azure::Automation::Mgmt::V2015_10_31
261
254
 
262
255
 
263
256
  request_headers = {}
257
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
264
258
 
265
259
  # Set Headers
266
260
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
267
261
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
268
262
 
269
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
270
-
271
263
  # Serialize Request
272
264
  request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleCreateOrUpdateParameters.mapper()
273
265
  request_content = @client.serialize(request_mapper, parameters)
@@ -279,7 +271,7 @@ module Azure::Automation::Mgmt::V2015_10_31
279
271
 
280
272
  options = {
281
273
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
282
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
274
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
283
275
  query_params: {'api-version' => @client.api_version},
284
276
  body: request_content,
285
277
  headers: request_headers.merge(custom_headers || {}),
@@ -327,7 +319,6 @@ module Azure::Automation::Mgmt::V2015_10_31
327
319
  #
328
320
  # Update the module identified by module name.
329
321
  #
330
- # @param resource_group_name [String] The resource group name.
331
322
  # @param automation_account_name [String] The automation account name.
332
323
  # @param module_name [String] The name of module.
333
324
  # @param parameters [ModuleUpdateParameters] The update parameters for module.
@@ -336,15 +327,14 @@ module Azure::Automation::Mgmt::V2015_10_31
336
327
  #
337
328
  # @return [ModuleModel] operation results.
338
329
  #
339
- def update(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
340
- response = update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value!
330
+ def update(automation_account_name, module_name, parameters, custom_headers:nil)
331
+ response = update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value!
341
332
  response.body unless response.nil?
342
333
  end
343
334
 
344
335
  #
345
336
  # Update the module identified by module name.
346
337
  #
347
- # @param resource_group_name [String] The resource group name.
348
338
  # @param automation_account_name [String] The automation account name.
349
339
  # @param module_name [String] The name of module.
350
340
  # @param parameters [ModuleUpdateParameters] The update parameters for module.
@@ -353,14 +343,13 @@ module Azure::Automation::Mgmt::V2015_10_31
353
343
  #
354
344
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
355
345
  #
356
- def update_with_http_info(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
357
- update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers).value!
346
+ def update_with_http_info(automation_account_name, module_name, parameters, custom_headers:nil)
347
+ update_async(automation_account_name, module_name, parameters, custom_headers:custom_headers).value!
358
348
  end
359
349
 
360
350
  #
361
351
  # Update the module identified by module name.
362
352
  #
363
- # @param resource_group_name [String] The resource group name.
364
353
  # @param automation_account_name [String] The automation account name.
365
354
  # @param module_name [String] The name of module.
366
355
  # @param parameters [ModuleUpdateParameters] The update parameters for module.
@@ -369,9 +358,9 @@ module Azure::Automation::Mgmt::V2015_10_31
369
358
  #
370
359
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
371
360
  #
372
- def update_async(resource_group_name, automation_account_name, module_name, parameters, custom_headers = nil)
373
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
374
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
361
+ def update_async(automation_account_name, module_name, parameters, custom_headers:nil)
362
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
363
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
375
364
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
376
365
  fail ArgumentError, 'module_name is nil' if module_name.nil?
377
366
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -380,13 +369,12 @@ module Azure::Automation::Mgmt::V2015_10_31
380
369
 
381
370
 
382
371
  request_headers = {}
372
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
383
373
 
384
374
  # Set Headers
385
375
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
386
376
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
387
377
 
388
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
389
-
390
378
  # Serialize Request
391
379
  request_mapper = Azure::Automation::Mgmt::V2015_10_31::Models::ModuleUpdateParameters.mapper()
392
380
  request_content = @client.serialize(request_mapper, parameters)
@@ -398,7 +386,7 @@ module Azure::Automation::Mgmt::V2015_10_31
398
386
 
399
387
  options = {
400
388
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
401
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
389
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'moduleName' => module_name,'subscriptionId' => @client.subscription_id},
402
390
  query_params: {'api-version' => @client.api_version},
403
391
  body: request_content,
404
392
  headers: request_headers.merge(custom_headers || {}),
@@ -436,51 +424,49 @@ module Azure::Automation::Mgmt::V2015_10_31
436
424
  #
437
425
  # Retrieve a list of modules.
438
426
  #
439
- # @param resource_group_name [String] The resource group name.
440
427
  # @param automation_account_name [String] The automation account name.
441
428
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
442
429
  # will be added to the HTTP request.
443
430
  #
444
431
  # @return [Array<ModuleModel>] operation results.
445
432
  #
446
- def list_by_automation_account(resource_group_name, automation_account_name, custom_headers = nil)
447
- first_page = list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers)
433
+ def list_by_automation_account(automation_account_name, custom_headers:nil)
434
+ first_page = list_by_automation_account_as_lazy(automation_account_name, custom_headers:custom_headers)
448
435
  first_page.get_all_items
449
436
  end
450
437
 
451
438
  #
452
439
  # Retrieve a list of modules.
453
440
  #
454
- # @param resource_group_name [String] The resource group name.
455
441
  # @param automation_account_name [String] The automation account name.
456
442
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
457
443
  # will be added to the HTTP request.
458
444
  #
459
445
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
460
446
  #
461
- def list_by_automation_account_with_http_info(resource_group_name, automation_account_name, custom_headers = nil)
462
- list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value!
447
+ def list_by_automation_account_with_http_info(automation_account_name, custom_headers:nil)
448
+ list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value!
463
449
  end
464
450
 
465
451
  #
466
452
  # Retrieve a list of modules.
467
453
  #
468
- # @param resource_group_name [String] The resource group name.
469
454
  # @param automation_account_name [String] The automation account name.
470
455
  # @param [Hash{String => String}] A hash of custom headers that will be added
471
456
  # to the HTTP request.
472
457
  #
473
458
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
474
459
  #
475
- def list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers = nil)
476
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
477
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
460
+ def list_by_automation_account_async(automation_account_name, custom_headers:nil)
461
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
462
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
478
463
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
479
464
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
480
465
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
481
466
 
482
467
 
483
468
  request_headers = {}
469
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
484
470
 
485
471
  # Set Headers
486
472
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -491,7 +477,7 @@ module Azure::Automation::Mgmt::V2015_10_31
491
477
 
492
478
  options = {
493
479
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
494
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
480
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'subscriptionId' => @client.subscription_id},
495
481
  query_params: {'api-version' => @client.api_version},
496
482
  headers: request_headers.merge(custom_headers || {}),
497
483
  base_url: request_url
@@ -535,8 +521,8 @@ module Azure::Automation::Mgmt::V2015_10_31
535
521
  #
536
522
  # @return [ModuleListResult] operation results.
537
523
  #
538
- def list_by_automation_account_next(next_page_link, custom_headers = nil)
539
- response = list_by_automation_account_next_async(next_page_link, custom_headers).value!
524
+ def list_by_automation_account_next(next_page_link, custom_headers:nil)
525
+ response = list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value!
540
526
  response.body unless response.nil?
541
527
  end
542
528
 
@@ -550,8 +536,8 @@ module Azure::Automation::Mgmt::V2015_10_31
550
536
  #
551
537
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
552
538
  #
553
- def list_by_automation_account_next_with_http_info(next_page_link, custom_headers = nil)
554
- list_by_automation_account_next_async(next_page_link, custom_headers).value!
539
+ def list_by_automation_account_next_with_http_info(next_page_link, custom_headers:nil)
540
+ list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers).value!
555
541
  end
556
542
 
557
543
  #
@@ -564,11 +550,12 @@ module Azure::Automation::Mgmt::V2015_10_31
564
550
  #
565
551
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
566
552
  #
567
- def list_by_automation_account_next_async(next_page_link, custom_headers = nil)
553
+ def list_by_automation_account_next_async(next_page_link, custom_headers:nil)
568
554
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
569
555
 
570
556
 
571
557
  request_headers = {}
558
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
572
559
 
573
560
  # Set Headers
574
561
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -615,7 +602,6 @@ module Azure::Automation::Mgmt::V2015_10_31
615
602
  #
616
603
  # Retrieve a list of modules.
617
604
  #
618
- # @param resource_group_name [String] The resource group name.
619
605
  # @param automation_account_name [String] The automation account name.
620
606
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
621
607
  # will be added to the HTTP request.
@@ -623,12 +609,12 @@ module Azure::Automation::Mgmt::V2015_10_31
623
609
  # @return [ModuleListResult] which provide lazy access to pages of the
624
610
  # response.
625
611
  #
626
- def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers = nil)
627
- response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers).value!
612
+ def list_by_automation_account_as_lazy(automation_account_name, custom_headers:nil)
613
+ response = list_by_automation_account_async(automation_account_name, custom_headers:custom_headers).value!
628
614
  unless response.nil?
629
615
  page = response.body
630
616
  page.next_method = Proc.new do |next_page_link|
631
- list_by_automation_account_next_async(next_page_link, custom_headers)
617
+ list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers)
632
618
  end
633
619
  page
634
620
  end
@@ -24,7 +24,6 @@ module Azure::Automation::Mgmt::V2015_10_31
24
24
  #
25
25
  # Retrieve the Dsc node report list by node id.
26
26
  #
27
- # @param resource_group_name [String] The resource group name.
28
27
  # @param automation_account_name [String] The automation account name.
29
28
  # @param node_id [String] The parameters supplied to the list operation.
30
29
  # @param filter [String] The filter to apply on the operation.
@@ -33,15 +32,14 @@ module Azure::Automation::Mgmt::V2015_10_31
33
32
  #
34
33
  # @return [Array<DscNodeReport>] operation results.
35
34
  #
36
- def list_by_node(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil)
37
- first_page = list_by_node_as_lazy(resource_group_name, automation_account_name, node_id, filter, custom_headers)
35
+ def list_by_node(automation_account_name, node_id, filter:nil, custom_headers:nil)
36
+ first_page = list_by_node_as_lazy(automation_account_name, node_id, filter:filter, custom_headers:custom_headers)
38
37
  first_page.get_all_items
39
38
  end
40
39
 
41
40
  #
42
41
  # Retrieve the Dsc node report list by node id.
43
42
  #
44
- # @param resource_group_name [String] The resource group name.
45
43
  # @param automation_account_name [String] The automation account name.
46
44
  # @param node_id [String] The parameters supplied to the list operation.
47
45
  # @param filter [String] The filter to apply on the operation.
@@ -50,14 +48,13 @@ module Azure::Automation::Mgmt::V2015_10_31
50
48
  #
51
49
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
50
  #
53
- def list_by_node_with_http_info(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil)
54
- list_by_node_async(resource_group_name, automation_account_name, node_id, filter, custom_headers).value!
51
+ def list_by_node_with_http_info(automation_account_name, node_id, filter:nil, custom_headers:nil)
52
+ list_by_node_async(automation_account_name, node_id, filter:filter, custom_headers:custom_headers).value!
55
53
  end
56
54
 
57
55
  #
58
56
  # Retrieve the Dsc node report list by node id.
59
57
  #
60
- # @param resource_group_name [String] The resource group name.
61
58
  # @param automation_account_name [String] The automation account name.
62
59
  # @param node_id [String] The parameters supplied to the list operation.
63
60
  # @param filter [String] The filter to apply on the operation.
@@ -66,9 +63,9 @@ module Azure::Automation::Mgmt::V2015_10_31
66
63
  #
67
64
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
65
  #
69
- def list_by_node_async(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil)
70
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
71
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
66
+ def list_by_node_async(automation_account_name, node_id, filter:nil, custom_headers:nil)
67
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
68
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
72
69
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
73
70
  fail ArgumentError, 'node_id is nil' if node_id.nil?
74
71
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -76,6 +73,7 @@ module Azure::Automation::Mgmt::V2015_10_31
76
73
 
77
74
 
78
75
  request_headers = {}
76
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
79
77
 
80
78
  # Set Headers
81
79
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -86,7 +84,7 @@ module Azure::Automation::Mgmt::V2015_10_31
86
84
 
87
85
  options = {
88
86
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
89
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id},
87
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'subscriptionId' => @client.subscription_id},
90
88
  query_params: {'$filter' => filter,'api-version' => @client.api_version},
91
89
  headers: request_headers.merge(custom_headers || {}),
92
90
  base_url: request_url
@@ -123,7 +121,6 @@ module Azure::Automation::Mgmt::V2015_10_31
123
121
  #
124
122
  # Retrieve the Dsc node report data by node id and report id.
125
123
  #
126
- # @param resource_group_name [String] The resource group name.
127
124
  # @param automation_account_name [String] The automation account name.
128
125
  # @param node_id [String] The Dsc node id.
129
126
  # @param report_id [String] The report id.
@@ -132,15 +129,14 @@ module Azure::Automation::Mgmt::V2015_10_31
132
129
  #
133
130
  # @return [DscNodeReport] operation results.
134
131
  #
135
- def get(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
136
- response = get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value!
132
+ def get(automation_account_name, node_id, report_id, custom_headers:nil)
133
+ response = get_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value!
137
134
  response.body unless response.nil?
138
135
  end
139
136
 
140
137
  #
141
138
  # Retrieve the Dsc node report data by node id and report id.
142
139
  #
143
- # @param resource_group_name [String] The resource group name.
144
140
  # @param automation_account_name [String] The automation account name.
145
141
  # @param node_id [String] The Dsc node id.
146
142
  # @param report_id [String] The report id.
@@ -149,14 +145,13 @@ module Azure::Automation::Mgmt::V2015_10_31
149
145
  #
150
146
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
151
147
  #
152
- def get_with_http_info(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
153
- get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value!
148
+ def get_with_http_info(automation_account_name, node_id, report_id, custom_headers:nil)
149
+ get_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value!
154
150
  end
155
151
 
156
152
  #
157
153
  # Retrieve the Dsc node report data by node id and report id.
158
154
  #
159
- # @param resource_group_name [String] The resource group name.
160
155
  # @param automation_account_name [String] The automation account name.
161
156
  # @param node_id [String] The Dsc node id.
162
157
  # @param report_id [String] The report id.
@@ -165,9 +160,9 @@ module Azure::Automation::Mgmt::V2015_10_31
165
160
  #
166
161
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
167
162
  #
168
- def get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
169
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
170
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
163
+ def get_async(automation_account_name, node_id, report_id, custom_headers:nil)
164
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
165
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
171
166
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
172
167
  fail ArgumentError, 'node_id is nil' if node_id.nil?
173
168
  fail ArgumentError, 'report_id is nil' if report_id.nil?
@@ -176,6 +171,7 @@ module Azure::Automation::Mgmt::V2015_10_31
176
171
 
177
172
 
178
173
  request_headers = {}
174
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
179
175
 
180
176
  # Set Headers
181
177
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -186,7 +182,7 @@ module Azure::Automation::Mgmt::V2015_10_31
186
182
 
187
183
  options = {
188
184
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
189
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id},
185
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id},
190
186
  query_params: {'api-version' => @client.api_version},
191
187
  headers: request_headers.merge(custom_headers || {}),
192
188
  base_url: request_url
@@ -223,7 +219,6 @@ module Azure::Automation::Mgmt::V2015_10_31
223
219
  #
224
220
  # Retrieve the Dsc node reports by node id and report id.
225
221
  #
226
- # @param resource_group_name [String] The resource group name.
227
222
  # @param automation_account_name [String] The automation account name.
228
223
  # @param node_id [String] The Dsc node id.
229
224
  # @param report_id [String] The report id.
@@ -232,15 +227,14 @@ module Azure::Automation::Mgmt::V2015_10_31
232
227
  #
233
228
  # @return [NOT_IMPLEMENTED] operation results.
234
229
  #
235
- def get_content(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
236
- response = get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value!
230
+ def get_content(automation_account_name, node_id, report_id, custom_headers:nil)
231
+ response = get_content_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value!
237
232
  response.body unless response.nil?
238
233
  end
239
234
 
240
235
  #
241
236
  # Retrieve the Dsc node reports by node id and report id.
242
237
  #
243
- # @param resource_group_name [String] The resource group name.
244
238
  # @param automation_account_name [String] The automation account name.
245
239
  # @param node_id [String] The Dsc node id.
246
240
  # @param report_id [String] The report id.
@@ -249,14 +243,13 @@ module Azure::Automation::Mgmt::V2015_10_31
249
243
  #
250
244
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
251
245
  #
252
- def get_content_with_http_info(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
253
- get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers).value!
246
+ def get_content_with_http_info(automation_account_name, node_id, report_id, custom_headers:nil)
247
+ get_content_async(automation_account_name, node_id, report_id, custom_headers:custom_headers).value!
254
248
  end
255
249
 
256
250
  #
257
251
  # Retrieve the Dsc node reports by node id and report id.
258
252
  #
259
- # @param resource_group_name [String] The resource group name.
260
253
  # @param automation_account_name [String] The automation account name.
261
254
  # @param node_id [String] The Dsc node id.
262
255
  # @param report_id [String] The report id.
@@ -265,9 +258,9 @@ module Azure::Automation::Mgmt::V2015_10_31
265
258
  #
266
259
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
267
260
  #
268
- def get_content_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers = nil)
269
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
270
- fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
261
+ def get_content_async(automation_account_name, node_id, report_id, custom_headers:nil)
262
+ fail ArgumentError, '@client.resource_group_name is nil' if @client.resource_group_name.nil?
263
+ fail ArgumentError, "'@client.resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !@client.resource_group_name.nil? && @client.resource_group_name.match(Regexp.new('^^[-\w\._]+$$')).nil?
271
264
  fail ArgumentError, 'automation_account_name is nil' if automation_account_name.nil?
272
265
  fail ArgumentError, 'node_id is nil' if node_id.nil?
273
266
  fail ArgumentError, 'report_id is nil' if report_id.nil?
@@ -276,6 +269,7 @@ module Azure::Automation::Mgmt::V2015_10_31
276
269
 
277
270
 
278
271
  request_headers = {}
272
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
279
273
 
280
274
  # Set Headers
281
275
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -286,7 +280,7 @@ module Azure::Automation::Mgmt::V2015_10_31
286
280
 
287
281
  options = {
288
282
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
289
- path_params: {'resourceGroupName' => resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id},
283
+ path_params: {'resourceGroupName' => @client.resource_group_name,'automationAccountName' => automation_account_name,'nodeId' => node_id,'reportId' => report_id,'subscriptionId' => @client.subscription_id},
290
284
  query_params: {'api-version' => @client.api_version},
291
285
  headers: request_headers.merge(custom_headers || {}),
292
286
  base_url: request_url
@@ -337,8 +331,8 @@ module Azure::Automation::Mgmt::V2015_10_31
337
331
  #
338
332
  # @return [DscNodeReportListResult] operation results.
339
333
  #
340
- def list_by_node_next(next_page_link, custom_headers = nil)
341
- response = list_by_node_next_async(next_page_link, custom_headers).value!
334
+ def list_by_node_next(next_page_link, custom_headers:nil)
335
+ response = list_by_node_next_async(next_page_link, custom_headers:custom_headers).value!
342
336
  response.body unless response.nil?
343
337
  end
344
338
 
@@ -352,8 +346,8 @@ module Azure::Automation::Mgmt::V2015_10_31
352
346
  #
353
347
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
354
348
  #
355
- def list_by_node_next_with_http_info(next_page_link, custom_headers = nil)
356
- list_by_node_next_async(next_page_link, custom_headers).value!
349
+ def list_by_node_next_with_http_info(next_page_link, custom_headers:nil)
350
+ list_by_node_next_async(next_page_link, custom_headers:custom_headers).value!
357
351
  end
358
352
 
359
353
  #
@@ -366,11 +360,12 @@ module Azure::Automation::Mgmt::V2015_10_31
366
360
  #
367
361
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
368
362
  #
369
- def list_by_node_next_async(next_page_link, custom_headers = nil)
363
+ def list_by_node_next_async(next_page_link, custom_headers:nil)
370
364
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
371
365
 
372
366
 
373
367
  request_headers = {}
368
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
374
369
 
375
370
  # Set Headers
376
371
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -417,7 +412,6 @@ module Azure::Automation::Mgmt::V2015_10_31
417
412
  #
418
413
  # Retrieve the Dsc node report list by node id.
419
414
  #
420
- # @param resource_group_name [String] The resource group name.
421
415
  # @param automation_account_name [String] The automation account name.
422
416
  # @param node_id [String] The parameters supplied to the list operation.
423
417
  # @param filter [String] The filter to apply on the operation.
@@ -427,12 +421,12 @@ module Azure::Automation::Mgmt::V2015_10_31
427
421
  # @return [DscNodeReportListResult] which provide lazy access to pages of the
428
422
  # response.
429
423
  #
430
- def list_by_node_as_lazy(resource_group_name, automation_account_name, node_id, filter = nil, custom_headers = nil)
431
- response = list_by_node_async(resource_group_name, automation_account_name, node_id, filter, custom_headers).value!
424
+ def list_by_node_as_lazy(automation_account_name, node_id, filter:nil, custom_headers:nil)
425
+ response = list_by_node_async(automation_account_name, node_id, filter:filter, custom_headers:custom_headers).value!
432
426
  unless response.nil?
433
427
  page = response.body
434
428
  page.next_method = Proc.new do |next_page_link|
435
- list_by_node_next_async(next_page_link, custom_headers)
429
+ list_by_node_next_async(next_page_link, custom_headers:custom_headers)
436
430
  end
437
431
  page
438
432
  end