Source code for azure.mgmt.datalake.analytics.job.models.job_inner_error_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class JobInnerError(Model): """The Data Lake Analytics job error details. Variables are only populated by the server, and will be ignored when sending a request. :ivar error_id: The specific identifier for the type of error encountered in the job. :vartype error_id: str :ivar severity: The severity level of the failure. Possible values include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated', 'UserWarning' :vartype severity: str or ~azure.mgmt.datalake.analytics.job.models.SeverityTypes :ivar source: The ultimate source of the failure (usually either SYSTEM or USER). :vartype source: str :ivar message: The user friendly error message for the failure. :vartype message: str :ivar description: The error message description. :vartype description: str :ivar details: The details of the error message. :vartype details: str :ivar diagnostic_code: The diagnostic error code. :vartype diagnostic_code: int :ivar component: The component that failed. :vartype component: str :ivar resolution: The recommended resolution for the failure, if any. :vartype resolution: str :ivar help_link: The link to MSDN or Azure help for this type of error, if any. :vartype help_link: str :ivar internal_diagnostics: The internal diagnostic stack trace if the user requesting the job error details has sufficient permissions it will be retrieved, otherwise it will be empty. :vartype internal_diagnostics: str :ivar inner_error: The inner error of this specific job error message, if any. :vartype inner_error: ~azure.mgmt.datalake.analytics.job.models.JobInnerError """ _validation = { 'error_id': {'readonly': True}, 'severity': {'readonly': True}, 'source': {'readonly': True}, 'message': {'readonly': True}, 'description': {'readonly': True}, 'details': {'readonly': True}, 'diagnostic_code': {'readonly': True}, 'component': {'readonly': True}, 'resolution': {'readonly': True}, 'help_link': {'readonly': True}, 'internal_diagnostics': {'readonly': True}, 'inner_error': {'readonly': True}, } _attribute_map = { 'error_id': {'key': 'errorId', 'type': 'str'}, 'severity': {'key': 'severity', 'type': 'SeverityTypes'}, 'source': {'key': 'source', 'type': 'str'}, 'message': {'key': 'message', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, 'details': {'key': 'details', 'type': 'str'}, 'diagnostic_code': {'key': 'diagnosticCode', 'type': 'int'}, 'component': {'key': 'component', 'type': 'str'}, 'resolution': {'key': 'resolution', 'type': 'str'}, 'help_link': {'key': 'helpLink', 'type': 'str'}, 'internal_diagnostics': {'key': 'internalDiagnostics', 'type': 'str'}, 'inner_error': {'key': 'innerError', 'type': 'JobInnerError'}, } def __init__(self, **kwargs) -> None: super(JobInnerError, self).__init__(**kwargs) self.error_id = None self.severity = None self.source = None self.message = None self.description = None self.details = None self.diagnostic_code = None self.component = None self.resolution = None self.help_link = None self.internal_diagnostics = None self.inner_error = None