azure_mgmt_datalake_store 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_datalake_store.rb +11 -8
  3. data/lib/generated/azure_mgmt_datalake_store/account.rb +39 -40
  4. data/lib/generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb +1 -1
  5. data/lib/generated/azure_mgmt_datalake_store/firewall_rules.rb +20 -21
  6. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb +44 -32
  7. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_account_basic.rb +153 -0
  8. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb +7 -5
  9. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_account_state.rb +1 -1
  10. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_account_status.rb +1 -1
  11. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_account_update_parameters.rb +15 -1
  12. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_firewall_rule_list_result.rb +2 -1
  13. data/lib/generated/azure_mgmt_datalake_store/models/data_lake_store_trusted_id_provider_list_result.rb +2 -1
  14. data/lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb +3 -2
  15. data/lib/generated/azure_mgmt_datalake_store/models/encryption_config_type.rb +1 -1
  16. data/lib/generated/azure_mgmt_datalake_store/models/encryption_identity.rb +2 -1
  17. data/lib/generated/azure_mgmt_datalake_store/models/encryption_provisioning_state.rb +1 -1
  18. data/lib/generated/azure_mgmt_datalake_store/models/encryption_state.rb +1 -1
  19. data/lib/generated/azure_mgmt_datalake_store/models/error_details.rb +2 -1
  20. data/lib/generated/azure_mgmt_datalake_store/models/firewall_allow_azure_ips_state.rb +1 -1
  21. data/lib/generated/azure_mgmt_datalake_store/models/firewall_rule.rb +2 -1
  22. data/lib/generated/azure_mgmt_datalake_store/models/firewall_state.rb +1 -1
  23. data/lib/generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb +2 -1
  24. data/lib/generated/azure_mgmt_datalake_store/models/sub_resource.rb +2 -1
  25. data/lib/generated/azure_mgmt_datalake_store/models/tier_type.rb +1 -1
  26. data/lib/generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb +2 -1
  27. data/lib/generated/azure_mgmt_datalake_store/models/trusted_id_provider_state.rb +1 -1
  28. data/lib/generated/azure_mgmt_datalake_store/models/update_encryption_config.rb +47 -0
  29. data/lib/generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb +2 -1
  30. data/lib/generated/azure_mgmt_datalake_store/models/update_key_vault_meta_info.rb +46 -0
  31. data/lib/generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb +2 -1
  32. data/lib/generated/azure_mgmt_datalake_store/module_definition.rb +1 -1
  33. data/lib/generated/azure_mgmt_datalake_store/trusted_id_providers.rb +20 -21
  34. data/lib/generated/azure_mgmt_datalake_store/version.rb +2 -2
  35. metadata +7 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7878b9b01a4f424a9959497145eb17582287c2d1
4
- data.tar.gz: c3f8325d4f9ae8a10f901afab18bf2c50af9e4d3
3
+ metadata.gz: 6b88d8c671d4295e8fea0b4ec1dffed85eadaa7a
4
+ data.tar.gz: 457e9edf960f351796e4fd01a3bb2955e47edfbb
5
5
  SHA512:
6
- metadata.gz: b458acf037c6e8b11e596ab0ba54a0da4c4ea565c9a959e20c5db5bc392da73f10da7d5470cc89c687d93b40f19fe947d433f98d0d733d042a387d3519167d57
7
- data.tar.gz: 8dbd09e900bba73110b6b0a7c9214712861046f3deb75d4991aeed4e989dbebac1120a951bde2f69ff80663948c8ddbae68e241fbbe76cb74a4195241f74735c
6
+ metadata.gz: 95d0861700941ce422b91defc7d214560abb230075ee9c8dbeaaaae2f01c4aea7770c24b8d52163abe58d7d60d9c423206d1d0025d542a3b0053a5397518ff42
7
+ data.tar.gz: 0368d96dffc39d4c0971462a287f16e7ae1f37542c1446d646908aa4eb086060746ddc818cef8491411d44a1f1b414a8c6c948da3a22ee3d798e01ddb24b0e73
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -26,28 +26,31 @@ module Azure::ARM::DataLakeStore
26
26
  autoload :DataLakeStoreAccountManagementClient, 'generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb'
27
27
 
28
28
  module Models
29
- autoload :KeyVaultMetaInfo, 'generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb'
30
- autoload :EncryptionConfig, 'generated/azure_mgmt_datalake_store/models/encryption_config.rb'
29
+ autoload :UpdateKeyVaultMetaInfo, 'generated/azure_mgmt_datalake_store/models/update_key_vault_meta_info.rb'
31
30
  autoload :UpdateFirewallRuleParameters, 'generated/azure_mgmt_datalake_store/models/update_firewall_rule_parameters.rb'
31
+ autoload :UpdateEncryptionConfig, 'generated/azure_mgmt_datalake_store/models/update_encryption_config.rb'
32
32
  autoload :UpdateTrustedIdProviderParameters, 'generated/azure_mgmt_datalake_store/models/update_trusted_id_provider_parameters.rb'
33
- autoload :SubResource, 'generated/azure_mgmt_datalake_store/models/sub_resource.rb'
34
- autoload :DataLakeStoreTrustedIdProviderListResult, 'generated/azure_mgmt_datalake_store/models/data_lake_store_trusted_id_provider_list_result.rb'
35
33
  autoload :DataLakeStoreAccountUpdateParameters, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_update_parameters.rb'
36
- autoload :EncryptionIdentity, 'generated/azure_mgmt_datalake_store/models/encryption_identity.rb'
34
+ autoload :DataLakeStoreTrustedIdProviderListResult, 'generated/azure_mgmt_datalake_store/models/data_lake_store_trusted_id_provider_list_result.rb'
37
35
  autoload :DataLakeStoreFirewallRuleListResult, 'generated/azure_mgmt_datalake_store/models/data_lake_store_firewall_rule_list_result.rb'
36
+ autoload :EncryptionIdentity, 'generated/azure_mgmt_datalake_store/models/encryption_identity.rb'
37
+ autoload :EncryptionConfig, 'generated/azure_mgmt_datalake_store/models/encryption_config.rb'
38
+ autoload :SubResource, 'generated/azure_mgmt_datalake_store/models/sub_resource.rb'
39
+ autoload :KeyVaultMetaInfo, 'generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb'
38
40
  autoload :DataLakeStoreAccountListResult, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb'
39
41
  autoload :ErrorDetails, 'generated/azure_mgmt_datalake_store/models/error_details.rb'
40
42
  autoload :FirewallRule, 'generated/azure_mgmt_datalake_store/models/firewall_rule.rb'
41
43
  autoload :TrustedIdProvider, 'generated/azure_mgmt_datalake_store/models/trusted_id_provider.rb'
42
44
  autoload :DataLakeStoreAccount, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb'
45
+ autoload :DataLakeStoreAccountBasic, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_basic.rb'
43
46
  autoload :EncryptionConfigType, 'generated/azure_mgmt_datalake_store/models/encryption_config_type.rb'
44
- autoload :DataLakeStoreAccountStatus, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_status.rb'
45
- autoload :DataLakeStoreAccountState, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_state.rb'
46
47
  autoload :EncryptionState, 'generated/azure_mgmt_datalake_store/models/encryption_state.rb'
47
48
  autoload :EncryptionProvisioningState, 'generated/azure_mgmt_datalake_store/models/encryption_provisioning_state.rb'
48
49
  autoload :FirewallState, 'generated/azure_mgmt_datalake_store/models/firewall_state.rb'
49
50
  autoload :TrustedIdProviderState, 'generated/azure_mgmt_datalake_store/models/trusted_id_provider_state.rb'
50
51
  autoload :TierType, 'generated/azure_mgmt_datalake_store/models/tier_type.rb'
51
52
  autoload :FirewallAllowAzureIpsState, 'generated/azure_mgmt_datalake_store/models/firewall_allow_azure_ips_state.rb'
53
+ autoload :DataLakeStoreAccountStatus, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_status.rb'
54
+ autoload :DataLakeStoreAccountState, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_state.rb'
52
55
  end
53
56
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::DataLakeStore
8
8
  # Creates an Azure Data Lake Store account management client.
9
9
  #
10
10
  class Account
11
- include Azure::ARM::DataLakeStore::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -59,8 +58,8 @@ module Azure::ARM::DataLakeStore
59
58
  promise = promise.then do |response|
60
59
  # Defining deserialization method.
61
60
  deserialize_method = lambda do |parsed_response|
62
- result_mapper = DataLakeStoreAccount.mapper()
63
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
61
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
62
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
64
63
  end
65
64
 
66
65
  # Waiting for response.
@@ -107,8 +106,8 @@ module Azure::ARM::DataLakeStore
107
106
  promise = promise.then do |response|
108
107
  # Defining deserialization method.
109
108
  deserialize_method = lambda do |parsed_response|
110
- result_mapper = DataLakeStoreAccount.mapper()
111
- parsed_response = @client.deserialize(result_mapper, parsed_response, 'parsed_response')
109
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
110
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
112
111
  end
113
112
 
114
113
  # Waiting for response.
@@ -212,7 +211,7 @@ module Azure::ARM::DataLakeStore
212
211
  # Set Headers
213
212
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
214
213
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
215
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
214
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
216
215
 
217
216
  request_url = @base_url || @client.base_url
218
217
 
@@ -239,8 +238,8 @@ module Azure::ARM::DataLakeStore
239
238
  if status_code == 200
240
239
  begin
241
240
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
242
- result_mapper = DataLakeStoreAccount.mapper()
243
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
241
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
242
+ result.body = @client.deserialize(result_mapper, parsed_response)
244
243
  rescue Exception => e
245
244
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
246
245
  end
@@ -253,7 +252,7 @@ module Azure::ARM::DataLakeStore
253
252
  end
254
253
 
255
254
  #
256
- # Attempts to enable a user managed key vault for encryption of the specified
255
+ # Attempts to enable a user managed Key Vault for encryption of the specified
257
256
  # Data Lake Store account.
258
257
  #
259
258
  # @param resource_group_name [String] The name of the Azure resource group that
@@ -270,7 +269,7 @@ module Azure::ARM::DataLakeStore
270
269
  end
271
270
 
272
271
  #
273
- # Attempts to enable a user managed key vault for encryption of the specified
272
+ # Attempts to enable a user managed Key Vault for encryption of the specified
274
273
  # Data Lake Store account.
275
274
  #
276
275
  # @param resource_group_name [String] The name of the Azure resource group that
@@ -287,7 +286,7 @@ module Azure::ARM::DataLakeStore
287
286
  end
288
287
 
289
288
  #
290
- # Attempts to enable a user managed key vault for encryption of the specified
289
+ # Attempts to enable a user managed Key Vault for encryption of the specified
291
290
  # Data Lake Store account.
292
291
  #
293
292
  # @param resource_group_name [String] The name of the Azure resource group that
@@ -311,7 +310,7 @@ module Azure::ARM::DataLakeStore
311
310
  # Set Headers
312
311
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
313
312
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
314
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/enableKeyVault'
313
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/enableKeyVault'
315
314
 
316
315
  request_url = @base_url || @client.base_url
317
316
 
@@ -364,7 +363,7 @@ module Azure::ARM::DataLakeStore
364
363
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
365
364
  # will be added to the HTTP request.
366
365
  #
367
- # @return [Array<DataLakeStoreAccount>] operation results.
366
+ # @return [Array<DataLakeStoreAccountBasic>] operation results.
368
367
  #
369
368
  def list_by_resource_group(resource_group_name, filter = nil, top = nil, skip = nil, select = nil, orderby = nil, count = nil, custom_headers = nil)
370
369
  first_page = list_by_resource_group_as_lazy(resource_group_name, filter, top, skip, select, orderby, count, custom_headers)
@@ -436,7 +435,7 @@ module Azure::ARM::DataLakeStore
436
435
  # Set Headers
437
436
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
438
437
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
439
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts'
438
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts'
440
439
 
441
440
  request_url = @base_url || @client.base_url
442
441
 
@@ -463,8 +462,8 @@ module Azure::ARM::DataLakeStore
463
462
  if status_code == 200
464
463
  begin
465
464
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
466
- result_mapper = DataLakeStoreAccountListResult.mapper()
467
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
465
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccountListResult.mapper()
466
+ result.body = @client.deserialize(result_mapper, parsed_response)
468
467
  rescue Exception => e
469
468
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
470
469
  end
@@ -497,7 +496,7 @@ module Azure::ARM::DataLakeStore
497
496
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
498
497
  # will be added to the HTTP request.
499
498
  #
500
- # @return [Array<DataLakeStoreAccount>] operation results.
499
+ # @return [Array<DataLakeStoreAccountBasic>] operation results.
501
500
  #
502
501
  def list(filter = nil, top = nil, skip = nil, select = nil, orderby = nil, count = nil, custom_headers = nil)
503
502
  first_page = list_as_lazy(filter, top, skip, select, orderby, count, custom_headers)
@@ -564,7 +563,7 @@ module Azure::ARM::DataLakeStore
564
563
  # Set Headers
565
564
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
566
565
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
567
- path_template = '/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts'
566
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts'
568
567
 
569
568
  request_url = @base_url || @client.base_url
570
569
 
@@ -591,8 +590,8 @@ module Azure::ARM::DataLakeStore
591
590
  if status_code == 200
592
591
  begin
593
592
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
594
- result_mapper = DataLakeStoreAccountListResult.mapper()
595
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
593
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccountListResult.mapper()
594
+ result.body = @client.deserialize(result_mapper, parsed_response)
596
595
  rescue Exception => e
597
596
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
598
597
  end
@@ -669,11 +668,11 @@ module Azure::ARM::DataLakeStore
669
668
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
670
669
 
671
670
  # Serialize Request
672
- request_mapper = DataLakeStoreAccount.mapper()
673
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
671
+ request_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
672
+ request_content = @client.serialize(request_mapper, parameters)
674
673
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
675
674
 
676
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
675
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
677
676
 
678
677
  request_url = @base_url || @client.base_url
679
678
 
@@ -701,8 +700,8 @@ module Azure::ARM::DataLakeStore
701
700
  if status_code == 201
702
701
  begin
703
702
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
704
- result_mapper = DataLakeStoreAccount.mapper()
705
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
703
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
704
+ result.body = @client.deserialize(result_mapper, parsed_response)
706
705
  rescue Exception => e
707
706
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
708
707
  end
@@ -711,8 +710,8 @@ module Azure::ARM::DataLakeStore
711
710
  if status_code == 200
712
711
  begin
713
712
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
714
- result_mapper = DataLakeStoreAccount.mapper()
715
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
713
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
714
+ result.body = @client.deserialize(result_mapper, parsed_response)
716
715
  rescue Exception => e
717
716
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
718
717
  end
@@ -789,11 +788,11 @@ module Azure::ARM::DataLakeStore
789
788
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
790
789
 
791
790
  # Serialize Request
792
- request_mapper = DataLakeStoreAccountUpdateParameters.mapper()
793
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
791
+ request_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccountUpdateParameters.mapper()
792
+ request_content = @client.serialize(request_mapper, parameters)
794
793
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
795
794
 
796
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
795
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
797
796
 
798
797
  request_url = @base_url || @client.base_url
799
798
 
@@ -821,8 +820,8 @@ module Azure::ARM::DataLakeStore
821
820
  if status_code == 200
822
821
  begin
823
822
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
824
- result_mapper = DataLakeStoreAccount.mapper()
825
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
823
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
824
+ result.body = @client.deserialize(result_mapper, parsed_response)
826
825
  rescue Exception => e
827
826
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
828
827
  end
@@ -831,8 +830,8 @@ module Azure::ARM::DataLakeStore
831
830
  if status_code == 201
832
831
  begin
833
832
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
834
- result_mapper = DataLakeStoreAccount.mapper()
835
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
833
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccount.mapper()
834
+ result.body = @client.deserialize(result_mapper, parsed_response)
836
835
  rescue Exception => e
837
836
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
838
837
  end
@@ -897,7 +896,7 @@ module Azure::ARM::DataLakeStore
897
896
  # Set Headers
898
897
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
899
898
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
900
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
899
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{name}'
901
900
 
902
901
  request_url = @base_url || @client.base_url
903
902
 
@@ -1004,8 +1003,8 @@ module Azure::ARM::DataLakeStore
1004
1003
  if status_code == 200
1005
1004
  begin
1006
1005
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1007
- result_mapper = DataLakeStoreAccountListResult.mapper()
1008
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1006
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccountListResult.mapper()
1007
+ result.body = @client.deserialize(result_mapper, parsed_response)
1009
1008
  rescue Exception => e
1010
1009
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1011
1010
  end
@@ -1094,8 +1093,8 @@ module Azure::ARM::DataLakeStore
1094
1093
  if status_code == 200
1095
1094
  begin
1096
1095
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
1097
- result_mapper = DataLakeStoreAccountListResult.mapper()
1098
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
1096
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreAccountListResult.mapper()
1097
+ result.body = @client.deserialize(result_mapper, parsed_response)
1099
1098
  rescue Exception => e
1100
1099
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
1101
1100
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -8,7 +8,6 @@ module Azure::ARM::DataLakeStore
8
8
  # Creates an Azure Data Lake Store account management client.
9
9
  #
10
10
  class FirewallRules
11
- include Azure::ARM::DataLakeStore::Models
12
11
  include MsRestAzure
13
12
 
14
13
  #
@@ -100,11 +99,11 @@ module Azure::ARM::DataLakeStore
100
99
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
101
100
 
102
101
  # Serialize Request
103
- request_mapper = FirewallRule.mapper()
104
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
102
+ request_mapper = Azure::ARM::DataLakeStore::Models::FirewallRule.mapper()
103
+ request_content = @client.serialize(request_mapper, parameters)
105
104
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
106
105
 
107
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
106
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
108
107
 
109
108
  request_url = @base_url || @client.base_url
110
109
 
@@ -132,8 +131,8 @@ module Azure::ARM::DataLakeStore
132
131
  if status_code == 200
133
132
  begin
134
133
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
135
- result_mapper = FirewallRule.mapper()
136
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
134
+ result_mapper = Azure::ARM::DataLakeStore::Models::FirewallRule.mapper()
135
+ result.body = @client.deserialize(result_mapper, parsed_response)
137
136
  rescue Exception => e
138
137
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
139
138
  end
@@ -216,11 +215,11 @@ module Azure::ARM::DataLakeStore
216
215
  request_headers['Content-Type'] = 'application/json; charset=utf-8'
217
216
 
218
217
  # Serialize Request
219
- request_mapper = UpdateFirewallRuleParameters.mapper()
220
- request_content = @client.serialize(request_mapper, parameters, 'parameters')
218
+ request_mapper = Azure::ARM::DataLakeStore::Models::UpdateFirewallRuleParameters.mapper()
219
+ request_content = @client.serialize(request_mapper, parameters)
221
220
  request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
222
221
 
223
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
222
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
224
223
 
225
224
  request_url = @base_url || @client.base_url
226
225
 
@@ -248,8 +247,8 @@ module Azure::ARM::DataLakeStore
248
247
  if status_code == 200
249
248
  begin
250
249
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
251
- result_mapper = FirewallRule.mapper()
252
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
250
+ result_mapper = Azure::ARM::DataLakeStore::Models::FirewallRule.mapper()
251
+ result.body = @client.deserialize(result_mapper, parsed_response)
253
252
  rescue Exception => e
254
253
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
255
254
  end
@@ -324,7 +323,7 @@ module Azure::ARM::DataLakeStore
324
323
  # Set Headers
325
324
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
326
325
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
327
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
326
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
328
327
 
329
328
  request_url = @base_url || @client.base_url
330
329
 
@@ -415,7 +414,7 @@ module Azure::ARM::DataLakeStore
415
414
  # Set Headers
416
415
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
417
416
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
418
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
417
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules/{firewallRuleName}'
419
418
 
420
419
  request_url = @base_url || @client.base_url
421
420
 
@@ -442,8 +441,8 @@ module Azure::ARM::DataLakeStore
442
441
  if status_code == 200
443
442
  begin
444
443
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
445
- result_mapper = FirewallRule.mapper()
446
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
444
+ result_mapper = Azure::ARM::DataLakeStore::Models::FirewallRule.mapper()
445
+ result.body = @client.deserialize(result_mapper, parsed_response)
447
446
  rescue Exception => e
448
447
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
449
448
  end
@@ -515,7 +514,7 @@ module Azure::ARM::DataLakeStore
515
514
  # Set Headers
516
515
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
517
516
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
518
- path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules'
517
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/firewallRules'
519
518
 
520
519
  request_url = @base_url || @client.base_url
521
520
 
@@ -542,8 +541,8 @@ module Azure::ARM::DataLakeStore
542
541
  if status_code == 200
543
542
  begin
544
543
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
545
- result_mapper = DataLakeStoreFirewallRuleListResult.mapper()
546
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
544
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreFirewallRuleListResult.mapper()
545
+ result.body = @client.deserialize(result_mapper, parsed_response)
547
546
  rescue Exception => e
548
547
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
549
548
  end
@@ -632,8 +631,8 @@ module Azure::ARM::DataLakeStore
632
631
  if status_code == 200
633
632
  begin
634
633
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
635
- result_mapper = DataLakeStoreFirewallRuleListResult.mapper()
636
- result.body = @client.deserialize(result_mapper, parsed_response, 'result.body')
634
+ result_mapper = Azure::ARM::DataLakeStore::Models::DataLakeStoreFirewallRuleListResult.mapper()
635
+ result.body = @client.deserialize(result_mapper, parsed_response)
637
636
  rescue Exception => e
638
637
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
639
638
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
- # Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
@@ -12,23 +12,33 @@ module Azure::ARM::DataLakeStore
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [EncryptionIdentity] The Key vault encryption identity, if any.
15
+ include MsRest::JSONable
16
+ # @return [EncryptionIdentity] The Key Vault encryption identity, if any.
16
17
  attr_accessor :identity
17
18
 
18
- # @return [DataLakeStoreAccountStatus] the status of the Data Lake Store
19
- # account while being provisioned. Possible values include: 'Failed',
20
- # 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending',
21
- # 'Resuming', 'Deleting', 'Deleted'
19
+ # @return [DataLakeStoreAccountStatus] the provisioning status of the
20
+ # Data Lake Store account. Possible values include: 'Failed', 'Creating',
21
+ # 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming',
22
+ # 'Deleting', 'Deleted'
22
23
  attr_accessor :provisioning_state
23
24
 
24
- # @return [DataLakeStoreAccountState] the status of the Data Lake Store
25
- # account after provisioning has completed. Possible values include:
26
- # 'Active', 'Suspended'
25
+ # @return [DataLakeStoreAccountState] the state of the Data Lake Store
26
+ # account. Possible values include: 'Active', 'Suspended'
27
27
  attr_accessor :state
28
28
 
29
29
  # @return [DateTime] the account creation time.
30
30
  attr_accessor :creation_time
31
31
 
32
+ # @return [DateTime] the account last modified time.
33
+ attr_accessor :last_modified_time
34
+
35
+ # @return [String] the full CName endpoint for this account.
36
+ attr_accessor :endpoint
37
+
38
+ # @return The unique identifier associated with this Data Lake Store
39
+ # account.
40
+ attr_accessor :account_id
41
+
32
42
  # @return [EncryptionState] The current state of encryption for this Data
33
43
  # Lake store account. Possible values include: 'Enabled', 'Disabled'
34
44
  attr_accessor :encryption_state
@@ -38,7 +48,7 @@ module Azure::ARM::DataLakeStore
38
48
  # 'Creating', 'Succeeded'
39
49
  attr_accessor :encryption_provisioning_state
40
50
 
41
- # @return [EncryptionConfig] The Key vault encryption configuration.
51
+ # @return [EncryptionConfig] The Key Vault encryption configuration.
42
52
  attr_accessor :encryption_config
43
53
 
44
54
  # @return [FirewallState] The current state of the IP address firewall
@@ -59,12 +69,6 @@ module Azure::ARM::DataLakeStore
59
69
  # providers associated with this Data Lake store account.
60
70
  attr_accessor :trusted_id_providers
61
71
 
62
- # @return [DateTime] the account last modified time.
63
- attr_accessor :last_modified_time
64
-
65
- # @return [String] the gateway host.
66
- attr_accessor :endpoint
67
-
68
72
  # @return [String] the default owner group for all new folders and files
69
73
  # created in the Data Lake Store account.
70
74
  attr_accessor :default_group
@@ -179,6 +183,30 @@ module Azure::ARM::DataLakeStore
179
183
  name: 'DateTime'
180
184
  }
181
185
  },
186
+ last_modified_time: {
187
+ required: false,
188
+ read_only: true,
189
+ serialized_name: 'properties.lastModifiedTime',
190
+ type: {
191
+ name: 'DateTime'
192
+ }
193
+ },
194
+ endpoint: {
195
+ required: false,
196
+ read_only: true,
197
+ serialized_name: 'properties.endpoint',
198
+ type: {
199
+ name: 'String'
200
+ }
201
+ },
202
+ account_id: {
203
+ required: false,
204
+ read_only: true,
205
+ serialized_name: 'properties.accountId',
206
+ type: {
207
+ name: 'String'
208
+ }
209
+ },
182
210
  encryption_state: {
183
211
  required: false,
184
212
  serialized_name: 'properties.encryptionState',
@@ -250,22 +278,6 @@ module Azure::ARM::DataLakeStore
250
278
  }
251
279
  }
252
280
  },
253
- last_modified_time: {
254
- required: false,
255
- read_only: true,
256
- serialized_name: 'properties.lastModifiedTime',
257
- type: {
258
- name: 'DateTime'
259
- }
260
- },
261
- endpoint: {
262
- required: false,
263
- read_only: true,
264
- serialized_name: 'properties.endpoint',
265
- type: {
266
- name: 'String'
267
- }
268
- },
269
281
  default_group: {
270
282
  required: false,
271
283
  serialized_name: 'properties.defaultGroup',