Show / Hide Table of Contents

Class ComputeTask

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

Inheritance
object
BatchTask
ComputeTask
Inherited Members
BatchTask.Id
BatchTask.Name
BatchTask.Description
BatchTask.LifecycleState
BatchTask.LifecycleDetails
BatchTask.EntitlementClaims
BatchTask.Dependencies
BatchTask.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 ComputeTask : BatchTask

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