Class JobSummary
Summary information for a job.
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
Properties
ApplyJobPlanResolution
Declaration
[JsonProperty(PropertyName = "applyJobPlanResolution")]
public ApplyJobPlanResolution ApplyJobPlanResolution { get; set; }
Property Value
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the compartment where the stack of the associated job resides.
|
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type |
Description |
string |
The job's display name.
|
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type |
Description |
Dictionary<string, string> |
Free-form tags associated with this resource. Each tag is a key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
Example: {"Department": "Finance"}
|
Id
Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
JobOperationDetails
Declaration
[JsonProperty(PropertyName = "jobOperationDetails")]
public JobOperationDetailsSummary JobOperationDetails { get; set; }
Property Value
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public Job.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type |
Description |
Job.LifecycleStateEnum? |
Current state of the specified job.
For more information about job lifecycle states in Resource Manager, see
Key Concepts.
Allowable values:
- ACCEPTED
- IN_PROGRESS
- FAILED
- SUCCEEDED
- CANCELING
- CANCELED
|
Operation
Declaration
[JsonProperty(PropertyName = "operation")]
[JsonConverter(typeof(StringEnumConverter))]
public Job.OperationEnum? Operation { get; set; }
Property Value
ResolvedPlanJobId
Declaration
[JsonProperty(PropertyName = "resolvedPlanJobId")]
public string ResolvedPlanJobId { get; set; }
Property Value
Type |
Description |
string |
Deprecated. Use the property executionPlanJobId in jobOperationDetails instead.
The plan job OCID that was used (if this was an apply job and was not auto-approved).
|
StackId
Declaration
[JsonProperty(PropertyName = "stackId")]
public string StackId { get; set; }
Property Value
Type |
Description |
string |
The OCID of the stack that is associated with the specified job.
|
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type |
Description |
DateTime? |
The date and time the job was created.
Format is defined by RFC3339.
Example: 2020-01-25T21:10:29.600Z
|
TimeFinished
Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type |
Description |
DateTime? |
The date and time the job succeeded or failed.
Format is defined by RFC3339.
Example: 2020-01-25T21:10:29.600Z
|