azure_mgmt_datalake_store 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/account.rb +105 -97
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +4 -1
  4. data/lib/2016-11-01/generated/azure_mgmt_datalake_store.rb +28 -12
  5. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/{account.rb → accounts.rb} +491 -402
  6. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +15 -4
  7. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/firewall_rules.rb +171 -201
  8. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/locations.rb +116 -0
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/capability_information.rb +100 -0
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/check_name_availability_parameters.rb +61 -0
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_data_lake_store_account_parameters.rb +216 -0
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_firewall_rule_with_account_parameters.rb +71 -0
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_firewall_rule_parameters.rb +59 -0
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_or_update_trusted_id_provider_parameters.rb +47 -0
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/create_trusted_id_provider_with_account_parameters.rb +60 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb +82 -70
  17. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_basic.rb +21 -19
  18. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb +3 -3
  19. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/firewall_rule.rb +8 -5
  20. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +7 -7
  21. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{error_details.rb → name_availability_information.rb} +21 -20
  22. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation.rb +72 -0
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_display.rb +83 -0
  24. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_list_result.rb +68 -0
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/operation_origin.rb +17 -0
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/resource.rb +9 -7
  27. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/sub_resource.rb +5 -4
  28. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/subscription_state.rb +19 -0
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb +5 -3
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_trusted_id_provider_list_result.rb → trusted_id_provider_list_result.rb} +7 -8
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/{data_lake_store_account_update_parameters.rb → update_data_lake_store_account_parameters.rb} +84 -41
  32. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb +3 -3
  33. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_firewall_rule_with_account_parameters.rb +71 -0
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb +2 -2
  35. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_with_account_parameters.rb +60 -0
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/operations.rb +107 -0
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb +171 -201
  38. data/lib/profiles/latest/datalakestore_latest_profile_client.rb +28 -9
  39. data/lib/profiles/latest/datalakestore_module_definition.rb +0 -1
  40. data/lib/profiles/latest/modules/datalakestore_profile_module.rb +184 -105
  41. data/lib/version.rb +1 -1
  42. metadata +23 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20013d33066553f25e7a5db0593e78d1f4154021
4
- data.tar.gz: 696393e03373d8afaa2b56e7240b9ce555b39c23
3
+ metadata.gz: fb56202af377c91f64591ffbff6195c495a9272e
4
+ data.tar.gz: 25ae8c8095790649c32389ab69c3beb5212ccbe5
5
5
  SHA512:
6
- metadata.gz: 44c2b154020ae567082a503fd662998e0d3f76e3c58188be62ec2092670fa1882702c786b415af45e24f9482d8017795a923205dd13d3b770ab47307180bb563
7
- data.tar.gz: bb369dbcc6f656b9d64d33902a48d98219e97936bbfdd54e2335ac9f6e8199ed43df6092e9aa7238a5fb53df38d3b038b23f004156c93c1e710721b7d1ba4753
6
+ metadata.gz: fce0f9ba718264806afdb32a8c7bbb14e395bf5f1c21dfc1507445c031914d652f7153193fed13244d708ac7c01e606be26f94b7fbd48d689dadada856fb65c6
7
+ data.tar.gz: 13cb68cfd7c1e3288b7463605e1203efa646a61073b2fd8585b391cade2aa7a30e6d634672dab5618a88c281152dc1a1e4c91241da8ba1072ea673c6d5cfd1c1
@@ -34,8 +34,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
34
34
  # will be added to the HTTP request.
35
35
  #
36
36
  #
37
- def delete_firewall_rule(resource_group_name, account_name, firewall_rule_name, custom_headers = nil)
38
- response = delete_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers).value!
37
+ def delete_firewall_rule(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
38
+ response = delete_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers:custom_headers).value!
39
39
  nil
40
40
  end
41
41
 
@@ -53,8 +53,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
53
53
  #
54
54
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
55
55
  #
56
- def delete_firewall_rule_with_http_info(resource_group_name, account_name, firewall_rule_name, custom_headers = nil)
57
- delete_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers).value!
56
+ def delete_firewall_rule_with_http_info(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
57
+ delete_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers:custom_headers).value!
58
58
  end
59
59
 
60
60
  #
@@ -71,7 +71,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
71
71
  #
72
72
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
73
73
  #
74
- def delete_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers = nil)
74
+ def delete_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
75
75
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
76
76
  fail ArgumentError, 'account_name is nil' if account_name.nil?
77
77
  fail ArgumentError, 'firewall_rule_name is nil' if firewall_rule_name.nil?
@@ -80,6 +80,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
80
80
 
81
81
 
82
82
  request_headers = {}
83
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
83
84
 
84
85
  # Set Headers
85
86
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -127,8 +128,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
127
128
  #
128
129
  # @return [FirewallRule] operation results.
129
130
  #
130
- def get_firewall_rule(resource_group_name, account_name, firewall_rule_name, custom_headers = nil)
131
- response = get_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers).value!
131
+ def get_firewall_rule(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
132
+ response = get_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers:custom_headers).value!
132
133
  response.body unless response.nil?
133
134
  end
134
135
 
@@ -145,8 +146,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
145
146
  #
146
147
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
147
148
  #
148
- def get_firewall_rule_with_http_info(resource_group_name, account_name, firewall_rule_name, custom_headers = nil)
149
- get_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers).value!
149
+ def get_firewall_rule_with_http_info(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
150
+ get_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers:custom_headers).value!
150
151
  end
151
152
 
152
153
  #
@@ -162,7 +163,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
162
163
  #
163
164
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
164
165
  #
165
- def get_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers = nil)
166
+ def get_firewall_rule_async(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
166
167
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
167
168
  fail ArgumentError, 'account_name is nil' if account_name.nil?
168
169
  fail ArgumentError, 'firewall_rule_name is nil' if firewall_rule_name.nil?
@@ -171,6 +172,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
171
172
 
172
173
 
173
174
  request_headers = {}
175
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
174
176
 
175
177
  # Set Headers
176
178
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -228,8 +230,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
228
230
  #
229
231
  # @return [Array<FirewallRule>] operation results.
230
232
  #
231
- def list_firewall_rules(resource_group_name, account_name, custom_headers = nil)
232
- first_page = list_firewall_rules_as_lazy(resource_group_name, account_name, custom_headers)
233
+ def list_firewall_rules(resource_group_name, account_name, custom_headers:nil)
234
+ first_page = list_firewall_rules_as_lazy(resource_group_name, account_name, custom_headers:custom_headers)
233
235
  first_page.get_all_items
234
236
  end
235
237
 
@@ -246,8 +248,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
246
248
  #
247
249
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
248
250
  #
249
- def list_firewall_rules_with_http_info(resource_group_name, account_name, custom_headers = nil)
250
- list_firewall_rules_async(resource_group_name, account_name, custom_headers).value!
251
+ def list_firewall_rules_with_http_info(resource_group_name, account_name, custom_headers:nil)
252
+ list_firewall_rules_async(resource_group_name, account_name, custom_headers:custom_headers).value!
251
253
  end
252
254
 
253
255
  #
@@ -263,7 +265,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
263
265
  #
264
266
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
265
267
  #
266
- def list_firewall_rules_async(resource_group_name, account_name, custom_headers = nil)
268
+ def list_firewall_rules_async(resource_group_name, account_name, custom_headers:nil)
267
269
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
268
270
  fail ArgumentError, 'account_name is nil' if account_name.nil?
269
271
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -271,6 +273,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
271
273
 
272
274
 
273
275
  request_headers = {}
276
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
274
277
 
275
278
  # Set Headers
276
279
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -330,8 +333,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
330
333
  #
331
334
  # @return [FirewallRule] operation results.
332
335
  #
333
- def create_or_update_firewall_rule(resource_group_name, account_name, name, parameters, custom_headers = nil)
334
- response = create_or_update_firewall_rule_async(resource_group_name, account_name, name, parameters, custom_headers).value!
336
+ def create_or_update_firewall_rule(resource_group_name, account_name, name, parameters, custom_headers:nil)
337
+ response = create_or_update_firewall_rule_async(resource_group_name, account_name, name, parameters, custom_headers:custom_headers).value!
335
338
  response.body unless response.nil?
336
339
  end
337
340
 
@@ -350,8 +353,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
350
353
  #
351
354
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
352
355
  #
353
- def create_or_update_firewall_rule_with_http_info(resource_group_name, account_name, name, parameters, custom_headers = nil)
354
- create_or_update_firewall_rule_async(resource_group_name, account_name, name, parameters, custom_headers).value!
356
+ def create_or_update_firewall_rule_with_http_info(resource_group_name, account_name, name, parameters, custom_headers:nil)
357
+ create_or_update_firewall_rule_async(resource_group_name, account_name, name, parameters, custom_headers:custom_headers).value!
355
358
  end
356
359
 
357
360
  #
@@ -369,7 +372,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
369
372
  #
370
373
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
371
374
  #
372
- def create_or_update_firewall_rule_async(resource_group_name, account_name, name, parameters, custom_headers = nil)
375
+ def create_or_update_firewall_rule_async(resource_group_name, account_name, name, parameters, custom_headers:nil)
373
376
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
374
377
  fail ArgumentError, 'account_name is nil' if account_name.nil?
375
378
  fail ArgumentError, 'name is nil' if name.nil?
@@ -379,13 +382,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
379
382
 
380
383
 
381
384
  request_headers = {}
385
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
382
386
 
383
387
  # Set Headers
384
388
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
385
389
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
386
390
 
387
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
388
-
389
391
  # Serialize Request
390
392
  request_mapper = Azure::DataLakeStore::Mgmt::V2015_10_01_preview::Models::FirewallRule.mapper()
391
393
  request_content = @client.serialize(request_mapper, parameters)
@@ -445,8 +447,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
445
447
  #
446
448
  # @return [DataLakeStoreAccount] operation results.
447
449
  #
448
- def create(resource_group_name, name, parameters, custom_headers = nil)
449
- response = create_async(resource_group_name, name, parameters, custom_headers).value!
450
+ def create(resource_group_name, name, parameters, custom_headers:nil)
451
+ response = create_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
450
452
  response.body unless response.nil?
451
453
  end
452
454
 
@@ -462,9 +464,9 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
462
464
  # @return [Concurrent::Promise] promise which provides async access to http
463
465
  # response.
464
466
  #
465
- def create_async(resource_group_name, name, parameters, custom_headers = nil)
467
+ def create_async(resource_group_name, name, parameters, custom_headers:nil)
466
468
  # Send request
467
- promise = begin_create_async(resource_group_name, name, parameters, custom_headers)
469
+ promise = begin_create_async(resource_group_name, name, parameters, custom_headers:custom_headers)
468
470
 
469
471
  promise = promise.then do |response|
470
472
  # Defining deserialization method.
@@ -493,8 +495,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
493
495
  #
494
496
  # @return [DataLakeStoreAccount] operation results.
495
497
  #
496
- def update(resource_group_name, name, parameters, custom_headers = nil)
497
- response = update_async(resource_group_name, name, parameters, custom_headers).value!
498
+ def update(resource_group_name, name, parameters, custom_headers:nil)
499
+ response = update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
498
500
  response.body unless response.nil?
499
501
  end
500
502
 
@@ -510,9 +512,9 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
510
512
  # @return [Concurrent::Promise] promise which provides async access to http
511
513
  # response.
512
514
  #
513
- def update_async(resource_group_name, name, parameters, custom_headers = nil)
515
+ def update_async(resource_group_name, name, parameters, custom_headers:nil)
514
516
  # Send request
515
- promise = begin_update_async(resource_group_name, name, parameters, custom_headers)
517
+ promise = begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers)
516
518
 
517
519
  promise = promise.then do |response|
518
520
  # Defining deserialization method.
@@ -538,8 +540,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
538
540
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
539
541
  # will be added to the HTTP request.
540
542
  #
541
- def delete(resource_group_name, account_name, custom_headers = nil)
542
- response = delete_async(resource_group_name, account_name, custom_headers).value!
543
+ def delete(resource_group_name, account_name, custom_headers:nil)
544
+ response = delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
543
545
  nil
544
546
  end
545
547
 
@@ -554,9 +556,9 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
554
556
  # @return [Concurrent::Promise] promise which provides async access to http
555
557
  # response.
556
558
  #
557
- def delete_async(resource_group_name, account_name, custom_headers = nil)
559
+ def delete_async(resource_group_name, account_name, custom_headers:nil)
558
560
  # Send request
559
- promise = begin_delete_async(resource_group_name, account_name, custom_headers)
561
+ promise = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers)
560
562
 
561
563
  promise = promise.then do |response|
562
564
  # Defining deserialization method.
@@ -582,8 +584,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
582
584
  #
583
585
  # @return [DataLakeStoreAccount] operation results.
584
586
  #
585
- def get(resource_group_name, account_name, custom_headers = nil)
586
- response = get_async(resource_group_name, account_name, custom_headers).value!
587
+ def get(resource_group_name, account_name, custom_headers:nil)
588
+ response = get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
587
589
  response.body unless response.nil?
588
590
  end
589
591
 
@@ -599,8 +601,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
599
601
  #
600
602
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
601
603
  #
602
- def get_with_http_info(resource_group_name, account_name, custom_headers = nil)
603
- get_async(resource_group_name, account_name, custom_headers).value!
604
+ def get_with_http_info(resource_group_name, account_name, custom_headers:nil)
605
+ get_async(resource_group_name, account_name, custom_headers:custom_headers).value!
604
606
  end
605
607
 
606
608
  #
@@ -615,7 +617,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
615
617
  #
616
618
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
617
619
  #
618
- def get_async(resource_group_name, account_name, custom_headers = nil)
620
+ def get_async(resource_group_name, account_name, custom_headers:nil)
619
621
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
620
622
  fail ArgumentError, 'account_name is nil' if account_name.nil?
621
623
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -623,6 +625,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
623
625
 
624
626
 
625
627
  request_headers = {}
628
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
626
629
 
627
630
  # Set Headers
628
631
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -679,8 +682,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
679
682
  # will be added to the HTTP request.
680
683
  #
681
684
  #
682
- def enable_key_vault(resource_group_name, account_name, custom_headers = nil)
683
- response = enable_key_vault_async(resource_group_name, account_name, custom_headers).value!
685
+ def enable_key_vault(resource_group_name, account_name, custom_headers:nil)
686
+ response = enable_key_vault_async(resource_group_name, account_name, custom_headers:custom_headers).value!
684
687
  nil
685
688
  end
686
689
 
@@ -697,8 +700,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
697
700
  #
698
701
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
699
702
  #
700
- def enable_key_vault_with_http_info(resource_group_name, account_name, custom_headers = nil)
701
- enable_key_vault_async(resource_group_name, account_name, custom_headers).value!
703
+ def enable_key_vault_with_http_info(resource_group_name, account_name, custom_headers:nil)
704
+ enable_key_vault_async(resource_group_name, account_name, custom_headers:custom_headers).value!
702
705
  end
703
706
 
704
707
  #
@@ -714,7 +717,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
714
717
  #
715
718
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
716
719
  #
717
- def enable_key_vault_async(resource_group_name, account_name, custom_headers = nil)
720
+ def enable_key_vault_async(resource_group_name, account_name, custom_headers:nil)
718
721
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
719
722
  fail ArgumentError, 'account_name is nil' if account_name.nil?
720
723
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -722,6 +725,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
722
725
 
723
726
 
724
727
  request_headers = {}
728
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
725
729
 
726
730
  # Set Headers
727
731
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -790,8 +794,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
790
794
  #
791
795
  # @return [Array<DataLakeStoreAccount>] operation results.
792
796
  #
793
- 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)
794
- first_page = list_by_resource_group_as_lazy(resource_group_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers)
797
+ 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)
798
+ 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)
795
799
  first_page.get_all_items
796
800
  end
797
801
 
@@ -829,8 +833,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
829
833
  #
830
834
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
831
835
  #
832
- 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)
833
- list_by_resource_group_async(resource_group_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
836
+ 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)
837
+ 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!
834
838
  end
835
839
 
836
840
  #
@@ -867,13 +871,14 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
867
871
  #
868
872
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
869
873
  #
870
- 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)
874
+ 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)
871
875
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
872
876
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
873
877
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
874
878
 
875
879
 
876
880
  request_headers = {}
881
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
877
882
 
878
883
  # Set Headers
879
884
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -950,8 +955,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
950
955
  #
951
956
  # @return [Array<DataLakeStoreAccount>] operation results.
952
957
  #
953
- def list(filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
954
- first_page = list_as_lazy(filter, top, skip, expand, select, orderby, count, search, format, custom_headers)
958
+ def list(filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
959
+ 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)
955
960
  first_page.get_all_items
956
961
  end
957
962
 
@@ -987,8 +992,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
987
992
  #
988
993
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
989
994
  #
990
- 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)
991
- list_async(filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
995
+ 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)
996
+ 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!
992
997
  end
993
998
 
994
999
  #
@@ -1023,12 +1028,13 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1023
1028
  #
1024
1029
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1025
1030
  #
1026
- def list_async(filter = nil, top = nil, skip = nil, expand = nil, select = nil, orderby = nil, count = nil, search = nil, format = nil, custom_headers = nil)
1031
+ def list_async(filter:nil, top:nil, skip:nil, expand:nil, select:nil, orderby:nil, count:nil, search:nil, format:nil, custom_headers:nil)
1027
1032
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1028
1033
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1029
1034
 
1030
1035
 
1031
1036
  request_headers = {}
1037
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1032
1038
 
1033
1039
  # Set Headers
1034
1040
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1086,8 +1092,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1086
1092
  #
1087
1093
  # @return [DataLakeStoreAccount] operation results.
1088
1094
  #
1089
- def begin_create(resource_group_name, name, parameters, custom_headers = nil)
1090
- response = begin_create_async(resource_group_name, name, parameters, custom_headers).value!
1095
+ def begin_create(resource_group_name, name, parameters, custom_headers:nil)
1096
+ response = begin_create_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
1091
1097
  response.body unless response.nil?
1092
1098
  end
1093
1099
 
@@ -1104,8 +1110,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1104
1110
  #
1105
1111
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1106
1112
  #
1107
- def begin_create_with_http_info(resource_group_name, name, parameters, custom_headers = nil)
1108
- begin_create_async(resource_group_name, name, parameters, custom_headers).value!
1113
+ def begin_create_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
1114
+ begin_create_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
1109
1115
  end
1110
1116
 
1111
1117
  #
@@ -1121,7 +1127,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1121
1127
  #
1122
1128
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1123
1129
  #
1124
- def begin_create_async(resource_group_name, name, parameters, custom_headers = nil)
1130
+ def begin_create_async(resource_group_name, name, parameters, custom_headers:nil)
1125
1131
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1126
1132
  fail ArgumentError, 'name is nil' if name.nil?
1127
1133
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -1130,13 +1136,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1130
1136
 
1131
1137
 
1132
1138
  request_headers = {}
1139
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1133
1140
 
1134
1141
  # Set Headers
1135
1142
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1136
1143
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1137
1144
 
1138
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1139
-
1140
1145
  # Serialize Request
1141
1146
  request_mapper = Azure::DataLakeStore::Mgmt::V2015_10_01_preview::Models::DataLakeStoreAccount.mapper()
1142
1147
  request_content = @client.serialize(request_mapper, parameters)
@@ -1206,8 +1211,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1206
1211
  #
1207
1212
  # @return [DataLakeStoreAccount] operation results.
1208
1213
  #
1209
- def begin_update(resource_group_name, name, parameters, custom_headers = nil)
1210
- response = begin_update_async(resource_group_name, name, parameters, custom_headers).value!
1214
+ def begin_update(resource_group_name, name, parameters, custom_headers:nil)
1215
+ response = begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
1211
1216
  response.body unless response.nil?
1212
1217
  end
1213
1218
 
@@ -1224,8 +1229,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1224
1229
  #
1225
1230
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1226
1231
  #
1227
- def begin_update_with_http_info(resource_group_name, name, parameters, custom_headers = nil)
1228
- begin_update_async(resource_group_name, name, parameters, custom_headers).value!
1232
+ def begin_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
1233
+ begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
1229
1234
  end
1230
1235
 
1231
1236
  #
@@ -1241,7 +1246,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1241
1246
  #
1242
1247
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1243
1248
  #
1244
- def begin_update_async(resource_group_name, name, parameters, custom_headers = nil)
1249
+ def begin_update_async(resource_group_name, name, parameters, custom_headers:nil)
1245
1250
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1246
1251
  fail ArgumentError, 'name is nil' if name.nil?
1247
1252
  fail ArgumentError, 'parameters is nil' if parameters.nil?
@@ -1250,13 +1255,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1250
1255
 
1251
1256
 
1252
1257
  request_headers = {}
1258
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1253
1259
 
1254
1260
  # Set Headers
1255
1261
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1256
1262
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1257
1263
 
1258
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1259
-
1260
1264
  # Serialize Request
1261
1265
  request_mapper = Azure::DataLakeStore::Mgmt::V2015_10_01_preview::Models::DataLakeStoreAccount.mapper()
1262
1266
  request_content = @client.serialize(request_mapper, parameters)
@@ -1324,8 +1328,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1324
1328
  # will be added to the HTTP request.
1325
1329
  #
1326
1330
  #
1327
- def begin_delete(resource_group_name, account_name, custom_headers = nil)
1328
- response = begin_delete_async(resource_group_name, account_name, custom_headers).value!
1331
+ def begin_delete(resource_group_name, account_name, custom_headers:nil)
1332
+ response = begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
1329
1333
  nil
1330
1334
  end
1331
1335
 
@@ -1341,8 +1345,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1341
1345
  #
1342
1346
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1343
1347
  #
1344
- def begin_delete_with_http_info(resource_group_name, account_name, custom_headers = nil)
1345
- begin_delete_async(resource_group_name, account_name, custom_headers).value!
1348
+ def begin_delete_with_http_info(resource_group_name, account_name, custom_headers:nil)
1349
+ begin_delete_async(resource_group_name, account_name, custom_headers:custom_headers).value!
1346
1350
  end
1347
1351
 
1348
1352
  #
@@ -1357,7 +1361,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1357
1361
  #
1358
1362
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1359
1363
  #
1360
- def begin_delete_async(resource_group_name, account_name, custom_headers = nil)
1364
+ def begin_delete_async(resource_group_name, account_name, custom_headers:nil)
1361
1365
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1362
1366
  fail ArgumentError, 'account_name is nil' if account_name.nil?
1363
1367
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -1365,6 +1369,7 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1365
1369
 
1366
1370
 
1367
1371
  request_headers = {}
1372
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1368
1373
 
1369
1374
  # Set Headers
1370
1375
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1410,8 +1415,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1410
1415
  #
1411
1416
  # @return [DataLakeStoreFirewallRuleListResult] operation results.
1412
1417
  #
1413
- def list_firewall_rules_next(next_page_link, custom_headers = nil)
1414
- response = list_firewall_rules_next_async(next_page_link, custom_headers).value!
1418
+ def list_firewall_rules_next(next_page_link, custom_headers:nil)
1419
+ response = list_firewall_rules_next_async(next_page_link, custom_headers:custom_headers).value!
1415
1420
  response.body unless response.nil?
1416
1421
  end
1417
1422
 
@@ -1426,8 +1431,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1426
1431
  #
1427
1432
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1428
1433
  #
1429
- def list_firewall_rules_next_with_http_info(next_page_link, custom_headers = nil)
1430
- list_firewall_rules_next_async(next_page_link, custom_headers).value!
1434
+ def list_firewall_rules_next_with_http_info(next_page_link, custom_headers:nil)
1435
+ list_firewall_rules_next_async(next_page_link, custom_headers:custom_headers).value!
1431
1436
  end
1432
1437
 
1433
1438
  #
@@ -1441,11 +1446,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1441
1446
  #
1442
1447
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1443
1448
  #
1444
- def list_firewall_rules_next_async(next_page_link, custom_headers = nil)
1449
+ def list_firewall_rules_next_async(next_page_link, custom_headers:nil)
1445
1450
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1446
1451
 
1447
1452
 
1448
1453
  request_headers = {}
1454
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1449
1455
 
1450
1456
  # Set Headers
1451
1457
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1500,8 +1506,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1500
1506
  #
1501
1507
  # @return [DataLakeStoreAccountListResult] operation results.
1502
1508
  #
1503
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
1504
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
1509
+ def list_by_resource_group_next(next_page_link, custom_headers:nil)
1510
+ response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1505
1511
  response.body unless response.nil?
1506
1512
  end
1507
1513
 
@@ -1516,8 +1522,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1516
1522
  #
1517
1523
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1518
1524
  #
1519
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
1520
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
1525
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
1526
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
1521
1527
  end
1522
1528
 
1523
1529
  #
@@ -1531,11 +1537,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1531
1537
  #
1532
1538
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1533
1539
  #
1534
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
1540
+ def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
1535
1541
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1536
1542
 
1537
1543
 
1538
1544
  request_headers = {}
1545
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1539
1546
 
1540
1547
  # Set Headers
1541
1548
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1590,8 +1597,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1590
1597
  #
1591
1598
  # @return [DataLakeStoreAccountListResult] operation results.
1592
1599
  #
1593
- def list_next(next_page_link, custom_headers = nil)
1594
- response = list_next_async(next_page_link, custom_headers).value!
1600
+ def list_next(next_page_link, custom_headers:nil)
1601
+ response = list_next_async(next_page_link, custom_headers:custom_headers).value!
1595
1602
  response.body unless response.nil?
1596
1603
  end
1597
1604
 
@@ -1606,8 +1613,8 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1606
1613
  #
1607
1614
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1608
1615
  #
1609
- def list_next_with_http_info(next_page_link, custom_headers = nil)
1610
- list_next_async(next_page_link, custom_headers).value!
1616
+ def list_next_with_http_info(next_page_link, custom_headers:nil)
1617
+ list_next_async(next_page_link, custom_headers:custom_headers).value!
1611
1618
  end
1612
1619
 
1613
1620
  #
@@ -1621,11 +1628,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1621
1628
  #
1622
1629
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1623
1630
  #
1624
- def list_next_async(next_page_link, custom_headers = nil)
1631
+ def list_next_async(next_page_link, custom_headers:nil)
1625
1632
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
1626
1633
 
1627
1634
 
1628
1635
  request_headers = {}
1636
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1629
1637
 
1630
1638
  # Set Headers
1631
1639
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1683,12 +1691,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1683
1691
  # @return [DataLakeStoreFirewallRuleListResult] which provide lazy access to
1684
1692
  # pages of the response.
1685
1693
  #
1686
- def list_firewall_rules_as_lazy(resource_group_name, account_name, custom_headers = nil)
1687
- response = list_firewall_rules_async(resource_group_name, account_name, custom_headers).value!
1694
+ def list_firewall_rules_as_lazy(resource_group_name, account_name, custom_headers:nil)
1695
+ response = list_firewall_rules_async(resource_group_name, account_name, custom_headers:custom_headers).value!
1688
1696
  unless response.nil?
1689
1697
  page = response.body
1690
1698
  page.next_method = Proc.new do |next_page_link|
1691
- list_firewall_rules_next_async(next_page_link, custom_headers)
1699
+ list_firewall_rules_next_async(next_page_link, custom_headers:custom_headers)
1692
1700
  end
1693
1701
  page
1694
1702
  end
@@ -1729,12 +1737,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1729
1737
  # @return [DataLakeStoreAccountListResult] which provide lazy access to pages
1730
1738
  # of the response.
1731
1739
  #
1732
- 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)
1733
- response = list_by_resource_group_async(resource_group_name, filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
1740
+ 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)
1741
+ 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!
1734
1742
  unless response.nil?
1735
1743
  page = response.body
1736
1744
  page.next_method = Proc.new do |next_page_link|
1737
- list_by_resource_group_next_async(next_page_link, custom_headers)
1745
+ list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
1738
1746
  end
1739
1747
  page
1740
1748
  end
@@ -1773,12 +1781,12 @@ module Azure::DataLakeStore::Mgmt::V2015_10_01_preview
1773
1781
  # @return [DataLakeStoreAccountListResult] which provide lazy access to pages
1774
1782
  # of the response.
1775
1783
  #
1776
- 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)
1777
- response = list_async(filter, top, skip, expand, select, orderby, count, search, format, custom_headers).value!
1784
+ 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)
1785
+ 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!
1778
1786
  unless response.nil?
1779
1787
  page = response.body
1780
1788
  page.next_method = Proc.new do |next_page_link|
1781
- list_next_async(next_page_link, custom_headers)
1789
+ list_next_async(next_page_link, custom_headers:custom_headers)
1782
1790
  end
1783
1791
  page
1784
1792
  end