CloudTask CloudTask CloudTask Class

Definition

An Azure Batch task.

public class CloudTask
type CloudTask = class
Public Class CloudTask
Inheritance
CloudTaskCloudTaskCloudTask

Constructors

CloudTask() CloudTask() CloudTask()

Initializes a new instance of the CloudTask class.

CloudTask(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, ExitConditions, Nullable<TaskState>, Nullable<DateTime>, Nullable<TaskState>, Nullable<DateTime>, String, TaskContainerSettings, IList<ResourceFile>, IList<OutputFile>, IList<EnvironmentSetting>, AffinityInformation, TaskConstraints, UserIdentity, TaskExecutionInformation, ComputeNodeInformation, MultiInstanceSettings, TaskStatistics, TaskDependencies, IList<ApplicationPackageReference>, AuthenticationTokenSettings) CloudTask(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, ExitConditions, Nullable<TaskState>, Nullable<DateTime>, Nullable<TaskState>, Nullable<DateTime>, String, TaskContainerSettings, IList<ResourceFile>, IList<OutputFile>, IList<EnvironmentSetting>, AffinityInformation, TaskConstraints, UserIdentity, TaskExecutionInformation, ComputeNodeInformation, MultiInstanceSettings, TaskStatistics, TaskDependencies, IList<ApplicationPackageReference>, AuthenticationTokenSettings) CloudTask(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, ExitConditions, Nullable<TaskState>, Nullable<DateTime>, Nullable<TaskState>, Nullable<DateTime>, String, TaskContainerSettings, IList<ResourceFile>, IList<OutputFile>, IList<EnvironmentSetting>, AffinityInformation, TaskConstraints, UserIdentity, TaskExecutionInformation, ComputeNodeInformation, MultiInstanceSettings, TaskStatistics, TaskDependencies, IList<ApplicationPackageReference>, AuthenticationTokenSettings)

Initializes a new instance of the CloudTask class.

Properties

AffinityInfo AffinityInfo AffinityInfo

Gets or sets a locality hint that can be used by the Batch service to select a compute node on which to start the new task.

ApplicationPackageReferences ApplicationPackageReferences ApplicationPackageReferences

Gets or sets a list of application packages that the Batch service will deploy to the compute node before running the command line.

AuthenticationTokenSettings AuthenticationTokenSettings AuthenticationTokenSettings

Gets or sets the settings for an authentication token that the task can use to perform Batch service operations.

CommandLine CommandLine CommandLine

Gets or sets the command line of the task.

Constraints Constraints Constraints

Gets or sets the execution constraints that apply to this task.

ContainerSettings ContainerSettings ContainerSettings

Gets or sets the settings for the container under which the task runs.

CreationTime CreationTime CreationTime

Gets or sets the creation time of the task.

DependsOn DependsOn DependsOn

Gets or sets the tasks that this task depends on.

DisplayName DisplayName DisplayName

Gets or sets a display name for the task.

EnvironmentSettings EnvironmentSettings EnvironmentSettings

Gets or sets a list of environment variable settings for the task.

ETag ETag ETag

Gets or sets the ETag of the task.

ExecutionInfo ExecutionInfo ExecutionInfo

Gets or sets information about the execution of the task.

ExitConditions ExitConditions ExitConditions

Gets or sets how the Batch service should respond when the task completes.

Id Id Id

Gets or sets a string that uniquely identifies the task within the job.

LastModified LastModified LastModified

Gets or sets the last modified time of the task.

MultiInstanceSettings MultiInstanceSettings MultiInstanceSettings

Gets or sets an object that indicates that the task is a multi-instance task, and contains information about how to run the multi-instance task.

NodeInfo NodeInfo NodeInfo

Gets or sets information about the compute node on which the task ran.

OutputFiles OutputFiles OutputFiles

Gets or sets a list of files that the Batch service will upload from the compute node after running the command line.

PreviousState PreviousState PreviousState

Gets or sets the previous state of the task.

PreviousStateTransitionTime PreviousStateTransitionTime PreviousStateTransitionTime

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

ResourceFiles ResourceFiles ResourceFiles

Gets or sets a list of files that the Batch service will download to the compute node before running the command line.

State State State

Gets or sets the current state of the task.

StateTransitionTime StateTransitionTime StateTransitionTime

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

Stats Stats Stats

Gets or sets resource usage statistics for the task.

Url Url Url

Gets or sets the URL of the task.

UserIdentity UserIdentity UserIdentity

Gets or sets the user identity under which the task runs.

Methods

Validate() Validate() Validate()

Validate the object.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to