azure_mgmt_logic 0.15.2 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/logic_management_client.rb +4 -1
  3. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_access_keys.rb +45 -42
  4. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_run_actions.rb +21 -18
  5. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_runs.rb +27 -23
  6. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_trigger_histories.rb +21 -18
  7. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_triggers.rb +27 -23
  8. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_versions.rb +6 -5
  9. data/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflows.rb +82 -78
  10. data/lib/2016-06-01/generated/azure_mgmt_logic/agreements.rb +33 -30
  11. data/lib/2016-06-01/generated/azure_mgmt_logic/certificates.rb +33 -30
  12. data/lib/2016-06-01/generated/azure_mgmt_logic/integration_accounts.rb +60 -57
  13. data/lib/2016-06-01/generated/azure_mgmt_logic/logic_management_client.rb +22 -16
  14. data/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb +33 -30
  15. data/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb +33 -30
  16. data/lib/2016-06-01/generated/azure_mgmt_logic/schemas.rb +33 -30
  17. data/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb +33 -30
  18. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_actions.rb +21 -18
  19. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb +27 -23
  20. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb +27 -23
  21. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb +33 -28
  22. data/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb +27 -25
  23. data/lib/2016-06-01/generated/azure_mgmt_logic/workflows.rb +90 -86
  24. data/lib/profiles/latest/logic_latest_profile_client.rb +28 -9
  25. data/lib/profiles/latest/logic_module_definition.rb +0 -1
  26. data/lib/profiles/latest/modules/logic_profile_module.rb +445 -426
  27. data/lib/version.rb +1 -1
  28. metadata +3 -3
@@ -34,8 +34,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
34
34
  #
35
35
  # @return [Array<WorkflowTriggerHistory>] operation results.
36
36
  #
37
- def list(resource_group_name, workflow_name, trigger_name, top = nil, filter = nil, custom_headers = nil)
38
- first_page = list_as_lazy(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers)
37
+ def list(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
38
+ first_page = list_as_lazy(resource_group_name, workflow_name, trigger_name, top:top, filter:filter, custom_headers:custom_headers)
39
39
  first_page.get_all_items
40
40
  end
41
41
 
@@ -52,8 +52,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
52
52
  #
53
53
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
54
  #
55
- def list_with_http_info(resource_group_name, workflow_name, trigger_name, top = nil, filter = nil, custom_headers = nil)
56
- list_async(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers).value!
55
+ def list_with_http_info(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
56
+ list_async(resource_group_name, workflow_name, trigger_name, top:top, filter:filter, custom_headers:custom_headers).value!
57
57
  end
58
58
 
59
59
  #
@@ -69,7 +69,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
69
69
  #
70
70
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
71
  #
72
- def list_async(resource_group_name, workflow_name, trigger_name, top = nil, filter = nil, custom_headers = nil)
72
+ def list_async(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
73
73
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
74
74
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
75
75
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -78,6 +78,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
78
78
 
79
79
 
80
80
  request_headers = {}
81
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
81
82
 
82
83
  # Set Headers
83
84
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -134,8 +135,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
134
135
  #
135
136
  # @return [WorkflowTriggerHistory] operation results.
136
137
  #
137
- def get(resource_group_name, workflow_name, trigger_name, history_name, custom_headers = nil)
138
- response = get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers).value!
138
+ def get(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
139
+ response = get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
139
140
  response.body unless response.nil?
140
141
  end
141
142
 
@@ -151,8 +152,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
151
152
  #
152
153
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
153
154
  #
154
- def get_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers = nil)
155
- get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers).value!
155
+ def get_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
156
+ get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
156
157
  end
157
158
 
158
159
  #
@@ -167,7 +168,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
167
168
  #
168
169
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
169
170
  #
170
- def get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers = nil)
171
+ def get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
171
172
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
172
173
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
173
174
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -177,6 +178,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
177
178
 
178
179
 
179
180
  request_headers = {}
181
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
180
182
 
181
183
  # Set Headers
182
184
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -231,8 +233,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
231
233
  #
232
234
  # @return [WorkflowTriggerHistoryListResult] operation results.
233
235
  #
234
- def list_next(next_page_link, custom_headers = nil)
235
- response = list_next_async(next_page_link, custom_headers).value!
236
+ def list_next(next_page_link, custom_headers:nil)
237
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
236
238
  response.body unless response.nil?
237
239
  end
238
240
 
@@ -246,8 +248,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
246
248
  #
247
249
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
248
250
  #
249
- def list_next_with_http_info(next_page_link, custom_headers = nil)
250
- list_next_async(next_page_link, custom_headers).value!
251
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
252
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
251
253
  end
252
254
 
253
255
  #
@@ -260,11 +262,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
260
262
  #
261
263
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
262
264
  #
263
- def list_next_async(next_page_link, custom_headers = nil)
265
+ def list_next_async(next_page_link, custom_headers:nil)
264
266
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
265
267
 
266
268
 
267
269
  request_headers = {}
270
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
268
271
 
269
272
  # Set Headers
270
273
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -322,12 +325,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
322
325
  # @return [WorkflowTriggerHistoryListResult] which provide lazy access to pages
323
326
  # of the response.
324
327
  #
325
- def list_as_lazy(resource_group_name, workflow_name, trigger_name, top = nil, filter = nil, custom_headers = nil)
326
- response = list_async(resource_group_name, workflow_name, trigger_name, top, filter, custom_headers).value!
328
+ def list_as_lazy(resource_group_name, workflow_name, trigger_name, top:nil, filter:nil, custom_headers:nil)
329
+ response = list_async(resource_group_name, workflow_name, trigger_name, top:top, filter:filter, custom_headers:custom_headers).value!
327
330
  unless response.nil?
328
331
  page = response.body
329
332
  page.next_method = Proc.new do |next_page_link|
330
- list_next_async(next_page_link, custom_headers)
333
+ list_next_async(next_page_link, custom_headers:custom_headers)
331
334
  end
332
335
  page
333
336
  end
@@ -33,8 +33,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
33
33
  #
34
34
  # @return [Array<WorkflowTrigger>] operation results.
35
35
  #
36
- def list(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
37
- first_page = list_as_lazy(resource_group_name, workflow_name, top, filter, custom_headers)
36
+ def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
37
+ first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
38
38
  first_page.get_all_items
39
39
  end
40
40
 
@@ -50,8 +50,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
50
50
  #
51
51
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
52
  #
53
- def list_with_http_info(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
54
- list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
53
+ def list_with_http_info(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
54
+ list_async(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers).value!
55
55
  end
56
56
 
57
57
  #
@@ -66,7 +66,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
66
66
  #
67
67
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
68
  #
69
- def list_async(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
69
+ def list_async(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
70
70
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
71
71
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
72
72
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -74,6 +74,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
74
74
 
75
75
 
76
76
  request_headers = {}
77
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
77
78
 
78
79
  # Set Headers
79
80
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -129,8 +130,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
129
130
  #
130
131
  # @return [WorkflowTrigger] operation results.
131
132
  #
132
- def get(resource_group_name, workflow_name, trigger_name, custom_headers = nil)
133
- response = get_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
133
+ def get(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
134
+ response = get_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
134
135
  response.body unless response.nil?
135
136
  end
136
137
 
@@ -145,8 +146,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
145
146
  #
146
147
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
147
148
  #
148
- def get_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers = nil)
149
- get_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
149
+ def get_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
150
+ get_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
150
151
  end
151
152
 
152
153
  #
@@ -160,7 +161,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
160
161
  #
161
162
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
162
163
  #
163
- def get_async(resource_group_name, workflow_name, trigger_name, custom_headers = nil)
164
+ def get_async(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
164
165
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
165
166
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
166
167
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -169,6 +170,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
169
170
 
170
171
 
171
172
  request_headers = {}
173
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
172
174
 
173
175
  # Set Headers
174
176
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -223,8 +225,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
223
225
  # will be added to the HTTP request.
224
226
  #
225
227
  #
226
- def run(resource_group_name, workflow_name, trigger_name, custom_headers = nil)
227
- response = run_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
228
+ def run(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
229
+ response = run_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
228
230
  nil
229
231
  end
230
232
 
@@ -239,8 +241,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
239
241
  #
240
242
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
241
243
  #
242
- def run_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers = nil)
243
- run_async(resource_group_name, workflow_name, trigger_name, custom_headers).value!
244
+ def run_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
245
+ run_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
244
246
  end
245
247
 
246
248
  #
@@ -254,7 +256,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
254
256
  #
255
257
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
256
258
  #
257
- def run_async(resource_group_name, workflow_name, trigger_name, custom_headers = nil)
259
+ def run_async(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
258
260
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
259
261
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
260
262
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -263,6 +265,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
263
265
 
264
266
 
265
267
  request_headers = {}
268
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
266
269
 
267
270
  # Set Headers
268
271
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -307,8 +310,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
307
310
  #
308
311
  # @return [WorkflowTriggerListResult] operation results.
309
312
  #
310
- def list_next(next_page_link, custom_headers = nil)
311
- response = list_next_async(next_page_link, custom_headers).value!
313
+ def list_next(next_page_link, custom_headers:nil)
314
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
312
315
  response.body unless response.nil?
313
316
  end
314
317
 
@@ -322,8 +325,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
322
325
  #
323
326
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
324
327
  #
325
- def list_next_with_http_info(next_page_link, custom_headers = nil)
326
- list_next_async(next_page_link, custom_headers).value!
328
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
329
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
327
330
  end
328
331
 
329
332
  #
@@ -336,11 +339,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
336
339
  #
337
340
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
338
341
  #
339
- def list_next_async(next_page_link, custom_headers = nil)
342
+ def list_next_async(next_page_link, custom_headers:nil)
340
343
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
341
344
 
342
345
 
343
346
  request_headers = {}
347
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
344
348
 
345
349
  # Set Headers
346
350
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -397,12 +401,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
397
401
  # @return [WorkflowTriggerListResult] which provide lazy access to pages of the
398
402
  # response.
399
403
  #
400
- def list_as_lazy(resource_group_name, workflow_name, top = nil, filter = nil, custom_headers = nil)
401
- response = list_async(resource_group_name, workflow_name, top, filter, custom_headers).value!
404
+ def list_as_lazy(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
405
+ response = list_async(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers).value!
402
406
  unless response.nil?
403
407
  page = response.body
404
408
  page.next_method = Proc.new do |next_page_link|
405
- list_next_async(next_page_link, custom_headers)
409
+ list_next_async(next_page_link, custom_headers:custom_headers)
406
410
  end
407
411
  page
408
412
  end
@@ -32,8 +32,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
32
32
  #
33
33
  # @return [WorkflowVersion] operation results.
34
34
  #
35
- def get(resource_group_name, workflow_name, version_id, custom_headers = nil)
36
- response = get_async(resource_group_name, workflow_name, version_id, custom_headers).value!
35
+ def get(resource_group_name, workflow_name, version_id, custom_headers:nil)
36
+ response = get_async(resource_group_name, workflow_name, version_id, custom_headers:custom_headers).value!
37
37
  response.body unless response.nil?
38
38
  end
39
39
 
@@ -48,8 +48,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
48
48
  #
49
49
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
50
  #
51
- def get_with_http_info(resource_group_name, workflow_name, version_id, custom_headers = nil)
52
- get_async(resource_group_name, workflow_name, version_id, custom_headers).value!
51
+ def get_with_http_info(resource_group_name, workflow_name, version_id, custom_headers:nil)
52
+ get_async(resource_group_name, workflow_name, version_id, custom_headers:custom_headers).value!
53
53
  end
54
54
 
55
55
  #
@@ -63,7 +63,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
63
63
  #
64
64
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
65
  #
66
- def get_async(resource_group_name, workflow_name, version_id, custom_headers = nil)
66
+ def get_async(resource_group_name, workflow_name, version_id, custom_headers:nil)
67
67
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
68
68
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
69
69
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -72,6 +72,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
72
72
 
73
73
 
74
74
  request_headers = {}
75
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
75
76
 
76
77
  # Set Headers
77
78
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -31,8 +31,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
31
31
  #
32
32
  # @return [Array<Workflow>] operation results.
33
33
  #
34
- def list_by_subscription(top = nil, filter = nil, custom_headers = nil)
35
- first_page = list_by_subscription_as_lazy(top, filter, custom_headers)
34
+ def list_by_subscription(top:nil, filter:nil, custom_headers:nil)
35
+ first_page = list_by_subscription_as_lazy(top:top, filter:filter, custom_headers:custom_headers)
36
36
  first_page.get_all_items
37
37
  end
38
38
 
@@ -46,8 +46,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
46
46
  #
47
47
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
48
48
  #
49
- def list_by_subscription_with_http_info(top = nil, filter = nil, custom_headers = nil)
50
- list_by_subscription_async(top, filter, custom_headers).value!
49
+ def list_by_subscription_with_http_info(top:nil, filter:nil, custom_headers:nil)
50
+ list_by_subscription_async(top:top, filter:filter, custom_headers:custom_headers).value!
51
51
  end
52
52
 
53
53
  #
@@ -60,12 +60,13 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
60
60
  #
61
61
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
62
62
  #
63
- def list_by_subscription_async(top = nil, filter = nil, custom_headers = nil)
63
+ def list_by_subscription_async(top:nil, filter:nil, custom_headers:nil)
64
64
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
65
65
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
66
66
 
67
67
 
68
68
  request_headers = {}
69
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
69
70
 
70
71
  # Set Headers
71
72
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -121,8 +122,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
121
122
  #
122
123
  # @return [Array<Workflow>] operation results.
123
124
  #
124
- def list_by_resource_group(resource_group_name, top = nil, filter = nil, custom_headers = nil)
125
- first_page = list_by_resource_group_as_lazy(resource_group_name, top, filter, custom_headers)
125
+ def list_by_resource_group(resource_group_name, top:nil, filter:nil, custom_headers:nil)
126
+ first_page = list_by_resource_group_as_lazy(resource_group_name, top:top, filter:filter, custom_headers:custom_headers)
126
127
  first_page.get_all_items
127
128
  end
128
129
 
@@ -137,8 +138,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
137
138
  #
138
139
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
139
140
  #
140
- def list_by_resource_group_with_http_info(resource_group_name, top = nil, filter = nil, custom_headers = nil)
141
- list_by_resource_group_async(resource_group_name, top, filter, custom_headers).value!
141
+ def list_by_resource_group_with_http_info(resource_group_name, top:nil, filter:nil, custom_headers:nil)
142
+ list_by_resource_group_async(resource_group_name, top:top, filter:filter, custom_headers:custom_headers).value!
142
143
  end
143
144
 
144
145
  #
@@ -152,13 +153,14 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
152
153
  #
153
154
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
154
155
  #
155
- def list_by_resource_group_async(resource_group_name, top = nil, filter = nil, custom_headers = nil)
156
+ def list_by_resource_group_async(resource_group_name, top:nil, filter:nil, custom_headers:nil)
156
157
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
157
158
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
158
159
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
159
160
 
160
161
 
161
162
  request_headers = {}
163
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
162
164
 
163
165
  # Set Headers
164
166
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -213,8 +215,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
213
215
  #
214
216
  # @return [Workflow] operation results.
215
217
  #
216
- def get(resource_group_name, workflow_name, custom_headers = nil)
217
- response = get_async(resource_group_name, workflow_name, custom_headers).value!
218
+ def get(resource_group_name, workflow_name, custom_headers:nil)
219
+ response = get_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
218
220
  response.body unless response.nil?
219
221
  end
220
222
 
@@ -228,8 +230,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
228
230
  #
229
231
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
230
232
  #
231
- def get_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
232
- get_async(resource_group_name, workflow_name, custom_headers).value!
233
+ def get_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
234
+ get_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
233
235
  end
234
236
 
235
237
  #
@@ -242,7 +244,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
242
244
  #
243
245
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
244
246
  #
245
- def get_async(resource_group_name, workflow_name, custom_headers = nil)
247
+ def get_async(resource_group_name, workflow_name, custom_headers:nil)
246
248
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
247
249
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
248
250
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -250,6 +252,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
250
252
 
251
253
 
252
254
  request_headers = {}
255
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
253
256
 
254
257
  # Set Headers
255
258
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -305,8 +308,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
305
308
  #
306
309
  # @return [Workflow] operation results.
307
310
  #
308
- def create_or_update(resource_group_name, workflow_name, workflow, custom_headers = nil)
309
- response = create_or_update_async(resource_group_name, workflow_name, workflow, custom_headers).value!
311
+ def create_or_update(resource_group_name, workflow_name, workflow, custom_headers:nil)
312
+ response = create_or_update_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
310
313
  response.body unless response.nil?
311
314
  end
312
315
 
@@ -321,8 +324,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
321
324
  #
322
325
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
323
326
  #
324
- def create_or_update_with_http_info(resource_group_name, workflow_name, workflow, custom_headers = nil)
325
- create_or_update_async(resource_group_name, workflow_name, workflow, custom_headers).value!
327
+ def create_or_update_with_http_info(resource_group_name, workflow_name, workflow, custom_headers:nil)
328
+ create_or_update_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
326
329
  end
327
330
 
328
331
  #
@@ -336,7 +339,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
336
339
  #
337
340
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
338
341
  #
339
- def create_or_update_async(resource_group_name, workflow_name, workflow, custom_headers = nil)
342
+ def create_or_update_async(resource_group_name, workflow_name, workflow, custom_headers:nil)
340
343
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
341
344
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
342
345
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -345,13 +348,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
345
348
 
346
349
 
347
350
  request_headers = {}
351
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
348
352
 
349
353
  # Set Headers
350
354
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
351
355
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
352
356
 
353
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
354
-
355
357
  # Serialize Request
356
358
  request_mapper = Azure::Logic::Mgmt::V2015_02_01_preview::Models::Workflow.mapper()
357
359
  request_content = @client.serialize(request_mapper, workflow)
@@ -419,8 +421,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
419
421
  #
420
422
  # @return [Workflow] operation results.
421
423
  #
422
- def update(resource_group_name, workflow_name, workflow, custom_headers = nil)
423
- response = update_async(resource_group_name, workflow_name, workflow, custom_headers).value!
424
+ def update(resource_group_name, workflow_name, workflow, custom_headers:nil)
425
+ response = update_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
424
426
  response.body unless response.nil?
425
427
  end
426
428
 
@@ -435,8 +437,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
435
437
  #
436
438
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
437
439
  #
438
- def update_with_http_info(resource_group_name, workflow_name, workflow, custom_headers = nil)
439
- update_async(resource_group_name, workflow_name, workflow, custom_headers).value!
440
+ def update_with_http_info(resource_group_name, workflow_name, workflow, custom_headers:nil)
441
+ update_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
440
442
  end
441
443
 
442
444
  #
@@ -450,7 +452,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
450
452
  #
451
453
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
452
454
  #
453
- def update_async(resource_group_name, workflow_name, workflow, custom_headers = nil)
455
+ def update_async(resource_group_name, workflow_name, workflow, custom_headers:nil)
454
456
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
455
457
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
456
458
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -459,13 +461,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
459
461
 
460
462
 
461
463
  request_headers = {}
464
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
462
465
 
463
466
  # Set Headers
464
467
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
465
468
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
466
469
 
467
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
468
-
469
470
  # Serialize Request
470
471
  request_mapper = Azure::Logic::Mgmt::V2015_02_01_preview::Models::Workflow.mapper()
471
472
  request_content = @client.serialize(request_mapper, workflow)
@@ -521,8 +522,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
521
522
  # will be added to the HTTP request.
522
523
  #
523
524
  #
524
- def delete(resource_group_name, workflow_name, custom_headers = nil)
525
- response = delete_async(resource_group_name, workflow_name, custom_headers).value!
525
+ def delete(resource_group_name, workflow_name, custom_headers:nil)
526
+ response = delete_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
526
527
  nil
527
528
  end
528
529
 
@@ -536,8 +537,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
536
537
  #
537
538
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
538
539
  #
539
- def delete_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
540
- delete_async(resource_group_name, workflow_name, custom_headers).value!
540
+ def delete_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
541
+ delete_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
541
542
  end
542
543
 
543
544
  #
@@ -550,7 +551,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
550
551
  #
551
552
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
552
553
  #
553
- def delete_async(resource_group_name, workflow_name, custom_headers = nil)
554
+ def delete_async(resource_group_name, workflow_name, custom_headers:nil)
554
555
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
555
556
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
556
557
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -558,6 +559,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
558
559
 
559
560
 
560
561
  request_headers = {}
562
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
561
563
 
562
564
  # Set Headers
563
565
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -603,8 +605,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
603
605
  #
604
606
  # @return [WorkflowRun] operation results.
605
607
  #
606
- def run(resource_group_name, workflow_name, parameters, custom_headers = nil)
607
- response = run_async(resource_group_name, workflow_name, parameters, custom_headers).value!
608
+ def run(resource_group_name, workflow_name, parameters, custom_headers:nil)
609
+ response = run_async(resource_group_name, workflow_name, parameters, custom_headers:custom_headers).value!
608
610
  response.body unless response.nil?
609
611
  end
610
612
 
@@ -618,9 +620,9 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
618
620
  # @return [Concurrent::Promise] promise which provides async access to http
619
621
  # response.
620
622
  #
621
- def run_async(resource_group_name, workflow_name, parameters, custom_headers = nil)
623
+ def run_async(resource_group_name, workflow_name, parameters, custom_headers:nil)
622
624
  # Send request
623
- promise = begin_run_async(resource_group_name, workflow_name, parameters, custom_headers)
625
+ promise = begin_run_async(resource_group_name, workflow_name, parameters, custom_headers:custom_headers)
624
626
 
625
627
  promise = promise.then do |response|
626
628
  # Defining deserialization method.
@@ -645,8 +647,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
645
647
  # will be added to the HTTP request.
646
648
  #
647
649
  #
648
- def disable(resource_group_name, workflow_name, custom_headers = nil)
649
- response = disable_async(resource_group_name, workflow_name, custom_headers).value!
650
+ def disable(resource_group_name, workflow_name, custom_headers:nil)
651
+ response = disable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
650
652
  nil
651
653
  end
652
654
 
@@ -660,8 +662,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
660
662
  #
661
663
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
662
664
  #
663
- def disable_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
664
- disable_async(resource_group_name, workflow_name, custom_headers).value!
665
+ def disable_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
666
+ disable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
665
667
  end
666
668
 
667
669
  #
@@ -674,7 +676,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
674
676
  #
675
677
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
676
678
  #
677
- def disable_async(resource_group_name, workflow_name, custom_headers = nil)
679
+ def disable_async(resource_group_name, workflow_name, custom_headers:nil)
678
680
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
679
681
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
680
682
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -682,6 +684,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
682
684
 
683
685
 
684
686
  request_headers = {}
687
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
685
688
 
686
689
  # Set Headers
687
690
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -725,8 +728,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
725
728
  # will be added to the HTTP request.
726
729
  #
727
730
  #
728
- def enable(resource_group_name, workflow_name, custom_headers = nil)
729
- response = enable_async(resource_group_name, workflow_name, custom_headers).value!
731
+ def enable(resource_group_name, workflow_name, custom_headers:nil)
732
+ response = enable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
730
733
  nil
731
734
  end
732
735
 
@@ -740,8 +743,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
740
743
  #
741
744
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
742
745
  #
743
- def enable_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
744
- enable_async(resource_group_name, workflow_name, custom_headers).value!
746
+ def enable_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
747
+ enable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
745
748
  end
746
749
 
747
750
  #
@@ -754,7 +757,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
754
757
  #
755
758
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
756
759
  #
757
- def enable_async(resource_group_name, workflow_name, custom_headers = nil)
760
+ def enable_async(resource_group_name, workflow_name, custom_headers:nil)
758
761
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
759
762
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
760
763
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -762,6 +765,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
762
765
 
763
766
 
764
767
  request_headers = {}
768
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
765
769
 
766
770
  # Set Headers
767
771
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -806,8 +810,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
806
810
  # will be added to the HTTP request.
807
811
  #
808
812
  #
809
- def validate(resource_group_name, workflow_name, workflow, custom_headers = nil)
810
- response = validate_async(resource_group_name, workflow_name, workflow, custom_headers).value!
813
+ def validate(resource_group_name, workflow_name, workflow, custom_headers:nil)
814
+ response = validate_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
811
815
  nil
812
816
  end
813
817
 
@@ -822,8 +826,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
822
826
  #
823
827
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
824
828
  #
825
- def validate_with_http_info(resource_group_name, workflow_name, workflow, custom_headers = nil)
826
- validate_async(resource_group_name, workflow_name, workflow, custom_headers).value!
829
+ def validate_with_http_info(resource_group_name, workflow_name, workflow, custom_headers:nil)
830
+ validate_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
827
831
  end
828
832
 
829
833
  #
@@ -837,7 +841,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
837
841
  #
838
842
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
839
843
  #
840
- def validate_async(resource_group_name, workflow_name, workflow, custom_headers = nil)
844
+ def validate_async(resource_group_name, workflow_name, workflow, custom_headers:nil)
841
845
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
842
846
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
843
847
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -846,13 +850,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
846
850
 
847
851
 
848
852
  request_headers = {}
853
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
849
854
 
850
855
  # Set Headers
851
856
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
852
857
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
853
858
 
854
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
855
-
856
859
  # Serialize Request
857
860
  request_mapper = Azure::Logic::Mgmt::V2015_02_01_preview::Models::Workflow.mapper()
858
861
  request_content = @client.serialize(request_mapper, workflow)
@@ -900,8 +903,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
900
903
  #
901
904
  # @return [WorkflowRun] operation results.
902
905
  #
903
- def begin_run(resource_group_name, workflow_name, parameters, custom_headers = nil)
904
- response = begin_run_async(resource_group_name, workflow_name, parameters, custom_headers).value!
906
+ def begin_run(resource_group_name, workflow_name, parameters, custom_headers:nil)
907
+ response = begin_run_async(resource_group_name, workflow_name, parameters, custom_headers:custom_headers).value!
905
908
  response.body unless response.nil?
906
909
  end
907
910
 
@@ -916,8 +919,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
916
919
  #
917
920
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
918
921
  #
919
- def begin_run_with_http_info(resource_group_name, workflow_name, parameters, custom_headers = nil)
920
- begin_run_async(resource_group_name, workflow_name, parameters, custom_headers).value!
922
+ def begin_run_with_http_info(resource_group_name, workflow_name, parameters, custom_headers:nil)
923
+ begin_run_async(resource_group_name, workflow_name, parameters, custom_headers:custom_headers).value!
921
924
  end
922
925
 
923
926
  #
@@ -931,7 +934,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
931
934
  #
932
935
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
933
936
  #
934
- def begin_run_async(resource_group_name, workflow_name, parameters, custom_headers = nil)
937
+ def begin_run_async(resource_group_name, workflow_name, parameters, custom_headers:nil)
935
938
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
936
939
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
937
940
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -940,13 +943,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
940
943
 
941
944
 
942
945
  request_headers = {}
946
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
943
947
 
944
948
  # Set Headers
945
949
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
946
950
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
947
951
 
948
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
949
-
950
952
  # Serialize Request
951
953
  request_mapper = Azure::Logic::Mgmt::V2015_02_01_preview::Models::RunWorkflowParameters.mapper()
952
954
  request_content = @client.serialize(request_mapper, parameters)
@@ -1003,8 +1005,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1003
1005
  #
1004
1006
  # @return [WorkflowListResult] operation results.
1005
1007
  #
1006
- def list_by_subscription_next(next_page_link, custom_headers = nil)
1007
- response = list_by_subscription_next_async(next_page_link, custom_headers).value!
1008
+ def list_by_subscription_next(next_page_link, custom_headers:nil)
1009
+ response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
1008
1010
  response.body unless response.nil?
1009
1011
  end
1010
1012
 
@@ -1018,8 +1020,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1018
1020
  #
1019
1021
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1020
1022
  #
1021
- def list_by_subscription_next_with_http_info(next_page_link, custom_headers = nil)
1022
- list_by_subscription_next_async(next_page_link, custom_headers).value!
1023
+ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
1024
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
1023
1025
  end
1024
1026
 
1025
1027
  #
@@ -1032,11 +1034,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1032
1034
  #
1033
1035
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1034
1036
  #
1035
- def list_by_subscription_next_async(next_page_link, custom_headers = nil)
1037
+ def list_by_subscription_next_async(next_page_link, custom_headers:nil)
1036
1038
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1037
1039
 
1038
1040
 
1039
1041
  request_headers = {}
1042
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1040
1043
 
1041
1044
  # Set Headers
1042
1045
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1090,8 +1093,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1090
1093
  #
1091
1094
  # @return [WorkflowListResult] operation results.
1092
1095
  #
1093
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
1094
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
1096
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
1097
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1095
1098
  response.body unless response.nil?
1096
1099
  end
1097
1100
 
@@ -1105,8 +1108,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1105
1108
  #
1106
1109
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1107
1110
  #
1108
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
1109
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
1111
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
1112
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1110
1113
  end
1111
1114
 
1112
1115
  #
@@ -1119,11 +1122,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1119
1122
  #
1120
1123
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1121
1124
  #
1122
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
1125
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
1123
1126
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1124
1127
 
1125
1128
 
1126
1129
  request_headers = {}
1130
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1127
1131
 
1128
1132
  # Set Headers
1129
1133
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1178,12 +1182,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1178
1182
  # @return [WorkflowListResult] which provide lazy access to pages of the
1179
1183
  # response.
1180
1184
  #
1181
- def list_by_subscription_as_lazy(top = nil, filter = nil, custom_headers = nil)
1182
- response = list_by_subscription_async(top, filter, custom_headers).value!
1185
+ def list_by_subscription_as_lazy(top:nil, filter:nil, custom_headers:nil)
1186
+ response = list_by_subscription_async(top:top, filter:filter, custom_headers:custom_headers).value!
1183
1187
  unless response.nil?
1184
1188
  page = response.body
1185
1189
  page.next_method = Proc.new do |next_page_link|
1186
- list_by_subscription_next_async(next_page_link, custom_headers)
1190
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
1187
1191
  end
1188
1192
  page
1189
1193
  end
@@ -1201,12 +1205,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
1201
1205
  # @return [WorkflowListResult] which provide lazy access to pages of the
1202
1206
  # response.
1203
1207
  #
1204
- def list_by_resource_group_as_lazy(resource_group_name, top = nil, filter = nil, custom_headers = nil)
1205
- response = list_by_resource_group_async(resource_group_name, top, filter, custom_headers).value!
1208
+ def list_by_resource_group_as_lazy(resource_group_name, top:nil, filter:nil, custom_headers:nil)
1209
+ response = list_by_resource_group_async(resource_group_name, top:top, filter:filter, custom_headers:custom_headers).value!
1206
1210
  unless response.nil?
1207
1211
  page = response.body
1208
1212
  page.next_method = Proc.new do |next_page_link|
1209
- list_by_resource_group_next_async(next_page_link, custom_headers)
1213
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
1210
1214
  end
1211
1215
  page
1212
1216
  end