diff --git a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_inner_error.py b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_inner_error.py index 00b1e4eaf1cf..908e8aebd9f5 100644 --- a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_inner_error.py +++ b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_inner_error.py @@ -48,6 +48,10 @@ class JobInnerError(Model): :vartype source: str :ivar description: the error message description :vartype description: str + :ivar inner_error: the inner error of this specific job error message, if + any. + :vartype inner_error: :class:`JobInnerError + ` """ _validation = { @@ -62,6 +66,7 @@ class JobInnerError(Model): 'resolution': {'readonly': True}, 'source': {'readonly': True}, 'description': {'readonly': True}, + 'inner_error': {'readonly': True}, } _attribute_map = { @@ -76,6 +81,7 @@ class JobInnerError(Model): 'resolution': {'key': 'resolution', 'type': 'str'}, 'source': {'key': 'source', 'type': 'str'}, 'description': {'key': 'description', 'type': 'str'}, + 'inner_error': {'key': 'innerError', 'type': 'JobInnerError'}, } def __init__(self): @@ -90,3 +96,4 @@ def __init__(self): self.resolution = None self.source = None self.description = None + self.inner_error = None diff --git a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/usql_job_properties.py b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/usql_job_properties.py index 0fc94bebc078..985032c551e9 100644 --- a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/usql_job_properties.py +++ b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/usql_job_properties.py @@ -28,11 +28,11 @@ class USqlJobProperties(JobProperties): :ivar resources: the list of resources that are required by the job :vartype resources: list of :class:`JobResource ` - :ivar statistics: the job specific statistics. - :vartype statistics: :class:`JobStatistics + :param statistics: the job specific statistics. + :type statistics: :class:`JobStatistics ` - :ivar debug_data: the job specific debug data locations. - :vartype debug_data: :class:`JobDataPath + :param debug_data: the job specific debug data locations. + :type debug_data: :class:`JobDataPath ` :ivar diagnostics: the diagnostics for the job. :vartype diagnostics: list of :class:`Diagnostics @@ -75,8 +75,6 @@ class USqlJobProperties(JobProperties): 'script': {'required': True}, 'type': {'required': True}, 'resources': {'readonly': True}, - 'statistics': {'readonly': True}, - 'debug_data': {'readonly': True}, 'diagnostics': {'readonly': True}, 'algebra_file_path': {'readonly': True}, 'total_compilation_time': {'readonly': True}, @@ -108,11 +106,11 @@ class USqlJobProperties(JobProperties): 'compile_mode': {'key': 'compileMode', 'type': 'CompileMode'}, } - def __init__(self, script, runtime_version=None): + def __init__(self, script, runtime_version=None, statistics=None, debug_data=None): super(USqlJobProperties, self).__init__(runtime_version=runtime_version, script=script) self.resources = None - self.statistics = None - self.debug_data = None + self.statistics = statistics + self.debug_data = debug_data self.diagnostics = None self.algebra_file_path = None self.total_compilation_time = None