azure_mgmt_datalake_store 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/lib/azure_mgmt_datalake_store.rb +1 -2
  3. data/lib/generated/azure_mgmt_datalake_store.rb +48 -0
  4. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/account.rb +94 -2
  5. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/data_lake_store_account_management_client.rb +1 -1
  6. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/azure_async_operation_result.rb +1 -1
  7. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/data_lake_store_account.rb +12 -1
  8. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/data_lake_store_account_list_result.rb +1 -1
  9. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/data_lake_store_account_properties.rb +39 -1
  10. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/data_lake_store_account_state.rb +1 -1
  11. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/data_lake_store_account_status.rb +1 -1
  12. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/data_lake_store_firewall_rule_list_result.rb +1 -1
  13. data/lib/generated/azure_mgmt_datalake_store/models/encryption_config.rb +60 -0
  14. data/lib/generated/azure_mgmt_datalake_store/models/encryption_config_type.rb +16 -0
  15. data/lib/generated/azure_mgmt_datalake_store/models/encryption_identity.rb +69 -0
  16. data/lib/generated/{azure_mgmt_datalake_store_filesystem/models/append_mode_type.rb → azure_mgmt_datalake_store/models/encryption_identity_type.rb} +4 -4
  17. data/lib/generated/azure_mgmt_datalake_store/models/encryption_provisioning_state.rb +16 -0
  18. data/lib/generated/{azure_mgmt_datalake_store_filesystem/models/file_type.rb → azure_mgmt_datalake_store/models/encryption_state.rb} +5 -5
  19. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/error.rb +1 -1
  20. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/error_details.rb +1 -1
  21. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/firewall_rule.rb +1 -1
  22. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/firewall_rule_properties.rb +1 -1
  23. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/inner_error.rb +1 -1
  24. data/lib/generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb +65 -0
  25. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/models/operation_status.rb +1 -1
  26. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/module_definition.rb +0 -1
  27. data/lib/generated/{azure_mgmt_datalake_store_account → azure_mgmt_datalake_store}/version.rb +2 -2
  28. metadata +30 -52
  29. data/.rspec +0 -3
  30. data/Rakefile +0 -5
  31. data/azure_mgmt_datalake_store.gemspec +0 -34
  32. data/lib/generated/azure_mgmt_datalake_store_account.rb +0 -41
  33. data/lib/generated/azure_mgmt_datalake_store_filesystem.rb +0 -50
  34. data/lib/generated/azure_mgmt_datalake_store_filesystem/data_lake_store_file_system_management_client.rb +0 -67
  35. data/lib/generated/azure_mgmt_datalake_store_filesystem/file_system.rb +0 -2149
  36. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/acl_status.rb +0 -82
  37. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/acl_status_result.rb +0 -45
  38. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_access_control_exception.rb +0 -66
  39. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_bad_offset_exception.rb +0 -66
  40. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_error.rb +0 -49
  41. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_file_already_exists_exception.rb +0 -65
  42. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_file_not_found_exception.rb +0 -65
  43. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_illegal_argument_exception.rb +0 -66
  44. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_ioexception.rb +0 -65
  45. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_remote_exception.rb +0 -89
  46. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_runtime_exception.rb +0 -66
  47. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_security_exception.rb +0 -65
  48. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_unsupported_operation_exception.rb +0 -66
  49. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/content_summary.rb +0 -78
  50. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/content_summary_result.rb +0 -46
  51. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_operation_result.rb +0 -45
  52. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_status_properties.rb +0 -146
  53. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_status_result.rb +0 -47
  54. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_statuses.rb +0 -54
  55. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_statuses_result.rb +0 -47
  56. data/lib/generated/azure_mgmt_datalake_store_filesystem/module_definition.rb +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c0c1fc0270e94f26342ce0db81e5f9a36aa78481
4
- data.tar.gz: 5694cd4a61134ca0b6b42267cd0bbbf7252d0f48
3
+ metadata.gz: 3830506ebb9c1268232b584959b28eaf89a4e0f5
4
+ data.tar.gz: 98f42db0b268cb7fbde76d29a66f81ddadcfc989
5
5
  SHA512:
6
- metadata.gz: dcaf9032179de8e95aebc1ba7b404c6bafee298de0613e90324dcf4d2c97780f828b4de2beebda50b8ee742b2997b7b544a4951915f033b2d73c546e9a8b1026
7
- data.tar.gz: 33966623d4b1511c5f6db43b554b994bc238b12ead359f669f33c492cac4076a55dfb936c0864cfa74e05c524f76853d024182dde22294cfc12d29bf4152ed3e
6
+ metadata.gz: 15fd2d2eead6fd439617ed60577edc327b9769626b3d594469690538e4824d8d74ca0da50abb8308e56f8dd38a411184fbd8b6d72097a3e1cef2b850fc4a1be1
7
+ data.tar.gz: 39d0f364657fd0a9acbb0dbf60f100a4a79fd0c27c77bd5a700ffe1fc90084940d98f66dbfc8b945917b128ffee2f999d09ac840ddc3dd8b1ae9df41e07f759d
@@ -1,3 +1,2 @@
1
1
  # encoding: utf-8
2
- require 'generated/azure_mgmt_datalake_store_account'
3
- require 'generated/azure_mgmt_datalake_store_filesystem'
2
+ require 'generated/azure_mgmt_datalake_store'
@@ -0,0 +1,48 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ require 'uri'
7
+ require 'cgi'
8
+ require 'date'
9
+ require 'json'
10
+ require 'base64'
11
+ require 'erb'
12
+ require 'securerandom'
13
+ require 'time'
14
+ require 'timeliness'
15
+ require 'faraday'
16
+ require 'faraday-cookie_jar'
17
+ require 'concurrent'
18
+ require 'ms_rest'
19
+ require 'generated/azure_mgmt_datalake_store/module_definition'
20
+ require 'ms_rest_azure'
21
+
22
+ module Azure::ARM::DataLakeStore
23
+ autoload :Account, 'generated/azure_mgmt_datalake_store/account.rb'
24
+ autoload :DataLakeStoreAccountManagementClient, 'generated/azure_mgmt_datalake_store/data_lake_store_account_management_client.rb'
25
+
26
+ module Models
27
+ autoload :FirewallRuleProperties, 'generated/azure_mgmt_datalake_store/models/firewall_rule_properties.rb'
28
+ autoload :FirewallRule, 'generated/azure_mgmt_datalake_store/models/firewall_rule.rb'
29
+ autoload :DataLakeStoreFirewallRuleListResult, 'generated/azure_mgmt_datalake_store/models/data_lake_store_firewall_rule_list_result.rb'
30
+ autoload :EncryptionIdentity, 'generated/azure_mgmt_datalake_store/models/encryption_identity.rb'
31
+ autoload :EncryptionConfig, 'generated/azure_mgmt_datalake_store/models/encryption_config.rb'
32
+ autoload :KeyVaultMetaInfo, 'generated/azure_mgmt_datalake_store/models/key_vault_meta_info.rb'
33
+ autoload :DataLakeStoreAccountProperties, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_properties.rb'
34
+ autoload :DataLakeStoreAccount, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account.rb'
35
+ autoload :DataLakeStoreAccountListResult, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_list_result.rb'
36
+ autoload :ErrorDetails, 'generated/azure_mgmt_datalake_store/models/error_details.rb'
37
+ autoload :InnerError, 'generated/azure_mgmt_datalake_store/models/inner_error.rb'
38
+ autoload :Error, 'generated/azure_mgmt_datalake_store/models/error.rb'
39
+ autoload :AzureAsyncOperationResult, 'generated/azure_mgmt_datalake_store/models/azure_async_operation_result.rb'
40
+ autoload :EncryptionIdentityType, 'generated/azure_mgmt_datalake_store/models/encryption_identity_type.rb'
41
+ autoload :EncryptionConfigType, 'generated/azure_mgmt_datalake_store/models/encryption_config_type.rb'
42
+ autoload :DataLakeStoreAccountStatus, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_status.rb'
43
+ autoload :DataLakeStoreAccountState, 'generated/azure_mgmt_datalake_store/models/data_lake_store_account_state.rb'
44
+ autoload :EncryptionState, 'generated/azure_mgmt_datalake_store/models/encryption_state.rb'
45
+ autoload :EncryptionProvisioningState, 'generated/azure_mgmt_datalake_store/models/encryption_provisioning_state.rb'
46
+ autoload :OperationStatus, 'generated/azure_mgmt_datalake_store/models/operation_status.rb'
47
+ end
48
+ end
@@ -3,12 +3,12 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  #
8
8
  # Creates an Azure Data Lake Store account management client.
9
9
  #
10
10
  class Account
11
- include Azure::ARM::DataLakeStore::Account::Models
11
+ include Azure::ARM::DataLakeStore::Models
12
12
  include MsRestAzure
13
13
 
14
14
  #
@@ -1043,6 +1043,98 @@ module Azure::ARM::DataLakeStore::Account
1043
1043
  promise.execute
1044
1044
  end
1045
1045
 
1046
+ #
1047
+ # Attempts to enable a user managed key vault for encryption of the specified
1048
+ # Data Lake Store account.
1049
+ #
1050
+ # @param resource_group_name [String] The name of the Azure resource group
1051
+ # that contains the Data Lake Store account.
1052
+ # @param account_name [String] The name of the Data Lake Store account to
1053
+ # attempt to enable the Key Vault for.
1054
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1055
+ # will be added to the HTTP request.
1056
+ #
1057
+ #
1058
+ def enable_key_vault(resource_group_name, account_name, custom_headers = nil)
1059
+ response = enable_key_vault_async(resource_group_name, account_name, custom_headers).value!
1060
+ nil
1061
+ end
1062
+
1063
+ #
1064
+ # Attempts to enable a user managed key vault for encryption of the specified
1065
+ # Data Lake Store account.
1066
+ #
1067
+ # @param resource_group_name [String] The name of the Azure resource group
1068
+ # that contains the Data Lake Store account.
1069
+ # @param account_name [String] The name of the Data Lake Store account to
1070
+ # attempt to enable the Key Vault for.
1071
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
1072
+ # will be added to the HTTP request.
1073
+ #
1074
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1075
+ #
1076
+ def enable_key_vault_with_http_info(resource_group_name, account_name, custom_headers = nil)
1077
+ enable_key_vault_async(resource_group_name, account_name, custom_headers).value!
1078
+ end
1079
+
1080
+ #
1081
+ # Attempts to enable a user managed key vault for encryption of the specified
1082
+ # Data Lake Store account.
1083
+ #
1084
+ # @param resource_group_name [String] The name of the Azure resource group
1085
+ # that contains the Data Lake Store account.
1086
+ # @param account_name [String] The name of the Data Lake Store account to
1087
+ # attempt to enable the Key Vault for.
1088
+ # @param [Hash{String => String}] A hash of custom headers that will be added
1089
+ # to the HTTP request.
1090
+ #
1091
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1092
+ #
1093
+ def enable_key_vault_async(resource_group_name, account_name, custom_headers = nil)
1094
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
1095
+ fail ArgumentError, 'account_name is nil' if account_name.nil?
1096
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
1097
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
1098
+
1099
+
1100
+ request_headers = {}
1101
+
1102
+ # Set Headers
1103
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1104
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1105
+ path_template = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts/{accountName}/enableKeyVault'
1106
+ options = {
1107
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
1108
+ path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id},
1109
+ query_params: {'api-version' => @client.api_version},
1110
+ headers: request_headers.merge(custom_headers || {})
1111
+ }
1112
+
1113
+ request_url = @base_url || @client.base_url
1114
+
1115
+ request = MsRest::HttpOperationRequest.new(request_url, path_template, :post, options)
1116
+ promise = request.run_promise do |req|
1117
+ @client.credentials.sign_request(req) unless @client.credentials.nil?
1118
+ end
1119
+
1120
+ promise = promise.then do |http_response|
1121
+ status_code = http_response.status
1122
+ response_content = http_response.body
1123
+ unless status_code == 200
1124
+ error_model = JSON.load(response_content)
1125
+ fail MsRestAzure::AzureOperationError.new(request, http_response, error_model)
1126
+ end
1127
+
1128
+ # Create Result
1129
+ result = MsRestAzure::AzureOperationResponse.new(request, http_response)
1130
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
1131
+
1132
+ result
1133
+ end
1134
+
1135
+ promise.execute
1136
+ end
1137
+
1046
1138
  #
1047
1139
  # Lists the Data Lake Store accounts within a specific resource group. The
1048
1140
  # response includes a link to the next page of results, if any.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  #
8
8
  # A service client - single point of access to the REST API.
9
9
  #
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # The response body contains the status of the specified asynchronous
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # Data Lake Store account information
@@ -24,6 +24,9 @@ module Azure::ARM::DataLakeStore::Account
24
24
  # @return [String] the account subscription ID.
25
25
  attr_accessor :id
26
26
 
27
+ # @return [EncryptionIdentity] The Key vault encryption identity, if any.
28
+ attr_accessor :identity
29
+
27
30
  # @return [Hash{String => String}] the value of custom properties.
28
31
  attr_accessor :tags
29
32
 
@@ -74,6 +77,14 @@ module Azure::ARM::DataLakeStore::Account
74
77
  name: 'String'
75
78
  }
76
79
  },
80
+ identity: {
81
+ required: false,
82
+ serialized_name: 'identity',
83
+ type: {
84
+ name: 'Composite',
85
+ class_name: 'EncryptionIdentity'
86
+ }
87
+ },
77
88
  tags: {
78
89
  required: false,
79
90
  serialized_name: 'tags',
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # Data Lake Store account list information response.
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # Data Lake Store account properties information
@@ -26,6 +26,19 @@ module Azure::ARM::DataLakeStore::Account
26
26
  # @return [DateTime] the account creation time.
27
27
  attr_accessor :creation_time
28
28
 
29
+ # @return [EncryptionState] The current state of encryption for this
30
+ # Data Lake store account. Possible values include: 'Enabled',
31
+ # 'Disabled'
32
+ attr_accessor :encryption_state
33
+
34
+ # @return [EncryptionProvisioningState] The current state of encryption
35
+ # provisioning for this Data Lake store account. Possible values
36
+ # include: 'Creating', 'Succeeded'
37
+ attr_accessor :encryption_provisioning_state
38
+
39
+ # @return [EncryptionConfig] The Key vault encryption configuration.
40
+ attr_accessor :encryption_config
41
+
29
42
  # @return [DateTime] the account last modified time.
30
43
  attr_accessor :last_modified_time
31
44
 
@@ -75,6 +88,31 @@ module Azure::ARM::DataLakeStore::Account
75
88
  name: 'DateTime'
76
89
  }
77
90
  },
91
+ encryption_state: {
92
+ required: false,
93
+ serialized_name: 'encryptionState',
94
+ type: {
95
+ name: 'Enum',
96
+ module: 'EncryptionState'
97
+ }
98
+ },
99
+ encryption_provisioning_state: {
100
+ required: false,
101
+ read_only: true,
102
+ serialized_name: 'encryptionProvisioningState',
103
+ type: {
104
+ name: 'Enum',
105
+ module: 'EncryptionProvisioningState'
106
+ }
107
+ },
108
+ encryption_config: {
109
+ required: false,
110
+ serialized_name: 'encryptionConfig',
111
+ type: {
112
+ name: 'Composite',
113
+ class_name: 'EncryptionConfig'
114
+ }
115
+ },
78
116
  last_modified_time: {
79
117
  required: false,
80
118
  read_only: true,
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # Defines values for DataLakeStoreAccountState
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # Defines values for DataLakeStoreAccountStatus
@@ -3,7 +3,7 @@
3
3
  # Changes may cause incorrect behavior and will be lost if the code is
4
4
  # regenerated.
5
5
 
6
- module Azure::ARM::DataLakeStore::Account
6
+ module Azure::ARM::DataLakeStore
7
7
  module Models
8
8
  #
9
9
  # Data Lake Store firewall rule list information.
@@ -0,0 +1,60 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class EncryptionConfig
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionConfigType] The type of encryption configuration
16
+ # being used. Currently the only supported types are 'UserManaged' and
17
+ # 'ServiceManaged'. Possible values include: 'UserManaged',
18
+ # 'ServiceManaged'
19
+ attr_accessor :type
20
+
21
+ # @return [KeyVaultMetaInfo] The Key vault information for connecting to
22
+ # user managed encryption keys.
23
+ attr_accessor :key_vault_meta_info
24
+
25
+
26
+ #
27
+ # Mapper for EncryptionConfig class as Ruby Hash.
28
+ # This will be used for serialization/deserialization.
29
+ #
30
+ def self.mapper()
31
+ {
32
+ required: false,
33
+ serialized_name: 'EncryptionConfig',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'EncryptionConfig',
37
+ model_properties: {
38
+ type: {
39
+ required: false,
40
+ serialized_name: 'type',
41
+ type: {
42
+ name: 'Enum',
43
+ module: 'EncryptionConfigType'
44
+ }
45
+ },
46
+ key_vault_meta_info: {
47
+ required: false,
48
+ serialized_name: 'keyVaultMetaInfo',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'KeyVaultMetaInfo'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore
7
+ module Models
8
+ #
9
+ # Defines values for EncryptionConfigType
10
+ #
11
+ module EncryptionConfigType
12
+ UserManaged = "UserManaged"
13
+ ServiceManaged = "ServiceManaged"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class EncryptionIdentity
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EncryptionIdentityType] The type of encryption being used.
16
+ # Currently the only supported type is 'SystemAssigned'. Possible
17
+ # values include: 'SystemAssigned'
18
+ attr_accessor :type
19
+
20
+ # @return The principal identifier associated with the encryption.
21
+ attr_accessor :principal_id
22
+
23
+ # @return The tenant identifier associated with the encryption.
24
+ attr_accessor :tenant_id
25
+
26
+
27
+ #
28
+ # Mapper for EncryptionIdentity class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'EncryptionIdentity',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'EncryptionIdentity',
38
+ model_properties: {
39
+ type: {
40
+ required: false,
41
+ serialized_name: 'type',
42
+ type: {
43
+ name: 'Enum',
44
+ module: 'EncryptionIdentityType'
45
+ }
46
+ },
47
+ principal_id: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'principalId',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ tenant_id: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'tenantId',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end