azure_mgmt_datalake_analytics 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) 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_analytics.gemspec +34 -0
  6. data/lib/azure_mgmt_datalake_analytics.rb +4 -0
  7. data/lib/generated/azure_mgmt_datalake_analytics_account.rb +51 -0
  8. data/lib/generated/azure_mgmt_datalake_analytics_account/account.rb +3209 -0
  9. data/lib/generated/azure_mgmt_datalake_analytics_account/data_lake_analytics_account_management_client.rb +68 -0
  10. data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_data_lake_store_parameters.rb +46 -0
  11. data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_storage_account_parameters.rb +46 -0
  12. data/lib/generated/azure_mgmt_datalake_analytics_account/models/azure_async_operation_result.rb +66 -0
  13. data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container.rb +79 -0
  14. data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container_properties.rb +45 -0
  15. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account.rb +107 -0
  16. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_data_lake_store_result.rb +109 -0
  17. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_result.rb +96 -0
  18. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_storage_accounts_result.rb +108 -0
  19. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_properties.rb +167 -0
  20. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_state.rb +16 -0
  21. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_status.rb +23 -0
  22. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info.rb +56 -0
  23. data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info_properties.rb +44 -0
  24. data/lib/generated/azure_mgmt_datalake_analytics_account/models/error.rb +99 -0
  25. data/lib/generated/azure_mgmt_datalake_analytics_account/models/error_details.rb +69 -0
  26. data/lib/generated/azure_mgmt_datalake_analytics_account/models/inner_error.rb +56 -0
  27. data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_blob_containers_result.rb +96 -0
  28. data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_sas_tokens_result.rb +96 -0
  29. data/lib/generated/azure_mgmt_datalake_analytics_account/models/operation_status.rb +17 -0
  30. data/lib/generated/azure_mgmt_datalake_analytics_account/models/sas_token_info.rb +46 -0
  31. data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_info.rb +57 -0
  32. data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_properties.rb +55 -0
  33. data/lib/generated/azure_mgmt_datalake_analytics_account/module_definition.rb +9 -0
  34. data/lib/generated/azure_mgmt_datalake_analytics_account/version.rb +8 -0
  35. data/lib/generated/azure_mgmt_datalake_analytics_catalog.rb +70 -0
  36. data/lib/generated/azure_mgmt_datalake_analytics_catalog/catalog.rb +5600 -0
  37. data/lib/generated/azure_mgmt_datalake_analytics_catalog/data_lake_analytics_catalog_management_client.rb +67 -0
  38. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item.rb +54 -0
  39. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item_list.rb +54 -0
  40. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/data_lake_analytics_catalog_secret_create_or_update_parameters.rb +56 -0
  41. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/ddl_name.rb +78 -0
  42. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/entity_id.rb +56 -0
  43. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/external_table.rb +56 -0
  44. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/file_type.rb +16 -0
  45. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/type_field_info.rb +54 -0
  46. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly.rb +138 -0
  47. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_clr.rb +78 -0
  48. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_dependency_info.rb +45 -0
  49. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_file_info.rb +66 -0
  50. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_list.rb +98 -0
  51. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential.rb +88 -0
  52. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential_list.rb +98 -0
  53. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database.rb +58 -0
  54. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database_list.rb +98 -0
  55. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_directed_column.rb +55 -0
  56. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_distribution_info.rb +83 -0
  57. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source.rb +107 -0
  58. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source_list.rb +99 -0
  59. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_index.rb +168 -0
  60. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure.rb +89 -0
  61. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure_list.rb +99 -0
  62. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema.rb +68 -0
  63. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema_list.rb +98 -0
  64. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_secret.rb +100 -0
  65. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table.rb +154 -0
  66. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_column.rb +55 -0
  67. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_list.rb +99 -0
  68. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition.rb +128 -0
  69. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition_list.rb +99 -0
  70. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics.rb +190 -0
  71. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics_list.rb +99 -0
  72. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type.rb +173 -0
  73. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type_list.rb +99 -0
  74. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function.rb +88 -0
  75. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function_list.rb +99 -0
  76. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type.rb +203 -0
  77. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type_list.rb +99 -0
  78. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view.rb +89 -0
  79. data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view_list.rb +99 -0
  80. data/lib/generated/azure_mgmt_datalake_analytics_catalog/module_definition.rb +9 -0
  81. data/lib/generated/azure_mgmt_datalake_analytics_job.rb +48 -0
  82. data/lib/generated/azure_mgmt_datalake_analytics_job/data_lake_analytics_job_management_client.rb +67 -0
  83. data/lib/generated/azure_mgmt_datalake_analytics_job/job.rb +938 -0
  84. data/lib/generated/azure_mgmt_datalake_analytics_job/models/compile_mode.rb +17 -0
  85. data/lib/generated/azure_mgmt_datalake_analytics_job/models/diagnostics.rb +102 -0
  86. data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_properties.rb +123 -0
  87. data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_statement_info.rb +74 -0
  88. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_data_path.rb +74 -0
  89. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_error_details.rb +198 -0
  90. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_info_list_result.rb +107 -0
  91. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_information.rb +245 -0
  92. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_inner_error.rb +162 -0
  93. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_properties.rb +77 -0
  94. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource.rb +68 -0
  95. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource_type.rb +20 -0
  96. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_result.rb +18 -0
  97. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state.rb +24 -0
  98. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state_audit_record.rb +79 -0
  99. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics.rb +65 -0
  100. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics_vertex_stage.rb +262 -0
  101. data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_type.rb +16 -0
  102. data/lib/generated/azure_mgmt_datalake_analytics_job/models/severity_types.rb +17 -0
  103. data/lib/generated/azure_mgmt_datalake_analytics_job/models/usql_job_properties.rb +231 -0
  104. data/lib/generated/azure_mgmt_datalake_analytics_job/module_definition.rb +9 -0
  105. metadata +218 -0
@@ -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::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL external datasource item list.
10
+ #
11
+ class USqlExternalDataSourceList < CatalogItemList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<USqlExternalDataSource>] the list of external data
16
+ # sources in the database
17
+ attr_accessor :value
18
+
19
+ # return [Proc] with next page method call.
20
+ attr_accessor :next_method
21
+
22
+ #
23
+ # Gets the rest of the items for the request, enabling auto-pagination.
24
+ #
25
+ # @return [Array<USqlExternalDataSource>] operation results.
26
+ #
27
+ def get_all_items
28
+ items = @value
29
+ page = self
30
+ while page.next_link != nil do
31
+ page = page.get_next_page
32
+ items.concat(page.value)
33
+ end
34
+ items
35
+ end
36
+
37
+ #
38
+ # Gets the next page of results.
39
+ #
40
+ # @return [USqlExternalDataSourceList] with next page content.
41
+ #
42
+ def get_next_page
43
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
44
+ unless response.nil?
45
+ @next_link = response.body.next_link
46
+ @value = response.body.value
47
+ self
48
+ end
49
+ end
50
+
51
+ #
52
+ # Mapper for USqlExternalDataSourceList class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ required: false,
58
+ serialized_name: 'USqlExternalDataSourceList',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'USqlExternalDataSourceList',
62
+ model_properties: {
63
+ count: {
64
+ required: false,
65
+ serialized_name: 'count',
66
+ type: {
67
+ name: 'Number'
68
+ }
69
+ },
70
+ next_link: {
71
+ required: false,
72
+ serialized_name: 'nextLink',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ value: {
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'value',
81
+ type: {
82
+ name: 'Sequence',
83
+ element: {
84
+ required: false,
85
+ serialized_name: 'USqlExternalDataSourceElementType',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'USqlExternalDataSource'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,168 @@
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::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL table index item.
10
+ #
11
+ class USqlIndex
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the name of the index in the table.
16
+ attr_accessor :name
17
+
18
+ # @return [Array<USqlDirectedColumn>] the list of directed columns in
19
+ # the index
20
+ attr_accessor :index_keys
21
+
22
+ # @return [Array<String>] the list of columns in the index
23
+ attr_accessor :columns
24
+
25
+ # @return [USqlDistributionInfo] the distributions info of the index
26
+ attr_accessor :distribution_info
27
+
28
+ # @return partition function ID for the index.
29
+ attr_accessor :partition_function
30
+
31
+ # @return [Array<String>] the list of partion keys in the index
32
+ attr_accessor :partition_key_list
33
+
34
+ # @return [Array<String>] the list of full paths to the streams that
35
+ # contain this index in the DataLake account.
36
+ attr_accessor :stream_names
37
+
38
+ # @return [Boolean] the switch indicating if this index is a columnstore
39
+ # index.
40
+ attr_accessor :is_columnstore
41
+
42
+ # @return [Integer] the ID of this index within the table.
43
+ attr_accessor :index_id
44
+
45
+ # @return [Boolean] the switch indicating if this index is a unique
46
+ # index.
47
+ attr_accessor :is_unique
48
+
49
+
50
+ #
51
+ # Mapper for USqlIndex class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ required: false,
57
+ serialized_name: 'USqlIndex',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'USqlIndex',
61
+ model_properties: {
62
+ name: {
63
+ required: false,
64
+ serialized_name: 'name',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ index_keys: {
70
+ required: false,
71
+ serialized_name: 'indexKeys',
72
+ type: {
73
+ name: 'Sequence',
74
+ element: {
75
+ required: false,
76
+ serialized_name: 'USqlDirectedColumnElementType',
77
+ type: {
78
+ name: 'Composite',
79
+ class_name: 'USqlDirectedColumn'
80
+ }
81
+ }
82
+ }
83
+ },
84
+ columns: {
85
+ required: false,
86
+ serialized_name: 'columns',
87
+ type: {
88
+ name: 'Sequence',
89
+ element: {
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ distribution_info: {
99
+ required: false,
100
+ serialized_name: 'distributionInfo',
101
+ type: {
102
+ name: 'Composite',
103
+ class_name: 'USqlDistributionInfo'
104
+ }
105
+ },
106
+ partition_function: {
107
+ required: false,
108
+ serialized_name: 'partitionFunction',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ },
113
+ partition_key_list: {
114
+ required: false,
115
+ serialized_name: 'partitionKeyList',
116
+ type: {
117
+ name: 'Sequence',
118
+ element: {
119
+ required: false,
120
+ serialized_name: 'StringElementType',
121
+ type: {
122
+ name: 'String'
123
+ }
124
+ }
125
+ }
126
+ },
127
+ stream_names: {
128
+ required: false,
129
+ serialized_name: 'streamNames',
130
+ type: {
131
+ name: 'Sequence',
132
+ element: {
133
+ required: false,
134
+ serialized_name: 'StringElementType',
135
+ type: {
136
+ name: 'String'
137
+ }
138
+ }
139
+ }
140
+ },
141
+ is_columnstore: {
142
+ required: false,
143
+ serialized_name: 'isColumnstore',
144
+ type: {
145
+ name: 'Boolean'
146
+ }
147
+ },
148
+ index_id: {
149
+ required: false,
150
+ serialized_name: 'indexId',
151
+ type: {
152
+ name: 'Number'
153
+ }
154
+ },
155
+ is_unique: {
156
+ required: false,
157
+ serialized_name: 'isUnique',
158
+ type: {
159
+ name: 'Boolean'
160
+ }
161
+ }
162
+ }
163
+ }
164
+ }
165
+ end
166
+ end
167
+ end
168
+ 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::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL procedure item.
10
+ #
11
+ class USqlProcedure < CatalogItem
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] the name of the database.
16
+ attr_accessor :database_name
17
+
18
+ # @return [String] the name of the schema associated with this procedure
19
+ # and database.
20
+ attr_accessor :schema_name
21
+
22
+ # @return [String] the name of the procedure.
23
+ attr_accessor :name
24
+
25
+ # @return [String] the defined query of the procedure.
26
+ attr_accessor :definition
27
+
28
+
29
+ #
30
+ # Mapper for USqlProcedure class as Ruby Hash.
31
+ # This will be used for serialization/deserialization.
32
+ #
33
+ def self.mapper()
34
+ {
35
+ required: false,
36
+ serialized_name: 'USqlProcedure',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'USqlProcedure',
40
+ model_properties: {
41
+ compute_account_name: {
42
+ required: false,
43
+ serialized_name: 'computeAccountName',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ version: {
49
+ required: false,
50
+ serialized_name: 'version',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ database_name: {
56
+ required: false,
57
+ serialized_name: 'databaseName',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ schema_name: {
63
+ required: false,
64
+ serialized_name: 'schemaName',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ },
69
+ name: {
70
+ required: false,
71
+ serialized_name: 'procName',
72
+ type: {
73
+ name: 'String'
74
+ }
75
+ },
76
+ definition: {
77
+ required: false,
78
+ serialized_name: 'definition',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ end
87
+ end
88
+ end
89
+ 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::DataLakeAnalytics::Catalog
7
+ module Models
8
+ #
9
+ # A Data Lake Analytics catalog U-SQL procedure item list.
10
+ #
11
+ class USqlProcedureList < CatalogItemList
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<USqlProcedure>] the list of procedure in the database
16
+ # and schema combination
17
+ attr_accessor :value
18
+
19
+ # return [Proc] with next page method call.
20
+ attr_accessor :next_method
21
+
22
+ #
23
+ # Gets the rest of the items for the request, enabling auto-pagination.
24
+ #
25
+ # @return [Array<USqlProcedure>] operation results.
26
+ #
27
+ def get_all_items
28
+ items = @value
29
+ page = self
30
+ while page.next_link != nil do
31
+ page = page.get_next_page
32
+ items.concat(page.value)
33
+ end
34
+ items
35
+ end
36
+
37
+ #
38
+ # Gets the next page of results.
39
+ #
40
+ # @return [USqlProcedureList] with next page content.
41
+ #
42
+ def get_next_page
43
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
44
+ unless response.nil?
45
+ @next_link = response.body.next_link
46
+ @value = response.body.value
47
+ self
48
+ end
49
+ end
50
+
51
+ #
52
+ # Mapper for USqlProcedureList class as Ruby Hash.
53
+ # This will be used for serialization/deserialization.
54
+ #
55
+ def self.mapper()
56
+ {
57
+ required: false,
58
+ serialized_name: 'USqlProcedureList',
59
+ type: {
60
+ name: 'Composite',
61
+ class_name: 'USqlProcedureList',
62
+ model_properties: {
63
+ count: {
64
+ required: false,
65
+ serialized_name: 'count',
66
+ type: {
67
+ name: 'Number'
68
+ }
69
+ },
70
+ next_link: {
71
+ required: false,
72
+ serialized_name: 'nextLink',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ value: {
78
+ required: false,
79
+ read_only: true,
80
+ serialized_name: 'value',
81
+ type: {
82
+ name: 'Sequence',
83
+ element: {
84
+ required: false,
85
+ serialized_name: 'USqlProcedureElementType',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'USqlProcedure'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }
95
+ }
96
+ end
97
+ end
98
+ end
99
+ end