azure_mgmt_datalake_analytics 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_datalake_analytics.gemspec +34 -0
- data/lib/azure_mgmt_datalake_analytics.rb +4 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account.rb +51 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/account.rb +3209 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/data_lake_analytics_account_management_client.rb +68 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_data_lake_store_parameters.rb +46 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/add_storage_account_parameters.rb +46 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/azure_async_operation_result.rb +66 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container.rb +79 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/blob_container_properties.rb +45 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account.rb +107 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_data_lake_store_result.rb +109 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_list_storage_accounts_result.rb +108 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_properties.rb +167 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_state.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_analytics_account_status.rb +23 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/data_lake_store_account_info_properties.rb +44 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/error.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/error_details.rb +69 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/inner_error.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_blob_containers_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/list_sas_tokens_result.rb +96 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/operation_status.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/sas_token_info.rb +46 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_info.rb +57 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/models/storage_account_properties.rb +55 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/module_definition.rb +9 -0
- data/lib/generated/azure_mgmt_datalake_analytics_account/version.rb +8 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog.rb +70 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/catalog.rb +5600 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/data_lake_analytics_catalog_management_client.rb +67 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item.rb +54 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/catalog_item_list.rb +54 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/data_lake_analytics_catalog_secret_create_or_update_parameters.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/ddl_name.rb +78 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/entity_id.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/external_table.rb +56 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/file_type.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/type_field_info.rb +54 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly.rb +138 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_clr.rb +78 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_dependency_info.rb +45 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_file_info.rb +66 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_assembly_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential.rb +88 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_credential_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database.rb +58 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_database_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_directed_column.rb +55 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_distribution_info.rb +83 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source.rb +107 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_external_data_source_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_index.rb +168 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure.rb +89 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_procedure_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema.rb +68 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_schema_list.rb +98 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_secret.rb +100 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table.rb +154 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_column.rb +55 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition.rb +128 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_partition_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics.rb +190 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_statistics_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type.rb +173 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_type_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function.rb +88 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_table_valued_function_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type.rb +203 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_type_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view.rb +89 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/models/usql_view_list.rb +99 -0
- data/lib/generated/azure_mgmt_datalake_analytics_catalog/module_definition.rb +9 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job.rb +48 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/data_lake_analytics_job_management_client.rb +67 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/job.rb +938 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/compile_mode.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/diagnostics.rb +102 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_properties.rb +123 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/hive_job_statement_info.rb +74 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_data_path.rb +74 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_error_details.rb +198 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_info_list_result.rb +107 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_information.rb +245 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_inner_error.rb +162 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_properties.rb +77 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource.rb +68 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_resource_type.rb +20 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_result.rb +18 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state.rb +24 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_state_audit_record.rb +79 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics.rb +65 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_statistics_vertex_stage.rb +262 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/job_type.rb +16 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/severity_types.rb +17 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/models/usql_job_properties.rb +231 -0
- data/lib/generated/azure_mgmt_datalake_analytics_job/module_definition.rb +9 -0
- metadata +218 -0
@@ -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::DataLakeAnalytics::Job
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of jobInfo items.
|
10
|
+
#
|
11
|
+
class JobInfoListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<JobInformation>] the list of jobInfo items.
|
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<JobInformation>] 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 [JobInfoListResult] 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 JobInfoListResult class as Ruby Hash.
|
59
|
+
# This will be used for serialization/deserialization.
|
60
|
+
#
|
61
|
+
def self.mapper()
|
62
|
+
{
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'JobInfoListResult',
|
65
|
+
type: {
|
66
|
+
name: 'Composite',
|
67
|
+
class_name: 'JobInfoListResult',
|
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: 'JobInformationElementType',
|
78
|
+
type: {
|
79
|
+
name: 'Composite',
|
80
|
+
class_name: 'JobInformation'
|
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,245 @@
|
|
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::Job
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The common Data Lake Analytics job information properties.
|
10
|
+
#
|
11
|
+
class JobInformation
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return the job's unique identifier (a GUID).
|
16
|
+
attr_accessor :job_id
|
17
|
+
|
18
|
+
# @return [String] the friendly name of the job.
|
19
|
+
attr_accessor :name
|
20
|
+
|
21
|
+
# @return [JobType] the job type of the current job (Hive or USql).
|
22
|
+
# Possible values include: 'USql', 'Hive'
|
23
|
+
attr_accessor :type
|
24
|
+
|
25
|
+
# @return [String] the user or account that submitted the job.
|
26
|
+
attr_accessor :submitter
|
27
|
+
|
28
|
+
# @return [Array<JobErrorDetails>] the error message details for the
|
29
|
+
# job, if the job failed.
|
30
|
+
attr_accessor :error_message
|
31
|
+
|
32
|
+
# @return [Integer] the degree of parallelism used for this job. This
|
33
|
+
# must be greater than 0.
|
34
|
+
attr_accessor :degree_of_parallelism
|
35
|
+
|
36
|
+
# @return [Integer] the priority value for the current job. Lower
|
37
|
+
# numbers have a higher priority. By default, a job has a priority of
|
38
|
+
# 1000. This must be greater than 0.
|
39
|
+
attr_accessor :priority
|
40
|
+
|
41
|
+
# @return [DateTime] the time the job was submitted to the service.
|
42
|
+
attr_accessor :submit_time
|
43
|
+
|
44
|
+
# @return [DateTime] the start time of the job.
|
45
|
+
attr_accessor :start_time
|
46
|
+
|
47
|
+
# @return [DateTime] the completion time of the job.
|
48
|
+
attr_accessor :end_time
|
49
|
+
|
50
|
+
# @return [JobState] the job state. When the job is in the Ended state,
|
51
|
+
# refer to Result and ErrorMessage for details. Possible values
|
52
|
+
# include: 'Accepted', 'Compiling', 'Ended', 'New', 'Queued',
|
53
|
+
# 'Running', 'Scheduling', 'Starting', 'Paused', 'WaitingForCapacity'
|
54
|
+
attr_accessor :state
|
55
|
+
|
56
|
+
# @return [JobResult] the result of job execution or the current result
|
57
|
+
# of the running job. Possible values include: 'None', 'Succeeded',
|
58
|
+
# 'Cancelled', 'Failed'
|
59
|
+
attr_accessor :result
|
60
|
+
|
61
|
+
# @return [String] the log folder path to use in the following format:
|
62
|
+
# adl://<accountName>.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/.
|
63
|
+
attr_accessor :log_folder
|
64
|
+
|
65
|
+
# @return [Array<String>] the list of log file name patterns to find in
|
66
|
+
# the logFolder. '*' is the only matching character allowed. Example
|
67
|
+
# format: jobExecution*.log or *mylog*.txt
|
68
|
+
attr_accessor :log_file_patterns
|
69
|
+
|
70
|
+
# @return [Array<JobStateAuditRecord>] the job state audit records,
|
71
|
+
# indicating when various operations have been performed on this job.
|
72
|
+
attr_accessor :state_audit_records
|
73
|
+
|
74
|
+
# @return [JobProperties] the job specific properties.
|
75
|
+
attr_accessor :properties
|
76
|
+
|
77
|
+
|
78
|
+
#
|
79
|
+
# Mapper for JobInformation class as Ruby Hash.
|
80
|
+
# This will be used for serialization/deserialization.
|
81
|
+
#
|
82
|
+
def self.mapper()
|
83
|
+
{
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'JobInformation',
|
86
|
+
type: {
|
87
|
+
name: 'Composite',
|
88
|
+
class_name: 'JobInformation',
|
89
|
+
model_properties: {
|
90
|
+
job_id: {
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'jobId',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
},
|
97
|
+
name: {
|
98
|
+
required: true,
|
99
|
+
serialized_name: 'name',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
type: {
|
105
|
+
required: true,
|
106
|
+
serialized_name: 'type',
|
107
|
+
type: {
|
108
|
+
name: 'Enum',
|
109
|
+
module: 'JobType'
|
110
|
+
}
|
111
|
+
},
|
112
|
+
submitter: {
|
113
|
+
required: false,
|
114
|
+
serialized_name: 'submitter',
|
115
|
+
type: {
|
116
|
+
name: 'String'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
error_message: {
|
120
|
+
required: false,
|
121
|
+
read_only: true,
|
122
|
+
serialized_name: 'errorMessage',
|
123
|
+
type: {
|
124
|
+
name: 'Sequence',
|
125
|
+
element: {
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'JobErrorDetailsElementType',
|
128
|
+
type: {
|
129
|
+
name: 'Composite',
|
130
|
+
class_name: 'JobErrorDetails'
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
134
|
+
},
|
135
|
+
degree_of_parallelism: {
|
136
|
+
required: false,
|
137
|
+
serialized_name: 'degreeOfParallelism',
|
138
|
+
type: {
|
139
|
+
name: 'Number'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
priority: {
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'priority',
|
145
|
+
type: {
|
146
|
+
name: 'Number'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
submit_time: {
|
150
|
+
required: false,
|
151
|
+
read_only: true,
|
152
|
+
serialized_name: 'submitTime',
|
153
|
+
type: {
|
154
|
+
name: 'DateTime'
|
155
|
+
}
|
156
|
+
},
|
157
|
+
start_time: {
|
158
|
+
required: false,
|
159
|
+
read_only: true,
|
160
|
+
serialized_name: 'startTime',
|
161
|
+
type: {
|
162
|
+
name: 'DateTime'
|
163
|
+
}
|
164
|
+
},
|
165
|
+
end_time: {
|
166
|
+
required: false,
|
167
|
+
read_only: true,
|
168
|
+
serialized_name: 'endTime',
|
169
|
+
type: {
|
170
|
+
name: 'DateTime'
|
171
|
+
}
|
172
|
+
},
|
173
|
+
state: {
|
174
|
+
required: false,
|
175
|
+
read_only: true,
|
176
|
+
serialized_name: 'state',
|
177
|
+
type: {
|
178
|
+
name: 'Enum',
|
179
|
+
module: 'JobState'
|
180
|
+
}
|
181
|
+
},
|
182
|
+
result: {
|
183
|
+
required: false,
|
184
|
+
read_only: true,
|
185
|
+
serialized_name: 'result',
|
186
|
+
type: {
|
187
|
+
name: 'Enum',
|
188
|
+
module: 'JobResult'
|
189
|
+
}
|
190
|
+
},
|
191
|
+
log_folder: {
|
192
|
+
required: false,
|
193
|
+
read_only: true,
|
194
|
+
serialized_name: 'logFolder',
|
195
|
+
type: {
|
196
|
+
name: 'String'
|
197
|
+
}
|
198
|
+
},
|
199
|
+
log_file_patterns: {
|
200
|
+
required: false,
|
201
|
+
serialized_name: 'logFilePatterns',
|
202
|
+
type: {
|
203
|
+
name: 'Sequence',
|
204
|
+
element: {
|
205
|
+
required: false,
|
206
|
+
serialized_name: 'StringElementType',
|
207
|
+
type: {
|
208
|
+
name: 'String'
|
209
|
+
}
|
210
|
+
}
|
211
|
+
}
|
212
|
+
},
|
213
|
+
state_audit_records: {
|
214
|
+
required: false,
|
215
|
+
read_only: true,
|
216
|
+
serialized_name: 'stateAuditRecords',
|
217
|
+
type: {
|
218
|
+
name: 'Sequence',
|
219
|
+
element: {
|
220
|
+
required: false,
|
221
|
+
serialized_name: 'JobStateAuditRecordElementType',
|
222
|
+
type: {
|
223
|
+
name: 'Composite',
|
224
|
+
class_name: 'JobStateAuditRecord'
|
225
|
+
}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
},
|
229
|
+
properties: {
|
230
|
+
required: true,
|
231
|
+
serialized_name: 'properties',
|
232
|
+
type: {
|
233
|
+
name: 'Composite',
|
234
|
+
polymorphic_discriminator: 'type',
|
235
|
+
uber_parent: 'JobProperties',
|
236
|
+
class_name: 'JobProperties'
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
}
|
241
|
+
}
|
242
|
+
end
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
@@ -0,0 +1,162 @@
|
|
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::Job
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The Data Lake Analytics job error details.
|
10
|
+
#
|
11
|
+
class JobInnerError
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] the diagnostic error code.
|
16
|
+
attr_accessor :diagnostic_code
|
17
|
+
|
18
|
+
# @return [SeverityTypes] the severity level of the failure. Possible
|
19
|
+
# values include: 'Warning', 'Error', 'Info'
|
20
|
+
attr_accessor :severity
|
21
|
+
|
22
|
+
# @return [String] the details of the error message.
|
23
|
+
attr_accessor :details
|
24
|
+
|
25
|
+
# @return [String] the component that failed.
|
26
|
+
attr_accessor :component
|
27
|
+
|
28
|
+
# @return [String] the specific identifier for the type of error
|
29
|
+
# encountered in the job.
|
30
|
+
attr_accessor :error_id
|
31
|
+
|
32
|
+
# @return [String] the link to MSDN or Azure help for this type of
|
33
|
+
# error, if any.
|
34
|
+
attr_accessor :help_link
|
35
|
+
|
36
|
+
# @return [String] the internal diagnostic stack trace if the user
|
37
|
+
# requesting the job error details has sufficient permissions it will
|
38
|
+
# be retrieved, otherwise it will be empty.
|
39
|
+
attr_accessor :internal_diagnostics
|
40
|
+
|
41
|
+
# @return [String] the user friendly error message for the failure.
|
42
|
+
attr_accessor :message
|
43
|
+
|
44
|
+
# @return [String] the recommended resolution for the failure, if any.
|
45
|
+
attr_accessor :resolution
|
46
|
+
|
47
|
+
# @return [String] the ultimate source of the failure (usually either
|
48
|
+
# SYSTEM or USER).
|
49
|
+
attr_accessor :source
|
50
|
+
|
51
|
+
# @return [String] the error message description
|
52
|
+
attr_accessor :description
|
53
|
+
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for JobInnerError class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'JobInnerError',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'JobInnerError',
|
66
|
+
model_properties: {
|
67
|
+
diagnostic_code: {
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'diagnosticCode',
|
71
|
+
type: {
|
72
|
+
name: 'Number'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
severity: {
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'severity',
|
79
|
+
type: {
|
80
|
+
name: 'Enum',
|
81
|
+
module: 'SeverityTypes'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
details: {
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'details',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
component: {
|
93
|
+
required: false,
|
94
|
+
read_only: true,
|
95
|
+
serialized_name: 'component',
|
96
|
+
type: {
|
97
|
+
name: 'String'
|
98
|
+
}
|
99
|
+
},
|
100
|
+
error_id: {
|
101
|
+
required: false,
|
102
|
+
read_only: true,
|
103
|
+
serialized_name: 'errorId',
|
104
|
+
type: {
|
105
|
+
name: 'String'
|
106
|
+
}
|
107
|
+
},
|
108
|
+
help_link: {
|
109
|
+
required: false,
|
110
|
+
read_only: true,
|
111
|
+
serialized_name: 'helpLink',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
internal_diagnostics: {
|
117
|
+
required: false,
|
118
|
+
read_only: true,
|
119
|
+
serialized_name: 'internalDiagnostics',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
message: {
|
125
|
+
required: false,
|
126
|
+
read_only: true,
|
127
|
+
serialized_name: 'message',
|
128
|
+
type: {
|
129
|
+
name: 'String'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
resolution: {
|
133
|
+
required: false,
|
134
|
+
read_only: true,
|
135
|
+
serialized_name: 'resolution',
|
136
|
+
type: {
|
137
|
+
name: 'String'
|
138
|
+
}
|
139
|
+
},
|
140
|
+
source: {
|
141
|
+
required: false,
|
142
|
+
read_only: true,
|
143
|
+
serialized_name: 'source',
|
144
|
+
type: {
|
145
|
+
name: 'String'
|
146
|
+
}
|
147
|
+
},
|
148
|
+
description: {
|
149
|
+
required: false,
|
150
|
+
read_only: true,
|
151
|
+
serialized_name: 'description',
|
152
|
+
type: {
|
153
|
+
name: 'String'
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|