Udostępnij za pośrednictwem


CloudJob Class

Definition

An Azure Batch Job.

public class CloudJob
type CloudJob = class
Public Class CloudJob
Inheritance
CloudJob

Constructors

CloudJob()

Initializes a new instance of the CloudJob class.

CloudJob(String, String, Nullable<Boolean>, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<JobState>, Nullable<DateTime>, Nullable<JobState>, Nullable<DateTime>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, JobConstraints, JobManagerTask, JobPreparationTask, JobReleaseTask, IList<EnvironmentSetting>, PoolInformation, Nullable<OnAllTasksComplete>, Nullable<OnTaskFailure>, JobNetworkConfiguration, IList<MetadataItem>, JobExecutionInformation, JobStatistics)

Initializes a new instance of the CloudJob class.

Properties

AllowTaskPreemption

Gets or sets whether Tasks in this job can be preempted by other high priority jobs

CommonEnvironmentSettings

Gets or sets the list of common environment variable settings. These environment variables are set for all Tasks in the Job (including the Job Manager, Job Preparation and Job Release Tasks).

Constraints

Gets or sets the execution constraints for the Job.

CreationTime

Gets or sets the creation time of the Job.

DisplayName

Gets or sets the display name for the Job.

ETag

Gets or sets the ETag of the Job.

ExecutionInfo

Gets or sets the execution information for the Job.

Id

Gets or sets a string that uniquely identifies the Job within the Account.

JobManagerTask

Gets or sets details of a Job Manager Task to be launched when the Job is started.

JobPreparationTask

Gets or sets the Job Preparation Task.

JobReleaseTask

Gets or sets the Job Release Task.

LastModified

Gets or sets the last modified time of the Job.

MaxParallelTasks

Gets or sets the maximum number of tasks that can be executed in parallel for the job.

Metadata

Gets or sets a list of name-value pairs associated with the Job as metadata.

NetworkConfiguration

Gets or sets the network configuration for the Job.

OnAllTasksComplete

Gets or sets the action the Batch service should take when all Tasks in the Job are in the completed state.

OnTaskFailure

Gets or sets the action the Batch service should take when any Task in the Job fails.

PoolInfo

Gets or sets the Pool settings associated with the Job.

PreviousState

Gets or sets the previous state of the Job.

PreviousStateTransitionTime

Gets or sets the time at which the Job entered its previous state.

Priority

Gets or sets the priority of the Job.

State

Gets or sets the current state of the Job.

StateTransitionTime

Gets or sets the time at which the Job entered its current state.

Stats

Gets or sets resource usage statistics for the entire lifetime of the Job.

Url

Gets or sets the URL of the Job.

UsesTaskDependencies

Gets or sets whether Tasks in the Job can define dependencies on each other. The default is false.

Applies to