Share via


JobInformationBasic Constructors

Definition

Overloads

JobInformationBasic()

Initializes a new instance of the JobInformationBasic class.

JobInformationBasic(String, JobType, Nullable<Guid>, String, Nullable<Int32>, Nullable<Double>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<JobState>, Nullable<JobResult>, String, IList<String>, JobRelationshipProperties, IDictionary<String,String>, String)

Initializes a new instance of the JobInformationBasic class.

JobInformationBasic()

Initializes a new instance of the JobInformationBasic class.

public JobInformationBasic ();
Public Sub New ()

Applies to

JobInformationBasic(String, JobType, Nullable<Guid>, String, Nullable<Int32>, Nullable<Double>, Nullable<Int32>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, Nullable<JobState>, Nullable<JobResult>, String, IList<String>, JobRelationshipProperties, IDictionary<String,String>, String)

Initializes a new instance of the JobInformationBasic class.

public JobInformationBasic (string name, Microsoft.Azure.Management.DataLake.Analytics.Models.JobType type, Guid? jobId = default, string submitter = default, int? degreeOfParallelism = default, double? degreeOfParallelismPercent = 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, Microsoft.Azure.Management.DataLake.Analytics.Models.JobRelationshipProperties related = default, System.Collections.Generic.IDictionary<string,string> tags = default, string hierarchyQueueNode = default);
new Microsoft.Azure.Management.DataLake.Analytics.Models.JobInformationBasic : string * Microsoft.Azure.Management.DataLake.Analytics.Models.JobType * Nullable<Guid> * string * Nullable<int> * Nullable<double> * 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> * Microsoft.Azure.Management.DataLake.Analytics.Models.JobRelationshipProperties * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.DataLake.Analytics.Models.JobInformationBasic
Public Sub New (name As String, type As JobType, Optional jobId As Nullable(Of Guid) = Nothing, Optional submitter As String = Nothing, Optional degreeOfParallelism As Nullable(Of Integer) = Nothing, Optional degreeOfParallelismPercent As Nullable(Of Double) = 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 related As JobRelationshipProperties = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional hierarchyQueueNode As String = Nothing)

Parameters

name
String

The friendly name of the job.

type
JobType

The job type of the current job (Hive, USql, or Scope (for internal use only)). Possible values include: 'USql', 'Hive', 'Scope'

jobId
Nullable<Guid>

The job's unique identifier (a GUID).

submitter
String

The user or account that submitted the job.

degreeOfParallelism
Nullable<Int32>

The degree of parallelism used for this job.

degreeOfParallelismPercent
Nullable<Double>

the degree of parallelism in percentage used for this job.

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', 'Yielded', 'Finalizing'

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

related
JobRelationshipProperties

The recurring job relationship information properties.

tags
IDictionary<String,String>

The key-value pairs used to add additional metadata to the job information. (Only for use internally with Scope job type.)

hierarchyQueueNode
String

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.

Applies to