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
@@ -33,8 +33,8 @@ module Azure::Logic::Mgmt::V2016_06_01
33
33
  #
34
34
  # @return [Array<IntegrationAccountAgreement>] operation results.
35
35
  #
36
- def list_by_integration_accounts(resource_group_name, integration_account_name, top = nil, filter = nil, custom_headers = nil)
37
- first_page = list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top, filter, custom_headers)
36
+ def list_by_integration_accounts(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
37
+ first_page = list_by_integration_accounts_as_lazy(resource_group_name, integration_account_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::V2016_06_01
50
50
  #
51
51
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
52
  #
53
- def list_by_integration_accounts_with_http_info(resource_group_name, integration_account_name, top = nil, filter = nil, custom_headers = nil)
54
- list_by_integration_accounts_async(resource_group_name, integration_account_name, top, filter, custom_headers).value!
53
+ def list_by_integration_accounts_with_http_info(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
54
+ list_by_integration_accounts_async(resource_group_name, integration_account_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::V2016_06_01
66
66
  #
67
67
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
68
  #
69
- def list_by_integration_accounts_async(resource_group_name, integration_account_name, top = nil, filter = nil, custom_headers = nil)
69
+ def list_by_integration_accounts_async(resource_group_name, integration_account_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, 'integration_account_name is nil' if integration_account_name.nil?
@@ -74,6 +74,7 @@ module Azure::Logic::Mgmt::V2016_06_01
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::V2016_06_01
129
130
  #
130
131
  # @return [IntegrationAccountAgreement] operation results.
131
132
  #
132
- def get(resource_group_name, integration_account_name, agreement_name, custom_headers = nil)
133
- response = get_async(resource_group_name, integration_account_name, agreement_name, custom_headers).value!
133
+ def get(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
134
+ response = get_async(resource_group_name, integration_account_name, agreement_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::V2016_06_01
145
146
  #
146
147
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
147
148
  #
148
- def get_with_http_info(resource_group_name, integration_account_name, agreement_name, custom_headers = nil)
149
- get_async(resource_group_name, integration_account_name, agreement_name, custom_headers).value!
149
+ def get_with_http_info(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
150
+ get_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
150
151
  end
151
152
 
152
153
  #
@@ -160,7 +161,7 @@ module Azure::Logic::Mgmt::V2016_06_01
160
161
  #
161
162
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
162
163
  #
163
- def get_async(resource_group_name, integration_account_name, agreement_name, custom_headers = nil)
164
+ def get_async(resource_group_name, integration_account_name, agreement_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, 'integration_account_name is nil' if integration_account_name.nil?
@@ -169,6 +170,7 @@ module Azure::Logic::Mgmt::V2016_06_01
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
@@ -226,8 +228,8 @@ module Azure::Logic::Mgmt::V2016_06_01
226
228
  #
227
229
  # @return [IntegrationAccountAgreement] operation results.
228
230
  #
229
- def create_or_update(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers = nil)
230
- response = create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers).value!
231
+ def create_or_update(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:nil)
232
+ response = create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:custom_headers).value!
231
233
  response.body unless response.nil?
232
234
  end
233
235
 
@@ -244,8 +246,8 @@ module Azure::Logic::Mgmt::V2016_06_01
244
246
  #
245
247
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
246
248
  #
247
- def create_or_update_with_http_info(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers = nil)
248
- create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers).value!
249
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:nil)
250
+ create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:custom_headers).value!
249
251
  end
250
252
 
251
253
  #
@@ -261,7 +263,7 @@ module Azure::Logic::Mgmt::V2016_06_01
261
263
  #
262
264
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
263
265
  #
264
- def create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers = nil)
266
+ def create_or_update_async(resource_group_name, integration_account_name, agreement_name, agreement, custom_headers:nil)
265
267
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
266
268
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
267
269
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -271,13 +273,12 @@ module Azure::Logic::Mgmt::V2016_06_01
271
273
 
272
274
 
273
275
  request_headers = {}
276
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
274
277
 
275
278
  # Set Headers
276
279
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
277
280
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
278
281
 
279
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
280
-
281
282
  # Serialize Request
282
283
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccountAgreement.mapper()
283
284
  request_content = @client.serialize(request_mapper, agreement)
@@ -344,8 +345,8 @@ module Azure::Logic::Mgmt::V2016_06_01
344
345
  # will be added to the HTTP request.
345
346
  #
346
347
  #
347
- def delete(resource_group_name, integration_account_name, agreement_name, custom_headers = nil)
348
- response = delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers).value!
348
+ def delete(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
349
+ response = delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
349
350
  nil
350
351
  end
351
352
 
@@ -360,8 +361,8 @@ module Azure::Logic::Mgmt::V2016_06_01
360
361
  #
361
362
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
362
363
  #
363
- def delete_with_http_info(resource_group_name, integration_account_name, agreement_name, custom_headers = nil)
364
- delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers).value!
364
+ def delete_with_http_info(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
365
+ delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers:custom_headers).value!
365
366
  end
366
367
 
367
368
  #
@@ -375,7 +376,7 @@ module Azure::Logic::Mgmt::V2016_06_01
375
376
  #
376
377
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
377
378
  #
378
- def delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers = nil)
379
+ def delete_async(resource_group_name, integration_account_name, agreement_name, custom_headers:nil)
379
380
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
380
381
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
381
382
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -384,6 +385,7 @@ module Azure::Logic::Mgmt::V2016_06_01
384
385
 
385
386
 
386
387
  request_headers = {}
388
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
387
389
 
388
390
  # Set Headers
389
391
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -428,8 +430,8 @@ module Azure::Logic::Mgmt::V2016_06_01
428
430
  #
429
431
  # @return [IntegrationAccountAgreementListResult] operation results.
430
432
  #
431
- def list_by_integration_accounts_next(next_page_link, custom_headers = nil)
432
- response = list_by_integration_accounts_next_async(next_page_link, custom_headers).value!
433
+ def list_by_integration_accounts_next(next_page_link, custom_headers:nil)
434
+ response = list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
433
435
  response.body unless response.nil?
434
436
  end
435
437
 
@@ -443,8 +445,8 @@ module Azure::Logic::Mgmt::V2016_06_01
443
445
  #
444
446
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
445
447
  #
446
- def list_by_integration_accounts_next_with_http_info(next_page_link, custom_headers = nil)
447
- list_by_integration_accounts_next_async(next_page_link, custom_headers).value!
448
+ def list_by_integration_accounts_next_with_http_info(next_page_link, custom_headers:nil)
449
+ list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
448
450
  end
449
451
 
450
452
  #
@@ -457,11 +459,12 @@ module Azure::Logic::Mgmt::V2016_06_01
457
459
  #
458
460
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
459
461
  #
460
- def list_by_integration_accounts_next_async(next_page_link, custom_headers = nil)
462
+ def list_by_integration_accounts_next_async(next_page_link, custom_headers:nil)
461
463
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
462
464
 
463
465
 
464
466
  request_headers = {}
467
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
465
468
 
466
469
  # Set Headers
467
470
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -518,12 +521,12 @@ module Azure::Logic::Mgmt::V2016_06_01
518
521
  # @return [IntegrationAccountAgreementListResult] which provide lazy access to
519
522
  # pages of the response.
520
523
  #
521
- def list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top = nil, filter = nil, custom_headers = nil)
522
- response = list_by_integration_accounts_async(resource_group_name, integration_account_name, top, filter, custom_headers).value!
524
+ def list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top:nil, filter:nil, custom_headers:nil)
525
+ response = list_by_integration_accounts_async(resource_group_name, integration_account_name, top:top, filter:filter, custom_headers:custom_headers).value!
523
526
  unless response.nil?
524
527
  page = response.body
525
528
  page.next_method = Proc.new do |next_page_link|
526
- list_by_integration_accounts_next_async(next_page_link, custom_headers)
529
+ list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers)
527
530
  end
528
531
  page
529
532
  end
@@ -32,8 +32,8 @@ module Azure::Logic::Mgmt::V2016_06_01
32
32
  #
33
33
  # @return [Array<IntegrationAccountCertificate>] operation results.
34
34
  #
35
- def list_by_integration_accounts(resource_group_name, integration_account_name, top = nil, custom_headers = nil)
36
- first_page = list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top, custom_headers)
35
+ def list_by_integration_accounts(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
36
+ first_page = list_by_integration_accounts_as_lazy(resource_group_name, integration_account_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_by_integration_accounts_with_http_info(resource_group_name, integration_account_name, top = nil, custom_headers = nil)
52
- list_by_integration_accounts_async(resource_group_name, integration_account_name, top, custom_headers).value!
51
+ def list_by_integration_accounts_with_http_info(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
52
+ list_by_integration_accounts_async(resource_group_name, integration_account_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_by_integration_accounts_async(resource_group_name, integration_account_name, top = nil, custom_headers = nil)
66
+ def list_by_integration_accounts_async(resource_group_name, integration_account_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, 'integration_account_name is nil' if integration_account_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 [IntegrationAccountCertificate] operation results.
128
129
  #
129
- def get(resource_group_name, integration_account_name, certificate_name, custom_headers = nil)
130
- response = get_async(resource_group_name, integration_account_name, certificate_name, custom_headers).value!
130
+ def get(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
131
+ response = get_async(resource_group_name, integration_account_name, certificate_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::V2016_06_01
142
143
  #
143
144
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
144
145
  #
145
- def get_with_http_info(resource_group_name, integration_account_name, certificate_name, custom_headers = nil)
146
- get_async(resource_group_name, integration_account_name, certificate_name, custom_headers).value!
146
+ def get_with_http_info(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
147
+ get_async(resource_group_name, integration_account_name, certificate_name, 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, integration_account_name, certificate_name, custom_headers = nil)
161
+ def get_async(resource_group_name, integration_account_name, certificate_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, 'integration_account_name is nil' if integration_account_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 [IntegrationAccountCertificate] operation results.
225
227
  #
226
- def create_or_update(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers = nil)
227
- response = create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers).value!
228
+ def create_or_update(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:nil)
229
+ response = create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, 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 create_or_update_with_http_info(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers = nil)
245
- create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers).value!
246
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers:nil)
247
+ create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, 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 create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, custom_headers = nil)
263
+ def create_or_update_async(resource_group_name, integration_account_name, certificate_name, certificate, 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, 'integration_account_name is nil' if integration_account_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::IntegrationAccountCertificate.mapper()
280
281
  request_content = @client.serialize(request_mapper, certificate)
@@ -341,8 +342,8 @@ module Azure::Logic::Mgmt::V2016_06_01
341
342
  # will be added to the HTTP request.
342
343
  #
343
344
  #
344
- def delete(resource_group_name, integration_account_name, certificate_name, custom_headers = nil)
345
- response = delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers).value!
345
+ def delete(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
346
+ response = delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers:custom_headers).value!
346
347
  nil
347
348
  end
348
349
 
@@ -357,8 +358,8 @@ module Azure::Logic::Mgmt::V2016_06_01
357
358
  #
358
359
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
359
360
  #
360
- def delete_with_http_info(resource_group_name, integration_account_name, certificate_name, custom_headers = nil)
361
- delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers).value!
361
+ def delete_with_http_info(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
362
+ delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers:custom_headers).value!
362
363
  end
363
364
 
364
365
  #
@@ -372,7 +373,7 @@ module Azure::Logic::Mgmt::V2016_06_01
372
373
  #
373
374
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
374
375
  #
375
- def delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers = nil)
376
+ def delete_async(resource_group_name, integration_account_name, certificate_name, custom_headers:nil)
376
377
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
377
378
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
378
379
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -381,6 +382,7 @@ module Azure::Logic::Mgmt::V2016_06_01
381
382
 
382
383
 
383
384
  request_headers = {}
385
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
384
386
 
385
387
  # Set Headers
386
388
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -425,8 +427,8 @@ module Azure::Logic::Mgmt::V2016_06_01
425
427
  #
426
428
  # @return [IntegrationAccountCertificateListResult] operation results.
427
429
  #
428
- def list_by_integration_accounts_next(next_page_link, custom_headers = nil)
429
- response = list_by_integration_accounts_next_async(next_page_link, custom_headers).value!
430
+ def list_by_integration_accounts_next(next_page_link, custom_headers:nil)
431
+ response = list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
430
432
  response.body unless response.nil?
431
433
  end
432
434
 
@@ -440,8 +442,8 @@ module Azure::Logic::Mgmt::V2016_06_01
440
442
  #
441
443
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
442
444
  #
443
- def list_by_integration_accounts_next_with_http_info(next_page_link, custom_headers = nil)
444
- list_by_integration_accounts_next_async(next_page_link, custom_headers).value!
445
+ def list_by_integration_accounts_next_with_http_info(next_page_link, custom_headers:nil)
446
+ list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
445
447
  end
446
448
 
447
449
  #
@@ -454,11 +456,12 @@ module Azure::Logic::Mgmt::V2016_06_01
454
456
  #
455
457
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
456
458
  #
457
- def list_by_integration_accounts_next_async(next_page_link, custom_headers = nil)
459
+ def list_by_integration_accounts_next_async(next_page_link, custom_headers:nil)
458
460
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
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
@@ -514,12 +517,12 @@ module Azure::Logic::Mgmt::V2016_06_01
514
517
  # @return [IntegrationAccountCertificateListResult] which provide lazy access
515
518
  # to pages of the response.
516
519
  #
517
- def list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top = nil, custom_headers = nil)
518
- response = list_by_integration_accounts_async(resource_group_name, integration_account_name, top, custom_headers).value!
520
+ def list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top:nil, custom_headers:nil)
521
+ response = list_by_integration_accounts_async(resource_group_name, integration_account_name, top:top, custom_headers:custom_headers).value!
519
522
  unless response.nil?
520
523
  page = response.body
521
524
  page.next_method = Proc.new do |next_page_link|
522
- list_by_integration_accounts_next_async(next_page_link, custom_headers)
525
+ list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers)
523
526
  end
524
527
  page
525
528
  end
@@ -30,8 +30,8 @@ module Azure::Logic::Mgmt::V2016_06_01
30
30
  #
31
31
  # @return [Array<IntegrationAccount>] operation results.
32
32
  #
33
- def list_by_subscription(top = nil, custom_headers = nil)
34
- first_page = list_by_subscription_as_lazy(top, custom_headers)
33
+ def list_by_subscription(top:nil, custom_headers:nil)
34
+ first_page = list_by_subscription_as_lazy(top:top, custom_headers:custom_headers)
35
35
  first_page.get_all_items
36
36
  end
37
37
 
@@ -44,8 +44,8 @@ module Azure::Logic::Mgmt::V2016_06_01
44
44
  #
45
45
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
46
46
  #
47
- def list_by_subscription_with_http_info(top = nil, custom_headers = nil)
48
- list_by_subscription_async(top, custom_headers).value!
47
+ def list_by_subscription_with_http_info(top:nil, custom_headers:nil)
48
+ list_by_subscription_async(top:top, custom_headers:custom_headers).value!
49
49
  end
50
50
 
51
51
  #
@@ -57,12 +57,13 @@ module Azure::Logic::Mgmt::V2016_06_01
57
57
  #
58
58
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
59
59
  #
60
- def list_by_subscription_async(top = nil, custom_headers = nil)
60
+ def list_by_subscription_async(top:nil, custom_headers:nil)
61
61
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
62
62
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
63
63
 
64
64
 
65
65
  request_headers = {}
66
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
66
67
 
67
68
  # Set Headers
68
69
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -117,8 +118,8 @@ module Azure::Logic::Mgmt::V2016_06_01
117
118
  #
118
119
  # @return [Array<IntegrationAccount>] operation results.
119
120
  #
120
- def list_by_resource_group(resource_group_name, top = nil, custom_headers = nil)
121
- first_page = list_by_resource_group_as_lazy(resource_group_name, top, custom_headers)
121
+ def list_by_resource_group(resource_group_name, top:nil, custom_headers:nil)
122
+ first_page = list_by_resource_group_as_lazy(resource_group_name, top:top, custom_headers:custom_headers)
122
123
  first_page.get_all_items
123
124
  end
124
125
 
@@ -132,8 +133,8 @@ module Azure::Logic::Mgmt::V2016_06_01
132
133
  #
133
134
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
134
135
  #
135
- def list_by_resource_group_with_http_info(resource_group_name, top = nil, custom_headers = nil)
136
- list_by_resource_group_async(resource_group_name, top, custom_headers).value!
136
+ def list_by_resource_group_with_http_info(resource_group_name, top:nil, custom_headers:nil)
137
+ list_by_resource_group_async(resource_group_name, top:top, custom_headers:custom_headers).value!
137
138
  end
138
139
 
139
140
  #
@@ -146,13 +147,14 @@ module Azure::Logic::Mgmt::V2016_06_01
146
147
  #
147
148
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
148
149
  #
149
- def list_by_resource_group_async(resource_group_name, top = nil, custom_headers = nil)
150
+ def list_by_resource_group_async(resource_group_name, top:nil, custom_headers:nil)
150
151
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
151
152
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
152
153
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
153
154
 
154
155
 
155
156
  request_headers = {}
157
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
156
158
 
157
159
  # Set Headers
158
160
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -207,8 +209,8 @@ module Azure::Logic::Mgmt::V2016_06_01
207
209
  #
208
210
  # @return [IntegrationAccount] operation results.
209
211
  #
210
- def get(resource_group_name, integration_account_name, custom_headers = nil)
211
- response = get_async(resource_group_name, integration_account_name, custom_headers).value!
212
+ def get(resource_group_name, integration_account_name, custom_headers:nil)
213
+ response = get_async(resource_group_name, integration_account_name, custom_headers:custom_headers).value!
212
214
  response.body unless response.nil?
213
215
  end
214
216
 
@@ -222,8 +224,8 @@ module Azure::Logic::Mgmt::V2016_06_01
222
224
  #
223
225
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
224
226
  #
225
- def get_with_http_info(resource_group_name, integration_account_name, custom_headers = nil)
226
- get_async(resource_group_name, integration_account_name, custom_headers).value!
227
+ def get_with_http_info(resource_group_name, integration_account_name, custom_headers:nil)
228
+ get_async(resource_group_name, integration_account_name, custom_headers:custom_headers).value!
227
229
  end
228
230
 
229
231
  #
@@ -236,7 +238,7 @@ module Azure::Logic::Mgmt::V2016_06_01
236
238
  #
237
239
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
238
240
  #
239
- def get_async(resource_group_name, integration_account_name, custom_headers = nil)
241
+ def get_async(resource_group_name, integration_account_name, custom_headers:nil)
240
242
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
241
243
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
242
244
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -244,6 +246,7 @@ module Azure::Logic::Mgmt::V2016_06_01
244
246
 
245
247
 
246
248
  request_headers = {}
249
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
247
250
 
248
251
  # Set Headers
249
252
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -299,8 +302,8 @@ module Azure::Logic::Mgmt::V2016_06_01
299
302
  #
300
303
  # @return [IntegrationAccount] operation results.
301
304
  #
302
- def create_or_update(resource_group_name, integration_account_name, integration_account, custom_headers = nil)
303
- response = create_or_update_async(resource_group_name, integration_account_name, integration_account, custom_headers).value!
305
+ def create_or_update(resource_group_name, integration_account_name, integration_account, custom_headers:nil)
306
+ response = create_or_update_async(resource_group_name, integration_account_name, integration_account, custom_headers:custom_headers).value!
304
307
  response.body unless response.nil?
305
308
  end
306
309
 
@@ -315,8 +318,8 @@ module Azure::Logic::Mgmt::V2016_06_01
315
318
  #
316
319
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
317
320
  #
318
- def create_or_update_with_http_info(resource_group_name, integration_account_name, integration_account, custom_headers = nil)
319
- create_or_update_async(resource_group_name, integration_account_name, integration_account, custom_headers).value!
321
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, integration_account, custom_headers:nil)
322
+ create_or_update_async(resource_group_name, integration_account_name, integration_account, custom_headers:custom_headers).value!
320
323
  end
321
324
 
322
325
  #
@@ -330,7 +333,7 @@ module Azure::Logic::Mgmt::V2016_06_01
330
333
  #
331
334
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
332
335
  #
333
- def create_or_update_async(resource_group_name, integration_account_name, integration_account, custom_headers = nil)
336
+ def create_or_update_async(resource_group_name, integration_account_name, integration_account, custom_headers:nil)
334
337
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
335
338
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
336
339
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -339,13 +342,12 @@ module Azure::Logic::Mgmt::V2016_06_01
339
342
 
340
343
 
341
344
  request_headers = {}
345
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
342
346
 
343
347
  # Set Headers
344
348
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
345
349
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
346
350
 
347
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
348
-
349
351
  # Serialize Request
350
352
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount.mapper()
351
353
  request_content = @client.serialize(request_mapper, integration_account)
@@ -413,8 +415,8 @@ module Azure::Logic::Mgmt::V2016_06_01
413
415
  #
414
416
  # @return [IntegrationAccount] operation results.
415
417
  #
416
- def update(resource_group_name, integration_account_name, integration_account, custom_headers = nil)
417
- response = update_async(resource_group_name, integration_account_name, integration_account, custom_headers).value!
418
+ def update(resource_group_name, integration_account_name, integration_account, custom_headers:nil)
419
+ response = update_async(resource_group_name, integration_account_name, integration_account, custom_headers:custom_headers).value!
418
420
  response.body unless response.nil?
419
421
  end
420
422
 
@@ -429,8 +431,8 @@ module Azure::Logic::Mgmt::V2016_06_01
429
431
  #
430
432
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
431
433
  #
432
- def update_with_http_info(resource_group_name, integration_account_name, integration_account, custom_headers = nil)
433
- update_async(resource_group_name, integration_account_name, integration_account, custom_headers).value!
434
+ def update_with_http_info(resource_group_name, integration_account_name, integration_account, custom_headers:nil)
435
+ update_async(resource_group_name, integration_account_name, integration_account, custom_headers:custom_headers).value!
434
436
  end
435
437
 
436
438
  #
@@ -444,7 +446,7 @@ module Azure::Logic::Mgmt::V2016_06_01
444
446
  #
445
447
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
446
448
  #
447
- def update_async(resource_group_name, integration_account_name, integration_account, custom_headers = nil)
449
+ def update_async(resource_group_name, integration_account_name, integration_account, custom_headers:nil)
448
450
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
449
451
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
450
452
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -453,13 +455,12 @@ module Azure::Logic::Mgmt::V2016_06_01
453
455
 
454
456
 
455
457
  request_headers = {}
458
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
456
459
 
457
460
  # Set Headers
458
461
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
459
462
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
460
463
 
461
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
462
-
463
464
  # Serialize Request
464
465
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::IntegrationAccount.mapper()
465
466
  request_content = @client.serialize(request_mapper, integration_account)
@@ -515,8 +516,8 @@ module Azure::Logic::Mgmt::V2016_06_01
515
516
  # will be added to the HTTP request.
516
517
  #
517
518
  #
518
- def delete(resource_group_name, integration_account_name, custom_headers = nil)
519
- response = delete_async(resource_group_name, integration_account_name, custom_headers).value!
519
+ def delete(resource_group_name, integration_account_name, custom_headers:nil)
520
+ response = delete_async(resource_group_name, integration_account_name, custom_headers:custom_headers).value!
520
521
  nil
521
522
  end
522
523
 
@@ -530,8 +531,8 @@ module Azure::Logic::Mgmt::V2016_06_01
530
531
  #
531
532
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
532
533
  #
533
- def delete_with_http_info(resource_group_name, integration_account_name, custom_headers = nil)
534
- delete_async(resource_group_name, integration_account_name, custom_headers).value!
534
+ def delete_with_http_info(resource_group_name, integration_account_name, custom_headers:nil)
535
+ delete_async(resource_group_name, integration_account_name, custom_headers:custom_headers).value!
535
536
  end
536
537
 
537
538
  #
@@ -544,7 +545,7 @@ module Azure::Logic::Mgmt::V2016_06_01
544
545
  #
545
546
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
546
547
  #
547
- def delete_async(resource_group_name, integration_account_name, custom_headers = nil)
548
+ def delete_async(resource_group_name, integration_account_name, custom_headers:nil)
548
549
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
549
550
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
550
551
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -552,6 +553,7 @@ module Azure::Logic::Mgmt::V2016_06_01
552
553
 
553
554
 
554
555
  request_headers = {}
556
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
555
557
 
556
558
  # Set Headers
557
559
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -597,8 +599,8 @@ module Azure::Logic::Mgmt::V2016_06_01
597
599
  #
598
600
  # @return [CallbackUrl] operation results.
599
601
  #
600
- def get_callback_url(resource_group_name, integration_account_name, parameters, custom_headers = nil)
601
- response = get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers).value!
602
+ def get_callback_url(resource_group_name, integration_account_name, parameters, custom_headers:nil)
603
+ response = get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers:custom_headers).value!
602
604
  response.body unless response.nil?
603
605
  end
604
606
 
@@ -613,8 +615,8 @@ module Azure::Logic::Mgmt::V2016_06_01
613
615
  #
614
616
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
615
617
  #
616
- def get_callback_url_with_http_info(resource_group_name, integration_account_name, parameters, custom_headers = nil)
617
- get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers).value!
618
+ def get_callback_url_with_http_info(resource_group_name, integration_account_name, parameters, custom_headers:nil)
619
+ get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers:custom_headers).value!
618
620
  end
619
621
 
620
622
  #
@@ -628,7 +630,7 @@ module Azure::Logic::Mgmt::V2016_06_01
628
630
  #
629
631
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
630
632
  #
631
- def get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers = nil)
633
+ def get_callback_url_async(resource_group_name, integration_account_name, parameters, custom_headers:nil)
632
634
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
633
635
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
634
636
  fail ArgumentError, 'integration_account_name is nil' if integration_account_name.nil?
@@ -637,13 +639,12 @@ module Azure::Logic::Mgmt::V2016_06_01
637
639
 
638
640
 
639
641
  request_headers = {}
642
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
640
643
 
641
644
  # Set Headers
642
645
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
643
646
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
644
647
 
645
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
646
-
647
648
  # Serialize Request
648
649
  request_mapper = Azure::Logic::Mgmt::V2016_06_01::Models::GetCallbackUrlParameters.mapper()
649
650
  request_content = @client.serialize(request_mapper, parameters)
@@ -700,8 +701,8 @@ module Azure::Logic::Mgmt::V2016_06_01
700
701
  #
701
702
  # @return [IntegrationAccountListResult] operation results.
702
703
  #
703
- def list_by_subscription_next(next_page_link, custom_headers = nil)
704
- response = list_by_subscription_next_async(next_page_link, custom_headers).value!
704
+ def list_by_subscription_next(next_page_link, custom_headers:nil)
705
+ response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
705
706
  response.body unless response.nil?
706
707
  end
707
708
 
@@ -715,8 +716,8 @@ module Azure::Logic::Mgmt::V2016_06_01
715
716
  #
716
717
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
717
718
  #
718
- def list_by_subscription_next_with_http_info(next_page_link, custom_headers = nil)
719
- list_by_subscription_next_async(next_page_link, custom_headers).value!
719
+ def list_by_subscription_next_with_http_info(next_page_link, custom_headers:nil)
720
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
720
721
  end
721
722
 
722
723
  #
@@ -729,11 +730,12 @@ module Azure::Logic::Mgmt::V2016_06_01
729
730
  #
730
731
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
731
732
  #
732
- def list_by_subscription_next_async(next_page_link, custom_headers = nil)
733
+ def list_by_subscription_next_async(next_page_link, custom_headers:nil)
733
734
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
734
735
 
735
736
 
736
737
  request_headers = {}
738
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
737
739
 
738
740
  # Set Headers
739
741
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -787,8 +789,8 @@ module Azure::Logic::Mgmt::V2016_06_01
787
789
  #
788
790
  # @return [IntegrationAccountListResult] operation results.
789
791
  #
790
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
791
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
792
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
793
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
792
794
  response.body unless response.nil?
793
795
  end
794
796
 
@@ -802,8 +804,8 @@ module Azure::Logic::Mgmt::V2016_06_01
802
804
  #
803
805
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
804
806
  #
805
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
806
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
807
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
808
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
807
809
  end
808
810
 
809
811
  #
@@ -816,11 +818,12 @@ module Azure::Logic::Mgmt::V2016_06_01
816
818
  #
817
819
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
818
820
  #
819
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
821
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
820
822
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
821
823
 
822
824
 
823
825
  request_headers = {}
826
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
824
827
 
825
828
  # Set Headers
826
829
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -874,12 +877,12 @@ module Azure::Logic::Mgmt::V2016_06_01
874
877
  # @return [IntegrationAccountListResult] which provide lazy access to pages of
875
878
  # the response.
876
879
  #
877
- def list_by_subscription_as_lazy(top = nil, custom_headers = nil)
878
- response = list_by_subscription_async(top, custom_headers).value!
880
+ def list_by_subscription_as_lazy(top:nil, custom_headers:nil)
881
+ response = list_by_subscription_async(top:top, custom_headers:custom_headers).value!
879
882
  unless response.nil?
880
883
  page = response.body
881
884
  page.next_method = Proc.new do |next_page_link|
882
- list_by_subscription_next_async(next_page_link, custom_headers)
885
+ list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
883
886
  end
884
887
  page
885
888
  end
@@ -896,12 +899,12 @@ module Azure::Logic::Mgmt::V2016_06_01
896
899
  # @return [IntegrationAccountListResult] which provide lazy access to pages of
897
900
  # the response.
898
901
  #
899
- def list_by_resource_group_as_lazy(resource_group_name, top = nil, custom_headers = nil)
900
- response = list_by_resource_group_async(resource_group_name, top, custom_headers).value!
902
+ def list_by_resource_group_as_lazy(resource_group_name, top:nil, custom_headers:nil)
903
+ response = list_by_resource_group_async(resource_group_name, top:top, custom_headers:custom_headers).value!
901
904
  unless response.nil?
902
905
  page = response.body
903
906
  page.next_method = Proc.new do |next_page_link|
904
- list_by_resource_group_next_async(next_page_link, custom_headers)
907
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
905
908
  end
906
909
  page
907
910
  end