Skip to main content

LXCOJob class

This data object contains information about a job.

Namespace: Lenovo.XClarityOrchestrator.PowerShell.Data

Assembly: Lenovo.XClarityOrchestrator.PowerShell.Data

Properties

public LXCOJobCategory Category { get; set;}
Job type.
public string CreatedBy { get; set;}
Name of the user that initiated the job. If the job was created automatically, the value is Orchestrator Server.
public int Id { get; set;}
Job id.
public string Title { get; set;}
Job description.
public int Percentage { get; set;}
Percentage complete of the job (from 0 - 100).

For jobs with subtasks, this is the average of the percentages of the subtasks.

public LXCOJobStatus Status { get; set;}
Job state. For a job with subtasks, this is most severe status of all subtsaks.
public DateTime? StartTimeStamp { get; set;}
Timestamp when the job was started, null if not available.
public DateTime? EndTimeStamp{ get; set;}
Timestamp when the job completed, null if not available.
public LXCOJobTarget Target { get; set;}
Information about the target resources.
public LXCOJobLog JobLog { get; set;}
Information about the logs attached to this job.

Methods

public virtual bool Equals (object obj);
Determines whether the specified object is equal to the current object.

(Inherited from System.Object)

public virtual int GetHashCode ();
Serves as the default hash function

(Inherited from System.Object)

public Type GetType ();
Gets the System.Type of the current instance

(Inherited from System.Object)

public virtual string ToString ();
Returns a string that represents the current object.

(Inherited from System.Object)