azure_mgmt_datalake_analytics 0.15.2 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb +174 -160
  3. data/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +4 -1
  4. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics.rb +43 -25
  5. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/{account.rb → accounts.rb} +298 -222
  6. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb +176 -206
  7. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +22 -11
  8. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +180 -203
  9. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +171 -201
  10. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/locations.rb +116 -0
  11. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -2
  12. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_with_account_parameters.rb +58 -0
  13. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +3 -4
  14. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/add_storage_account_with_account_parameters.rb +70 -0
  15. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/capability_information.rb +100 -0
  16. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/check_name_availability_parameters.rb +62 -0
  17. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +22 -5
  18. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +2 -2
  19. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{compute_policy_account_create_parameters.rb → create_compute_policy_with_account_parameters.rb} +7 -6
  20. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_data_lake_analytics_account_parameters.rb +285 -0
  21. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_firewall_rule_with_account_parameters.rb +71 -0
  22. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{compute_policy_create_or_update_parameters.rb → create_or_update_compute_policy_parameters.rb} +4 -4
  23. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/create_or_update_firewall_rule_parameters.rb +59 -0
  24. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +161 -147
  25. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +21 -19
  26. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +4 -4
  27. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_store_account_info.rb → data_lake_store_account_information.rb} +8 -6
  28. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_list_data_lake_store_result.rb → data_lake_store_account_information_list_result.rb} +14 -14
  29. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +9 -6
  30. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_firewall_rule_list_result.rb → firewall_rule_list_result.rb} +7 -8
  31. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/name_availability_information.rb +74 -0
  32. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{optional_sub_resource.rb → operation.rb} +21 -19
  33. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_display.rb +83 -0
  34. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_list_result.rb +68 -0
  35. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/operation_origin.rb +17 -0
  36. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/resource.rb +9 -7
  37. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{sas_token_info.rb → sas_token_information.rb} +5 -5
  38. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_sas_tokens_result.rb → sas_token_information_list_result.rb} +10 -10
  39. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{storage_account_info.rb → storage_account_information.rb} +8 -18
  40. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_list_storage_accounts_result.rb → storage_account_information_list_result.rb} +12 -13
  41. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +2 -11
  42. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{list_storage_containers_result.rb → storage_container_list_result.rb} +7 -7
  43. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +6 -5
  44. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/subscription_state.rb +19 -0
  45. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_parameters.rb +91 -0
  46. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_compute_policy_with_account_parameters.rb +103 -0
  47. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/{data_lake_analytics_account_update_parameters.rb → update_data_lake_analytics_account_parameters.rb} +117 -75
  48. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_data_lake_store_with_account_parameters.rb +59 -0
  49. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +3 -3
  50. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_with_account_parameters.rb +71 -0
  51. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +3 -4
  52. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/update_storage_account_with_account_parameters.rb +72 -0
  53. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/operations.rb +107 -0
  54. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +416 -464
  55. data/lib/profiles/latest/datalakeanalytics_latest_profile_client.rb +28 -9
  56. data/lib/profiles/latest/datalakeanalytics_module_definition.rb +0 -1
  57. data/lib/profiles/latest/modules/datalakeanalytics_profile_module.rb +222 -135
  58. data/lib/version.rb +1 -1
  59. metadata +34 -16
  60. data/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +0 -115
@@ -6,15 +6,12 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # The parameters used to create a new compute policy.
9
+ # Data Lake Analytics compute policy information.
10
10
  #
11
- class ComputePolicy
11
+ class ComputePolicy < SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] The name of the compute policy
16
- attr_accessor :name
17
-
18
15
  # @return The AAD object identifier for the entity to create a policy
19
16
  # for.
20
17
  attr_accessor :object_id
@@ -45,6 +42,15 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
45
42
  name: 'Composite',
46
43
  class_name: 'ComputePolicy',
47
44
  model_properties: {
45
+ id: {
46
+ client_side_validation: true,
47
+ required: false,
48
+ read_only: true,
49
+ serialized_name: 'id',
50
+ type: {
51
+ name: 'String'
52
+ }
53
+ },
48
54
  name: {
49
55
  client_side_validation: true,
50
56
  required: false,
@@ -54,6 +60,15 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
54
60
  name: 'String'
55
61
  }
56
62
  },
63
+ type: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'type',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
57
72
  object_id: {
58
73
  client_side_validation: true,
59
74
  required: false,
@@ -75,6 +90,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
75
90
  max_degree_of_parallelism_per_job: {
76
91
  client_side_validation: true,
77
92
  required: false,
93
+ read_only: true,
78
94
  serialized_name: 'properties.maxDegreeOfParallelismPerJob',
79
95
  constraints: {
80
96
  InclusiveMinimum: 1
@@ -86,6 +102,7 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
86
102
  min_priority_per_job: {
87
103
  client_side_validation: true,
88
104
  required: false,
105
+ read_only: true,
89
106
  serialized_name: 'properties.minPriorityPerJob',
90
107
  constraints: {
91
108
  InclusiveMinimum: 1
@@ -13,10 +13,10 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
13
13
  include MsRestAzure
14
14
 
15
15
  include MsRest::JSONable
16
- # @return [Array<ComputePolicy>] the results of the list operation
16
+ # @return [Array<ComputePolicy>] The results of the list operation.
17
17
  attr_accessor :value
18
18
 
19
- # @return [String] the link (url) to the next page of results.
19
+ # @return [String] The link (url) to the next page of results.
20
20
  attr_accessor :next_link
21
21
 
22
22
  # return [Proc] with next page method call.
@@ -6,13 +6,14 @@
6
6
  module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
7
7
  module Models
8
8
  #
9
- # The parameters used to create a new compute policy.
9
+ # The parameters used to create a new compute policy while creating a new
10
+ # Data Lake Analytics account.
10
11
  #
11
- class ComputePolicyAccountCreateParameters
12
+ class CreateComputePolicyWithAccountParameters
12
13
 
13
14
  include MsRestAzure
14
15
 
15
- # @return [String] The unique name of the policy to create
16
+ # @return [String] The unique name of the compute policy to create.
16
17
  attr_accessor :name
17
18
 
18
19
  # @return The AAD object identifier for the entity to create a policy
@@ -35,17 +36,17 @@ module Azure::DataLakeAnalytics::Mgmt::V2016_11_01
35
36
 
36
37
 
37
38
  #
38
- # Mapper for ComputePolicyAccountCreateParameters class as Ruby Hash.
39
+ # Mapper for CreateComputePolicyWithAccountParameters class as Ruby Hash.
39
40
  # This will be used for serialization/deserialization.
40
41
  #
41
42
  def self.mapper()
42
43
  {
43
44
  client_side_validation: true,
44
45
  required: false,
45
- serialized_name: 'ComputePolicyAccountCreateParameters',
46
+ serialized_name: 'CreateComputePolicyWithAccountParameters',
46
47
  type: {
47
48
  name: 'Composite',
48
- class_name: 'ComputePolicyAccountCreateParameters',
49
+ class_name: 'CreateComputePolicyWithAccountParameters',
49
50
  model_properties: {
50
51
  name: {
51
52
  client_side_validation: true,
@@ -0,0 +1,285 @@
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::DataLakeAnalytics::Mgmt::V2016_11_01
7
+ module Models
8
+ #
9
+ # The parameters to use for creating a Data Lake Analytics account.
10
+ #
11
+ class CreateDataLakeAnalyticsAccountParameters
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The resource location.
16
+ attr_accessor :location
17
+
18
+ # @return [Hash{String => String}] The resource tags.
19
+ attr_accessor :tags
20
+
21
+ # @return [String] The default Data Lake Store account associated with
22
+ # this account.
23
+ attr_accessor :default_data_lake_store_account
24
+
25
+ # @return [Array<AddDataLakeStoreWithAccountParameters>] The list of Data
26
+ # Lake Store accounts associated with this account.
27
+ attr_accessor :data_lake_store_accounts
28
+
29
+ # @return [Array<AddStorageAccountWithAccountParameters>] The list of
30
+ # Azure Blob Storage accounts associated with this account.
31
+ attr_accessor :storage_accounts
32
+
33
+ # @return [Array<CreateComputePolicyWithAccountParameters>] The list of
34
+ # compute policies associated with this account.
35
+ attr_accessor :compute_policies
36
+
37
+ # @return [Array<CreateFirewallRuleWithAccountParameters>] The list of
38
+ # firewall rules associated with this account.
39
+ attr_accessor :firewall_rules
40
+
41
+ # @return [FirewallState] The current state of the IP address firewall
42
+ # for this account. Possible values include: 'Enabled', 'Disabled'
43
+ attr_accessor :firewall_state
44
+
45
+ # @return [FirewallAllowAzureIpsState] The current state of allowing or
46
+ # disallowing IPs originating within Azure through the firewall. If the
47
+ # firewall is disabled, this is not enforced. Possible values include:
48
+ # 'Enabled', 'Disabled'
49
+ attr_accessor :firewall_allow_azure_ips
50
+
51
+ # @return [TierType] The commitment tier for the next month. Possible
52
+ # values include: 'Consumption', 'Commitment_100AUHours',
53
+ # 'Commitment_500AUHours', 'Commitment_1000AUHours',
54
+ # 'Commitment_5000AUHours', 'Commitment_10000AUHours',
55
+ # 'Commitment_50000AUHours', 'Commitment_100000AUHours',
56
+ # 'Commitment_500000AUHours'
57
+ attr_accessor :new_tier
58
+
59
+ # @return [Integer] The maximum supported jobs running under the account
60
+ # at the same time. Default value: 3 .
61
+ attr_accessor :max_job_count
62
+
63
+ # @return [Integer] The maximum supported degree of parallelism for this
64
+ # account. Default value: 30 .
65
+ attr_accessor :max_degree_of_parallelism
66
+
67
+ # @return [Integer] The maximum supported degree of parallelism per job
68
+ # for this account.
69
+ attr_accessor :max_degree_of_parallelism_per_job
70
+
71
+ # @return [Integer] The minimum supported priority per job for this
72
+ # account.
73
+ attr_accessor :min_priority_per_job
74
+
75
+ # @return [Integer] The number of days that job metadata is retained.
76
+ # Default value: 30 .
77
+ attr_accessor :query_store_retention
78
+
79
+
80
+ #
81
+ # Mapper for CreateDataLakeAnalyticsAccountParameters class as Ruby Hash.
82
+ # This will be used for serialization/deserialization.
83
+ #
84
+ def self.mapper()
85
+ {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'CreateDataLakeAnalyticsAccountParameters',
89
+ type: {
90
+ name: 'Composite',
91
+ class_name: 'CreateDataLakeAnalyticsAccountParameters',
92
+ model_properties: {
93
+ location: {
94
+ client_side_validation: true,
95
+ required: true,
96
+ serialized_name: 'location',
97
+ type: {
98
+ name: 'String'
99
+ }
100
+ },
101
+ tags: {
102
+ client_side_validation: true,
103
+ required: false,
104
+ serialized_name: 'tags',
105
+ type: {
106
+ name: 'Dictionary',
107
+ value: {
108
+ client_side_validation: true,
109
+ required: false,
110
+ serialized_name: 'StringElementType',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ }
115
+ }
116
+ },
117
+ default_data_lake_store_account: {
118
+ client_side_validation: true,
119
+ required: true,
120
+ serialized_name: 'properties.defaultDataLakeStoreAccount',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ },
125
+ data_lake_store_accounts: {
126
+ client_side_validation: true,
127
+ required: true,
128
+ serialized_name: 'properties.dataLakeStoreAccounts',
129
+ type: {
130
+ name: 'Sequence',
131
+ element: {
132
+ client_side_validation: true,
133
+ required: false,
134
+ serialized_name: 'AddDataLakeStoreWithAccountParametersElementType',
135
+ type: {
136
+ name: 'Composite',
137
+ class_name: 'AddDataLakeStoreWithAccountParameters'
138
+ }
139
+ }
140
+ }
141
+ },
142
+ storage_accounts: {
143
+ client_side_validation: true,
144
+ required: false,
145
+ serialized_name: 'properties.storageAccounts',
146
+ type: {
147
+ name: 'Sequence',
148
+ element: {
149
+ client_side_validation: true,
150
+ required: false,
151
+ serialized_name: 'AddStorageAccountWithAccountParametersElementType',
152
+ type: {
153
+ name: 'Composite',
154
+ class_name: 'AddStorageAccountWithAccountParameters'
155
+ }
156
+ }
157
+ }
158
+ },
159
+ compute_policies: {
160
+ client_side_validation: true,
161
+ required: false,
162
+ serialized_name: 'properties.computePolicies',
163
+ type: {
164
+ name: 'Sequence',
165
+ element: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ serialized_name: 'CreateComputePolicyWithAccountParametersElementType',
169
+ type: {
170
+ name: 'Composite',
171
+ class_name: 'CreateComputePolicyWithAccountParameters'
172
+ }
173
+ }
174
+ }
175
+ },
176
+ firewall_rules: {
177
+ client_side_validation: true,
178
+ required: false,
179
+ serialized_name: 'properties.firewallRules',
180
+ type: {
181
+ name: 'Sequence',
182
+ element: {
183
+ client_side_validation: true,
184
+ required: false,
185
+ serialized_name: 'CreateFirewallRuleWithAccountParametersElementType',
186
+ type: {
187
+ name: 'Composite',
188
+ class_name: 'CreateFirewallRuleWithAccountParameters'
189
+ }
190
+ }
191
+ }
192
+ },
193
+ firewall_state: {
194
+ client_side_validation: true,
195
+ required: false,
196
+ serialized_name: 'properties.firewallState',
197
+ type: {
198
+ name: 'Enum',
199
+ module: 'FirewallState'
200
+ }
201
+ },
202
+ firewall_allow_azure_ips: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'properties.firewallAllowAzureIps',
206
+ type: {
207
+ name: 'Enum',
208
+ module: 'FirewallAllowAzureIpsState'
209
+ }
210
+ },
211
+ new_tier: {
212
+ client_side_validation: true,
213
+ required: false,
214
+ serialized_name: 'properties.newTier',
215
+ type: {
216
+ name: 'Enum',
217
+ module: 'TierType'
218
+ }
219
+ },
220
+ max_job_count: {
221
+ client_side_validation: true,
222
+ required: false,
223
+ serialized_name: 'properties.maxJobCount',
224
+ default_value: 3,
225
+ constraints: {
226
+ InclusiveMinimum: 1
227
+ },
228
+ type: {
229
+ name: 'Number'
230
+ }
231
+ },
232
+ max_degree_of_parallelism: {
233
+ client_side_validation: true,
234
+ required: false,
235
+ serialized_name: 'properties.maxDegreeOfParallelism',
236
+ default_value: 30,
237
+ constraints: {
238
+ InclusiveMinimum: 1
239
+ },
240
+ type: {
241
+ name: 'Number'
242
+ }
243
+ },
244
+ max_degree_of_parallelism_per_job: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ serialized_name: 'properties.maxDegreeOfParallelismPerJob',
248
+ constraints: {
249
+ InclusiveMinimum: 1
250
+ },
251
+ type: {
252
+ name: 'Number'
253
+ }
254
+ },
255
+ min_priority_per_job: {
256
+ client_side_validation: true,
257
+ required: false,
258
+ serialized_name: 'properties.minPriorityPerJob',
259
+ constraints: {
260
+ InclusiveMinimum: 1
261
+ },
262
+ type: {
263
+ name: 'Number'
264
+ }
265
+ },
266
+ query_store_retention: {
267
+ client_side_validation: true,
268
+ required: false,
269
+ serialized_name: 'properties.queryStoreRetention',
270
+ default_value: 30,
271
+ constraints: {
272
+ InclusiveMaximum: 180,
273
+ InclusiveMinimum: 1
274
+ },
275
+ type: {
276
+ name: 'Number'
277
+ }
278
+ }
279
+ }
280
+ }
281
+ }
282
+ end
283
+ end
284
+ end
285
+ end
@@ -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::DataLakeAnalytics::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 Analytics 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