Show / Hide Table of Contents

Class JobSummary

Summary information for a job.

Inheritance
object
JobSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ResourcemanagerService.Models
Assembly: OCI.DotNetSDK.Resourcemanager.dll
Syntax
public class JobSummary

Properties

ApplyJobPlanResolution

Declaration
[JsonProperty(PropertyName = "applyJobPlanResolution")]
public ApplyJobPlanResolution ApplyJobPlanResolution { get; set; }
Property Value
Type Description
ApplyJobPlanResolution

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.

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. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The job's display name.

FreeformTags

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
Type Description
string

The OCID of the job.

JobOperationDetails

Declaration
[JsonProperty(PropertyName = "jobOperationDetails")]
public JobOperationDetailsSummary JobOperationDetails { get; set; }
Property Value
Type Description
JobOperationDetailsSummary

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
Type Description
Job.OperationEnum?

The type of job executing

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

In this article
Back to top