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
@@ -33,8 +33,8 @@ module Azure::Logic::Mgmt::V2016_06_01
33
33
  #
34
34
  # @return [Array<IntegrationAccountSchema>] 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 [IntegrationAccountSchema] operation results.
131
132
  #
132
- def get(resource_group_name, integration_account_name, schema_name, custom_headers = nil)
133
- response = get_async(resource_group_name, integration_account_name, schema_name, custom_headers).value!
133
+ def get(resource_group_name, integration_account_name, schema_name, custom_headers:nil)
134
+ response = get_async(resource_group_name, integration_account_name, schema_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, schema_name, custom_headers = nil)
149
- get_async(resource_group_name, integration_account_name, schema_name, custom_headers).value!
149
+ def get_with_http_info(resource_group_name, integration_account_name, schema_name, custom_headers:nil)
150
+ get_async(resource_group_name, integration_account_name, schema_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, schema_name, custom_headers = nil)
164
+ def get_async(resource_group_name, integration_account_name, schema_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
@@ -225,8 +227,8 @@ module Azure::Logic::Mgmt::V2016_06_01
225
227
  #
226
228
  # @return [IntegrationAccountSchema] operation results.
227
229
  #
228
- def create_or_update(resource_group_name, integration_account_name, schema_name, schema, custom_headers = nil)
229
- response = create_or_update_async(resource_group_name, integration_account_name, schema_name, schema, custom_headers).value!
230
+ def create_or_update(resource_group_name, integration_account_name, schema_name, schema, custom_headers:nil)
231
+ response = create_or_update_async(resource_group_name, integration_account_name, schema_name, schema, custom_headers:custom_headers).value!
230
232
  response.body unless response.nil?
231
233
  end
232
234
 
@@ -242,8 +244,8 @@ module Azure::Logic::Mgmt::V2016_06_01
242
244
  #
243
245
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
244
246
  #
245
- def create_or_update_with_http_info(resource_group_name, integration_account_name, schema_name, schema, custom_headers = nil)
246
- create_or_update_async(resource_group_name, integration_account_name, schema_name, schema, custom_headers).value!
247
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, schema_name, schema, custom_headers:nil)
248
+ create_or_update_async(resource_group_name, integration_account_name, schema_name, schema, custom_headers:custom_headers).value!
247
249
  end
248
250
 
249
251
  #
@@ -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, schema_name, schema, custom_headers = nil)
263
+ def create_or_update_async(resource_group_name, integration_account_name, schema_name, schema, 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::IntegrationAccountSchema.mapper()
280
281
  request_content = @client.serialize(request_mapper, schema)
@@ -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, schema_name, custom_headers = nil)
345
- response = delete_async(resource_group_name, integration_account_name, schema_name, custom_headers).value!
345
+ def delete(resource_group_name, integration_account_name, schema_name, custom_headers:nil)
346
+ response = delete_async(resource_group_name, integration_account_name, schema_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, schema_name, custom_headers = nil)
361
- delete_async(resource_group_name, integration_account_name, schema_name, custom_headers).value!
361
+ def delete_with_http_info(resource_group_name, integration_account_name, schema_name, custom_headers:nil)
362
+ delete_async(resource_group_name, integration_account_name, schema_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, schema_name, custom_headers = nil)
376
+ def delete_async(resource_group_name, integration_account_name, schema_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 [IntegrationAccountSchemaListResult] 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
@@ -515,12 +518,12 @@ module Azure::Logic::Mgmt::V2016_06_01
515
518
  # @return [IntegrationAccountSchemaListResult] which provide lazy access to
516
519
  # pages of the response.
517
520
  #
518
- def list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top = nil, filter = nil, custom_headers = nil)
519
- response = list_by_integration_accounts_async(resource_group_name, integration_account_name, top, filter, custom_headers).value!
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:top, filter:filter, custom_headers:custom_headers).value!
520
523
  unless response.nil?
521
524
  page = response.body
522
525
  page.next_method = Proc.new do |next_page_link|
523
- list_by_integration_accounts_next_async(next_page_link, custom_headers)
526
+ list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers)
524
527
  end
525
528
  page
526
529
  end
@@ -33,8 +33,8 @@ module Azure::Logic::Mgmt::V2016_06_01
33
33
  #
34
34
  # @return [Array<IntegrationAccountSession>] 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 [IntegrationAccountSession] operation results.
131
132
  #
132
- def get(resource_group_name, integration_account_name, session_name, custom_headers = nil)
133
- response = get_async(resource_group_name, integration_account_name, session_name, custom_headers).value!
133
+ def get(resource_group_name, integration_account_name, session_name, custom_headers:nil)
134
+ response = get_async(resource_group_name, integration_account_name, session_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, session_name, custom_headers = nil)
149
- get_async(resource_group_name, integration_account_name, session_name, custom_headers).value!
149
+ def get_with_http_info(resource_group_name, integration_account_name, session_name, custom_headers:nil)
150
+ get_async(resource_group_name, integration_account_name, session_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, session_name, custom_headers = nil)
164
+ def get_async(resource_group_name, integration_account_name, session_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
@@ -225,8 +227,8 @@ module Azure::Logic::Mgmt::V2016_06_01
225
227
  #
226
228
  # @return [IntegrationAccountSession] operation results.
227
229
  #
228
- def create_or_update(resource_group_name, integration_account_name, session_name, session, custom_headers = nil)
229
- response = create_or_update_async(resource_group_name, integration_account_name, session_name, session, custom_headers).value!
230
+ def create_or_update(resource_group_name, integration_account_name, session_name, session, custom_headers:nil)
231
+ response = create_or_update_async(resource_group_name, integration_account_name, session_name, session, custom_headers:custom_headers).value!
230
232
  response.body unless response.nil?
231
233
  end
232
234
 
@@ -242,8 +244,8 @@ module Azure::Logic::Mgmt::V2016_06_01
242
244
  #
243
245
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
244
246
  #
245
- def create_or_update_with_http_info(resource_group_name, integration_account_name, session_name, session, custom_headers = nil)
246
- create_or_update_async(resource_group_name, integration_account_name, session_name, session, custom_headers).value!
247
+ def create_or_update_with_http_info(resource_group_name, integration_account_name, session_name, session, custom_headers:nil)
248
+ create_or_update_async(resource_group_name, integration_account_name, session_name, session, custom_headers:custom_headers).value!
247
249
  end
248
250
 
249
251
  #
@@ -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, session_name, session, custom_headers = nil)
263
+ def create_or_update_async(resource_group_name, integration_account_name, session_name, session, 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::IntegrationAccountSession.mapper()
280
281
  request_content = @client.serialize(request_mapper, session)
@@ -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, session_name, custom_headers = nil)
345
- response = delete_async(resource_group_name, integration_account_name, session_name, custom_headers).value!
345
+ def delete(resource_group_name, integration_account_name, session_name, custom_headers:nil)
346
+ response = delete_async(resource_group_name, integration_account_name, session_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, session_name, custom_headers = nil)
361
- delete_async(resource_group_name, integration_account_name, session_name, custom_headers).value!
361
+ def delete_with_http_info(resource_group_name, integration_account_name, session_name, custom_headers:nil)
362
+ delete_async(resource_group_name, integration_account_name, session_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, session_name, custom_headers = nil)
376
+ def delete_async(resource_group_name, integration_account_name, session_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 [IntegrationAccountSessionListResult] 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
@@ -515,12 +518,12 @@ module Azure::Logic::Mgmt::V2016_06_01
515
518
  # @return [IntegrationAccountSessionListResult] which provide lazy access to
516
519
  # pages of the response.
517
520
  #
518
- def list_by_integration_accounts_as_lazy(resource_group_name, integration_account_name, top = nil, filter = nil, custom_headers = nil)
519
- response = list_by_integration_accounts_async(resource_group_name, integration_account_name, top, filter, custom_headers).value!
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:top, filter:filter, custom_headers:custom_headers).value!
520
523
  unless response.nil?
521
524
  page = response.body
522
525
  page.next_method = Proc.new do |next_page_link|
523
- list_by_integration_accounts_next_async(next_page_link, custom_headers)
526
+ list_by_integration_accounts_next_async(next_page_link, custom_headers:custom_headers)
524
527
  end
525
528
  page
526
529
  end
@@ -34,8 +34,8 @@ module Azure::Logic::Mgmt::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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::V2016_06_01
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