Condividi tramite


JobInformation Constructors

Definition

Overloads

JobInformation()

Initializes a new instance of the JobInformation class.

public JobInformation();
Public Sub New ()

Applies to

JobInformation(String, JobType, JobProperties, Nullable<Guid>, String, IList<JobErrorDetails>, Nullable<Int32>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<JobState>, Nullable<JobResult>, String, IList<String>, IList<JobStateAuditRecord>, JobRelationshipProperties)

Initializes a new instance of the JobInformation class.

public JobInformation(string name, Microsoft.Azure.Management.DataLake.Analytics.Models.JobType type, Microsoft.Azure.Management.DataLake.Analytics.Models.JobProperties properties, Guid? jobId = default, string submitter = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataLake.Analytics.Models.JobErrorDetails> errorMessage = default, int? degreeOfParallelism = default, int? priority = default, DateTimeOffset? submitTime = default, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, Microsoft.Azure.Management.DataLake.Analytics.Models.JobState? state = default, Microsoft.Azure.Management.DataLake.Analytics.Models.JobResult? result = default, string logFolder = default, System.Collections.Generic.IList<string> logFilePatterns = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataLake.Analytics.Models.JobStateAuditRecord> stateAuditRecords = default, Microsoft.Azure.Management.DataLake.Analytics.Models.JobRelationshipProperties related = default);
new Microsoft.Azure.Management.DataLake.Analytics.Models.JobInformation : string * Microsoft.Azure.Management.DataLake.Analytics.Models.JobType * Microsoft.Azure.Management.DataLake.Analytics.Models.JobProperties * Nullable<Guid> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataLake.Analytics.Models.JobErrorDetails> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Microsoft.Azure.Management.DataLake.Analytics.Models.JobState> * Nullable<Microsoft.Azure.Management.DataLake.Analytics.Models.JobResult> * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataLake.Analytics.Models.JobStateAuditRecord> * Microsoft.Azure.Management.DataLake.Analytics.Models.JobRelationshipProperties -> Microsoft.Azure.Management.DataLake.Analytics.Models.JobInformation
Public Sub New (name As String, type As JobType, properties As JobProperties, Optional jobId As Nullable(Of Guid) = Nothing, Optional submitter As String = Nothing, Optional errorMessage As IList(Of JobErrorDetails) = Nothing, Optional degreeOfParallelism As Nullable(Of Integer) = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional submitTime As Nullable(Of DateTimeOffset) = Nothing, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of JobState) = Nothing, Optional result As Nullable(Of JobResult) = Nothing, Optional logFolder As String = Nothing, Optional logFilePatterns As IList(Of String) = Nothing, Optional stateAuditRecords As IList(Of JobStateAuditRecord) = Nothing, Optional related As JobRelationshipProperties = Nothing)

Parameters

name
String

the friendly name of the job.

type
JobType

the job type of the current job (Hive or USql). Possible values include: 'USql', 'Hive'

properties
JobProperties

the job specific properties.

jobId
Nullable<Guid>

the job's unique identifier (a GUID).

submitter
String

the user or account that submitted the job.

errorMessage
IList<JobErrorDetails>

the error message details for the job, if the job failed.

degreeOfParallelism
Nullable<Int32>

the degree of parallelism used for this job. This must be greater than 0, if set to less than 0 it will default to 1.

priority
Nullable<Int32>

the priority value for the current job. Lower numbers have a higher priority. By default, a job has a priority of 1000. This must be greater than 0.

submitTime
Nullable<DateTimeOffset>

the time the job was submitted to the service.

startTime
Nullable<DateTimeOffset>

the start time of the job.

endTime
Nullable<DateTimeOffset>

the completion time of the job.

state
Nullable<JobState>

the job state. When the job is in the Ended state, refer to Result and ErrorMessage for details. Possible values include: 'Accepted', 'Compiling', 'Ended', 'New', 'Queued', 'Running', 'Scheduling', 'Starting', 'Paused', 'WaitingForCapacity'

result
Nullable<JobResult>

the result of job execution or the current result of the running job. Possible values include: 'None', 'Succeeded', 'Cancelled', 'Failed'

logFolder
String

the log folder path to use in the following format: adl://<accountName>.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/.

logFilePatterns
IList<String>

the list of log file name patterns to find in the logFolder. '' is the only matching character allowed. Example format: jobExecution.log or mylog.txt

stateAuditRecords
IList<JobStateAuditRecord>

the job state audit records, indicating when various operations have been performed on this job.

related
JobRelationshipProperties

the recurring job relationship information properties.

Applies to