Class JobActivity
Activity details including status corresponding to an Action Group.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class JobActivity
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A description of the Job Activity status. If there are any errors, this can also include a short error message. |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | Unique activity id at the action group level. In most cases, this would be a generated ActionGroupId. |
Remarks
Required
ResourceLevelExecutions
Declaration
[JsonProperty(PropertyName = "resourceLevelExecutions")]
public List<EntityExecutionDetails> ResourceLevelExecutions { get; set; }
Property Value
Type | Description |
---|---|
List<EntityExecutionDetails> | List of Resource executions associated with the Action Group. |
RunbookId
Declaration
[JsonProperty(PropertyName = "runbookId")]
public string RunbookId { get; set; }
Property Value
Type | Description |
---|---|
string | OCID of the runbook associated with the Action Group. |
RunbookName
Declaration
[JsonProperty(PropertyName = "runbookName")]
public string RunbookName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the runbook associated with the Action Group. |
RunbookVersionName
Declaration
[JsonProperty(PropertyName = "runbookVersionName")]
public string RunbookVersionName { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the RunbookVersion associated with the Action Group. |
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public JobStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
JobStatus? | Status of the Job at Action Group Level. |
Remarks
Required
TimeEnded
Declaration
[JsonProperty(PropertyName = "timeEnded")]
public DateTime? TimeEnded { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the execution for the Action Group ended. An RFC3339 formatted datetime string |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time the execution for the Action Group started. An RFC3339 formatted datetime string. |