azure_mgmt_datalake_analytics 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generated/azure_mgmt_datalake_analytics.rb +16 -11
  3. data/lib/generated/azure_mgmt_datalake_analytics/account.rb +44 -34
  4. data/lib/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb +8 -5
  5. data/lib/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb +3 -4
  6. data/lib/generated/azure_mgmt_datalake_analytics/firewall_rules.rb +674 -0
  7. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb +79 -0
  8. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb +62 -0
  9. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb +96 -0
  10. data/lib/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb +17 -5
  11. data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb +16 -0
  12. data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb +79 -0
  13. data/lib/generated/azure_mgmt_datalake_analytics/models/firewall_state.rb +16 -0
  14. data/lib/generated/azure_mgmt_datalake_analytics/models/{error_details.rb → optional_sub_resource.rb} +18 -20
  15. data/lib/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb +17 -6
  16. data/lib/generated/azure_mgmt_datalake_analytics/models/{inner_error.rb → sub_resource.rb} +20 -13
  17. data/lib/generated/azure_mgmt_datalake_analytics/models/tier_type.rb +23 -0
  18. data/lib/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb +56 -0
  19. data/lib/generated/azure_mgmt_datalake_analytics/version.rb +1 -1
  20. metadata +13 -8
  21. data/lib/generated/azure_mgmt_datalake_analytics/models/create_storage_account_info.rb +0 -67
  22. data/lib/generated/azure_mgmt_datalake_analytics/models/error.rb +0 -99
@@ -8,14 +8,10 @@ module Azure::ARM::DataLakeAnalytics
8
8
  #
9
9
  # Azure Storage account information.
10
10
  #
11
- class StorageAccountInfo
11
+ class StorageAccountInfo < SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the account name associated with the Azure storage
16
- # account.
17
- attr_accessor :name
18
-
19
15
  # @return [String] the access key associated with this Azure Storage
20
16
  # account that will be used to connect to it.
21
17
  attr_accessor :access_key
@@ -36,14 +32,29 @@ module Azure::ARM::DataLakeAnalytics
36
32
  name: 'Composite',
37
33
  class_name: 'StorageAccountInfo',
38
34
  model_properties: {
39
- name: {
35
+ id: {
40
36
  required: false,
41
37
  read_only: true,
38
+ serialized_name: 'id',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ name: {
44
+ required: true,
42
45
  serialized_name: 'name',
43
46
  type: {
44
47
  name: 'String'
45
48
  }
46
49
  },
50
+ type: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'type',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
47
58
  access_key: {
48
59
  required: true,
49
60
  serialized_name: 'properties.accessKey',
@@ -6,43 +6,50 @@
6
6
  module Azure::ARM::DataLakeAnalytics
7
7
  module Models
8
8
  #
9
- # Generic resource inner error information.
9
+ # The Sub Resource model definition.
10
10
  #
11
- class InnerError
11
+ class SubResource < MsRestAzure::SubResource
12
12
 
13
13
  include MsRestAzure
14
14
 
15
- # @return [String] the stack trace for the error
16
- attr_accessor :trace
15
+ # @return [String] Resource name
16
+ attr_accessor :name
17
17
 
18
- # @return [String] the context for the error message
19
- attr_accessor :context
18
+ # @return [String] Resource type
19
+ attr_accessor :type
20
20
 
21
21
 
22
22
  #
23
- # Mapper for InnerError class as Ruby Hash.
23
+ # Mapper for SubResource class as Ruby Hash.
24
24
  # This will be used for serialization/deserialization.
25
25
  #
26
26
  def self.mapper()
27
27
  {
28
28
  required: false,
29
- serialized_name: 'InnerError',
29
+ serialized_name: 'SubResource',
30
30
  type: {
31
31
  name: 'Composite',
32
- class_name: 'InnerError',
32
+ class_name: 'SubResource',
33
33
  model_properties: {
34
- trace: {
34
+ id: {
35
35
  required: false,
36
36
  read_only: true,
37
- serialized_name: 'trace',
37
+ serialized_name: 'id',
38
38
  type: {
39
39
  name: 'String'
40
40
  }
41
41
  },
42
- context: {
42
+ name: {
43
+ required: true,
44
+ serialized_name: 'name',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ type: {
43
50
  required: false,
44
51
  read_only: true,
45
- serialized_name: 'context',
52
+ serialized_name: 'type',
46
53
  type: {
47
54
  name: 'String'
48
55
  }
@@ -0,0 +1,23 @@
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 TierType
10
+ #
11
+ module TierType
12
+ Consumption = "Consumption"
13
+ Commitment100AUHours = "Commitment_100AUHours"
14
+ Commitment500AUHours = "Commitment_500AUHours"
15
+ Commitment1000AUHours = "Commitment_1000AUHours"
16
+ Commitment5000AUHours = "Commitment_5000AUHours"
17
+ Commitment10000AUHours = "Commitment_10000AUHours"
18
+ Commitment50000AUHours = "Commitment_50000AUHours"
19
+ Commitment100000AUHours = "Commitment_100000AUHours"
20
+ Commitment500000AUHours = "Commitment_500000AUHours"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,56 @@
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 update parameters
10
+ #
11
+ class UpdateFirewallRuleParameters
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 UpdateFirewallRuleParameters class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'UpdateFirewallRuleParameters',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'UpdateFirewallRuleParameters',
35
+ model_properties: {
36
+ start_ip_address: {
37
+ required: false,
38
+ serialized_name: 'properties.startIpAddress',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ end_ip_address: {
44
+ required: false,
45
+ serialized_name: 'properties.endIpAddress',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -4,5 +4,5 @@
4
4
  # regenerated.
5
5
 
6
6
  module Azure::ARM::DataLakeAnalytics
7
- VERSION = '0.8.0'
7
+ VERSION = '0.9.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure_mgmt_datalake_analytics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-16 00:00:00.000000000 Z
11
+ date: 2017-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.6.2
75
+ version: 0.7.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.6.2
82
+ version: 0.7.0
83
83
  description: Microsoft Azure Resource Provider DataLake Analytics Client Library for
84
84
  Ruby
85
85
  email: azrubyteam@microsoft.com
@@ -93,9 +93,9 @@ files:
93
93
  - lib/generated/azure_mgmt_datalake_analytics/account.rb
94
94
  - lib/generated/azure_mgmt_datalake_analytics/data_lake_analytics_account_management_client.rb
95
95
  - lib/generated/azure_mgmt_datalake_analytics/data_lake_store_accounts.rb
96
+ - lib/generated/azure_mgmt_datalake_analytics/firewall_rules.rb
96
97
  - lib/generated/azure_mgmt_datalake_analytics/models/add_data_lake_store_parameters.rb
97
98
  - lib/generated/azure_mgmt_datalake_analytics/models/add_storage_account_parameters.rb
98
- - lib/generated/azure_mgmt_datalake_analytics/models/create_storage_account_info.rb
99
99
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account.rb
100
100
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_data_lake_store_result.rb
101
101
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_list_result.rb
@@ -103,15 +103,20 @@ files:
103
103
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_state.rb
104
104
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_status.rb
105
105
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_account_update_parameters.rb
106
+ - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_analytics_firewall_rule_list_result.rb
106
107
  - lib/generated/azure_mgmt_datalake_analytics/models/data_lake_store_account_info.rb
107
- - lib/generated/azure_mgmt_datalake_analytics/models/error.rb
108
- - lib/generated/azure_mgmt_datalake_analytics/models/error_details.rb
109
- - lib/generated/azure_mgmt_datalake_analytics/models/inner_error.rb
108
+ - lib/generated/azure_mgmt_datalake_analytics/models/firewall_allow_azure_ips_state.rb
109
+ - lib/generated/azure_mgmt_datalake_analytics/models/firewall_rule.rb
110
+ - lib/generated/azure_mgmt_datalake_analytics/models/firewall_state.rb
110
111
  - lib/generated/azure_mgmt_datalake_analytics/models/list_sas_tokens_result.rb
111
112
  - lib/generated/azure_mgmt_datalake_analytics/models/list_storage_containers_result.rb
113
+ - lib/generated/azure_mgmt_datalake_analytics/models/optional_sub_resource.rb
112
114
  - lib/generated/azure_mgmt_datalake_analytics/models/sas_token_info.rb
113
115
  - lib/generated/azure_mgmt_datalake_analytics/models/storage_account_info.rb
114
116
  - lib/generated/azure_mgmt_datalake_analytics/models/storage_container.rb
117
+ - lib/generated/azure_mgmt_datalake_analytics/models/sub_resource.rb
118
+ - lib/generated/azure_mgmt_datalake_analytics/models/tier_type.rb
119
+ - lib/generated/azure_mgmt_datalake_analytics/models/update_firewall_rule_parameters.rb
115
120
  - lib/generated/azure_mgmt_datalake_analytics/models/update_storage_account_parameters.rb
116
121
  - lib/generated/azure_mgmt_datalake_analytics/module_definition.rb
117
122
  - lib/generated/azure_mgmt_datalake_analytics/storage_accounts.rb
@@ -1,67 +0,0 @@
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
- # Azure Storage account information to add to the Data Lake analytics
10
- # account being created.
11
- #
12
- class CreateStorageAccountInfo
13
-
14
- include MsRestAzure
15
-
16
- # @return [String] the account name associated with the Azure storage
17
- # account to add to the Data Lake analytics account being created.
18
- attr_accessor :name
19
-
20
- # @return [String] the access key associated with this Azure Storage
21
- # account that will be used to connect to it.
22
- attr_accessor :access_key
23
-
24
- # @return [String] the optional suffix for the storage account.
25
- attr_accessor :suffix
26
-
27
-
28
- #
29
- # Mapper for CreateStorageAccountInfo class as Ruby Hash.
30
- # This will be used for serialization/deserialization.
31
- #
32
- def self.mapper()
33
- {
34
- required: false,
35
- serialized_name: 'CreateStorageAccountInfo',
36
- type: {
37
- name: 'Composite',
38
- class_name: 'CreateStorageAccountInfo',
39
- model_properties: {
40
- name: {
41
- required: true,
42
- serialized_name: 'name',
43
- type: {
44
- name: 'String'
45
- }
46
- },
47
- access_key: {
48
- required: true,
49
- serialized_name: 'properties.accessKey',
50
- type: {
51
- name: 'String'
52
- }
53
- },
54
- suffix: {
55
- required: false,
56
- serialized_name: 'properties.suffix',
57
- type: {
58
- name: 'String'
59
- }
60
- }
61
- }
62
- }
63
- }
64
- end
65
- end
66
- end
67
- end
@@ -1,99 +0,0 @@
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
- # Generic resource error information.
10
- #
11
- class Error
12
-
13
- include MsRestAzure
14
-
15
- # @return [String] the HTTP status code or error code associated with
16
- # this error
17
- attr_accessor :code
18
-
19
- # @return [String] the error message to display.
20
- attr_accessor :message
21
-
22
- # @return [String] the target of the error.
23
- attr_accessor :target
24
-
25
- # @return [Array<ErrorDetails>] The list of error details
26
- attr_accessor :details
27
-
28
- # @return [InnerError] The inner exceptions or errors, if any
29
- attr_accessor :inner_error
30
-
31
-
32
- #
33
- # Mapper for Error class as Ruby Hash.
34
- # This will be used for serialization/deserialization.
35
- #
36
- def self.mapper()
37
- {
38
- required: false,
39
- serialized_name: 'Error',
40
- type: {
41
- name: 'Composite',
42
- class_name: 'Error',
43
- model_properties: {
44
- code: {
45
- required: false,
46
- read_only: true,
47
- serialized_name: 'code',
48
- type: {
49
- name: 'String'
50
- }
51
- },
52
- message: {
53
- required: false,
54
- read_only: true,
55
- serialized_name: 'message',
56
- type: {
57
- name: 'String'
58
- }
59
- },
60
- target: {
61
- required: false,
62
- read_only: true,
63
- serialized_name: 'target',
64
- type: {
65
- name: 'String'
66
- }
67
- },
68
- details: {
69
- required: false,
70
- read_only: true,
71
- serialized_name: 'details',
72
- type: {
73
- name: 'Sequence',
74
- element: {
75
- required: false,
76
- serialized_name: 'ErrorDetailsElementType',
77
- type: {
78
- name: 'Composite',
79
- class_name: 'ErrorDetails'
80
- }
81
- }
82
- }
83
- },
84
- inner_error: {
85
- required: false,
86
- read_only: true,
87
- serialized_name: 'innerError',
88
- type: {
89
- name: 'Composite',
90
- class_name: 'InnerError'
91
- }
92
- }
93
- }
94
- }
95
- }
96
- end
97
- end
98
- end
99
- end