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
@@ -0,0 +1,71 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to create a new firewall rule while creating a new
10
+ # Data Lake Store account.
11
+ #
12
+ class CreateFirewallRuleWithAccountParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The unique name of the firewall rule to create.
17
+ attr_accessor :name
18
+
19
+ # @return [String] The start IP address for the firewall rule. This can
20
+ # be either ipv4 or ipv6. Start and End should be in the same protocol.
21
+ attr_accessor :start_ip_address
22
+
23
+ # @return [String] The end IP address for the firewall rule. This can be
24
+ # either ipv4 or ipv6. Start and End should be in the same protocol.
25
+ attr_accessor :end_ip_address
26
+
27
+
28
+ #
29
+ # Mapper for CreateFirewallRuleWithAccountParameters class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'CreateFirewallRuleWithAccountParameters',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'CreateFirewallRuleWithAccountParameters',
40
+ model_properties: {
41
+ name: {
42
+ client_side_validation: true,
43
+ required: true,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ start_ip_address: {
50
+ client_side_validation: true,
51
+ required: true,
52
+ serialized_name: 'properties.startIpAddress',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ end_ip_address: {
58
+ client_side_validation: true,
59
+ required: true,
60
+ serialized_name: 'properties.endIpAddress',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,59 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to create a new firewall rule.
10
+ #
11
+ class CreateOrUpdateFirewallRuleParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The start IP address for the firewall rule. This can
16
+ # be either ipv4 or ipv6. Start and End should be in the same protocol.
17
+ attr_accessor :start_ip_address
18
+
19
+ # @return [String] The end IP address for the firewall rule. This can be
20
+ # either ipv4 or ipv6. Start and End should be in the same protocol.
21
+ attr_accessor :end_ip_address
22
+
23
+
24
+ #
25
+ # Mapper for CreateOrUpdateFirewallRuleParameters class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'CreateOrUpdateFirewallRuleParameters',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'CreateOrUpdateFirewallRuleParameters',
36
+ model_properties: {
37
+ start_ip_address: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'properties.startIpAddress',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ end_ip_address: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ serialized_name: 'properties.endIpAddress',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,47 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to create a new trusted identity provider.
10
+ #
11
+ class CreateOrUpdateTrustedIdProviderParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The URL of this trusted identity provider.
16
+ attr_accessor :id_provider
17
+
18
+
19
+ #
20
+ # Mapper for CreateOrUpdateTrustedIdProviderParameters class as Ruby
21
+ # Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'CreateOrUpdateTrustedIdProviderParameters',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'CreateOrUpdateTrustedIdProviderParameters',
32
+ model_properties: {
33
+ id_provider: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'properties.idProvider',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,60 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::DataLakeStore::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters used to create a new trusted identity provider while
10
+ # creating a new Data Lake Store account.
11
+ #
12
+ class CreateTrustedIdProviderWithAccountParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] The unique name of the trusted identity provider to
17
+ # create.
18
+ attr_accessor :name
19
+
20
+ # @return [String] The URL of this trusted identity provider.
21
+ attr_accessor :id_provider
22
+
23
+
24
+ #
25
+ # Mapper for CreateTrustedIdProviderWithAccountParameters class as Ruby
26
+ # Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'CreateTrustedIdProviderWithAccountParameters',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'CreateTrustedIdProviderWithAccountParameters',
37
+ model_properties: {
38
+ name: {
39
+ client_side_validation: true,
40
+ required: true,
41
+ serialized_name: 'name',
42
+ type: {
43
+ name: 'String'
44
+ }
45
+ },
46
+ id_provider: {
47
+ client_side_validation: true,
48
+ required: true,
49
+ serialized_name: 'properties.idProvider',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ end
58
+ end
59
+ end
60
+ end
@@ -6,7 +6,7 @@
6
6
  module Azure::DataLakeStore::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # Data Lake Store account information
9
+ # Data Lake Store account information.
10
10
  #
11
11
  class DataLakeStoreAccount < Resource
12
12
 
@@ -15,81 +15,81 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
15
15
  # @return [EncryptionIdentity] The Key Vault encryption identity, if any.
16
16
  attr_accessor :identity
17
17
 
18
- # @return [DataLakeStoreAccountStatus] the provisioning status of the
18
+ # @return The unique identifier associated with this Data Lake Store
19
+ # account.
20
+ attr_accessor :account_id
21
+
22
+ # @return [DataLakeStoreAccountStatus] The provisioning status of the
19
23
  # Data Lake Store account. Possible values include: 'Failed', 'Creating',
20
24
  # 'Running', 'Succeeded', 'Patching', 'Suspending', 'Resuming',
21
25
  # 'Deleting', 'Deleted', 'Undeleting', 'Canceled'
22
26
  attr_accessor :provisioning_state
23
27
 
24
- # @return [DataLakeStoreAccountState] the state of the Data Lake Store
28
+ # @return [DataLakeStoreAccountState] The state of the Data Lake Store
25
29
  # account. Possible values include: 'Active', 'Suspended'
26
30
  attr_accessor :state
27
31
 
28
- # @return [DateTime] the account creation time.
32
+ # @return [DateTime] The account creation time.
29
33
  attr_accessor :creation_time
30
34
 
31
- # @return [DateTime] the account last modified time.
35
+ # @return [DateTime] The account last modified time.
32
36
  attr_accessor :last_modified_time
33
37
 
34
- # @return [String] the full CName endpoint for this account.
38
+ # @return [String] The full CName endpoint for this account.
35
39
  attr_accessor :endpoint
36
40
 
37
- # @return The unique identifier associated with this Data Lake Store
38
- # account.
39
- attr_accessor :account_id
41
+ # @return [String] The default owner group for all new folders and files
42
+ # created in the Data Lake Store account.
43
+ attr_accessor :default_group
44
+
45
+ # @return [EncryptionConfig] The Key Vault encryption configuration.
46
+ attr_accessor :encryption_config
40
47
 
41
48
  # @return [EncryptionState] The current state of encryption for this Data
42
- # Lake store account. Possible values include: 'Enabled', 'Disabled'
49
+ # Lake Store account. Possible values include: 'Enabled', 'Disabled'
43
50
  attr_accessor :encryption_state
44
51
 
45
52
  # @return [EncryptionProvisioningState] The current state of encryption
46
- # provisioning for this Data Lake store account. Possible values include:
53
+ # provisioning for this Data Lake Store account. Possible values include:
47
54
  # 'Creating', 'Succeeded'
48
55
  attr_accessor :encryption_provisioning_state
49
56
 
50
- # @return [EncryptionConfig] The Key Vault encryption configuration.
51
- attr_accessor :encryption_config
57
+ # @return [Array<FirewallRule>] The list of firewall rules associated
58
+ # with this Data Lake Store account.
59
+ attr_accessor :firewall_rules
52
60
 
53
61
  # @return [FirewallState] The current state of the IP address firewall
54
- # for this Data Lake store account. Possible values include: 'Enabled',
62
+ # for this Data Lake Store account. Possible values include: 'Enabled',
55
63
  # 'Disabled'
56
64
  attr_accessor :firewall_state
57
65
 
58
- # @return [Array<FirewallRule>] The list of firewall rules associated
59
- # with this Data Lake store account.
60
- attr_accessor :firewall_rules
61
-
62
- # @return [TrustedIdProviderState] The current state of the trusted
63
- # identity provider feature for this Data Lake store account. Possible
64
- # values include: 'Enabled', 'Disabled'
65
- attr_accessor :trusted_id_provider_state
66
+ # @return [FirewallAllowAzureIpsState] The current state of allowing or
67
+ # disallowing IPs originating within Azure through the firewall. If the
68
+ # firewall is disabled, this is not enforced. Possible values include:
69
+ # 'Enabled', 'Disabled'
70
+ attr_accessor :firewall_allow_azure_ips
66
71
 
67
72
  # @return [Array<TrustedIdProvider>] The list of trusted identity
68
- # providers associated with this Data Lake store account.
73
+ # providers associated with this Data Lake Store account.
69
74
  attr_accessor :trusted_id_providers
70
75
 
71
- # @return [String] the default owner group for all new folders and files
72
- # created in the Data Lake Store account.
73
- attr_accessor :default_group
76
+ # @return [TrustedIdProviderState] The current state of the trusted
77
+ # identity provider feature for this Data Lake Store account. Possible
78
+ # values include: 'Enabled', 'Disabled'
79
+ attr_accessor :trusted_id_provider_state
74
80
 
75
- # @return [TierType] the commitment tier to use for next month. Possible
81
+ # @return [TierType] The commitment tier to use for next month. Possible
76
82
  # values include: 'Consumption', 'Commitment_1TB', 'Commitment_10TB',
77
83
  # 'Commitment_100TB', 'Commitment_500TB', 'Commitment_1PB',
78
84
  # 'Commitment_5PB'
79
85
  attr_accessor :new_tier
80
86
 
81
- # @return [TierType] the commitment tier in use for the current month.
87
+ # @return [TierType] The commitment tier in use for the current month.
82
88
  # Possible values include: 'Consumption', 'Commitment_1TB',
83
89
  # 'Commitment_10TB', 'Commitment_100TB', 'Commitment_500TB',
84
90
  # 'Commitment_1PB', 'Commitment_5PB'
85
91
  attr_accessor :current_tier
86
92
 
87
- # @return [FirewallAllowAzureIpsState] The current state of allowing or
88
- # disallowing IPs originating within Azure through the firewall. If the
89
- # firewall is disabled, this is not enforced. Possible values include:
90
- # 'Enabled', 'Disabled'
91
- attr_accessor :firewall_allow_azure_ips
92
-
93
93
 
94
94
  #
95
95
  # Mapper for DataLakeStoreAccount class as Ruby Hash.
@@ -133,7 +133,8 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
133
133
  },
134
134
  location: {
135
135
  client_side_validation: true,
136
- required: true,
136
+ required: false,
137
+ read_only: true,
137
138
  serialized_name: 'location',
138
139
  type: {
139
140
  name: 'String'
@@ -142,6 +143,7 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
142
143
  tags: {
143
144
  client_side_validation: true,
144
145
  required: false,
146
+ read_only: true,
145
147
  serialized_name: 'tags',
146
148
  type: {
147
149
  name: 'Dictionary',
@@ -158,12 +160,22 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
158
160
  identity: {
159
161
  client_side_validation: true,
160
162
  required: false,
163
+ read_only: true,
161
164
  serialized_name: 'identity',
162
165
  type: {
163
166
  name: 'Composite',
164
167
  class_name: 'EncryptionIdentity'
165
168
  }
166
169
  },
170
+ account_id: {
171
+ client_side_validation: true,
172
+ required: false,
173
+ read_only: true,
174
+ serialized_name: 'properties.accountId',
175
+ type: {
176
+ name: 'String'
177
+ }
178
+ },
167
179
  provisioning_state: {
168
180
  client_side_validation: true,
169
181
  required: false,
@@ -211,18 +223,29 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
211
223
  name: 'String'
212
224
  }
213
225
  },
214
- account_id: {
226
+ default_group: {
215
227
  client_side_validation: true,
216
228
  required: false,
217
229
  read_only: true,
218
- serialized_name: 'properties.accountId',
230
+ serialized_name: 'properties.defaultGroup',
219
231
  type: {
220
232
  name: 'String'
221
233
  }
222
234
  },
235
+ encryption_config: {
236
+ client_side_validation: true,
237
+ required: false,
238
+ read_only: true,
239
+ serialized_name: 'properties.encryptionConfig',
240
+ type: {
241
+ name: 'Composite',
242
+ class_name: 'EncryptionConfig'
243
+ }
244
+ },
223
245
  encryption_state: {
224
246
  client_side_validation: true,
225
247
  required: false,
248
+ read_only: true,
226
249
  serialized_name: 'properties.encryptionState',
227
250
  type: {
228
251
  name: 'Enum',
@@ -239,27 +262,10 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
239
262
  module: 'EncryptionProvisioningState'
240
263
  }
241
264
  },
242
- encryption_config: {
243
- client_side_validation: true,
244
- required: false,
245
- serialized_name: 'properties.encryptionConfig',
246
- type: {
247
- name: 'Composite',
248
- class_name: 'EncryptionConfig'
249
- }
250
- },
251
- firewall_state: {
252
- client_side_validation: true,
253
- required: false,
254
- serialized_name: 'properties.firewallState',
255
- type: {
256
- name: 'Enum',
257
- module: 'FirewallState'
258
- }
259
- },
260
265
  firewall_rules: {
261
266
  client_side_validation: true,
262
267
  required: false,
268
+ read_only: true,
263
269
  serialized_name: 'properties.firewallRules',
264
270
  type: {
265
271
  name: 'Sequence',
@@ -274,18 +280,30 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
274
280
  }
275
281
  }
276
282
  },
277
- trusted_id_provider_state: {
283
+ firewall_state: {
278
284
  client_side_validation: true,
279
285
  required: false,
280
- serialized_name: 'properties.trustedIdProviderState',
286
+ read_only: true,
287
+ serialized_name: 'properties.firewallState',
281
288
  type: {
282
289
  name: 'Enum',
283
- module: 'TrustedIdProviderState'
290
+ module: 'FirewallState'
291
+ }
292
+ },
293
+ firewall_allow_azure_ips: {
294
+ client_side_validation: true,
295
+ required: false,
296
+ read_only: true,
297
+ serialized_name: 'properties.firewallAllowAzureIps',
298
+ type: {
299
+ name: 'Enum',
300
+ module: 'FirewallAllowAzureIpsState'
284
301
  }
285
302
  },
286
303
  trusted_id_providers: {
287
304
  client_side_validation: true,
288
305
  required: false,
306
+ read_only: true,
289
307
  serialized_name: 'properties.trustedIdProviders',
290
308
  type: {
291
309
  name: 'Sequence',
@@ -300,17 +318,20 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
300
318
  }
301
319
  }
302
320
  },
303
- default_group: {
321
+ trusted_id_provider_state: {
304
322
  client_side_validation: true,
305
323
  required: false,
306
- serialized_name: 'properties.defaultGroup',
324
+ read_only: true,
325
+ serialized_name: 'properties.trustedIdProviderState',
307
326
  type: {
308
- name: 'String'
327
+ name: 'Enum',
328
+ module: 'TrustedIdProviderState'
309
329
  }
310
330
  },
311
331
  new_tier: {
312
332
  client_side_validation: true,
313
333
  required: false,
334
+ read_only: true,
314
335
  serialized_name: 'properties.newTier',
315
336
  type: {
316
337
  name: 'Enum',
@@ -326,15 +347,6 @@ module Azure::DataLakeStore::Mgmt::V2016_11_01
326
347
  name: 'Enum',
327
348
  module: 'TierType'
328
349
  }
329
- },
330
- firewall_allow_azure_ips: {
331
- client_side_validation: true,
332
- required: false,
333
- serialized_name: 'properties.firewallAllowAzureIps',
334
- type: {
335
- name: 'Enum',
336
- module: 'FirewallAllowAzureIpsState'
337
- }
338
350
  }
339
351
  }
340
352
  }