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,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 one more arguments is
10
+ # incorrect. Thrown when a 400 error response code is returned (bad
11
+ # request).
12
+ #
13
+ class AdlsIllegalArgumentException < AdlsRemoteException
14
+
15
+ include MsRestAzure
16
+
17
+
18
+ def initialize
19
+ @exception = "IllegalArgumentException"
20
+ end
21
+
22
+ attr_accessor :exception
23
+
24
+
25
+ #
26
+ # Mapper for AdlsIllegalArgumentException class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'IllegalArgumentException',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdlsIllegalArgumentException',
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,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 there was an IO (read or write)
10
+ # error. Thrown when a 403 error response code is returned (forbidden).
11
+ #
12
+ class AdlsIOException < AdlsRemoteException
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @exception = "IOException"
19
+ end
20
+
21
+ attr_accessor :exception
22
+
23
+
24
+ #
25
+ # Mapper for AdlsIOException class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'IOException',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AdlsIOException',
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,89 @@
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 exception based on the WebHDFS definition for
10
+ # RemoteExceptions.
11
+ #
12
+ class AdlsRemoteException
13
+
14
+ include MsRestAzure
15
+
16
+ @@discriminatorMap = Hash.new
17
+ @@discriminatorMap["IllegalArgumentException"] = "AdlsIllegalArgumentException"
18
+ @@discriminatorMap["UnsupportedOperationException"] = "AdlsUnsupportedOperationException"
19
+ @@discriminatorMap["SecurityException"] = "AdlsSecurityException"
20
+ @@discriminatorMap["IOException"] = "AdlsIOException"
21
+ @@discriminatorMap["FileNotFoundException"] = "AdlsFileNotFoundException"
22
+ @@discriminatorMap["FileAlreadyExistsException"] = "AdlsFileAlreadyExistsException"
23
+ @@discriminatorMap["BadOffsetException"] = "AdlsBadOffsetException"
24
+ @@discriminatorMap["RuntimeException"] = "AdlsRuntimeException"
25
+ @@discriminatorMap["AccessControlException"] = "AdlsAccessControlException"
26
+
27
+ def initialize
28
+ @exception = "AdlsRemoteException"
29
+ end
30
+
31
+ attr_accessor :exception
32
+
33
+ # @return [String] the full class package name for the exception thrown,
34
+ # such as 'java.lang.IllegalArgumentException'.
35
+ attr_accessor :java_class_name
36
+
37
+ # @return [String] the message associated with the exception that was
38
+ # thrown, such as 'Invalid value for webhdfs parameter
39
+ # "permission":...'.
40
+ attr_accessor :message
41
+
42
+ # @return [String] Polymorhpic Discriminator
43
+ attr_accessor :exception
44
+
45
+
46
+ #
47
+ # Mapper for AdlsRemoteException class as Ruby Hash.
48
+ # This will be used for serialization/deserialization.
49
+ #
50
+ def self.mapper()
51
+ {
52
+ required: false,
53
+ serialized_name: 'AdlsRemoteException',
54
+ type: {
55
+ name: 'Composite',
56
+ polymorphic_discriminator: 'exception',
57
+ uber_parent: 'AdlsRemoteException',
58
+ class_name: 'AdlsRemoteException',
59
+ model_properties: {
60
+ java_class_name: {
61
+ required: false,
62
+ read_only: true,
63
+ serialized_name: 'javaClassName',
64
+ type: {
65
+ name: 'String'
66
+ }
67
+ },
68
+ message: {
69
+ required: false,
70
+ read_only: true,
71
+ serialized_name: 'message',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ exception: {
77
+ required: true,
78
+ serialized_name: 'exception',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ 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 when an unexpected error occurs during an
10
+ # operation. Thrown when a 500 error response code is returned (Internal
11
+ # server error).
12
+ #
13
+ class AdlsRuntimeException < AdlsRemoteException
14
+
15
+ include MsRestAzure
16
+
17
+
18
+ def initialize
19
+ @exception = "RuntimeException"
20
+ end
21
+
22
+ attr_accessor :exception
23
+
24
+
25
+ #
26
+ # Mapper for AdlsRuntimeException class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'RuntimeException',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdlsRuntimeException',
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,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 that access is denied. Thrown when
10
+ # a 401 error response code is returned (Unauthorized).
11
+ #
12
+ class AdlsSecurityException < AdlsRemoteException
13
+
14
+ include MsRestAzure
15
+
16
+
17
+ def initialize
18
+ @exception = "SecurityException"
19
+ end
20
+
21
+ attr_accessor :exception
22
+
23
+
24
+ #
25
+ # Mapper for AdlsSecurityException class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'SecurityException',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AdlsSecurityException',
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,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 the requested operation is
10
+ # not supported. Thrown when a 400 error response code is returned (bad
11
+ # request).
12
+ #
13
+ class AdlsUnsupportedOperationException < AdlsRemoteException
14
+
15
+ include MsRestAzure
16
+
17
+
18
+ def initialize
19
+ @exception = "UnsupportedOperationException"
20
+ end
21
+
22
+ attr_accessor :exception
23
+
24
+
25
+ #
26
+ # Mapper for AdlsUnsupportedOperationException class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'UnsupportedOperationException',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AdlsUnsupportedOperationException',
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,15 @@
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
+ # Defines values for AppendModeType
10
+ #
11
+ module AppendModeType
12
+ Autocreate = "autocreate"
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,78 @@
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 content summary information
10
+ #
11
+ class ContentSummary
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Integer] the number of directories.
16
+ attr_accessor :directory_count
17
+
18
+ # @return [Integer] the number of files.
19
+ attr_accessor :file_count
20
+
21
+ # @return [Integer] the number of bytes used by the contet.
22
+ attr_accessor :length
23
+
24
+ # @return [Integer] the disk space consumed by the content.
25
+ attr_accessor :space_consumed
26
+
27
+
28
+ #
29
+ # Mapper for ContentSummary class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ required: false,
35
+ serialized_name: 'ContentSummary',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'ContentSummary',
39
+ model_properties: {
40
+ directory_count: {
41
+ required: false,
42
+ read_only: true,
43
+ serialized_name: 'directoryCount',
44
+ type: {
45
+ name: 'Number'
46
+ }
47
+ },
48
+ file_count: {
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'fileCount',
52
+ type: {
53
+ name: 'Number'
54
+ }
55
+ },
56
+ length: {
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'length',
60
+ type: {
61
+ name: 'Number'
62
+ }
63
+ },
64
+ space_consumed: {
65
+ required: false,
66
+ read_only: true,
67
+ serialized_name: 'spaceConsumed',
68
+ type: {
69
+ name: 'Number'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end