Show / Hide Table of Contents

Class CreateBatchJobDetails

The data to create a batch job. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

Inheritance
object
CreateBatchJobDetails
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
public class CreateBatchJobDetails

Properties

BatchJobPoolId

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

The OCID of the parent batch job pool.

Remarks

Required

CompartmentId

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

The OCID of the compartment.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

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.

DisplayName

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

EnvironmentVariables

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

An environment variables to use for the job's tasks (can be overridden by task's environment variables).

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

Tasks

Declaration
[Required(ErrorMessage = "Tasks is required.")]
[JsonProperty(PropertyName = "tasks")]
public List<CreateBatchTaskDetails> Tasks { get; set; }
Property Value
Type Description
List<CreateBatchTaskDetails>

A list of tasks to be executed within this job. Maximum number of tasks a job can have in total, across all nested levels, is 1000.

Remarks

Required

In this article
Back to top