Show / Hide Table of Contents

Class CreateComputeTaskDetails

compute task represents a single executable command together with its dependencies and resources.

Inheritance
object
CreateBatchTaskDetails
CreateComputeTaskDetails
Inherited Members
CreateBatchTaskDetails.Name
CreateBatchTaskDetails.Description
CreateBatchTaskDetails.EntitlementClaims
CreateBatchTaskDetails.Dependencies
CreateBatchTaskDetails.EnvironmentVariables
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 CreateComputeTaskDetails : CreateBatchTaskDetails

Properties

Arguments

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

Task arguments.

BatchTaskEnvironmentId

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

The OCID of the BatchTaskEnvironment.

Remarks

Required

BatchTaskProfileId

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

The OCID of the batch task profile used for this task.

Command

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

An executable command to start the processing of this task.

FleetAssignmentPolicy

Declaration
[JsonProperty(PropertyName = "fleetAssignmentPolicy")]
public FleetAssignmentPolicy FleetAssignmentPolicy { get; set; }
Property Value
Type Description
FleetAssignmentPolicy
In this article
Back to top