azure_mgmt_datalake_analytics 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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_datalake_analytics.rb +21 -13
  3. data/lib/generated/azure_mgmt_datalake_analytics/account.rb +183 -184
  4. data/lib/generated/azure_mgmt_datalake_analytics/compute_policies.rb +682 -0
  5. data/lib/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +5 -1
  6. data/lib/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +79 -80
  7. data/lib/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +20 -21
  8. data/lib/generated/azure_mgmt_datalake_analytics/models/aadobject_type.rb +17 -0
  9. data/lib/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb +2 -1
  10. data/lib/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb +2 -1
  11. data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy.rb +98 -0
  12. data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy_account_create_parameters.rb +97 -0
  13. data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy_create_or_update_parameters.rb +87 -0
  14. data/lib/generated/azure_mgmt_datalake_analytics/models/compute_policy_list_result.rb +96 -0
  15. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +94 -34
  16. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_basic.rb +154 -0
  17. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb +2 -1
  18. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb +6 -5
  19. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_storage_accounts_result.rb +2 -1
  20. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_properties_basic.rb +109 -0
  21. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb +1 -1
  22. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb +1 -1
  23. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +49 -1
  24. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +2 -1
  25. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +2 -1
  26. data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb +1 -1
  27. data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +2 -1
  28. data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_state.rb +1 -1
  29. data/lib/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb +2 -1
  30. data/lib/generated/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb +2 -1
  31. data/lib/generated/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb +2 -1
  32. data/lib/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb +2 -1
  33. data/lib/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +2 -1
  34. data/lib/generated/azure_mgmt_datalake_analytics/models/storage_container.rb +9 -8
  35. data/lib/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb +2 -1
  36. data/lib/generated/azure_mgmt_datalake_analytics/models/tier_type.rb +1 -1
  37. data/lib/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +2 -1
  38. data/lib/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb +2 -1
  39. data/lib/generated/azure_mgmt_datalake_analytics/module_definition.rb +1 -1
  40. data/lib/generated/azure_mgmt_datalake_analytics/storage_accounts.rb +163 -164
  41. data/lib/generated/azure_mgmt_datalake_analytics/version.rb +2 -2
  42. metadata +12 -4
@@ -0,0 +1,154 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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
+ # A Data Lake Analytics account object, containing all information
10
+ # associated with the named Data Lake Analytics account.
11
+ #
12
+ class DataLakeAnalyticsAccountBasic < MsRestAzure::Resource
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [DataLakeAnalyticsAccountStatus] the provisioning status of the
18
+ # Data Lake Analytics account. Possible values include: 'Failed',
19
+ # 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending',
20
+ # 'Resuming', 'Deleting', 'Deleted'
21
+ attr_accessor :provisioning_state
22
+
23
+ # @return [DataLakeAnalyticsAccountState] the state of the Data Lake
24
+ # Analytics account. Possible values include: 'Active', 'Suspended'
25
+ attr_accessor :state
26
+
27
+ # @return [DateTime] the account creation time.
28
+ attr_accessor :creation_time
29
+
30
+ # @return [DateTime] the account last modified time.
31
+ attr_accessor :last_modified_time
32
+
33
+ # @return [String] the full CName endpoint for this account.
34
+ attr_accessor :endpoint
35
+
36
+ # @return The unique identifier associated with this Data Lake Analytics
37
+ # account.
38
+ attr_accessor :account_id
39
+
40
+
41
+ #
42
+ # Mapper for DataLakeAnalyticsAccountBasic class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ required: false,
48
+ serialized_name: 'DataLakeAnalyticsAccountBasic',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'DataLakeAnalyticsAccountBasic',
52
+ model_properties: {
53
+ id: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'id',
57
+ type: {
58
+ name: 'String'
59
+ }
60
+ },
61
+ name: {
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'name',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ type: {
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ location: {
78
+ required: true,
79
+ serialized_name: 'location',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ tags: {
85
+ required: false,
86
+ serialized_name: 'tags',
87
+ type: {
88
+ name: 'Dictionary',
89
+ value: {
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ provisioning_state: {
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'properties.provisioningState',
102
+ type: {
103
+ name: 'Enum',
104
+ module: 'DataLakeAnalyticsAccountStatus'
105
+ }
106
+ },
107
+ state: {
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'properties.state',
111
+ type: {
112
+ name: 'Enum',
113
+ module: 'DataLakeAnalyticsAccountState'
114
+ }
115
+ },
116
+ creation_time: {
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'properties.creationTime',
120
+ type: {
121
+ name: 'DateTime'
122
+ }
123
+ },
124
+ last_modified_time: {
125
+ required: false,
126
+ read_only: true,
127
+ serialized_name: 'properties.lastModifiedTime',
128
+ type: {
129
+ name: 'DateTime'
130
+ }
131
+ },
132
+ endpoint: {
133
+ required: false,
134
+ read_only: true,
135
+ serialized_name: 'properties.endpoint',
136
+ type: {
137
+ name: 'String'
138
+ }
139
+ },
140
+ account_id: {
141
+ required: false,
142
+ read_only: true,
143
+ serialized_name: 'properties.accountId',
144
+ type: {
145
+ name: 'String'
146
+ }
147
+ }
148
+ }
149
+ }
150
+ }
151
+ end
152
+ end
153
+ end
154
+ 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,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<DataLakeStoreAccountInfo>] the results of the list
16
17
  # operation
17
18
  attr_accessor :value
@@ -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,7 +12,8 @@ module Azure::ARM::DataLakeAnalytics
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [Array<DataLakeAnalyticsAccount>] the results of the list
15
+ include MsRest::JSONable
16
+ # @return [Array<DataLakeAnalyticsAccountBasic>] the results of the list
16
17
  # operation
17
18
  attr_accessor :value
18
19
 
@@ -25,7 +26,7 @@ module Azure::ARM::DataLakeAnalytics
25
26
  #
26
27
  # Gets the rest of the items for the request, enabling auto-pagination.
27
28
  #
28
- # @return [Array<DataLakeAnalyticsAccount>] operation results.
29
+ # @return [Array<DataLakeAnalyticsAccountBasic>] operation results.
29
30
  #
30
31
  def get_all_items
31
32
  items = @value
@@ -71,10 +72,10 @@ module Azure::ARM::DataLakeAnalytics
71
72
  name: 'Sequence',
72
73
  element: {
73
74
  required: false,
74
- serialized_name: 'DataLakeAnalyticsAccountElementType',
75
+ serialized_name: 'DataLakeAnalyticsAccountBasicElementType',
75
76
  type: {
76
77
  name: 'Composite',
77
- class_name: 'DataLakeAnalyticsAccount'
78
+ class_name: 'DataLakeAnalyticsAccountBasic'
78
79
  }
79
80
  }
80
81
  }
@@ -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,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<StorageAccountInfo>] the results of the list operation
16
17
  attr_accessor :value
17
18
 
@@ -0,0 +1,109 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.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
+ # The basic account specific properties that are associated with an
10
+ # underlying Data Lake Analytics account.
11
+ #
12
+ class DataLakeAnalyticsAccountPropertiesBasic
13
+
14
+ include MsRestAzure
15
+
16
+ include MsRest::JSONable
17
+ # @return [DataLakeAnalyticsAccountStatus] the provisioning status of the
18
+ # Data Lake Analytics account. Possible values include: 'Failed',
19
+ # 'Creating', 'Running', 'Succeeded', 'Patching', 'Suspending',
20
+ # 'Resuming', 'Deleting', 'Deleted'
21
+ attr_accessor :provisioning_state
22
+
23
+ # @return [DataLakeAnalyticsAccountState] the state of the Data Lake
24
+ # Analytics account. Possible values include: 'Active', 'Suspended'
25
+ attr_accessor :state
26
+
27
+ # @return [DateTime] the account creation time.
28
+ attr_accessor :creation_time
29
+
30
+ # @return [DateTime] the account last modified time.
31
+ attr_accessor :last_modified_time
32
+
33
+ # @return [String] the full CName endpoint for this account.
34
+ attr_accessor :endpoint
35
+
36
+ # @return The unique identifier associated with this Data Lake Analytics
37
+ # account.
38
+ attr_accessor :account_id
39
+
40
+
41
+ #
42
+ # Mapper for DataLakeAnalyticsAccountPropertiesBasic class as Ruby Hash.
43
+ # This will be used for serialization/deserialization.
44
+ #
45
+ def self.mapper()
46
+ {
47
+ required: false,
48
+ serialized_name: 'DataLakeAnalyticsAccountPropertiesBasic',
49
+ type: {
50
+ name: 'Composite',
51
+ class_name: 'DataLakeAnalyticsAccountPropertiesBasic',
52
+ model_properties: {
53
+ provisioning_state: {
54
+ required: false,
55
+ read_only: true,
56
+ serialized_name: 'provisioningState',
57
+ type: {
58
+ name: 'Enum',
59
+ module: 'DataLakeAnalyticsAccountStatus'
60
+ }
61
+ },
62
+ state: {
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'state',
66
+ type: {
67
+ name: 'Enum',
68
+ module: 'DataLakeAnalyticsAccountState'
69
+ }
70
+ },
71
+ creation_time: {
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'creationTime',
75
+ type: {
76
+ name: 'DateTime'
77
+ }
78
+ },
79
+ last_modified_time: {
80
+ required: false,
81
+ read_only: true,
82
+ serialized_name: 'lastModifiedTime',
83
+ type: {
84
+ name: 'DateTime'
85
+ }
86
+ },
87
+ endpoint: {
88
+ required: false,
89
+ read_only: true,
90
+ serialized_name: 'endpoint',
91
+ type: {
92
+ name: 'String'
93
+ }
94
+ },
95
+ account_id: {
96
+ required: false,
97
+ read_only: true,
98
+ serialized_name: 'accountId',
99
+ type: {
100
+ name: 'String'
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ end
107
+ end
108
+ end
109
+ 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
 
@@ -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
 
@@ -13,6 +13,7 @@ module Azure::ARM::DataLakeAnalytics
13
13
 
14
14
  include MsRestAzure
15
15
 
16
+ include MsRest::JSONable
16
17
  # @return [Hash{String => String}] Resource tags
17
18
  attr_accessor :tags
18
19
 
@@ -50,6 +51,18 @@ module Azure::ARM::DataLakeAnalytics
50
51
  # with this Data Lake Analytics account.
51
52
  attr_accessor :firewall_rules
52
53
 
54
+ # @return [Integer] the maximum supported degree of parallelism per job
55
+ # for this account.
56
+ attr_accessor :max_degree_of_parallelism_per_job
57
+
58
+ # @return [Integer] the minimum supported priority per job for this
59
+ # account.
60
+ attr_accessor :min_priority_per_job
61
+
62
+ # @return [Array<ComputePolicy>] the list of existing compute policies to
63
+ # update in this account.
64
+ attr_accessor :compute_policies
65
+
53
66
 
54
67
  #
55
68
  # Mapper for DataLakeAnalyticsAccountUpdateParameters class as Ruby Hash.
@@ -146,6 +159,41 @@ module Azure::ARM::DataLakeAnalytics
146
159
  }
147
160
  }
148
161
  }
162
+ },
163
+ max_degree_of_parallelism_per_job: {
164
+ required: false,
165
+ serialized_name: 'properties.maxDegreeOfParallelismPerJob',
166
+ constraints: {
167
+ InclusiveMinimum: 1
168
+ },
169
+ type: {
170
+ name: 'Number'
171
+ }
172
+ },
173
+ min_priority_per_job: {
174
+ required: false,
175
+ serialized_name: 'properties.minPriorityPerJob',
176
+ constraints: {
177
+ InclusiveMinimum: 1
178
+ },
179
+ type: {
180
+ name: 'Number'
181
+ }
182
+ },
183
+ compute_policies: {
184
+ required: false,
185
+ serialized_name: 'properties.computePolicies',
186
+ type: {
187
+ name: 'Sequence',
188
+ element: {
189
+ required: false,
190
+ serialized_name: 'ComputePolicyElementType',
191
+ type: {
192
+ name: 'Composite',
193
+ class_name: 'ComputePolicy'
194
+ }
195
+ }
196
+ }
149
197
  }
150
198
  }
151
199
  }
@@ -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,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [Array<FirewallRule>] the results of the list operation
16
17
  attr_accessor :value
17
18
 
@@ -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,6 +12,7 @@ module Azure::ARM::DataLakeAnalytics
12
12
 
13
13
  include MsRestAzure
14
14
 
15
+ include MsRest::JSONable
15
16
  # @return [String] the optional suffix for the Data Lake Store account.
16
17
  attr_accessor :suffix
17
18