Class ScheduledRun
The saved schedule run.
Inherited Members
Namespace: Oci.UsageapiService.Models
Assembly: OCI.DotNetSDK.Usageapi.dll
Syntax
public class ScheduledRun
Properties
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The ocid representing unique shedule run |
Remarks
Required
LifecycleDetails
Declaration
[Required(ErrorMessage = "LifecycleDetails is required.")]
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | Additional details about scheduled run failure |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScheduledRun.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ScheduledRun.LifecycleStateEnum? | Specifies if the schedule job was run successfully or not. |
Remarks
Required
ScheduleId
Declaration
[Required(ErrorMessage = "ScheduleId is required.")]
[JsonProperty(PropertyName = "scheduleId")]
public string ScheduleId { get; set; }
Property Value
Type | Description |
---|---|
string | The ocid representing unique shedule |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when schedule started executing |
Remarks
Required
TimeFinished
Declaration
[Required(ErrorMessage = "TimeFinished is required.")]
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time when schedule finished executing |
Remarks
Required