azure_mgmt_datalake_analytics 0.8.0 → 0.9.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.
- checksums.yaml +4 -4
- data/lib/generated/azure_mgmt_datalake_analytics.rb +16 -11
- data/lib/generated/azure_mgmt_datalake_analytics/account.rb +44 -34
- data/lib/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +8 -5
- data/lib/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +3 -4
- data/lib/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +674 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +79 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +62 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +17 -5
- data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +79 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_state.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/{error_details.rb → optional_sub_resource.rb} +18 -20
- data/lib/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +17 -6
- data/lib/generated/azure_mgmt_datalake_analytics/models/{inner_error.rb → sub_resource.rb} +20 -13
- data/lib/generated/azure_mgmt_datalake_analytics/models/tier_type.rb +23 -0
- data/lib/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics/version.rb +1 -1
- metadata +13 -8
- data/lib/generated/azure_mgmt_datalake_analytics/models/create_storage_account_info.rb +0 -67
- data/lib/generated/azure_mgmt_datalake_analytics/models/error.rb +0 -99
@@ -66,6 +66,37 @@ module Azure::ARM::DataLakeAnalytics
|
|
66
66
|
# @return [String] the full CName endpoint for this account.
|
67
67
|
attr_accessor :endpoint
|
68
68
|
|
69
|
+
# @return [TierType] the commitment tier for the next month. Possible
|
70
|
+
# values include: 'Consumption', 'Commitment_100AUHours',
|
71
|
+
# 'Commitment_500AUHours', 'Commitment_1000AUHours',
|
72
|
+
# 'Commitment_5000AUHours', 'Commitment_10000AUHours',
|
73
|
+
# 'Commitment_50000AUHours', 'Commitment_100000AUHours',
|
74
|
+
# 'Commitment_500000AUHours'
|
75
|
+
attr_accessor :new_tier
|
76
|
+
|
77
|
+
# @return [TierType] the commitment tier in use for the current month.
|
78
|
+
# Possible values include: 'Consumption', 'Commitment_100AUHours',
|
79
|
+
# 'Commitment_500AUHours', 'Commitment_1000AUHours',
|
80
|
+
# 'Commitment_5000AUHours', 'Commitment_10000AUHours',
|
81
|
+
# 'Commitment_50000AUHours', 'Commitment_100000AUHours',
|
82
|
+
# 'Commitment_500000AUHours'
|
83
|
+
attr_accessor :current_tier
|
84
|
+
|
85
|
+
# @return [FirewallState] The current state of the IP address firewall
|
86
|
+
# for this Data Lake Analytics account. Possible values include:
|
87
|
+
# 'Enabled', 'Disabled'
|
88
|
+
attr_accessor :firewall_state
|
89
|
+
|
90
|
+
# @return [FirewallAllowAzureIpsState] The current state of allowing or
|
91
|
+
# disallowing IPs originating within Azure through the firewall. If the
|
92
|
+
# firewall is disabled, this is not enforced. Possible values include:
|
93
|
+
# 'Enabled', 'Disabled'
|
94
|
+
attr_accessor :firewall_allow_azure_ips
|
95
|
+
|
96
|
+
# @return [Array<FirewallRule>] The list of firewall rules associated
|
97
|
+
# with this Data Lake Analytics account.
|
98
|
+
attr_accessor :firewall_rules
|
99
|
+
|
69
100
|
|
70
101
|
#
|
71
102
|
# Mapper for DataLakeAnalyticsAccount class as Ruby Hash.
|
@@ -252,6 +283,54 @@ module Azure::ARM::DataLakeAnalytics
|
|
252
283
|
type: {
|
253
284
|
name: 'String'
|
254
285
|
}
|
286
|
+
},
|
287
|
+
new_tier: {
|
288
|
+
required: false,
|
289
|
+
serialized_name: 'properties.newTier',
|
290
|
+
type: {
|
291
|
+
name: 'Enum',
|
292
|
+
module: 'TierType'
|
293
|
+
}
|
294
|
+
},
|
295
|
+
current_tier: {
|
296
|
+
required: false,
|
297
|
+
read_only: true,
|
298
|
+
serialized_name: 'properties.currentTier',
|
299
|
+
type: {
|
300
|
+
name: 'Enum',
|
301
|
+
module: 'TierType'
|
302
|
+
}
|
303
|
+
},
|
304
|
+
firewall_state: {
|
305
|
+
required: false,
|
306
|
+
serialized_name: 'properties.firewallState',
|
307
|
+
type: {
|
308
|
+
name: 'Enum',
|
309
|
+
module: 'FirewallState'
|
310
|
+
}
|
311
|
+
},
|
312
|
+
firewall_allow_azure_ips: {
|
313
|
+
required: false,
|
314
|
+
serialized_name: 'properties.firewallAllowAzureIps',
|
315
|
+
type: {
|
316
|
+
name: 'Enum',
|
317
|
+
module: 'FirewallAllowAzureIpsState'
|
318
|
+
}
|
319
|
+
},
|
320
|
+
firewall_rules: {
|
321
|
+
required: false,
|
322
|
+
serialized_name: 'properties.firewallRules',
|
323
|
+
type: {
|
324
|
+
name: 'Sequence',
|
325
|
+
element: {
|
326
|
+
required: false,
|
327
|
+
serialized_name: 'FirewallRuleElementType',
|
328
|
+
type: {
|
329
|
+
name: 'Composite',
|
330
|
+
class_name: 'FirewallRule'
|
331
|
+
}
|
332
|
+
}
|
333
|
+
}
|
255
334
|
}
|
256
335
|
}
|
257
336
|
}
|
@@ -27,6 +27,29 @@ module Azure::ARM::DataLakeAnalytics
|
|
27
27
|
# at the same time.
|
28
28
|
attr_accessor :max_job_count
|
29
29
|
|
30
|
+
# @return [TierType] the commitment tier to use for next month. Possible
|
31
|
+
# values include: 'Consumption', 'Commitment_100AUHours',
|
32
|
+
# 'Commitment_500AUHours', 'Commitment_1000AUHours',
|
33
|
+
# 'Commitment_5000AUHours', 'Commitment_10000AUHours',
|
34
|
+
# 'Commitment_50000AUHours', 'Commitment_100000AUHours',
|
35
|
+
# 'Commitment_500000AUHours'
|
36
|
+
attr_accessor :new_tier
|
37
|
+
|
38
|
+
# @return [FirewallState] The current state of the IP address firewall
|
39
|
+
# for this Data Lake Analytics account. Possible values include:
|
40
|
+
# 'Enabled', 'Disabled'
|
41
|
+
attr_accessor :firewall_state
|
42
|
+
|
43
|
+
# @return [FirewallAllowAzureIpsState] The current state of allowing or
|
44
|
+
# disallowing IPs originating within Azure through the firewall. If the
|
45
|
+
# firewall is disabled, this is not enforced. Possible values include:
|
46
|
+
# 'Enabled', 'Disabled'
|
47
|
+
attr_accessor :firewall_allow_azure_ips
|
48
|
+
|
49
|
+
# @return [Array<FirewallRule>] The list of firewall rules associated
|
50
|
+
# with this Data Lake Analytics account.
|
51
|
+
attr_accessor :firewall_rules
|
52
|
+
|
30
53
|
|
31
54
|
#
|
32
55
|
# Mapper for DataLakeAnalyticsAccountUpdateParameters class as Ruby Hash.
|
@@ -84,6 +107,45 @@ module Azure::ARM::DataLakeAnalytics
|
|
84
107
|
type: {
|
85
108
|
name: 'Number'
|
86
109
|
}
|
110
|
+
},
|
111
|
+
new_tier: {
|
112
|
+
required: false,
|
113
|
+
serialized_name: 'properties.newTier',
|
114
|
+
type: {
|
115
|
+
name: 'Enum',
|
116
|
+
module: 'TierType'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
firewall_state: {
|
120
|
+
required: false,
|
121
|
+
serialized_name: 'properties.firewallState',
|
122
|
+
type: {
|
123
|
+
name: 'Enum',
|
124
|
+
module: 'FirewallState'
|
125
|
+
}
|
126
|
+
},
|
127
|
+
firewall_allow_azure_ips: {
|
128
|
+
required: false,
|
129
|
+
serialized_name: 'properties.firewallAllowAzureIps',
|
130
|
+
type: {
|
131
|
+
name: 'Enum',
|
132
|
+
module: 'FirewallAllowAzureIpsState'
|
133
|
+
}
|
134
|
+
},
|
135
|
+
firewall_rules: {
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'properties.firewallRules',
|
138
|
+
type: {
|
139
|
+
name: 'Sequence',
|
140
|
+
element: {
|
141
|
+
required: false,
|
142
|
+
serialized_name: 'FirewallRuleElementType',
|
143
|
+
type: {
|
144
|
+
name: 'Composite',
|
145
|
+
class_name: 'FirewallRule'
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
87
149
|
}
|
88
150
|
}
|
89
151
|
}
|
@@ -0,0 +1,96 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Data Lake Analytics firewall rule list information.
|
10
|
+
#
|
11
|
+
class DataLakeAnalyticsFirewallRuleListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<FirewallRule>] the results of the list operation
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
# @return [String] the link (url) to the next page of results.
|
19
|
+
attr_accessor :next_link
|
20
|
+
|
21
|
+
# return [Proc] with next page method call.
|
22
|
+
attr_accessor :next_method
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
26
|
+
#
|
27
|
+
# @return [Array<FirewallRule>] operation results.
|
28
|
+
#
|
29
|
+
def get_all_items
|
30
|
+
items = @value
|
31
|
+
page = self
|
32
|
+
while page.next_link != nil do
|
33
|
+
page = page.get_next_page
|
34
|
+
items.concat(page.value)
|
35
|
+
end
|
36
|
+
items
|
37
|
+
end
|
38
|
+
|
39
|
+
#
|
40
|
+
# Gets the next page of results.
|
41
|
+
#
|
42
|
+
# @return [DataLakeAnalyticsFirewallRuleListResult] with next page
|
43
|
+
# content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for DataLakeAnalyticsFirewallRuleListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'DataLakeAnalyticsFirewallRuleListResult',
|
62
|
+
type: {
|
63
|
+
name: 'Composite',
|
64
|
+
class_name: 'DataLakeAnalyticsFirewallRuleListResult',
|
65
|
+
model_properties: {
|
66
|
+
value: {
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'value',
|
70
|
+
type: {
|
71
|
+
name: 'Sequence',
|
72
|
+
element: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'FirewallRuleElementType',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'FirewallRule'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
next_link: {
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'nextLink',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -8,14 +8,10 @@ module Azure::ARM::DataLakeAnalytics
|
|
8
8
|
#
|
9
9
|
# Data Lake Store account information.
|
10
10
|
#
|
11
|
-
class DataLakeStoreAccountInfo
|
11
|
+
class DataLakeStoreAccountInfo < SubResource
|
12
12
|
|
13
13
|
include MsRestAzure
|
14
14
|
|
15
|
-
# @return [String] the account name of the Data Lake Store account to add
|
16
|
-
# to the Data Lake Analytics account being created.
|
17
|
-
attr_accessor :name
|
18
|
-
|
19
15
|
# @return [String] the optional suffix for the Data Lake Store account.
|
20
16
|
attr_accessor :suffix
|
21
17
|
|
@@ -32,6 +28,14 @@ module Azure::ARM::DataLakeAnalytics
|
|
32
28
|
name: 'Composite',
|
33
29
|
class_name: 'DataLakeStoreAccountInfo',
|
34
30
|
model_properties: {
|
31
|
+
id: {
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
35
39
|
name: {
|
36
40
|
required: true,
|
37
41
|
serialized_name: 'name',
|
@@ -39,6 +43,14 @@ module Azure::ARM::DataLakeAnalytics
|
|
39
43
|
name: 'String'
|
40
44
|
}
|
41
45
|
},
|
46
|
+
type: {
|
47
|
+
required: false,
|
48
|
+
read_only: true,
|
49
|
+
serialized_name: 'type',
|
50
|
+
type: {
|
51
|
+
name: 'String'
|
52
|
+
}
|
53
|
+
},
|
42
54
|
suffix: {
|
43
55
|
required: false,
|
44
56
|
serialized_name: 'properties.suffix',
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for FirewallAllowAzureIpsState
|
10
|
+
#
|
11
|
+
module FirewallAllowAzureIpsState
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Data Lake Analytics firewall rule information
|
10
|
+
#
|
11
|
+
class FirewallRule < OptionalSubResource
|
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 FirewallRule class as Ruby Hash.
|
26
|
+
# This will be used for serialization/deserialization.
|
27
|
+
#
|
28
|
+
def self.mapper()
|
29
|
+
{
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'FirewallRule',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'FirewallRule',
|
35
|
+
model_properties: {
|
36
|
+
id: {
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
type: {
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'type',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
start_ip_address: {
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'properties.startIpAddress',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
end_ip_address: {
|
67
|
+
required: true,
|
68
|
+
serialized_name: 'properties.endIpAddress',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::DataLakeAnalytics
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for FirewallState
|
10
|
+
#
|
11
|
+
module FirewallState
|
12
|
+
Enabled = "Enabled"
|
13
|
+
Disabled = "Disabled"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -6,56 +6,54 @@
|
|
6
6
|
module Azure::ARM::DataLakeAnalytics
|
7
7
|
module Models
|
8
8
|
#
|
9
|
-
#
|
9
|
+
# The Resource model definition for a nested resource with no required
|
10
|
+
# properties.
|
10
11
|
#
|
11
|
-
class
|
12
|
+
class OptionalSubResource
|
12
13
|
|
13
14
|
include MsRestAzure
|
14
15
|
|
15
|
-
# @return [String]
|
16
|
-
|
17
|
-
attr_accessor :code
|
16
|
+
# @return [String] Resource Id
|
17
|
+
attr_accessor :id
|
18
18
|
|
19
|
-
# @return [String]
|
20
|
-
attr_accessor :
|
19
|
+
# @return [String] Resource name
|
20
|
+
attr_accessor :name
|
21
21
|
|
22
|
-
# @return [String]
|
23
|
-
|
24
|
-
attr_accessor :target
|
22
|
+
# @return [String] Resource type
|
23
|
+
attr_accessor :type
|
25
24
|
|
26
25
|
|
27
26
|
#
|
28
|
-
# Mapper for
|
27
|
+
# Mapper for OptionalSubResource class as Ruby Hash.
|
29
28
|
# This will be used for serialization/deserialization.
|
30
29
|
#
|
31
30
|
def self.mapper()
|
32
31
|
{
|
33
32
|
required: false,
|
34
|
-
serialized_name: '
|
33
|
+
serialized_name: 'OptionalSubResource',
|
35
34
|
type: {
|
36
35
|
name: 'Composite',
|
37
|
-
class_name: '
|
36
|
+
class_name: 'OptionalSubResource',
|
38
37
|
model_properties: {
|
39
|
-
|
38
|
+
id: {
|
40
39
|
required: false,
|
41
40
|
read_only: true,
|
42
|
-
serialized_name: '
|
41
|
+
serialized_name: 'id',
|
43
42
|
type: {
|
44
43
|
name: 'String'
|
45
44
|
}
|
46
45
|
},
|
47
|
-
|
46
|
+
name: {
|
48
47
|
required: false,
|
49
|
-
|
50
|
-
serialized_name: 'message',
|
48
|
+
serialized_name: 'name',
|
51
49
|
type: {
|
52
50
|
name: 'String'
|
53
51
|
}
|
54
52
|
},
|
55
|
-
|
53
|
+
type: {
|
56
54
|
required: false,
|
57
55
|
read_only: true,
|
58
|
-
serialized_name: '
|
56
|
+
serialized_name: 'type',
|
59
57
|
type: {
|
60
58
|
name: 'String'
|
61
59
|
}
|