azure_mgmt_datalake_analytics 0.15.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +5 -5
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb +174 -160
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +10 -6
  4. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +1 -1
  5. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +1 -1
  6. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +1 -1
  7. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_blob_containers_result.rb +1 -1
  8. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +1 -1
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +43 -25
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/{account.rb → accounts.rb} +298 -222
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb +176 -206
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +28 -16
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +180 -203
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +171 -201
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/locations.rb +116 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -2
  17. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_with_account_parameters.rb +58 -0
  18. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +3 -4
  19. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb +70 -0
  20. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/capability_information.rb +100 -0
  21. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/check_name_availability_parameters.rb +62 -0
  22. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +22 -5
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +3 -3
  24. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{compute_policy_account_create_parameters.rb → create_compute_policy_with_account_parameters.rb} +7 -6
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_data_lake_analytics_account_parameters.rb +285 -0
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb +71 -0
  27. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{compute_policy_create_or_update_parameters.rb → create_or_update_compute_policy_parameters.rb} +4 -4
  28. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb +59 -0
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +161 -147
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +21 -19
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +5 -5
  32. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_store_account_info.rb → data_lake_store_account_information.rb} +8 -6
  33. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_list_data_lake_store_result.rb → data_lake_store_account_information_list_result.rb} +15 -15
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +9 -6
  35. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +8 -9
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb +74 -0
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{optional_sub_resource.rb → operation.rb} +21 -19
  38. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_display.rb +83 -0
  39. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_list_result.rb +68 -0
  40. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_origin.rb +17 -0
  41. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/resource.rb +18 -7
  42. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{sas_token_info.rb → sas_token_information.rb} +5 -5
  43. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_sas_tokens_result.rb → sas_token_information_list_result.rb} +11 -11
  44. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{storage_account_info.rb → storage_account_information.rb} +8 -18
  45. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_list_storage_accounts_result.rb → storage_account_information_list_result.rb} +13 -14
  46. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +2 -11
  47. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_storage_containers_result.rb → storage_container_list_result.rb} +8 -8
  48. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +6 -5
  49. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/subscription_state.rb +19 -0
  50. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_parameters.rb +91 -0
  51. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_with_account_parameters.rb +103 -0
  52. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_update_parameters.rb → update_data_lake_analytics_account_parameters.rb} +120 -77
  53. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_data_lake_store_with_account_parameters.rb +59 -0
  54. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +3 -3
  55. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_with_account_parameters.rb +71 -0
  56. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +3 -4
  57. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_with_account_parameters.rb +72 -0
  58. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/operations.rb +107 -0
  59. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +416 -464
  60. data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +28 -9
  61. data/lib/profiles/latest/datalakeanalytics_module_definition.rb +0 -1
  62. data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +222 -135
  63. data/lib/version.rb +1 -1
  64. metadata +37 -19
  65. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +0 -115
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: cbac5b3c76e32c8bedac45f154365f9cd017533f
4
- data.tar.gz: 1fa19c0617714addd4af1c4c2183c36c550b2976
2
+ SHA256:
3
+ metadata.gz: 6a0ce891f31c17f8633b8c72fa60815acf80227bd3e7d0c4ba240767125fe57b
4
+ data.tar.gz: 7244fff48bae95b3ae8f7944127b0c478fc5101032e45059c6c8335f644bc9db
5
5
  SHA512:
6
- metadata.gz: df1440f731d8856517c0942680cbdd1b08cdcb7334b79ffc6b03762c64212fa0b0c360abb0019e6e77b5aab63cb0efa6fbd32a0f37dbeae160aff3cfe26577a8
7
- data.tar.gz: 0639a8d31953c60f51563f23725c627bd3e36f3939bdfe79a31c19b1a072462f6c38c22a9a8ece14bfe4050b0c15d84fb05e7685838b0d15e1ddf846e71a8a16
6
+ metadata.gz: f69e3c775267ac1b15a570033d587ea869755502a4e1ee715b20a97008294d0acd82b3eef86624ff64ec6271aa6512b49e75bc213e3e26a318326ef461cdd4fd
7
+ data.tar.gz: d32cdd7b70667645440f0399c099a968cad0c829565d81c8301f95676a8b17cc65773e5cf3f0c21c96e784382c567201a172ce8e95c45c340160113091b1c1c6
@@ -36,8 +36,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
36
36
  #
37
37
  # @return [StorageAccountInfo] operation results.
38
38
  #
39
- def get_storage_account(resource_group_name, account_name, storage_account_name, custom_headers = nil)
40
- response = get_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
39
+ def get_storage_account(resource_group_name, account_name, storage_account_name, custom_headers:nil)
40
+ response = get_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers).value!
41
41
  response.body unless response.nil?
42
42
  end
43
43
 
@@ -56,8 +56,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
56
56
  #
57
57
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
58
58
  #
59
- def get_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers = nil)
60
- get_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
59
+ def get_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers:nil)
60
+ get_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers).value!
61
61
  end
62
62
 
63
63
  #
@@ -75,7 +75,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
75
75
  #
76
76
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
77
77
  #
78
- def get_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers = nil)
78
+ def get_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers:nil)
79
79
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
80
80
  fail ArgumentError, 'account_name is nil' if account_name.nil?
81
81
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -84,6 +84,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
84
84
 
85
85
 
86
86
  request_headers = {}
87
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
87
88
 
88
89
  # Set Headers
89
90
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -142,8 +143,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
142
143
  # will be added to the HTTP request.
143
144
  #
144
145
  #
145
- def delete_storage_account(resource_group_name, account_name, storage_account_name, custom_headers = nil)
146
- response = delete_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
146
+ def delete_storage_account(resource_group_name, account_name, storage_account_name, custom_headers:nil)
147
+ response = delete_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers).value!
147
148
  nil
148
149
  end
149
150
 
@@ -162,8 +163,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
162
163
  #
163
164
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
164
165
  #
165
- def delete_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers = nil)
166
- delete_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
166
+ def delete_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers:nil)
167
+ delete_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers).value!
167
168
  end
168
169
 
169
170
  #
@@ -181,7 +182,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
181
182
  #
182
183
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
183
184
  #
184
- def delete_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers = nil)
185
+ def delete_storage_account_async(resource_group_name, account_name, storage_account_name, custom_headers:nil)
185
186
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
186
187
  fail ArgumentError, 'account_name is nil' if account_name.nil?
187
188
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -190,6 +191,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
190
191
 
191
192
 
192
193
  request_headers = {}
194
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
193
195
 
194
196
  # Set Headers
195
197
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -239,8 +241,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
239
241
  # will be added to the HTTP request.
240
242
  #
241
243
  #
242
- def update_storage_account(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
243
- response = update_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
244
+ def update_storage_account(resource_group_name, account_name, storage_account_name, parameters, custom_headers:nil)
245
+ response = update_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers:custom_headers).value!
244
246
  nil
245
247
  end
246
248
 
@@ -260,8 +262,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
260
262
  #
261
263
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
262
264
  #
263
- def update_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
264
- update_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
265
+ def update_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, parameters, custom_headers:nil)
266
+ update_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers:custom_headers).value!
265
267
  end
266
268
 
267
269
  #
@@ -280,7 +282,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
280
282
  #
281
283
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
282
284
  #
283
- def update_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
285
+ def update_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers:nil)
284
286
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
285
287
  fail ArgumentError, 'account_name is nil' if account_name.nil?
286
288
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -290,13 +292,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
290
292
 
291
293
 
292
294
  request_headers = {}
295
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
293
296
 
294
297
  # Set Headers
295
298
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
296
299
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
297
300
 
298
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
299
-
300
301
  # Serialize Request
301
302
  request_mapper = Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::Models::AddStorageAccountParameters.mapper()
302
303
  request_content = @client.serialize(request_mapper, parameters)
@@ -349,8 +350,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
349
350
  # will be added to the HTTP request.
350
351
  #
351
352
  #
352
- def add_storage_account(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
353
- response = add_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
353
+ def add_storage_account(resource_group_name, account_name, storage_account_name, parameters, custom_headers:nil)
354
+ response = add_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers:custom_headers).value!
354
355
  nil
355
356
  end
356
357
 
@@ -371,8 +372,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
371
372
  #
372
373
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
373
374
  #
374
- def add_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
375
- add_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers).value!
375
+ def add_storage_account_with_http_info(resource_group_name, account_name, storage_account_name, parameters, custom_headers:nil)
376
+ add_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers:custom_headers).value!
376
377
  end
377
378
 
378
379
  #
@@ -392,7 +393,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
392
393
  #
393
394
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
394
395
  #
395
- def add_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers = nil)
396
+ def add_storage_account_async(resource_group_name, account_name, storage_account_name, parameters, custom_headers:nil)
396
397
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
397
398
  fail ArgumentError, 'account_name is nil' if account_name.nil?
398
399
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -402,13 +403,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
402
403
 
403
404
 
404
405
  request_headers = {}
406
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
405
407
 
406
408
  # Set Headers
407
409
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
408
410
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
409
411
 
410
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
411
-
412
412
  # Serialize Request
413
413
  request_mapper = Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::Models::AddStorageAccountParameters.mapper()
414
414
  request_content = @client.serialize(request_mapper, parameters)
@@ -462,8 +462,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
462
462
  #
463
463
  # @return [BlobContainer] operation results.
464
464
  #
465
- def get_storage_container(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
466
- response = get_storage_container_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers).value!
465
+ def get_storage_container(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
466
+ response = get_storage_container_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers:custom_headers).value!
467
467
  response.body unless response.nil?
468
468
  end
469
469
 
@@ -484,8 +484,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
484
484
  #
485
485
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
486
486
  #
487
- def get_storage_container_with_http_info(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
488
- get_storage_container_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers).value!
487
+ def get_storage_container_with_http_info(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
488
+ get_storage_container_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers:custom_headers).value!
489
489
  end
490
490
 
491
491
  #
@@ -505,7 +505,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
505
505
  #
506
506
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
507
507
  #
508
- def get_storage_container_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
508
+ def get_storage_container_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
509
509
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
510
510
  fail ArgumentError, 'account_name is nil' if account_name.nil?
511
511
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -515,6 +515,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
515
515
 
516
516
 
517
517
  request_headers = {}
518
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
518
519
 
519
520
  # Set Headers
520
521
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -575,8 +576,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
575
576
  #
576
577
  # @return [Array<BlobContainer>] operation results.
577
578
  #
578
- def list_storage_containers(resource_group_name, account_name, storage_account_name, custom_headers = nil)
579
- first_page = list_storage_containers_as_lazy(resource_group_name, account_name, storage_account_name, custom_headers)
579
+ def list_storage_containers(resource_group_name, account_name, storage_account_name, custom_headers:nil)
580
+ first_page = list_storage_containers_as_lazy(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers)
580
581
  first_page.get_all_items
581
582
  end
582
583
 
@@ -596,8 +597,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
596
597
  #
597
598
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
598
599
  #
599
- def list_storage_containers_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers = nil)
600
- list_storage_containers_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
600
+ def list_storage_containers_with_http_info(resource_group_name, account_name, storage_account_name, custom_headers:nil)
601
+ list_storage_containers_async(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers).value!
601
602
  end
602
603
 
603
604
  #
@@ -616,7 +617,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
616
617
  #
617
618
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
618
619
  #
619
- def list_storage_containers_async(resource_group_name, account_name, storage_account_name, custom_headers = nil)
620
+ def list_storage_containers_async(resource_group_name, account_name, storage_account_name, custom_headers:nil)
620
621
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
621
622
  fail ArgumentError, 'account_name is nil' if account_name.nil?
622
623
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -625,6 +626,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
625
626
 
626
627
 
627
628
  request_headers = {}
629
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
628
630
 
629
631
  # Set Headers
630
632
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -686,8 +688,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
686
688
  #
687
689
  # @return [Array<SasTokenInfo>] operation results.
688
690
  #
689
- def list_sas_tokens(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
690
- first_page = list_sas_tokens_as_lazy(resource_group_name, account_name, storage_account_name, container_name, custom_headers)
691
+ def list_sas_tokens(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
692
+ first_page = list_sas_tokens_as_lazy(resource_group_name, account_name, storage_account_name, container_name, custom_headers:custom_headers)
691
693
  first_page.get_all_items
692
694
  end
693
695
 
@@ -708,8 +710,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
708
710
  #
709
711
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
710
712
  #
711
- def list_sas_tokens_with_http_info(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
712
- list_sas_tokens_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers).value!
713
+ def list_sas_tokens_with_http_info(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
714
+ list_sas_tokens_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers:custom_headers).value!
713
715
  end
714
716
 
715
717
  #
@@ -729,7 +731,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
729
731
  #
730
732
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
731
733
  #
732
- def list_sas_tokens_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
734
+ def list_sas_tokens_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
733
735
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
734
736
  fail ArgumentError, 'account_name is nil' if account_name.nil?
735
737
  fail ArgumentError, 'storage_account_name is nil' if storage_account_name.nil?
@@ -739,6 +741,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
739
741
 
740
742
 
741
743
  request_headers = {}
744
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
742
745
 
743
746
  # Set Headers
744
747
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -798,8 +801,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
798
801
  #
799
802
  # @return [DataLakeStoreAccountInfo] operation results.
800
803
  #
801
- def get_data_lake_store_account(resource_group_name, account_name, data_lake_store_account_name, custom_headers = nil)
802
- response = get_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers).value!
804
+ def get_data_lake_store_account(resource_group_name, account_name, data_lake_store_account_name, custom_headers:nil)
805
+ response = get_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers:custom_headers).value!
803
806
  response.body unless response.nil?
804
807
  end
805
808
 
@@ -818,8 +821,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
818
821
  #
819
822
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
820
823
  #
821
- def get_data_lake_store_account_with_http_info(resource_group_name, account_name, data_lake_store_account_name, custom_headers = nil)
822
- get_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers).value!
824
+ def get_data_lake_store_account_with_http_info(resource_group_name, account_name, data_lake_store_account_name, custom_headers:nil)
825
+ get_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers:custom_headers).value!
823
826
  end
824
827
 
825
828
  #
@@ -837,7 +840,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
837
840
  #
838
841
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
839
842
  #
840
- def get_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers = nil)
843
+ def get_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers:nil)
841
844
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
842
845
  fail ArgumentError, 'account_name is nil' if account_name.nil?
843
846
  fail ArgumentError, 'data_lake_store_account_name is nil' if data_lake_store_account_name.nil?
@@ -846,6 +849,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
846
849
 
847
850
 
848
851
  request_headers = {}
852
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
849
853
 
850
854
  # Set Headers
851
855
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -904,8 +908,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
904
908
  # will be added to the HTTP request.
905
909
  #
906
910
  #
907
- def delete_data_lake_store_account(resource_group_name, account_name, data_lake_store_account_name, custom_headers = nil)
908
- response = delete_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers).value!
911
+ def delete_data_lake_store_account(resource_group_name, account_name, data_lake_store_account_name, custom_headers:nil)
912
+ response = delete_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers:custom_headers).value!
909
913
  nil
910
914
  end
911
915
 
@@ -924,8 +928,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
924
928
  #
925
929
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
926
930
  #
927
- def delete_data_lake_store_account_with_http_info(resource_group_name, account_name, data_lake_store_account_name, custom_headers = nil)
928
- delete_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers).value!
931
+ def delete_data_lake_store_account_with_http_info(resource_group_name, account_name, data_lake_store_account_name, custom_headers:nil)
932
+ delete_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers:custom_headers).value!
929
933
  end
930
934
 
931
935
  #
@@ -943,7 +947,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
943
947
  #
944
948
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
945
949
  #
946
- def delete_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers = nil)
950
+ def delete_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, custom_headers:nil)
947
951
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
948
952
  fail ArgumentError, 'account_name is nil' if account_name.nil?
949
953
  fail ArgumentError, 'data_lake_store_account_name is nil' if data_lake_store_account_name.nil?
@@ -952,6 +956,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
952
956
 
953
957
 
954
958
  request_headers = {}
959
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
955
960
 
956
961
  # Set Headers
957
962
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1002,8 +1007,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1002
1007
  # will be added to the HTTP request.
1003
1008
  #
1004
1009
  #
1005
- def add_data_lake_store_account(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers = nil)
1006
- response = add_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers).value!
1010
+ def add_data_lake_store_account(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers:nil)
1011
+ response = add_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers:custom_headers).value!
1007
1012
  nil
1008
1013
  end
1009
1014
 
@@ -1024,8 +1029,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1024
1029
  #
1025
1030
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1026
1031
  #
1027
- def add_data_lake_store_account_with_http_info(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers = nil)
1028
- add_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers).value!
1032
+ def add_data_lake_store_account_with_http_info(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers:nil)
1033
+ add_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers:custom_headers).value!
1029
1034
  end
1030
1035
 
1031
1036
  #
@@ -1045,7 +1050,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1045
1050
  #
1046
1051
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1047
1052
  #
1048
- def add_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers = nil)
1053
+ def add_data_lake_store_account_async(resource_group_name, account_name, data_lake_store_account_name, parameters, custom_headers:nil)
1049
1054
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1050
1055
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1051
1056
  fail ArgumentError, 'data_lake_store_account_name is nil' if data_lake_store_account_name.nil?
@@ -1055,13 +1060,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1055
1060
 
1056
1061
 
1057
1062
  request_headers = {}
1063
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1058
1064
 
1059
1065
  # Set Headers
1060
1066
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1061
1067
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1062
1068
 
1063
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1064
-
1065
1069
  # Serialize Request
1066
1070
  request_mapper = Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::Models::AddDataLakeStoreParameters.mapper()
1067
1071
  request_content = @client.serialize(request_mapper, parameters)
@@ -1135,8 +1139,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1135
1139
  #
1136
1140
  # @return [Array<StorageAccountInfo>] operation results.
1137
1141
  #
1138
- def list_storage_accounts(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1139
- first_page = list_storage_accounts_as_lazy(resource_group_name, account_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers)
1142
+ def list_storage_accounts(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1143
+ first_page = list_storage_accounts_as_lazy(resource_group_name, account_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers)
1140
1144
  first_page.get_all_items
1141
1145
  end
1142
1146
 
@@ -1177,8 +1181,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1177
1181
  #
1178
1182
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1179
1183
  #
1180
- def list_storage_accounts_with_http_info(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1181
- list_storage_accounts_async(resource_group_name, account_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
1184
+ def list_storage_accounts_with_http_info(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1185
+ list_storage_accounts_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
1182
1186
  end
1183
1187
 
1184
1188
  #
@@ -1218,7 +1222,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1218
1222
  #
1219
1223
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1220
1224
  #
1221
- def list_storage_accounts_async(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1225
+ def list_storage_accounts_async(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1222
1226
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1223
1227
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1224
1228
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1226,6 +1230,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1226
1230
 
1227
1231
 
1228
1232
  request_headers = {}
1233
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1229
1234
 
1230
1235
  # Set Headers
1231
1236
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1307,8 +1312,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1307
1312
  #
1308
1313
  # @return [Array<DataLakeStoreAccountInfo>] operation results.
1309
1314
  #
1310
- def list_data_lake_store_accounts(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1311
- first_page = list_data_lake_store_accounts_as_lazy(resource_group_name, account_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers)
1315
+ def list_data_lake_store_accounts(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1316
+ first_page = list_data_lake_store_accounts_as_lazy(resource_group_name, account_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers)
1312
1317
  first_page.get_all_items
1313
1318
  end
1314
1319
 
@@ -1349,8 +1354,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1349
1354
  #
1350
1355
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1351
1356
  #
1352
- def list_data_lake_store_accounts_with_http_info(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1353
- list_data_lake_store_accounts_async(resource_group_name, account_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
1357
+ def list_data_lake_store_accounts_with_http_info(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1358
+ list_data_lake_store_accounts_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
1354
1359
  end
1355
1360
 
1356
1361
  #
@@ -1390,7 +1395,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1390
1395
  #
1391
1396
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1392
1397
  #
1393
- def list_data_lake_store_accounts_async(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1398
+ def list_data_lake_store_accounts_async(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1394
1399
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1395
1400
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1396
1401
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1398,6 +1403,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1398
1403
 
1399
1404
 
1400
1405
  request_headers = {}
1406
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1401
1407
 
1402
1408
  # Set Headers
1403
1409
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1476,8 +1482,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1476
1482
  #
1477
1483
  # @return [Array<DataLakeAnalyticsAccount>] operation results.
1478
1484
  #
1479
- def list_by_resource_group(resource_group_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1480
- first_page = list_by_resource_group_as_lazy(resource_group_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers)
1485
+ def list_by_resource_group(resource_group_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1486
+ first_page = list_by_resource_group_as_lazy(resource_group_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers)
1481
1487
  first_page.get_all_items
1482
1488
  end
1483
1489
 
@@ -1515,8 +1521,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1515
1521
  #
1516
1522
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1517
1523
  #
1518
- def list_by_resource_group_with_http_info(resource_group_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1519
- list_by_resource_group_async(resource_group_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
1524
+ def list_by_resource_group_with_http_info(resource_group_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1525
+ list_by_resource_group_async(resource_group_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
1520
1526
  end
1521
1527
 
1522
1528
  #
@@ -1553,13 +1559,14 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1553
1559
  #
1554
1560
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1555
1561
  #
1556
- def list_by_resource_group_async(resource_group_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1562
+ def list_by_resource_group_async(resource_group_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1557
1563
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1558
1564
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1559
1565
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1560
1566
 
1561
1567
 
1562
1568
  request_headers = {}
1569
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1563
1570
 
1564
1571
  # Set Headers
1565
1572
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1636,8 +1643,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1636
1643
  #
1637
1644
  # @return [Array<DataLakeAnalyticsAccount>] operation results.
1638
1645
  #
1639
- def list(filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1640
- first_page = list_as_lazy(filter, top, skip, expand, select, orderby, count, search, format, custom_headers)
1646
+ def list(filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1647
+ first_page = list_as_lazy(filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers)
1641
1648
  first_page.get_all_items
1642
1649
  end
1643
1650
 
@@ -1673,8 +1680,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1673
1680
  #
1674
1681
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1675
1682
  #
1676
- def list_with_http_info(filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1677
- list_async(filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
1683
+ def list_with_http_info(filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1684
+ list_async(filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
1678
1685
  end
1679
1686
 
1680
1687
  #
@@ -1709,12 +1716,13 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1709
1716
  #
1710
1717
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1711
1718
  #
1712
- def list_async(filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1719
+ def list_async(filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1713
1720
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1714
1721
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1715
1722
 
1716
1723
 
1717
1724
  request_headers = {}
1725
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1718
1726
 
1719
1727
  # Set Headers
1720
1728
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1771,8 +1779,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1771
1779
  #
1772
1780
  # @return [DataLakeAnalyticsAccount] operation results.
1773
1781
  #
1774
- def get(resource_group_name, account_name, custom_headers = nil)
1775
- response = get_async(resource_group_name, account_name, custom_headers).value!
1782
+ def get(resource_group_name, account_name, custom_headers:nil)
1783
+ response = get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
1776
1784
  response.body unless response.nil?
1777
1785
  end
1778
1786
 
@@ -1788,8 +1796,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1788
1796
  #
1789
1797
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1790
1798
  #
1791
- def get_with_http_info(resource_group_name, account_name, custom_headers = nil)
1792
- get_async(resource_group_name, account_name, custom_headers).value!
1799
+ def get_with_http_info(resource_group_name, account_name, custom_headers:nil)
1800
+ get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
1793
1801
  end
1794
1802
 
1795
1803
  #
@@ -1804,7 +1812,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1804
1812
  #
1805
1813
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1806
1814
  #
1807
- def get_async(resource_group_name, account_name, custom_headers = nil)
1815
+ def get_async(resource_group_name, account_name, custom_headers:nil)
1808
1816
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1809
1817
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1810
1818
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1812,6 +1820,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1812
1820
 
1813
1821
 
1814
1822
  request_headers = {}
1823
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1815
1824
 
1816
1825
  # Set Headers
1817
1826
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1867,8 +1876,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1867
1876
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
1868
1877
  # will be added to the HTTP request.
1869
1878
  #
1870
- def delete(resource_group_name, account_name, custom_headers = nil)
1871
- response = delete_async(resource_group_name, account_name, custom_headers).value!
1879
+ def delete(resource_group_name, account_name, custom_headers:nil)
1880
+ response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
1872
1881
  nil
1873
1882
  end
1874
1883
 
@@ -1883,9 +1892,9 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1883
1892
  # @return [Concurrent::Promise] promise which provides async access to http
1884
1893
  # response.
1885
1894
  #
1886
- def delete_async(resource_group_name, account_name, custom_headers = nil)
1895
+ def delete_async(resource_group_name, account_name, custom_headers:nil)
1887
1896
  # Send request
1888
- promise = begin_delete_async(resource_group_name, account_name, custom_headers)
1897
+ promise = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers)
1889
1898
 
1890
1899
  promise = promise.then do |response|
1891
1900
  # Defining deserialization method.
@@ -1913,8 +1922,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1913
1922
  #
1914
1923
  # @return [DataLakeAnalyticsAccount] operation results.
1915
1924
  #
1916
- def create(resource_group_name, name, parameters, custom_headers = nil)
1917
- response = create_async(resource_group_name, name, parameters, custom_headers).value!
1925
+ def create(resource_group_name, name, parameters, custom_headers:nil)
1926
+ response = create_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
1918
1927
  response.body unless response.nil?
1919
1928
  end
1920
1929
 
@@ -1930,9 +1939,9 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1930
1939
  # @return [Concurrent::Promise] promise which provides async access to http
1931
1940
  # response.
1932
1941
  #
1933
- def create_async(resource_group_name, name, parameters, custom_headers = nil)
1942
+ def create_async(resource_group_name, name, parameters, custom_headers:nil)
1934
1943
  # Send request
1935
- promise = begin_create_async(resource_group_name, name, parameters, custom_headers)
1944
+ promise = begin_create_async(resource_group_name, name, parameters, custom_headers:custom_headers)
1936
1945
 
1937
1946
  promise = promise.then do |response|
1938
1947
  # Defining deserialization method.
@@ -1962,8 +1971,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1962
1971
  #
1963
1972
  # @return [DataLakeAnalyticsAccount] operation results.
1964
1973
  #
1965
- def update(resource_group_name, name, parameters, custom_headers = nil)
1966
- response = update_async(resource_group_name, name, parameters, custom_headers).value!
1974
+ def update(resource_group_name, name, parameters, custom_headers:nil)
1975
+ response = update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
1967
1976
  response.body unless response.nil?
1968
1977
  end
1969
1978
 
@@ -1979,9 +1988,9 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
1979
1988
  # @return [Concurrent::Promise] promise which provides async access to http
1980
1989
  # response.
1981
1990
  #
1982
- def update_async(resource_group_name, name, parameters, custom_headers = nil)
1991
+ def update_async(resource_group_name, name, parameters, custom_headers:nil)
1983
1992
  # Send request
1984
- promise = begin_update_async(resource_group_name, name, parameters, custom_headers)
1993
+ promise = begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers)
1985
1994
 
1986
1995
  promise = promise.then do |response|
1987
1996
  # Defining deserialization method.
@@ -2009,8 +2018,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2009
2018
  # will be added to the HTTP request.
2010
2019
  #
2011
2020
  #
2012
- def begin_delete(resource_group_name, account_name, custom_headers = nil)
2013
- response = begin_delete_async(resource_group_name, account_name, custom_headers).value!
2021
+ def begin_delete(resource_group_name, account_name, custom_headers:nil)
2022
+ response = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
2014
2023
  nil
2015
2024
  end
2016
2025
 
@@ -2027,8 +2036,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2027
2036
  #
2028
2037
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2029
2038
  #
2030
- def begin_delete_with_http_info(resource_group_name, account_name, custom_headers = nil)
2031
- begin_delete_async(resource_group_name, account_name, custom_headers).value!
2039
+ def begin_delete_with_http_info(resource_group_name, account_name, custom_headers:nil)
2040
+ begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
2032
2041
  end
2033
2042
 
2034
2043
  #
@@ -2044,7 +2053,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2044
2053
  #
2045
2054
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2046
2055
  #
2047
- def begin_delete_async(resource_group_name, account_name, custom_headers = nil)
2056
+ def begin_delete_async(resource_group_name, account_name, custom_headers:nil)
2048
2057
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2049
2058
  fail ArgumentError, 'account_name is nil' if account_name.nil?
2050
2059
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -2052,6 +2061,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2052
2061
 
2053
2062
 
2054
2063
  request_headers = {}
2064
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2055
2065
 
2056
2066
  # Set Headers
2057
2067
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2100,8 +2110,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2100
2110
  #
2101
2111
  # @return [DataLakeAnalyticsAccount] operation results.
2102
2112
  #
2103
- def begin_create(resource_group_name, name, parameters, custom_headers = nil)
2104
- response = begin_create_async(resource_group_name, name, parameters, custom_headers).value!
2113
+ def begin_create(resource_group_name, name, parameters, custom_headers:nil)
2114
+ response = begin_create_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
2105
2115
  response.body unless response.nil?
2106
2116
  end
2107
2117
 
@@ -2119,8 +2129,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2119
2129
  #
2120
2130
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2121
2131
  #
2122
- def begin_create_with_http_info(resource_group_name, name, parameters, custom_headers = nil)
2123
- begin_create_async(resource_group_name, name, parameters, custom_headers).value!
2132
+ def begin_create_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
2133
+ begin_create_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
2124
2134
  end
2125
2135
 
2126
2136
  #
@@ -2137,7 +2147,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2137
2147
  #
2138
2148
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2139
2149
  #
2140
- def begin_create_async(resource_group_name, name, parameters, custom_headers = nil)
2150
+ def begin_create_async(resource_group_name, name, parameters, custom_headers:nil)
2141
2151
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2142
2152
  fail ArgumentError, 'name is nil' if name.nil?
2143
2153
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -2146,13 +2156,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2146
2156
 
2147
2157
 
2148
2158
  request_headers = {}
2159
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2149
2160
 
2150
2161
  # Set Headers
2151
2162
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2152
2163
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2153
2164
 
2154
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
2155
-
2156
2165
  # Serialize Request
2157
2166
  request_mapper = Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::Models::DataLakeAnalyticsAccount.mapper()
2158
2167
  request_content = @client.serialize(request_mapper, parameters)
@@ -2223,8 +2232,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2223
2232
  #
2224
2233
  # @return [DataLakeAnalyticsAccount] operation results.
2225
2234
  #
2226
- def begin_update(resource_group_name, name, parameters, custom_headers = nil)
2227
- response = begin_update_async(resource_group_name, name, parameters, custom_headers).value!
2235
+ def begin_update(resource_group_name, name, parameters, custom_headers:nil)
2236
+ response = begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
2228
2237
  response.body unless response.nil?
2229
2238
  end
2230
2239
 
@@ -2242,8 +2251,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2242
2251
  #
2243
2252
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2244
2253
  #
2245
- def begin_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil)
2246
- begin_update_async(resource_group_name, name, parameters, custom_headers).value!
2254
+ def begin_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
2255
+ begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
2247
2256
  end
2248
2257
 
2249
2258
  #
@@ -2260,7 +2269,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2260
2269
  #
2261
2270
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2262
2271
  #
2263
- def begin_update_async(resource_group_name, name, parameters, custom_headers = nil)
2272
+ def begin_update_async(resource_group_name, name, parameters, custom_headers:nil)
2264
2273
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
2265
2274
  fail ArgumentError, 'name is nil' if name.nil?
2266
2275
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -2269,13 +2278,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2269
2278
 
2270
2279
 
2271
2280
  request_headers = {}
2281
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2272
2282
 
2273
2283
  # Set Headers
2274
2284
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
2275
2285
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
2276
2286
 
2277
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
2278
-
2279
2287
  # Serialize Request
2280
2288
  request_mapper = Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview::Models::DataLakeAnalyticsAccount.mapper()
2281
2289
  request_content = @client.serialize(request_mapper, parameters)
@@ -2344,8 +2352,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2344
2352
  #
2345
2353
  # @return [ListBlobContainersResult] operation results.
2346
2354
  #
2347
- def list_storage_containers_next(next_page_link, custom_headers = nil)
2348
- response = list_storage_containers_next_async(next_page_link, custom_headers).value!
2355
+ def list_storage_containers_next(next_page_link, custom_headers:nil)
2356
+ response = list_storage_containers_next_async(next_page_link, custom_headers:custom_headers).value!
2349
2357
  response.body unless response.nil?
2350
2358
  end
2351
2359
 
@@ -2361,8 +2369,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2361
2369
  #
2362
2370
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2363
2371
  #
2364
- def list_storage_containers_next_with_http_info(next_page_link, custom_headers = nil)
2365
- list_storage_containers_next_async(next_page_link, custom_headers).value!
2372
+ def list_storage_containers_next_with_http_info(next_page_link, custom_headers:nil)
2373
+ list_storage_containers_next_async(next_page_link, custom_headers:custom_headers).value!
2366
2374
  end
2367
2375
 
2368
2376
  #
@@ -2377,11 +2385,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2377
2385
  #
2378
2386
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2379
2387
  #
2380
- def list_storage_containers_next_async(next_page_link, custom_headers = nil)
2388
+ def list_storage_containers_next_async(next_page_link, custom_headers:nil)
2381
2389
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2382
2390
 
2383
2391
 
2384
2392
  request_headers = {}
2393
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2385
2394
 
2386
2395
  # Set Headers
2387
2396
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2436,8 +2445,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2436
2445
  #
2437
2446
  # @return [ListSasTokensResult] operation results.
2438
2447
  #
2439
- def list_sas_tokens_next(next_page_link, custom_headers = nil)
2440
- response = list_sas_tokens_next_async(next_page_link, custom_headers).value!
2448
+ def list_sas_tokens_next(next_page_link, custom_headers:nil)
2449
+ response = list_sas_tokens_next_async(next_page_link, custom_headers:custom_headers).value!
2441
2450
  response.body unless response.nil?
2442
2451
  end
2443
2452
 
@@ -2452,8 +2461,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2452
2461
  #
2453
2462
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2454
2463
  #
2455
- def list_sas_tokens_next_with_http_info(next_page_link, custom_headers = nil)
2456
- list_sas_tokens_next_async(next_page_link, custom_headers).value!
2464
+ def list_sas_tokens_next_with_http_info(next_page_link, custom_headers:nil)
2465
+ list_sas_tokens_next_async(next_page_link, custom_headers:custom_headers).value!
2457
2466
  end
2458
2467
 
2459
2468
  #
@@ -2467,11 +2476,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2467
2476
  #
2468
2477
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2469
2478
  #
2470
- def list_sas_tokens_next_async(next_page_link, custom_headers = nil)
2479
+ def list_sas_tokens_next_async(next_page_link, custom_headers:nil)
2471
2480
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2472
2481
 
2473
2482
 
2474
2483
  request_headers = {}
2484
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2475
2485
 
2476
2486
  # Set Headers
2477
2487
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2528,8 +2538,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2528
2538
  # @return [DataLakeAnalyticsAccountListStorageAccountsResult] operation
2529
2539
  # results.
2530
2540
  #
2531
- def list_storage_accounts_next(next_page_link, custom_headers = nil)
2532
- response = list_storage_accounts_next_async(next_page_link, custom_headers).value!
2541
+ def list_storage_accounts_next(next_page_link, custom_headers:nil)
2542
+ response = list_storage_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
2533
2543
  response.body unless response.nil?
2534
2544
  end
2535
2545
 
@@ -2545,8 +2555,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2545
2555
  #
2546
2556
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2547
2557
  #
2548
- def list_storage_accounts_next_with_http_info(next_page_link, custom_headers = nil)
2549
- list_storage_accounts_next_async(next_page_link, custom_headers).value!
2558
+ def list_storage_accounts_next_with_http_info(next_page_link, custom_headers:nil)
2559
+ list_storage_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
2550
2560
  end
2551
2561
 
2552
2562
  #
@@ -2561,11 +2571,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2561
2571
  #
2562
2572
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2563
2573
  #
2564
- def list_storage_accounts_next_async(next_page_link, custom_headers = nil)
2574
+ def list_storage_accounts_next_async(next_page_link, custom_headers:nil)
2565
2575
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2566
2576
 
2567
2577
 
2568
2578
  request_headers = {}
2579
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2569
2580
 
2570
2581
  # Set Headers
2571
2582
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2621,8 +2632,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2621
2632
  #
2622
2633
  # @return [DataLakeAnalyticsAccountListDataLakeStoreResult] operation results.
2623
2634
  #
2624
- def list_data_lake_store_accounts_next(next_page_link, custom_headers = nil)
2625
- response = list_data_lake_store_accounts_next_async(next_page_link, custom_headers).value!
2635
+ def list_data_lake_store_accounts_next(next_page_link, custom_headers:nil)
2636
+ response = list_data_lake_store_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
2626
2637
  response.body unless response.nil?
2627
2638
  end
2628
2639
 
@@ -2638,8 +2649,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2638
2649
  #
2639
2650
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2640
2651
  #
2641
- def list_data_lake_store_accounts_next_with_http_info(next_page_link, custom_headers = nil)
2642
- list_data_lake_store_accounts_next_async(next_page_link, custom_headers).value!
2652
+ def list_data_lake_store_accounts_next_with_http_info(next_page_link, custom_headers:nil)
2653
+ list_data_lake_store_accounts_next_async(next_page_link, custom_headers:custom_headers).value!
2643
2654
  end
2644
2655
 
2645
2656
  #
@@ -2654,11 +2665,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2654
2665
  #
2655
2666
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2656
2667
  #
2657
- def list_data_lake_store_accounts_next_async(next_page_link, custom_headers = nil)
2668
+ def list_data_lake_store_accounts_next_async(next_page_link, custom_headers:nil)
2658
2669
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2659
2670
 
2660
2671
 
2661
2672
  request_headers = {}
2673
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2662
2674
 
2663
2675
  # Set Headers
2664
2676
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2713,8 +2725,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2713
2725
  #
2714
2726
  # @return [DataLakeAnalyticsAccountListResult] operation results.
2715
2727
  #
2716
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
2717
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
2728
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
2729
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
2718
2730
  response.body unless response.nil?
2719
2731
  end
2720
2732
 
@@ -2729,8 +2741,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2729
2741
  #
2730
2742
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2731
2743
  #
2732
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
2733
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
2744
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
2745
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
2734
2746
  end
2735
2747
 
2736
2748
  #
@@ -2744,11 +2756,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2744
2756
  #
2745
2757
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2746
2758
  #
2747
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
2759
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
2748
2760
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2749
2761
 
2750
2762
 
2751
2763
  request_headers = {}
2764
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2752
2765
 
2753
2766
  # Set Headers
2754
2767
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2803,8 +2816,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2803
2816
  #
2804
2817
  # @return [DataLakeAnalyticsAccountListResult] operation results.
2805
2818
  #
2806
- def list_next(next_page_link, custom_headers = nil)
2807
- response = list_next_async(next_page_link, custom_headers).value!
2819
+ def list_next(next_page_link, custom_headers:nil)
2820
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
2808
2821
  response.body unless response.nil?
2809
2822
  end
2810
2823
 
@@ -2819,8 +2832,8 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2819
2832
  #
2820
2833
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
2821
2834
  #
2822
- def list_next_with_http_info(next_page_link, custom_headers = nil)
2823
- list_next_async(next_page_link, custom_headers).value!
2835
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
2836
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
2824
2837
  end
2825
2838
 
2826
2839
  #
@@ -2834,11 +2847,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2834
2847
  #
2835
2848
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
2836
2849
  #
2837
- def list_next_async(next_page_link, custom_headers = nil)
2850
+ def list_next_async(next_page_link, custom_headers:nil)
2838
2851
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
2839
2852
 
2840
2853
 
2841
2854
  request_headers = {}
2855
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
2842
2856
 
2843
2857
  # Set Headers
2844
2858
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -2899,12 +2913,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2899
2913
  # @return [ListBlobContainersResult] which provide lazy access to pages of the
2900
2914
  # response.
2901
2915
  #
2902
- def list_storage_containers_as_lazy(resource_group_name, account_name, storage_account_name, custom_headers = nil)
2903
- response = list_storage_containers_async(resource_group_name, account_name, storage_account_name, custom_headers).value!
2916
+ def list_storage_containers_as_lazy(resource_group_name, account_name, storage_account_name, custom_headers:nil)
2917
+ response = list_storage_containers_async(resource_group_name, account_name, storage_account_name, custom_headers:custom_headers).value!
2904
2918
  unless response.nil?
2905
2919
  page = response.body
2906
2920
  page.next_method = Proc.new do |next_page_link|
2907
- list_storage_containers_next_async(next_page_link, custom_headers)
2921
+ list_storage_containers_next_async(next_page_link, custom_headers:custom_headers)
2908
2922
  end
2909
2923
  page
2910
2924
  end
@@ -2928,12 +2942,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2928
2942
  # @return [ListSasTokensResult] which provide lazy access to pages of the
2929
2943
  # response.
2930
2944
  #
2931
- def list_sas_tokens_as_lazy(resource_group_name, account_name, storage_account_name, container_name, custom_headers = nil)
2932
- response = list_sas_tokens_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers).value!
2945
+ def list_sas_tokens_as_lazy(resource_group_name, account_name, storage_account_name, container_name, custom_headers:nil)
2946
+ response = list_sas_tokens_async(resource_group_name, account_name, storage_account_name, container_name, custom_headers:custom_headers).value!
2933
2947
  unless response.nil?
2934
2948
  page = response.body
2935
2949
  page.next_method = Proc.new do |next_page_link|
2936
- list_sas_tokens_next_async(next_page_link, custom_headers)
2950
+ list_sas_tokens_next_async(next_page_link, custom_headers:custom_headers)
2937
2951
  end
2938
2952
  page
2939
2953
  end
@@ -2977,12 +2991,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
2977
2991
  # @return [DataLakeAnalyticsAccountListStorageAccountsResult] which provide
2978
2992
  # lazy access to pages of the response.
2979
2993
  #
2980
- def list_storage_accounts_as_lazy(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
2981
- response = list_storage_accounts_async(resource_group_name, account_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
2994
+ def list_storage_accounts_as_lazy(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
2995
+ response = list_storage_accounts_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
2982
2996
  unless response.nil?
2983
2997
  page = response.body
2984
2998
  page.next_method = Proc.new do |next_page_link|
2985
- list_storage_accounts_next_async(next_page_link, custom_headers)
2999
+ list_storage_accounts_next_async(next_page_link, custom_headers:custom_headers)
2986
3000
  end
2987
3001
  page
2988
3002
  end
@@ -3026,12 +3040,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
3026
3040
  # @return [DataLakeAnalyticsAccountListDataLakeStoreResult] which provide lazy
3027
3041
  # access to pages of the response.
3028
3042
  #
3029
- def list_data_lake_store_accounts_as_lazy(resource_group_name, account_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
3030
- response = list_data_lake_store_accounts_async(resource_group_name, account_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
3043
+ def list_data_lake_store_accounts_as_lazy(resource_group_name, account_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
3044
+ response = list_data_lake_store_accounts_async(resource_group_name, account_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
3031
3045
  unless response.nil?
3032
3046
  page = response.body
3033
3047
  page.next_method = Proc.new do |next_page_link|
3034
- list_data_lake_store_accounts_next_async(next_page_link, custom_headers)
3048
+ list_data_lake_store_accounts_next_async(next_page_link, custom_headers:custom_headers)
3035
3049
  end
3036
3050
  page
3037
3051
  end
@@ -3072,12 +3086,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
3072
3086
  # @return [DataLakeAnalyticsAccountListResult] which provide lazy access to
3073
3087
  # pages of the response.
3074
3088
  #
3075
- def list_by_resource_group_as_lazy(resource_group_name, filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
3076
- response = list_by_resource_group_async(resource_group_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
3089
+ def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
3090
+ response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
3077
3091
  unless response.nil?
3078
3092
  page = response.body
3079
3093
  page.next_method = Proc.new do |next_page_link|
3080
- list_by_resource_group_next_async(next_page_link, custom_headers)
3094
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
3081
3095
  end
3082
3096
  page
3083
3097
  end
@@ -3116,12 +3130,12 @@ module Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview
3116
3130
  # @return [DataLakeAnalyticsAccountListResult] which provide lazy access to
3117
3131
  # pages of the response.
3118
3132
  #
3119
- def list_as_lazy(filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
3120
- response = list_async(filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
3133
+ def list_as_lazy(filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
3134
+ response = list_async(filter:filter, top:top, skip:skip, expand:expand, select:select, orderby:orderby, count:count, search:search, format:format, custom_headers:custom_headers).value!
3121
3135
  unless response.nil?
3122
3136
  page = response.body
3123
3137
  page.next_method = Proc.new do |next_page_link|
3124
- list_next_async(next_page_link, custom_headers)
3138
+ list_next_async(next_page_link, custom_headers:custom_headers)
3125
3139
  end
3126
3140
  page
3127
3141
  end