azure_mgmt_logic 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26ed56b7bd6ece901e9f7645fadbb51a4966e588
4
- data.tar.gz: 2bbecd0458cb75533014705762d9a6d25e360f41
3
+ metadata.gz: 874d7166bfcbc8ebaa73fd38bede944e3d77ff46
4
+ data.tar.gz: 3c0866c82086ae4207625f836f56b096fd73e5c2
5
5
  SHA512:
6
- metadata.gz: 5d3f954cc0fd55ab13dbb29b0db96bdf38764979b0930f116999844cde6b272025596a6f26069cc2ebe8a2e2fafcd58763e12be7176514e4e5e3c67d308771fc
7
- data.tar.gz: 1f2961d10df5e432dfefffc32b7585694c172aa9b453ee542a089472d4947e9435acef3cf6a3411912820358e8a269e14be8a1303da74c4087f2e0811f88cbc9
6
+ metadata.gz: 23e5c14e6c1894a5961468498be3418eb98461e004c4434f2e201d42f16158b75dd02412a519aa2ce3f3a1599815e4bbec944eae90fb723b919b8a1f39638f7d
7
+ data.tar.gz: 9c25c582fedac22d9bde4cf4dcfdefc50005190ebbdb8db6de54608bf688adfa1365d71c8f8b0af0e4de89726f19fecf22e179f6d9965208643418729d6facac
@@ -128,6 +128,9 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
128
128
  fail ArgumentError, 'path is nil' if path.nil?
129
129
 
130
130
  request_url = options[:base_url] || @base_url
131
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
132
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
133
+ end
131
134
 
132
135
  request_headers = @request_headers
133
136
  request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
@@ -144,7 +147,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
144
147
  #
145
148
  def add_telemetry
146
149
  sdk_information = 'azure_mgmt_logic'
147
- sdk_information = "#{sdk_information}/0.15.2"
150
+ sdk_information = "#{sdk_information}/0.16.0"
148
151
  add_user_agent_information(sdk_information)
149
152
  end
150
153
  end
@@ -32,8 +32,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
32
32
  #
33
33
  # @return [Array<WorkflowAccessKey>] 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::V2015_02_01_preview
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::V2015_02_01_preview
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::V2015_02_01_preview
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::V2015_02_01_preview
126
127
  #
127
128
  # @return [WorkflowAccessKey] operation results.
128
129
  #
129
- def get(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
130
- response = get_async(resource_group_name, workflow_name, access_key_name, custom_headers).value!
130
+ def get(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
131
+ response = get_async(resource_group_name, workflow_name, access_key_name, 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::V2015_02_01_preview
142
143
  #
143
144
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
144
145
  #
145
- def get_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
146
- get_async(resource_group_name, workflow_name, access_key_name, custom_headers).value!
146
+ def get_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
147
+ get_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
147
148
  end
148
149
 
149
150
  #
@@ -157,7 +158,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
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, access_key_name, custom_headers = nil)
161
+ def get_async(resource_group_name, workflow_name, access_key_name, 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::V2015_02_01_preview
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
@@ -222,8 +224,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
222
224
  #
223
225
  # @return [WorkflowAccessKey] operation results.
224
226
  #
225
- def create_or_update(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers = nil)
226
- response = create_or_update_async(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers).value!
227
+ def create_or_update(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers:nil)
228
+ response = create_or_update_async(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers:custom_headers).value!
227
229
  response.body unless response.nil?
228
230
  end
229
231
 
@@ -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 create_or_update_with_http_info(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers = nil)
243
- create_or_update_async(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers).value!
244
+ def create_or_update_with_http_info(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers:nil)
245
+ create_or_update_async(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers:custom_headers).value!
244
246
  end
245
247
 
246
248
  #
@@ -255,7 +257,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
255
257
  #
256
258
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
257
259
  #
258
- def create_or_update_async(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers = nil)
260
+ def create_or_update_async(resource_group_name, workflow_name, access_key_name, workflow_accesskey, custom_headers:nil)
259
261
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
260
262
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
261
263
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -265,13 +267,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
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
271
274
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
272
275
 
273
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
274
-
275
276
  # Serialize Request
276
277
  request_mapper = Azure::Logic::Mgmt::V2015_02_01_preview::Models::WorkflowAccessKey.mapper()
277
278
  request_content = @client.serialize(request_mapper, workflow_accesskey)
@@ -338,8 +339,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
338
339
  # will be added to the HTTP request.
339
340
  #
340
341
  #
341
- def delete(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
342
- response = delete_async(resource_group_name, workflow_name, access_key_name, custom_headers).value!
342
+ def delete(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
343
+ response = delete_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
343
344
  nil
344
345
  end
345
346
 
@@ -354,8 +355,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
354
355
  #
355
356
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
356
357
  #
357
- def delete_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
358
- delete_async(resource_group_name, workflow_name, access_key_name, custom_headers).value!
358
+ def delete_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
359
+ delete_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
359
360
  end
360
361
 
361
362
  #
@@ -369,7 +370,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
369
370
  #
370
371
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
371
372
  #
372
- def delete_async(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
373
+ def delete_async(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
373
374
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
374
375
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
375
376
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -378,6 +379,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
378
379
 
379
380
 
380
381
  request_headers = {}
382
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
381
383
 
382
384
  # Set Headers
383
385
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -423,8 +425,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
423
425
  #
424
426
  # @return [WorkflowSecretKeys] operation results.
425
427
  #
426
- def list_secret_keys(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
427
- response = list_secret_keys_async(resource_group_name, workflow_name, access_key_name, custom_headers).value!
428
+ def list_secret_keys(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
429
+ response = list_secret_keys_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
428
430
  response.body unless response.nil?
429
431
  end
430
432
 
@@ -439,8 +441,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
439
441
  #
440
442
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
441
443
  #
442
- def list_secret_keys_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
443
- list_secret_keys_async(resource_group_name, workflow_name, access_key_name, custom_headers).value!
444
+ def list_secret_keys_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
445
+ list_secret_keys_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
444
446
  end
445
447
 
446
448
  #
@@ -454,7 +456,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
454
456
  #
455
457
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
456
458
  #
457
- def list_secret_keys_async(resource_group_name, workflow_name, access_key_name, custom_headers = nil)
459
+ def list_secret_keys_async(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
458
460
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
459
461
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
460
462
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -463,6 +465,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
463
465
 
464
466
 
465
467
  request_headers = {}
468
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
466
469
 
467
470
  # Set Headers
468
471
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -519,8 +522,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
519
522
  #
520
523
  # @return [WorkflowSecretKeys] operation results.
521
524
  #
522
- def regenerate_secret_key(resource_group_name, workflow_name, access_key_name, parameters, custom_headers = nil)
523
- response = regenerate_secret_key_async(resource_group_name, workflow_name, access_key_name, parameters, custom_headers).value!
525
+ def regenerate_secret_key(resource_group_name, workflow_name, access_key_name, parameters, custom_headers:nil)
526
+ response = regenerate_secret_key_async(resource_group_name, workflow_name, access_key_name, parameters, custom_headers:custom_headers).value!
524
527
  response.body unless response.nil?
525
528
  end
526
529
 
@@ -536,8 +539,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
536
539
  #
537
540
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
538
541
  #
539
- def regenerate_secret_key_with_http_info(resource_group_name, workflow_name, access_key_name, parameters, custom_headers = nil)
540
- regenerate_secret_key_async(resource_group_name, workflow_name, access_key_name, parameters, custom_headers).value!
542
+ def regenerate_secret_key_with_http_info(resource_group_name, workflow_name, access_key_name, parameters, custom_headers:nil)
543
+ regenerate_secret_key_async(resource_group_name, workflow_name, access_key_name, parameters, custom_headers:custom_headers).value!
541
544
  end
542
545
 
543
546
  #
@@ -552,7 +555,7 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
552
555
  #
553
556
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
554
557
  #
555
- def regenerate_secret_key_async(resource_group_name, workflow_name, access_key_name, parameters, custom_headers = nil)
558
+ def regenerate_secret_key_async(resource_group_name, workflow_name, access_key_name, parameters, custom_headers:nil)
556
559
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
557
560
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
558
561
  fail ArgumentError, 'workflow_name is nil' if workflow_name.nil?
@@ -562,13 +565,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
562
565
 
563
566
 
564
567
  request_headers = {}
568
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
565
569
 
566
570
  # Set Headers
567
571
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
568
572
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
569
573
 
570
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
571
-
572
574
  # Serialize Request
573
575
  request_mapper = Azure::Logic::Mgmt::V2015_02_01_preview::Models::RegenerateSecretKeyParameters.mapper()
574
576
  request_content = @client.serialize(request_mapper, parameters)
@@ -625,8 +627,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
625
627
  #
626
628
  # @return [WorkflowAccessKeyListResult] operation results.
627
629
  #
628
- def list_next(next_page_link, custom_headers = nil)
629
- response = list_next_async(next_page_link, custom_headers).value!
630
+ def list_next(next_page_link, custom_headers:nil)
631
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
630
632
  response.body unless response.nil?
631
633
  end
632
634
 
@@ -640,8 +642,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
640
642
  #
641
643
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
642
644
  #
643
- def list_next_with_http_info(next_page_link, custom_headers = nil)
644
- list_next_async(next_page_link, custom_headers).value!
645
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
646
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
645
647
  end
646
648
 
647
649
  #
@@ -654,11 +656,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
654
656
  #
655
657
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
656
658
  #
657
- def list_next_async(next_page_link, custom_headers = nil)
659
+ def list_next_async(next_page_link, custom_headers:nil)
658
660
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
659
661
 
660
662
 
661
663
  request_headers = {}
664
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
662
665
 
663
666
  # Set Headers
664
667
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -714,12 +717,12 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
714
717
  # @return [WorkflowAccessKeyListResult] which provide lazy access to pages of
715
718
  # the response.
716
719
  #
717
- def list_as_lazy(resource_group_name, workflow_name, top = nil, custom_headers = nil)
718
- response = list_async(resource_group_name, workflow_name, top, custom_headers).value!
720
+ def list_as_lazy(resource_group_name, workflow_name, top:nil, custom_headers:nil)
721
+ response = list_async(resource_group_name, workflow_name, top:top, custom_headers:custom_headers).value!
719
722
  unless response.nil?
720
723
  page = response.body
721
724
  page.next_method = Proc.new do |next_page_link|
722
- list_next_async(next_page_link, custom_headers)
725
+ list_next_async(next_page_link, custom_headers:custom_headers)
723
726
  end
724
727
  page
725
728
  end
@@ -34,8 +34,8 @@ module Azure::Logic::Mgmt::V2015_02_01_preview
34
34
  #
35
35
  # @return [Array<WorkflowRunAction>] operation results.
36
36
  #
37
- def list(resource_group_name, workflow_name, run_name, top = nil, filter = nil, custom_headers = nil)
38
- first_page = list_as_lazy(resource_group_name, workflow_name, run_name, top, filter, custom_headers)
37
+ def list(resource_group_name, workflow_name, run_name, top:nil, filter:nil, custom_headers:nil)
38
+ first_page = list_as_lazy(resource_group_name, workflow_name, run_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, run_name, top = nil, filter = nil, custom_headers = nil)
56
- list_async(resource_group_name, workflow_name, run_name, top, filter, custom_headers).value!
55
+ def list_with_http_info(resource_group_name, workflow_name, run_name, top:nil, filter:nil, custom_headers:nil)
56
+ list_async(resource_group_name, workflow_name, run_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, run_name, top = nil, filter = nil, custom_headers = nil)
72
+ def list_async(resource_group_name, workflow_name, run_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 [WorkflowRunAction] operation results.
136
137
  #
137
- def get(resource_group_name, workflow_name, run_name, action_name, custom_headers = nil)
138
- response = get_async(resource_group_name, workflow_name, run_name, action_name, custom_headers).value!
138
+ def get(resource_group_name, workflow_name, run_name, action_name, custom_headers:nil)
139
+ response = get_async(resource_group_name, workflow_name, run_name, action_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, run_name, action_name, custom_headers = nil)
155
- get_async(resource_group_name, workflow_name, run_name, action_name, custom_headers).value!
155
+ def get_with_http_info(resource_group_name, workflow_name, run_name, action_name, custom_headers:nil)
156
+ get_async(resource_group_name, workflow_name, run_name, action_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, run_name, action_name, custom_headers = nil)
171
+ def get_async(resource_group_name, workflow_name, run_name, action_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 [WorkflowRunActionListResult] 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 [WorkflowRunActionListResult] which provide lazy access to pages of
323
326
  # the response.
324
327
  #
325
- def list_as_lazy(resource_group_name, workflow_name, run_name, top = nil, filter = nil, custom_headers = nil)
326
- response = list_async(resource_group_name, workflow_name, run_name, top, filter, custom_headers).value!
328
+ def list_as_lazy(resource_group_name, workflow_name, run_name, top:nil, filter:nil, custom_headers:nil)
329
+ response = list_async(resource_group_name, workflow_name, run_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<WorkflowRun>] 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 [WorkflowRun] operation results.
131
132
  #
132
- def get(resource_group_name, workflow_name, run_name, custom_headers = nil)
133
- response = get_async(resource_group_name, workflow_name, run_name, custom_headers).value!
133
+ def get(resource_group_name, workflow_name, run_name, custom_headers:nil)
134
+ response = get_async(resource_group_name, workflow_name, run_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, run_name, custom_headers = nil)
149
- get_async(resource_group_name, workflow_name, run_name, custom_headers).value!
149
+ def get_with_http_info(resource_group_name, workflow_name, run_name, custom_headers:nil)
150
+ get_async(resource_group_name, workflow_name, run_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, run_name, custom_headers = nil)
164
+ def get_async(resource_group_name, workflow_name, run_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 cancel(resource_group_name, workflow_name, run_name, custom_headers = nil)
227
- response = cancel_async(resource_group_name, workflow_name, run_name, custom_headers).value!
228
+ def cancel(resource_group_name, workflow_name, run_name, custom_headers:nil)
229
+ response = cancel_async(resource_group_name, workflow_name, run_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 cancel_with_http_info(resource_group_name, workflow_name, run_name, custom_headers = nil)
243
- cancel_async(resource_group_name, workflow_name, run_name, custom_headers).value!
244
+ def cancel_with_http_info(resource_group_name, workflow_name, run_name, custom_headers:nil)
245
+ cancel_async(resource_group_name, workflow_name, run_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 cancel_async(resource_group_name, workflow_name, run_name, custom_headers = nil)
259
+ def cancel_async(resource_group_name, workflow_name, run_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 [WorkflowRunListResult] 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 [WorkflowRunListResult] 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