Class Job
A job for training models.
Inherited Members
Namespace: Oci.DatascienceService.Models
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class Job
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. |
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"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A short description of the job. |
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. |
Remarks
Required
JobConfigurationDetails
Declaration
[Required(ErrorMessage = "JobConfigurationDetails is required.")]
[JsonProperty(PropertyName = "jobConfigurationDetails")]
public JobConfigurationDetails JobConfigurationDetails { get; set; }
Property Value
Type | Description |
---|---|
JobConfigurationDetails |
Remarks
Required
JobEnvironmentConfigurationDetails
Declaration
[JsonProperty(PropertyName = "jobEnvironmentConfigurationDetails")]
public JobEnvironmentConfigurationDetails JobEnvironmentConfigurationDetails { get; set; }
Property Value
Type | Description |
---|---|
JobEnvironmentConfigurationDetails |
JobInfrastructureConfigurationDetails
Declaration
[Required(ErrorMessage = "JobInfrastructureConfigurationDetails is required.")]
[JsonProperty(PropertyName = "jobInfrastructureConfigurationDetails")]
public JobInfrastructureConfigurationDetails JobInfrastructureConfigurationDetails { get; set; }
Property Value
Type | Description |
---|---|
JobInfrastructureConfigurationDetails |
Remarks
Required
JobLogConfigurationDetails
Declaration
[JsonProperty(PropertyName = "jobLogConfigurationDetails")]
public JobLogConfigurationDetails JobLogConfigurationDetails { 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 | The state of the job. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public JobLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
JobLifecycleState? | The state of the job. |
Remarks
Required
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
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the resource was created in the timestamp format defined by RFC3339. Example: 2020-08-06T21:10:29.41Z |
Remarks
Required