Class JobRun
A job run.
Inherited Members
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class JobRun
Properties
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 where you want to create the job. |
Remarks
Required
CreatedBy
Declaration
[Required(ErrorMessage = "CreatedBy is required.")]
[JsonProperty(PropertyName = "createdBy")]
public string CreatedBy { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the user who created the job run. |
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. See Resource Tags. Example: {"Operations": {"CostCenter": "42"}} |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly display name for the resource. |
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. See Resource Tags. Example: {"Department": "Finance"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the job run. |
Remarks
Required
JobConfigurationOverrideDetails
Declaration
[Required(ErrorMessage = "JobConfigurationOverrideDetails is required.")]
[JsonProperty(PropertyName = "jobConfigurationOverrideDetails")]
public JobConfigurationDetails JobConfigurationOverrideDetails { get; set; }
Property Value
Type | Description |
---|---|
JobConfigurationDetails |
Remarks
Required
JobEnvironmentConfigurationOverrideDetails
Declaration
[JsonProperty(PropertyName = "jobEnvironmentConfigurationOverrideDetails")]
public JobEnvironmentConfigurationDetails JobEnvironmentConfigurationOverrideDetails { get; set; }
Property Value
Type | Description |
---|---|
JobEnvironmentConfigurationDetails |
JobId
Declaration
[Required(ErrorMessage = "JobId is required.")]
[JsonProperty(PropertyName = "jobId")]
public string JobId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the job run. |
Remarks
Required
JobInfrastructureConfigurationDetails
Declaration
[Required(ErrorMessage = "JobInfrastructureConfigurationDetails is required.")]
[JsonProperty(PropertyName = "jobInfrastructureConfigurationDetails")]
public JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails { get; set; }
Property Value
Type | Description |
---|---|
JobInfrastructureConfigurationDetails |
Remarks
Required
JobLogConfigurationOverrideDetails
Declaration
[JsonProperty(PropertyName = "jobLogConfigurationOverrideDetails")]
public JobLogConfigurationDetails JobLogConfigurationOverrideDetails { get; set; }
Property Value
Type | Description |
---|---|
JobLogConfigurationDetails |
JobStorageMountConfigurationDetailsList
Declaration
[JsonProperty(PropertyName = "jobStorageMountConfigurationDetailsList")]
public List<StorageMountConfigurationDetails> JobStorageMountConfigurationDetailsList { get; set; }
Property Value
Type | Description |
---|---|
List<StorageMountConfigurationDetails> | Collection of JobStorageMountConfigurationDetails. |
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Details of the state of the job run. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public JobRunLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
JobRunLifecycleState? | The state of the job run. |
Remarks
Required
LogDetails
Declaration
[JsonProperty(PropertyName = "logDetails")]
public JobRunLogDetails LogDetails { get; set; }
Property Value
Type | Description |
---|---|
JobRunLogDetails |
ProjectId
Declaration
[Required(ErrorMessage = "ProjectId is required.")]
[JsonProperty(PropertyName = "projectId")]
public string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the project to associate the job with. |
Remarks
Required
TimeAccepted
Declaration
[Required(ErrorMessage = "TimeAccepted is required.")]
[JsonProperty(PropertyName = "timeAccepted")]
public DateTime? TimeAccepted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the job run was accepted in the timestamp format defined by RFC3339. |
Remarks
Required
TimeFinished
Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the job run request was finished in the timestamp format defined by RFC3339. |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the job run request was started in the timestamp format defined by RFC3339. |