diff --git a/services/datalake/analytics/2016-11-01/job/models.go b/services/datalake/analytics/2016-11-01/job/models.go index bc2bb02d812d..ba932cfee2da 100644 --- a/services/datalake/analytics/2016-11-01/job/models.go +++ b/services/datalake/analytics/2016-11-01/job/models.go @@ -779,6 +779,8 @@ type Information struct { LogFilePatterns *[]string `json:"logFilePatterns,omitempty"` // Related - the recurring job relationship information properties. Related *RelationshipProperties `json:"related,omitempty"` + // HierarchyQueueNode - 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. + HierarchyQueueNode *string `json:"hierarchyQueueNode,omitempty"` } // UnmarshalJSON is the custom unmarshaler for Information struct. @@ -951,6 +953,15 @@ func (i *Information) UnmarshalJSON(body []byte) error { } i.Related = &related } + case "hierarchyQueueNode": + if v != nil { + var hierarchyQueueNode string + err = json.Unmarshal(*v, &hierarchyQueueNode) + if err != nil { + return err + } + i.HierarchyQueueNode = &hierarchyQueueNode + } } } @@ -989,6 +1000,8 @@ type InformationBasic struct { LogFilePatterns *[]string `json:"logFilePatterns,omitempty"` // Related - the recurring job relationship information properties. Related *RelationshipProperties `json:"related,omitempty"` + // HierarchyQueueNode - 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. + HierarchyQueueNode *string `json:"hierarchyQueueNode,omitempty"` } // InnerError the Data Lake Analytics job error details. diff --git a/services/preview/datalake/analytics/2015-11-01-preview/job/models.go b/services/preview/datalake/analytics/2015-11-01-preview/job/models.go index 259d7b91ec3d..e6e1a1cb4710 100644 --- a/services/preview/datalake/analytics/2015-11-01-preview/job/models.go +++ b/services/preview/datalake/analytics/2015-11-01-preview/job/models.go @@ -416,6 +416,8 @@ type Information struct { Result Result `json:"result,omitempty"` // StateAuditRecords - Gets the job state audit records, indicating when various operations have been performed on this job. StateAuditRecords *[]StateAuditRecord `json:"stateAuditRecords,omitempty"` + // HierarchyQueueNode - 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. + HierarchyQueueNode *string `json:"hierarchyQueueNode,omitempty"` // Properties - Gets or sets the job specific properties. Properties BasicProperties `json:"properties,omitempty"` } @@ -555,6 +557,15 @@ func (i *Information) UnmarshalJSON(body []byte) error { } i.StateAuditRecords = &stateAuditRecords } + case "hierarchyQueueNode": + if v != nil { + var hierarchyQueueNode string + err = json.Unmarshal(*v, &hierarchyQueueNode) + if err != nil { + return err + } + i.HierarchyQueueNode = &hierarchyQueueNode + } case "properties": if v != nil { properties, err := unmarshalBasicProperties(*v) diff --git a/services/preview/datalake/analytics/2016-03-20-preview/job/models.go b/services/preview/datalake/analytics/2016-03-20-preview/job/models.go index c522ed0a756c..5ba738166614 100644 --- a/services/preview/datalake/analytics/2016-03-20-preview/job/models.go +++ b/services/preview/datalake/analytics/2016-03-20-preview/job/models.go @@ -429,6 +429,8 @@ type Information struct { LogFilePatterns *[]string `json:"logFilePatterns,omitempty"` // StateAuditRecords - the job state audit records, indicating when various operations have been performed on this job. StateAuditRecords *[]StateAuditRecord `json:"stateAuditRecords,omitempty"` + // HierarchyQueueNode - 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. + HierarchyQueueNode *string `json:"hierarchyQueueNode,omitempty"` // Properties - the job specific properties. Properties BasicProperties `json:"properties,omitempty"` } @@ -586,6 +588,15 @@ func (i *Information) UnmarshalJSON(body []byte) error { } i.StateAuditRecords = &stateAuditRecords } + case "hierarchyQueueNode": + if v != nil { + var hierarchyQueueNode string + err = json.Unmarshal(*v, &hierarchyQueueNode) + if err != nil { + return err + } + i.HierarchyQueueNode = &hierarchyQueueNode + } case "properties": if v != nil { properties, err := unmarshalBasicProperties(*v) diff --git a/services/preview/datalake/analytics/2017-09-01-preview/job/models.go b/services/preview/datalake/analytics/2017-09-01-preview/job/models.go index 7ab84a9dae0e..c2989081b776 100644 --- a/services/preview/datalake/analytics/2017-09-01-preview/job/models.go +++ b/services/preview/datalake/analytics/2017-09-01-preview/job/models.go @@ -1036,6 +1036,8 @@ type Information struct { Related *RelationshipProperties `json:"related,omitempty"` // Tags - The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.) Tags map[string]*string `json:"tags"` + // HierarchyQueueNode - 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. + HierarchyQueueNode *string `json:"hierarchyQueueNode,omitempty"` } // MarshalJSON is the custom marshaler for Information. @@ -1096,6 +1098,9 @@ func (i Information) MarshalJSON() ([]byte, error) { if i.Tags != nil { objectMap["tags"] = i.Tags } + if i.HierarchyQueueNode != nil { + objectMap["hierarchyQueueNode"] = i.HierarchyQueueNode + } return json.Marshal(objectMap) } @@ -1278,6 +1283,15 @@ func (i *Information) UnmarshalJSON(body []byte) error { } i.Tags = tags } + case "hierarchyQueueNode": + if v != nil { + var hierarchyQueueNode string + err = json.Unmarshal(*v, &hierarchyQueueNode) + if err != nil { + return err + } + i.HierarchyQueueNode = &hierarchyQueueNode + } } } @@ -1318,6 +1332,8 @@ type InformationBasic struct { Related *RelationshipProperties `json:"related,omitempty"` // Tags - The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.) Tags map[string]*string `json:"tags"` + // HierarchyQueueNode - 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. + HierarchyQueueNode *string `json:"hierarchyQueueNode,omitempty"` } // MarshalJSON is the custom marshaler for InformationBasic. @@ -1371,6 +1387,9 @@ func (ib InformationBasic) MarshalJSON() ([]byte, error) { if ib.Tags != nil { objectMap["tags"] = ib.Tags } + if ib.HierarchyQueueNode != nil { + objectMap["hierarchyQueueNode"] = ib.HierarchyQueueNode + } return json.Marshal(objectMap) }