Show / Hide Table of Contents

Class CreateBatchTaskDetails

A batch task contains common properties for all types of job tasks.

Inheritance
object
CreateBatchTaskDetails
CreateComputeTaskDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.BatchService.Models
Assembly: OCI.DotNetSDK.Batch.dll
Syntax
[JsonConverter(typeof(CreateBatchTaskDetailsModelConverter))]
public class CreateBatchTaskDetails

Properties

Dependencies

Declaration
[JsonProperty(PropertyName = "dependencies")]
public List<string> Dependencies { get; set; }
Property Value
Type Description
List<string>

A list of tasks from the same job this task depends on referenced by name.

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

An optional description that provides additional context next to the displayName.

EntitlementClaims

Declaration
[JsonProperty(PropertyName = "entitlementClaims")]
public List<string> EntitlementClaims { get; set; }
Property Value
Type Description
List<string>

A list of resources (for example licences) this task needs for its execution.

EnvironmentVariables

Declaration
[JsonProperty(PropertyName = "environmentVariables")]
public List<EnvironmentVariable> EnvironmentVariables { get; set; }
Property Value
Type Description
List<EnvironmentVariable>

Environment variables to use for the task execution.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

The name of the batch task. It must be unique within its parent batch job.

Remarks

Required

In this article
Back to top