azure_mgmt_datalake_store 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/LICENSE.txt +21 -0
  4. data/Rakefile +5 -0
  5. data/azure_mgmt_datalake_store.gemspec +34 -0
  6. data/lib/azure_mgmt_datalake_store.rb +3 -0
  7. data/lib/generated/azure_mgmt_datalake_store_account.rb +41 -0
  8. data/lib/generated/azure_mgmt_datalake_store_account/account.rb +1739 -0
  9. data/lib/generated/azure_mgmt_datalake_store_account/data_lake_store_account_management_client.rb +68 -0
  10. data/lib/generated/azure_mgmt_datalake_store_account/models/azure_async_operation_result.rb +66 -0
  11. data/lib/generated/azure_mgmt_datalake_store_account/models/data_lake_store_account.rb +105 -0
  12. data/lib/generated/azure_mgmt_datalake_store_account/models/data_lake_store_account_list_result.rb +107 -0
  13. data/lib/generated/azure_mgmt_datalake_store_account/models/data_lake_store_account_properties.rb +106 -0
  14. data/lib/generated/azure_mgmt_datalake_store_account/models/data_lake_store_account_state.rb +16 -0
  15. data/lib/generated/azure_mgmt_datalake_store_account/models/data_lake_store_account_status.rb +23 -0
  16. data/lib/generated/azure_mgmt_datalake_store_account/models/data_lake_store_firewall_rule_list_result.rb +107 -0
  17. data/lib/generated/azure_mgmt_datalake_store_account/models/error.rb +99 -0
  18. data/lib/generated/azure_mgmt_datalake_store_account/models/error_details.rb +69 -0
  19. data/lib/generated/azure_mgmt_datalake_store_account/models/firewall_rule.rb +86 -0
  20. data/lib/generated/azure_mgmt_datalake_store_account/models/firewall_rule_properties.rb +54 -0
  21. data/lib/generated/azure_mgmt_datalake_store_account/models/inner_error.rb +56 -0
  22. data/lib/generated/azure_mgmt_datalake_store_account/models/operation_status.rb +17 -0
  23. data/lib/generated/azure_mgmt_datalake_store_account/module_definition.rb +9 -0
  24. data/lib/generated/azure_mgmt_datalake_store_account/version.rb +8 -0
  25. data/lib/generated/azure_mgmt_datalake_store_filesystem.rb +50 -0
  26. data/lib/generated/azure_mgmt_datalake_store_filesystem/data_lake_store_file_system_management_client.rb +67 -0
  27. data/lib/generated/azure_mgmt_datalake_store_filesystem/file_system.rb +2149 -0
  28. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/acl_status.rb +82 -0
  29. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/acl_status_result.rb +45 -0
  30. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_access_control_exception.rb +66 -0
  31. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_bad_offset_exception.rb +66 -0
  32. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_error.rb +49 -0
  33. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_file_already_exists_exception.rb +65 -0
  34. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_file_not_found_exception.rb +65 -0
  35. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_illegal_argument_exception.rb +66 -0
  36. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_ioexception.rb +65 -0
  37. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_remote_exception.rb +89 -0
  38. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_runtime_exception.rb +66 -0
  39. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_security_exception.rb +65 -0
  40. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/adls_unsupported_operation_exception.rb +66 -0
  41. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/append_mode_type.rb +15 -0
  42. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/content_summary.rb +78 -0
  43. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/content_summary_result.rb +46 -0
  44. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_operation_result.rb +45 -0
  45. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_status_properties.rb +146 -0
  46. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_status_result.rb +47 -0
  47. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_statuses.rb +54 -0
  48. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_statuses_result.rb +47 -0
  49. data/lib/generated/azure_mgmt_datalake_store_filesystem/models/file_type.rb +16 -0
  50. data/lib/generated/azure_mgmt_datalake_store_filesystem/module_definition.rb +9 -0
  51. metadata +163 -0
@@ -0,0 +1,16 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Defines values for DataLakeStoreAccountState
10
+ #
11
+ module DataLakeStoreAccountState
12
+ Active = "active"
13
+ Suspended = "suspended"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,23 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Defines values for DataLakeStoreAccountStatus
10
+ #
11
+ module DataLakeStoreAccountStatus
12
+ Failed = "Failed"
13
+ Creating = "Creating"
14
+ Running = "Running"
15
+ Succeeded = "Succeeded"
16
+ Patching = "Patching"
17
+ Suspending = "Suspending"
18
+ Resuming = "Resuming"
19
+ Deleting = "Deleting"
20
+ Deleted = "Deleted"
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,107 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Data Lake Store firewall rule list information.
10
+ #
11
+ class DataLakeStoreFirewallRuleListResult
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 [Integer] the total count of results that are available, but
22
+ # might not be returned in the current page.
23
+ attr_accessor :count
24
+
25
+ # return [Proc] with next page method call.
26
+ attr_accessor :next_method
27
+
28
+ #
29
+ # Gets the rest of the items for the request, enabling auto-pagination.
30
+ #
31
+ # @return [Array<FirewallRule>] operation results.
32
+ #
33
+ def get_all_items
34
+ items = @value
35
+ page = self
36
+ while page.next_link != nil do
37
+ page = page.get_next_page
38
+ items.concat(page.value)
39
+ end
40
+ items
41
+ end
42
+
43
+ #
44
+ # Gets the next page of results.
45
+ #
46
+ # @return [DataLakeStoreFirewallRuleListResult] with next page content.
47
+ #
48
+ def get_next_page
49
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
50
+ unless response.nil?
51
+ @next_link = response.body.next_link
52
+ @value = response.body.value
53
+ self
54
+ end
55
+ end
56
+
57
+ #
58
+ # Mapper for DataLakeStoreFirewallRuleListResult class as Ruby Hash.
59
+ # This will be used for serialization/deserialization.
60
+ #
61
+ def self.mapper()
62
+ {
63
+ required: false,
64
+ serialized_name: 'DataLakeStoreFirewallRuleListResult',
65
+ type: {
66
+ name: 'Composite',
67
+ class_name: 'DataLakeStoreFirewallRuleListResult',
68
+ model_properties: {
69
+ value: {
70
+ required: false,
71
+ read_only: true,
72
+ serialized_name: 'value',
73
+ type: {
74
+ name: 'Sequence',
75
+ element: {
76
+ required: false,
77
+ serialized_name: 'FirewallRuleElementType',
78
+ type: {
79
+ name: 'Composite',
80
+ class_name: 'FirewallRule'
81
+ }
82
+ }
83
+ }
84
+ },
85
+ next_link: {
86
+ required: false,
87
+ read_only: true,
88
+ serialized_name: 'nextLink',
89
+ type: {
90
+ name: 'String'
91
+ }
92
+ },
93
+ count: {
94
+ required: false,
95
+ read_only: true,
96
+ serialized_name: 'count',
97
+ type: {
98
+ name: 'Number'
99
+ }
100
+ }
101
+ }
102
+ }
103
+ }
104
+ end
105
+ end
106
+ end
107
+ end
@@ -0,0 +1,99 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Data Lake Store 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
@@ -0,0 +1,69 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Data Lake Store error details information
10
+ #
11
+ class ErrorDetails
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 localized based on Accept-Language
20
+ attr_accessor :message
21
+
22
+ # @return [String] the target of the particular error (for example, the
23
+ # name of the property in error).
24
+ attr_accessor :target
25
+
26
+
27
+ #
28
+ # Mapper for ErrorDetails class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ required: false,
34
+ serialized_name: 'ErrorDetails',
35
+ type: {
36
+ name: 'Composite',
37
+ class_name: 'ErrorDetails',
38
+ model_properties: {
39
+ code: {
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'code',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ message: {
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'message',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ target: {
56
+ required: false,
57
+ read_only: true,
58
+ serialized_name: 'target',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+ end
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,86 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Data Lake Store firewall rule information
10
+ #
11
+ class FirewallRule
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the firewall rule's name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] the namespace and type of the firewall Rule.
19
+ attr_accessor :type
20
+
21
+ # @return [String] the firewall rule's subscription ID.
22
+ attr_accessor :id
23
+
24
+ # @return [String] the firewall rule's regional location.
25
+ attr_accessor :location
26
+
27
+ # @return [FirewallRuleProperties] the properties of the firewall rule.
28
+ attr_accessor :properties
29
+
30
+
31
+ #
32
+ # Mapper for FirewallRule class as Ruby Hash.
33
+ # This will be used for serialization/deserialization.
34
+ #
35
+ def self.mapper()
36
+ {
37
+ required: false,
38
+ serialized_name: 'FirewallRule',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'FirewallRule',
42
+ model_properties: {
43
+ name: {
44
+ required: false,
45
+ serialized_name: 'name',
46
+ type: {
47
+ name: 'String'
48
+ }
49
+ },
50
+ type: {
51
+ required: false,
52
+ read_only: true,
53
+ serialized_name: 'type',
54
+ type: {
55
+ name: 'String'
56
+ }
57
+ },
58
+ id: {
59
+ required: false,
60
+ serialized_name: 'id',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ location: {
66
+ required: false,
67
+ serialized_name: 'location',
68
+ type: {
69
+ name: 'String'
70
+ }
71
+ },
72
+ properties: {
73
+ required: false,
74
+ serialized_name: 'properties',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'FirewallRuleProperties'
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+ end
84
+ end
85
+ end
86
+ end
@@ -0,0 +1,54 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::DataLakeStore::Account
7
+ module Models
8
+ #
9
+ # Data Lake Store firewall rule properties information
10
+ #
11
+ class FirewallRuleProperties
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the start IP address for the firewall rule.
16
+ attr_accessor :start_ip_address
17
+
18
+ # @return [String] the end IP address for the firewall rule.
19
+ attr_accessor :end_ip_address
20
+
21
+
22
+ #
23
+ # Mapper for FirewallRuleProperties class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'FirewallRuleProperties',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'FirewallRuleProperties',
33
+ model_properties: {
34
+ start_ip_address: {
35
+ required: false,
36
+ serialized_name: 'startIpAddress',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ end_ip_address: {
42
+ required: false,
43
+ serialized_name: 'endIpAddress',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ end
52
+ end
53
+ end
54
+ end