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,82 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # Data Lake Store file or directory Access Control List information.
10
+ #
11
+ class AclStatus
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<String>] the list of ACLSpec entries on a file or
16
+ # directory.
17
+ attr_accessor :entries
18
+
19
+ # @return [String] the group owner, an AAD Object ID.
20
+ attr_accessor :group
21
+
22
+ # @return [String] the user owner, an AAD Object ID.
23
+ attr_accessor :owner
24
+
25
+ # @return [Boolean] the indicator of whether the sticky bit is on or off.
26
+ attr_accessor :sticky_bit
27
+
28
+
29
+ #
30
+ # Mapper for AclStatus class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'AclStatus',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'AclStatus',
40
+ model_properties: {
41
+ entries: {
42
+ required: false,
43
+ serialized_name: 'entries',
44
+ type: {
45
+ name: 'Sequence',
46
+ element: {
47
+ required: false,
48
+ serialized_name: 'StringElementType',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ }
53
+ }
54
+ },
55
+ group: {
56
+ required: false,
57
+ serialized_name: 'group',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ owner: {
63
+ required: false,
64
+ serialized_name: 'owner',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ sticky_bit: {
70
+ required: false,
71
+ serialized_name: 'stickyBit',
72
+ type: {
73
+ name: 'Boolean'
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,45 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # Data Lake Store file or directory Access Control List information.
10
+ #
11
+ class AclStatusResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AclStatus] the AclStatus object for a given file or directory.
16
+ attr_accessor :acl_status
17
+
18
+
19
+ #
20
+ # Mapper for AclStatusResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ required: false,
26
+ serialized_name: 'AclStatusResult',
27
+ type: {
28
+ name: 'Composite',
29
+ class_name: 'AclStatusResult',
30
+ model_properties: {
31
+ acl_status: {
32
+ required: false,
33
+ serialized_name: 'AclStatus',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'AclStatus'
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,66 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # A WebHDFS exception thrown indicating that access is denied due to
10
+ # insufficient permissions. Thrown when a 403 error response code is
11
+ # returned (forbidden).
12
+ #
13
+ class AdlsAccessControlException < AdlsRemoteException
14
+
15
+ include MsRestAzure
16
+
17
+
18
+ def initialize
19
+ @exception = "AccessControlException"
20
+ end
21
+
22
+ attr_accessor :exception
23
+
24
+
25
+ #
26
+ # Mapper for AdlsAccessControlException class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'AccessControlException',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdlsAccessControlException',
36
+ model_properties: {
37
+ java_class_name: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'javaClassName',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ message: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'message',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ exception: {
54
+ required: true,
55
+ serialized_name: 'exception',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,66 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # A WebHDFS exception thrown indicating the append or read is from a bad
10
+ # offset. Thrown when a 400 error response code is returned for append
11
+ # and open operations (Bad request).
12
+ #
13
+ class AdlsBadOffsetException < AdlsRemoteException
14
+
15
+ include MsRestAzure
16
+
17
+
18
+ def initialize
19
+ @exception = "BadOffsetException"
20
+ end
21
+
22
+ attr_accessor :exception
23
+
24
+
25
+ #
26
+ # Mapper for AdlsBadOffsetException class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'BadOffsetException',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdlsBadOffsetException',
36
+ model_properties: {
37
+ java_class_name: {
38
+ required: false,
39
+ read_only: true,
40
+ serialized_name: 'javaClassName',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ message: {
46
+ required: false,
47
+ read_only: true,
48
+ serialized_name: 'message',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ exception: {
54
+ required: true,
55
+ serialized_name: 'exception',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,49 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # Data Lake Store filesystem error containing a specific WebHDFS exception.
10
+ #
11
+ class AdlsError
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AdlsRemoteException] the object representing the actual
16
+ # WebHDFS exception being returned.
17
+ attr_accessor :remote_exception
18
+
19
+
20
+ #
21
+ # Mapper for AdlsError class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ required: false,
27
+ serialized_name: 'AdlsError',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'AdlsError',
31
+ model_properties: {
32
+ remote_exception: {
33
+ required: false,
34
+ read_only: true,
35
+ serialized_name: 'RemoteException',
36
+ type: {
37
+ name: 'Composite',
38
+ polymorphic_discriminator: 'exception',
39
+ uber_parent: 'AdlsRemoteException',
40
+ class_name: 'AdlsRemoteException'
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,65 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # A WebHDFS exception thrown indicating the file or folder already exists.
10
+ # Thrown when a 403 error response code is returned (forbidden).
11
+ #
12
+ class AdlsFileAlreadyExistsException < AdlsRemoteException
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @exception = "FileAlreadyExistsException"
19
+ end
20
+
21
+ attr_accessor :exception
22
+
23
+
24
+ #
25
+ # Mapper for AdlsFileAlreadyExistsException class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'FileAlreadyExistsException',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AdlsFileAlreadyExistsException',
35
+ model_properties: {
36
+ java_class_name: {
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'javaClassName',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ message: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'message',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ exception: {
53
+ required: true,
54
+ serialized_name: 'exception',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,65 @@
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::FileSystem
7
+ module Models
8
+ #
9
+ # A WebHDFS exception thrown indicating the file or folder could not be
10
+ # found. Thrown when a 404 error response code is returned (not found).
11
+ #
12
+ class AdlsFileNotFoundException < AdlsRemoteException
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @exception = "FileNotFoundException"
19
+ end
20
+
21
+ attr_accessor :exception
22
+
23
+
24
+ #
25
+ # Mapper for AdlsFileNotFoundException class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'FileNotFoundException',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AdlsFileNotFoundException',
35
+ model_properties: {
36
+ java_class_name: {
37
+ required: false,
38
+ read_only: true,
39
+ serialized_name: 'javaClassName',
40
+ type: {
41
+ name: 'String'
42
+ }
43
+ },
44
+ message: {
45
+ required: false,
46
+ read_only: true,
47
+ serialized_name: 'message',
48
+ type: {
49
+ name: 'String'
50
+ }
51
+ },
52
+ exception: {
53
+ required: true,
54
+ serialized_name: 'exception',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ }
59
+ }
60
+ }
61
+ }
62
+ end
63
+ end
64
+ end
65
+ end