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
@@ -32,8 +32,8 @@ module Azure::Logic::Mgmt::V2016_06_01
32
32
  #
33
33
  # @return [Array<WorkflowVersion>] operation results.
34
34
  #
35
- def list(resource_group_name, workflow_name, top = nil, custom_headers = nil)
36
- first_page = list_as_lazy(resource_group_name, workflow_name, top, custom_headers)
35
+ def list(resource_group_name, workflow_name, top:nil, custom_headers:nil)
36
+ first_page = list_as_lazy(resource_group_name, workflow_name, top:top, custom_headers:custom_headers)
37
37
  first_page.get_all_items
38
38
  end
39
39
 
@@ -48,8 +48,8 @@ module Azure::Logic::Mgmt::V2016_06_01
48
48
  #
49
49
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
50
50
  #
51
- def list_with_http_info(resource_group_name, workflow_name, top = nil, custom_headers = nil)
52
- list_async(resource_group_name, workflow_name, top, custom_headers).value!
51
+ def list_with_http_info(resource_group_name, workflow_name, top:nil, custom_headers:nil)
52
+ list_async(resource_group_name, workflow_name, top:top, custom_headers:custom_headers).value!
53
53
  end
54
54
 
55
55
  #
@@ -63,7 +63,7 @@ module Azure::Logic::Mgmt::V2016_06_01
63
63
  #
64
64
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
65
65
  #
66
- def list_async(resource_group_name, workflow_name, top = nil, custom_headers = nil)
66
+ def list_async(resource_group_name, workflow_name, top:nil, 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?
@@ -71,6 +71,7 @@ module Azure::Logic::Mgmt::V2016_06_01
71
71
 
72
72
 
73
73
  request_headers = {}
74
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
74
75
 
75
76
  # Set Headers
76
77
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -126,8 +127,8 @@ module Azure::Logic::Mgmt::V2016_06_01
126
127
  #
127
128
  # @return [WorkflowVersion] operation results.
128
129
  #
129
- def get(resource_group_name, workflow_name, version_id, custom_headers = nil)
130
- response = get_async(resource_group_name, workflow_name, version_id, custom_headers).value!
130
+ def get(resource_group_name, workflow_name, version_id, custom_headers:nil)
131
+ response = get_async(resource_group_name, workflow_name, version_id, custom_headers:custom_headers).value!
131
132
  response.body unless response.nil?
132
133
  end
133
134
 
@@ -142,8 +143,8 @@ module Azure::Logic::Mgmt::V2016_06_01
142
143
  #
143
144
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
144
145
  #
145
- def get_with_http_info(resource_group_name, workflow_name, version_id, custom_headers = nil)
146
- get_async(resource_group_name, workflow_name, version_id, custom_headers).value!
146
+ def get_with_http_info(resource_group_name, workflow_name, version_id, custom_headers:nil)
147
+ get_async(resource_group_name, workflow_name, version_id, custom_headers:custom_headers).value!
147
148
  end
148
149
 
149
150
  #
@@ -157,7 +158,7 @@ module Azure::Logic::Mgmt::V2016_06_01
157
158
  #
158
159
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
159
160
  #
160
- def get_async(resource_group_name, workflow_name, version_id, custom_headers = nil)
161
+ def get_async(resource_group_name, workflow_name, version_id, custom_headers:nil)
161
162
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
162
163
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
163
164
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -166,6 +167,7 @@ module Azure::Logic::Mgmt::V2016_06_01
166
167
 
167
168
 
168
169
  request_headers = {}
170
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
169
171
 
170
172
  # Set Headers
171
173
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -223,8 +225,8 @@ module Azure::Logic::Mgmt::V2016_06_01
223
225
  #
224
226
  # @return [WorkflowTriggerCallbackUrl] operation results.
225
227
  #
226
- def list_callback_url(resource_group_name, workflow_name, version_id, trigger_name, parameters = nil, custom_headers = nil)
227
- response = list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters, custom_headers).value!
228
+ def list_callback_url(resource_group_name, workflow_name, version_id, trigger_name, parameters:nil, custom_headers:nil)
229
+ response = list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters:parameters, custom_headers:custom_headers).value!
228
230
  response.body unless response.nil?
229
231
  end
230
232
 
@@ -241,8 +243,8 @@ module Azure::Logic::Mgmt::V2016_06_01
241
243
  #
242
244
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
243
245
  #
244
- def list_callback_url_with_http_info(resource_group_name, workflow_name, version_id, trigger_name, parameters = nil, custom_headers = nil)
245
- list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters, custom_headers).value!
246
+ def list_callback_url_with_http_info(resource_group_name, workflow_name, version_id, trigger_name, parameters:nil, custom_headers:nil)
247
+ list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters:parameters, custom_headers:custom_headers).value!
246
248
  end
247
249
 
248
250
  #
@@ -258,7 +260,7 @@ module Azure::Logic::Mgmt::V2016_06_01
258
260
  #
259
261
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
260
262
  #
261
- def list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters = nil, custom_headers = nil)
263
+ def list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters:nil, custom_headers:nil)
262
264
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
263
265
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
264
266
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -268,13 +270,12 @@ module Azure::Logic::Mgmt::V2016_06_01
268
270
 
269
271
 
270
272
  request_headers = {}
273
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
271
274
 
272
275
  # Set Headers
273
276
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
274
277
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
275
278
 
276
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
277
-
278
279
  # Serialize Request
279
280
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters.mapper()
280
281
  request_content = @client.serialize(request_mapper, parameters)
@@ -331,8 +332,8 @@ module Azure::Logic::Mgmt::V2016_06_01
331
332
  #
332
333
  # @return [WorkflowVersionListResult] operation results.
333
334
  #
334
- def list_next(next_page_link, custom_headers = nil)
335
- response = list_next_async(next_page_link, custom_headers).value!
335
+ def list_next(next_page_link, custom_headers:nil)
336
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
336
337
  response.body unless response.nil?
337
338
  end
338
339
 
@@ -346,8 +347,8 @@ module Azure::Logic::Mgmt::V2016_06_01
346
347
  #
347
348
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
348
349
  #
349
- def list_next_with_http_info(next_page_link, custom_headers = nil)
350
- list_next_async(next_page_link, custom_headers).value!
350
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
351
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
351
352
  end
352
353
 
353
354
  #
@@ -360,11 +361,12 @@ module Azure::Logic::Mgmt::V2016_06_01
360
361
  #
361
362
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
362
363
  #
363
- def list_next_async(next_page_link, custom_headers = nil)
364
+ def list_next_async(next_page_link, custom_headers:nil)
364
365
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
365
366
 
366
367
 
367
368
  request_headers = {}
369
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
368
370
 
369
371
  # Set Headers
370
372
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -420,12 +422,12 @@ module Azure::Logic::Mgmt::V2016_06_01
420
422
  # @return [WorkflowVersionListResult] which provide lazy access to pages of the
421
423
  # response.
422
424
  #
423
- def list_as_lazy(resource_group_name, workflow_name, top = nil, custom_headers = nil)
424
- response = list_async(resource_group_name, workflow_name, top, custom_headers).value!
425
+ def list_as_lazy(resource_group_name, workflow_name, top:nil, custom_headers:nil)
426
+ response = list_async(resource_group_name, workflow_name, top:top, custom_headers:custom_headers).value!
425
427
  unless response.nil?
426
428
  page = response.body
427
429
  page.next_method = Proc.new do |next_page_link|
428
- list_next_async(next_page_link, custom_headers)
430
+ list_next_async(next_page_link, custom_headers:custom_headers)
429
431
  end
430
432
  page
431
433
  end
@@ -31,8 +31,8 @@ module Azure::Logic::Mgmt::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01::Models::Workflow.mapper()
357
359
  request_content = @client.serialize(request_mapper, workflow)
@@ -419,8 +421,8 @@ module Azure::Logic::Mgmt::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01::Models::Workflow.mapper()
471
472
  request_content = @client.serialize(request_mapper, workflow)
@@ -521,8 +522,8 @@ module Azure::Logic::Mgmt::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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
@@ -601,8 +603,8 @@ module Azure::Logic::Mgmt::V2016_06_01
601
603
  # will be added to the HTTP request.
602
604
  #
603
605
  #
604
- def disable(resource_group_name, workflow_name, custom_headers = nil)
605
- response = disable_async(resource_group_name, workflow_name, custom_headers).value!
606
+ def disable(resource_group_name, workflow_name, custom_headers:nil)
607
+ response = disable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
606
608
  nil
607
609
  end
608
610
 
@@ -616,8 +618,8 @@ module Azure::Logic::Mgmt::V2016_06_01
616
618
  #
617
619
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
618
620
  #
619
- def disable_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
620
- disable_async(resource_group_name, workflow_name, custom_headers).value!
621
+ def disable_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
622
+ disable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
621
623
  end
622
624
 
623
625
  #
@@ -630,7 +632,7 @@ module Azure::Logic::Mgmt::V2016_06_01
630
632
  #
631
633
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
632
634
  #
633
- def disable_async(resource_group_name, workflow_name, custom_headers = nil)
635
+ def disable_async(resource_group_name, workflow_name, custom_headers:nil)
634
636
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
635
637
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
636
638
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -638,6 +640,7 @@ module Azure::Logic::Mgmt::V2016_06_01
638
640
 
639
641
 
640
642
  request_headers = {}
643
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
641
644
 
642
645
  # Set Headers
643
646
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -681,8 +684,8 @@ module Azure::Logic::Mgmt::V2016_06_01
681
684
  # will be added to the HTTP request.
682
685
  #
683
686
  #
684
- def enable(resource_group_name, workflow_name, custom_headers = nil)
685
- response = enable_async(resource_group_name, workflow_name, custom_headers).value!
687
+ def enable(resource_group_name, workflow_name, custom_headers:nil)
688
+ response = enable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
686
689
  nil
687
690
  end
688
691
 
@@ -696,8 +699,8 @@ module Azure::Logic::Mgmt::V2016_06_01
696
699
  #
697
700
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
698
701
  #
699
- def enable_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
700
- enable_async(resource_group_name, workflow_name, custom_headers).value!
702
+ def enable_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
703
+ enable_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
701
704
  end
702
705
 
703
706
  #
@@ -710,7 +713,7 @@ module Azure::Logic::Mgmt::V2016_06_01
710
713
  #
711
714
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
712
715
  #
713
- def enable_async(resource_group_name, workflow_name, custom_headers = nil)
716
+ def enable_async(resource_group_name, workflow_name, custom_headers:nil)
714
717
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
715
718
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
716
719
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -718,6 +721,7 @@ module Azure::Logic::Mgmt::V2016_06_01
718
721
 
719
722
 
720
723
  request_headers = {}
724
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
721
725
 
722
726
  # Set Headers
723
727
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -764,8 +768,8 @@ module Azure::Logic::Mgmt::V2016_06_01
764
768
  #
765
769
  # @return [Object] operation results.
766
770
  #
767
- def generate_upgraded_definition(resource_group_name, workflow_name, parameters, custom_headers = nil)
768
- response = generate_upgraded_definition_async(resource_group_name, workflow_name, parameters, custom_headers).value!
771
+ def generate_upgraded_definition(resource_group_name, workflow_name, parameters, custom_headers:nil)
772
+ response = generate_upgraded_definition_async(resource_group_name, workflow_name, parameters, custom_headers:custom_headers).value!
769
773
  response.body unless response.nil?
770
774
  end
771
775
 
@@ -781,8 +785,8 @@ module Azure::Logic::Mgmt::V2016_06_01
781
785
  #
782
786
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
783
787
  #
784
- def generate_upgraded_definition_with_http_info(resource_group_name, workflow_name, parameters, custom_headers = nil)
785
- generate_upgraded_definition_async(resource_group_name, workflow_name, parameters, custom_headers).value!
788
+ def generate_upgraded_definition_with_http_info(resource_group_name, workflow_name, parameters, custom_headers:nil)
789
+ generate_upgraded_definition_async(resource_group_name, workflow_name, parameters, custom_headers:custom_headers).value!
786
790
  end
787
791
 
788
792
  #
@@ -797,7 +801,7 @@ module Azure::Logic::Mgmt::V2016_06_01
797
801
  #
798
802
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
799
803
  #
800
- def generate_upgraded_definition_async(resource_group_name, workflow_name, parameters, custom_headers = nil)
804
+ def generate_upgraded_definition_async(resource_group_name, workflow_name, parameters, custom_headers:nil)
801
805
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
802
806
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
803
807
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -806,13 +810,12 @@ module Azure::Logic::Mgmt::V2016_06_01
806
810
 
807
811
 
808
812
  request_headers = {}
813
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
809
814
 
810
815
  # Set Headers
811
816
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
812
817
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
813
818
 
814
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
815
-
816
819
  # Serialize Request
817
820
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::GenerateUpgradedDefinitionParameters.mapper()
818
821
  request_content = @client.serialize(request_mapper, parameters)
@@ -859,8 +862,8 @@ module Azure::Logic::Mgmt::V2016_06_01
859
862
  #
860
863
  # @return [Object] operation results.
861
864
  #
862
- def list_swagger(resource_group_name, workflow_name, custom_headers = nil)
863
- response = list_swagger_async(resource_group_name, workflow_name, custom_headers).value!
865
+ def list_swagger(resource_group_name, workflow_name, custom_headers:nil)
866
+ response = list_swagger_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
864
867
  response.body unless response.nil?
865
868
  end
866
869
 
@@ -874,8 +877,8 @@ module Azure::Logic::Mgmt::V2016_06_01
874
877
  #
875
878
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
876
879
  #
877
- def list_swagger_with_http_info(resource_group_name, workflow_name, custom_headers = nil)
878
- list_swagger_async(resource_group_name, workflow_name, custom_headers).value!
880
+ def list_swagger_with_http_info(resource_group_name, workflow_name, custom_headers:nil)
881
+ list_swagger_async(resource_group_name, workflow_name, custom_headers:custom_headers).value!
879
882
  end
880
883
 
881
884
  #
@@ -888,7 +891,7 @@ module Azure::Logic::Mgmt::V2016_06_01
888
891
  #
889
892
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
890
893
  #
891
- def list_swagger_async(resource_group_name, workflow_name, custom_headers = nil)
894
+ def list_swagger_async(resource_group_name, workflow_name, custom_headers:nil)
892
895
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
893
896
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
894
897
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -896,6 +899,7 @@ module Azure::Logic::Mgmt::V2016_06_01
896
899
 
897
900
 
898
901
  request_headers = {}
902
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
899
903
 
900
904
  # Set Headers
901
905
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -940,8 +944,8 @@ module Azure::Logic::Mgmt::V2016_06_01
940
944
  # will be added to the HTTP request.
941
945
  #
942
946
  #
943
- def regenerate_access_key(resource_group_name, workflow_name, key_type, custom_headers = nil)
944
- response = regenerate_access_key_async(resource_group_name, workflow_name, key_type, custom_headers).value!
947
+ def regenerate_access_key(resource_group_name, workflow_name, key_type, custom_headers:nil)
948
+ response = regenerate_access_key_async(resource_group_name, workflow_name, key_type, custom_headers:custom_headers).value!
945
949
  nil
946
950
  end
947
951
 
@@ -956,8 +960,8 @@ module Azure::Logic::Mgmt::V2016_06_01
956
960
  #
957
961
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
958
962
  #
959
- def regenerate_access_key_with_http_info(resource_group_name, workflow_name, key_type, custom_headers = nil)
960
- regenerate_access_key_async(resource_group_name, workflow_name, key_type, custom_headers).value!
963
+ def regenerate_access_key_with_http_info(resource_group_name, workflow_name, key_type, custom_headers:nil)
964
+ regenerate_access_key_async(resource_group_name, workflow_name, key_type, custom_headers:custom_headers).value!
961
965
  end
962
966
 
963
967
  #
@@ -971,7 +975,7 @@ module Azure::Logic::Mgmt::V2016_06_01
971
975
  #
972
976
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
973
977
  #
974
- def regenerate_access_key_async(resource_group_name, workflow_name, key_type, custom_headers = nil)
978
+ def regenerate_access_key_async(resource_group_name, workflow_name, key_type, custom_headers:nil)
975
979
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
976
980
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
977
981
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -980,13 +984,12 @@ module Azure::Logic::Mgmt::V2016_06_01
980
984
 
981
985
 
982
986
  request_headers = {}
987
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
983
988
 
984
989
  # Set Headers
985
990
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
986
991
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
987
992
 
988
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
989
-
990
993
  # Serialize Request
991
994
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::RegenerateActionParameter.mapper()
992
995
  request_content = @client.serialize(request_mapper, key_type)
@@ -1034,8 +1037,8 @@ module Azure::Logic::Mgmt::V2016_06_01
1034
1037
  # will be added to the HTTP request.
1035
1038
  #
1036
1039
  #
1037
- def validate(resource_group_name, location, workflow_name, workflow, custom_headers = nil)
1038
- response = validate_async(resource_group_name, location, workflow_name, workflow, custom_headers).value!
1040
+ def validate(resource_group_name, location, workflow_name, workflow, custom_headers:nil)
1041
+ response = validate_async(resource_group_name, location, workflow_name, workflow, custom_headers:custom_headers).value!
1039
1042
  nil
1040
1043
  end
1041
1044
 
@@ -1051,8 +1054,8 @@ module Azure::Logic::Mgmt::V2016_06_01
1051
1054
  #
1052
1055
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1053
1056
  #
1054
- def validate_with_http_info(resource_group_name, location, workflow_name, workflow, custom_headers = nil)
1055
- validate_async(resource_group_name, location, workflow_name, workflow, custom_headers).value!
1057
+ def validate_with_http_info(resource_group_name, location, workflow_name, workflow, custom_headers:nil)
1058
+ validate_async(resource_group_name, location, workflow_name, workflow, custom_headers:custom_headers).value!
1056
1059
  end
1057
1060
 
1058
1061
  #
@@ -1067,7 +1070,7 @@ module Azure::Logic::Mgmt::V2016_06_01
1067
1070
  #
1068
1071
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1069
1072
  #
1070
- def validate_async(resource_group_name, location, workflow_name, workflow, custom_headers = nil)
1073
+ def validate_async(resource_group_name, location, workflow_name, workflow, custom_headers:nil)
1071
1074
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1072
1075
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1073
1076
  fail ArgumentError, 'location is nil' if location.nil?
@@ -1077,13 +1080,12 @@ module Azure::Logic::Mgmt::V2016_06_01
1077
1080
 
1078
1081
 
1079
1082
  request_headers = {}
1083
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1080
1084
 
1081
1085
  # Set Headers
1082
1086
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1083
1087
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1084
1088
 
1085
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1086
-
1087
1089
  # Serialize Request
1088
1090
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::Workflow.mapper()
1089
1091
  request_content = @client.serialize(request_mapper, workflow)
@@ -1130,8 +1132,8 @@ module Azure::Logic::Mgmt::V2016_06_01
1130
1132
  #
1131
1133
  # @return [WorkflowListResult] operation results.
1132
1134
  #
1133
- def list_by_subscription_next(next_page_link, custom_headers = nil)
1134
- response = list_by_subscription_next_async(next_page_link, custom_headers).value!
1135
+ def list_by_subscription_next(next_page_link, custom_headers:nil)
1136
+ response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
1135
1137
  response.body unless response.nil?
1136
1138
  end
1137
1139
 
@@ -1145,8 +1147,8 @@ module Azure::Logic::Mgmt::V2016_06_01
1145
1147
  #
1146
1148
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1147
1149
  #
1148
- def list_by_subscription_next_with_http_info(next_page_link, custom_headers = nil)
1149
- list_by_subscription_next_async(next_page_link, custom_headers).value!
1150
+ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
1151
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
1150
1152
  end
1151
1153
 
1152
1154
  #
@@ -1159,11 +1161,12 @@ module Azure::Logic::Mgmt::V2016_06_01
1159
1161
  #
1160
1162
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1161
1163
  #
1162
- def list_by_subscription_next_async(next_page_link, custom_headers = nil)
1164
+ def list_by_subscription_next_async(next_page_link, custom_headers:nil)
1163
1165
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1164
1166
 
1165
1167
 
1166
1168
  request_headers = {}
1169
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1167
1170
 
1168
1171
  # Set Headers
1169
1172
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1217,8 +1220,8 @@ module Azure::Logic::Mgmt::V2016_06_01
1217
1220
  #
1218
1221
  # @return [WorkflowListResult] operation results.
1219
1222
  #
1220
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
1221
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
1223
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
1224
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1222
1225
  response.body unless response.nil?
1223
1226
  end
1224
1227
 
@@ -1232,8 +1235,8 @@ module Azure::Logic::Mgmt::V2016_06_01
1232
1235
  #
1233
1236
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1234
1237
  #
1235
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
1236
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
1238
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
1239
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1237
1240
  end
1238
1241
 
1239
1242
  #
@@ -1246,11 +1249,12 @@ module Azure::Logic::Mgmt::V2016_06_01
1246
1249
  #
1247
1250
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1248
1251
  #
1249
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
1252
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
1250
1253
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1251
1254
 
1252
1255
 
1253
1256
  request_headers = {}
1257
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1254
1258
 
1255
1259
  # Set Headers
1256
1260
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1305,12 +1309,12 @@ module Azure::Logic::Mgmt::V2016_06_01
1305
1309
  # @return [WorkflowListResult] which provide lazy access to pages of the
1306
1310
  # response.
1307
1311
  #
1308
- def list_by_subscription_as_lazy(top = nil, filter = nil, custom_headers = nil)
1309
- response = list_by_subscription_async(top, filter, custom_headers).value!
1312
+ def list_by_subscription_as_lazy(top:nil, filter:nil, custom_headers:nil)
1313
+ response = list_by_subscription_async(top:top, filter:filter, custom_headers:custom_headers).value!
1310
1314
  unless response.nil?
1311
1315
  page = response.body
1312
1316
  page.next_method = Proc.new do |next_page_link|
1313
- list_by_subscription_next_async(next_page_link, custom_headers)
1317
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
1314
1318
  end
1315
1319
  page
1316
1320
  end
@@ -1328,12 +1332,12 @@ module Azure::Logic::Mgmt::V2016_06_01
1328
1332
  # @return [WorkflowListResult] which provide lazy access to pages of the
1329
1333
  # response.
1330
1334
  #
1331
- def list_by_resource_group_as_lazy(resource_group_name, top = nil, filter = nil, custom_headers = nil)
1332
- response = list_by_resource_group_async(resource_group_name, top, filter, custom_headers).value!
1335
+ def list_by_resource_group_as_lazy(resource_group_name, top:nil, filter:nil, custom_headers:nil)
1336
+ response = list_by_resource_group_async(resource_group_name, top:top, filter:filter, custom_headers:custom_headers).value!
1333
1337
  unless response.nil?
1334
1338
  page = response.body
1335
1339
  page.next_method = Proc.new do |next_page_link|
1336
- list_by_resource_group_next_async(next_page_link, custom_headers)
1340
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
1337
1341
  end
1338
1342
  page
1339
1343
  end