diff --git a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information.py b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information.py index d464fbbc3111..27df71588346 100644 --- a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information.py +++ b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information.py @@ -70,6 +70,10 @@ class JobInformation(JobInformationBasic): :param tags: The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.) :type tags: dict[str, str] + :ivar hierarchy_queue_node: the name of hierarchy queue node this job is + assigned to, Null if job has not been assigned yet or the account doesn't + have hierarchy queue. + :vartype hierarchy_queue_node: str :ivar error_message: The error message details for the job, if the job failed. :vartype error_message: @@ -94,6 +98,7 @@ class JobInformation(JobInformationBasic): 'state': {'readonly': True}, 'result': {'readonly': True}, 'log_folder': {'readonly': True}, + 'hierarchy_queue_node': {'readonly': True}, 'error_message': {'readonly': True}, 'state_audit_records': {'readonly': True}, 'properties': {'required': True}, @@ -116,6 +121,7 @@ class JobInformation(JobInformationBasic): 'log_file_patterns': {'key': 'logFilePatterns', 'type': '[str]'}, 'related': {'key': 'related', 'type': 'JobRelationshipProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'hierarchy_queue_node': {'key': 'hierarchyQueueNode', 'type': 'str'}, 'error_message': {'key': 'errorMessage', 'type': '[JobErrorDetails]'}, 'state_audit_records': {'key': 'stateAuditRecords', 'type': '[JobStateAuditRecord]'}, 'properties': {'key': 'properties', 'type': 'JobProperties'}, diff --git a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic.py b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic.py index d1d7702b9116..30c25bbd4343 100644 --- a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic.py +++ b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic.py @@ -69,6 +69,10 @@ class JobInformationBasic(Model): :param tags: The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.) :type tags: dict[str, str] + :ivar hierarchy_queue_node: the name of hierarchy queue node this job is + assigned to, Null if job has not been assigned yet or the account doesn't + have hierarchy queue. + :vartype hierarchy_queue_node: str """ _validation = { @@ -83,6 +87,7 @@ class JobInformationBasic(Model): 'state': {'readonly': True}, 'result': {'readonly': True}, 'log_folder': {'readonly': True}, + 'hierarchy_queue_node': {'readonly': True}, } _attribute_map = { @@ -102,6 +107,7 @@ class JobInformationBasic(Model): 'log_file_patterns': {'key': 'logFilePatterns', 'type': '[str]'}, 'related': {'key': 'related', 'type': 'JobRelationshipProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'hierarchy_queue_node': {'key': 'hierarchyQueueNode', 'type': 'str'}, } def __init__(self, **kwargs): @@ -122,3 +128,4 @@ def __init__(self, **kwargs): self.log_file_patterns = kwargs.get('log_file_patterns', None) self.related = kwargs.get('related', None) self.tags = kwargs.get('tags', None) + self.hierarchy_queue_node = None diff --git a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic_py3.py b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic_py3.py index 9ab44a2e7375..31dd596b40c8 100644 --- a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic_py3.py +++ b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_basic_py3.py @@ -69,6 +69,10 @@ class JobInformationBasic(Model): :param tags: The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.) :type tags: dict[str, str] + :ivar hierarchy_queue_node: the name of hierarchy queue node this job is + assigned to, Null if job has not been assigned yet or the account doesn't + have hierarchy queue. + :vartype hierarchy_queue_node: str """ _validation = { @@ -83,6 +87,7 @@ class JobInformationBasic(Model): 'state': {'readonly': True}, 'result': {'readonly': True}, 'log_folder': {'readonly': True}, + 'hierarchy_queue_node': {'readonly': True}, } _attribute_map = { @@ -102,6 +107,7 @@ class JobInformationBasic(Model): 'log_file_patterns': {'key': 'logFilePatterns', 'type': '[str]'}, 'related': {'key': 'related', 'type': 'JobRelationshipProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'hierarchy_queue_node': {'key': 'hierarchyQueueNode', 'type': 'str'}, } def __init__(self, *, name: str, type, degree_of_parallelism: int=1, priority: int=None, log_file_patterns=None, related=None, tags=None, **kwargs) -> None: @@ -122,3 +128,4 @@ def __init__(self, *, name: str, type, degree_of_parallelism: int=1, priority: i self.log_file_patterns = log_file_patterns self.related = related self.tags = tags + self.hierarchy_queue_node = None diff --git a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_py3.py b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_py3.py index 482998c69cbe..f5b4b927c2eb 100644 --- a/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_py3.py +++ b/azure-mgmt-datalake-analytics/azure/mgmt/datalake/analytics/job/models/job_information_py3.py @@ -70,6 +70,10 @@ class JobInformation(JobInformationBasic): :param tags: The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.) :type tags: dict[str, str] + :ivar hierarchy_queue_node: the name of hierarchy queue node this job is + assigned to, Null if job has not been assigned yet or the account doesn't + have hierarchy queue. + :vartype hierarchy_queue_node: str :ivar error_message: The error message details for the job, if the job failed. :vartype error_message: @@ -94,6 +98,7 @@ class JobInformation(JobInformationBasic): 'state': {'readonly': True}, 'result': {'readonly': True}, 'log_folder': {'readonly': True}, + 'hierarchy_queue_node': {'readonly': True}, 'error_message': {'readonly': True}, 'state_audit_records': {'readonly': True}, 'properties': {'required': True}, @@ -116,6 +121,7 @@ class JobInformation(JobInformationBasic): 'log_file_patterns': {'key': 'logFilePatterns', 'type': '[str]'}, 'related': {'key': 'related', 'type': 'JobRelationshipProperties'}, 'tags': {'key': 'tags', 'type': '{str}'}, + 'hierarchy_queue_node': {'key': 'hierarchyQueueNode', 'type': 'str'}, 'error_message': {'key': 'errorMessage', 'type': '[JobErrorDetails]'}, 'state_audit_records': {'key': 'stateAuditRecords', 'type': '[JobStateAuditRecord]'}, 'properties': {'key': 'properties', 'type': 'JobProperties'},