Class CreateComputeTaskDetails
compute task represents a single executable command together with its dependencies and resources.
Inherited Members
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 |