CloudJob Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An Azure Batch job.
public class CloudJob : Microsoft.Azure.Batch.IInheritedBehaviors, Microsoft.Azure.Batch.IRefreshable
type CloudJob = class
interface IRefreshable
interface ITransportObjectProvider<JobAddParameter>
interface IInheritedBehaviors
interface IPropertyMetadata
interface IModifiable
interface IReadOnly
Public Class CloudJob
Implements IInheritedBehaviors, IRefreshable
- Inheritance
-
System.ObjectCloudJob
- Implements
Properties
CommonEnvironmentSettings |
Gets or sets a list of common environment variable settings. These environment variables are set for all tasks in this CloudJob (including the Job Manager, Job Preparation and Job Release tasks). |
Constraints |
Gets or sets the execution constraints for the job. |
CreationTime |
Gets the creation time of the job. |
CustomBehaviors |
Gets or sets a list of behaviors that modify or customize requests to the Batch service made via this CloudJob. |
DisplayName |
Gets or sets the display name of the job. |
ETag |
Gets the ETag for the job. |
ExecutionInformation |
Gets the execution information for the job. |
Id |
Gets or sets the id of the job. |
JobManagerTask |
Gets or sets the Job Manager task. The Job Manager task is launched when the CloudJob is started. |
JobPreparationTask |
Gets or sets the Job Preparation task. The Batch service will run the Job Preparation task on a compute node before starting any tasks of that job on that compute node. |
JobReleaseTask |
Gets or sets the Job Release task. The Batch service runs the Job Release task when the job ends, on each compute node where any task of the job has run. |
LastModified |
Gets the last modified time of the job. |
Metadata |
Gets or sets a list of name-value pairs associated with the job as metadata. |
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. |
PoolInformation |
Gets or sets the pool on which the Batch service runs the job's tasks. |
PreviousState |
Gets the previous state of the job. |
PreviousStateTransitionTime |
Gets the time at which the job entered its previous state. |
Priority |
Gets or sets the priority of the job. Priority values can range from -1000 to 1000, with -1000 being the lowest priority and 1000 being the highest priority. |
State |
Gets the current state of the job. |
StateTransitionTime |
Gets the time at which the job entered its current state. |
Statistics |
Gets resource usage statistics for the entire lifetime of the job. |
Url |
Gets the URL of the job. |
UsesTaskDependencies |
Gets or sets whether tasks in the job can define dependencies on each other. |
Methods
Extension Methods
GetOutputStorageContainerUrl(CloudJob, CloudStorageAccount) |
Gets the URL, including a Shared Access Signature (SAS) that permits writing, for the job's output storage container in Azure blob storage. This URL is suitable for passing to tasks so they can use the JobOutputStorage(Uri) or TaskOutputStorage(Uri, String) constructors that take a System.Uri. |
GetOutputStorageContainerUrl(CloudJob, CloudStorageAccount, TimeSpan) |
Gets the URL, including a Shared Access Signature (SAS) that permits writing, for the job's output storage container in Azure blob storage. This URL is suitable for passing to tasks so they can use the JobOutputStorage(Uri) or TaskOutputStorage(Uri, String) constructors that take a System.Uri. |
OutputStorage(CloudJob, CloudStorageAccount) |
Gets the JobOutputStorage for a specified CloudJob. |
OutputStorageContainerName(CloudJob) |
Gets the name of the Azure blob storage container for the outputs of a CloudJob. |
PrepareOutputStorageAsync(CloudJob, CloudStorageAccount, CancellationToken) |
Creates an Azure blob storage container for the outputs of a CloudJob. |