Class RemediationRunStage
A remediation run stage is one step of an remediation run. Each stage provides output logs and has a specific type. The stages are: DETECT, RECOMMEND, VERIFY, and APPLY.
Inherited Members
Namespace: Oci.AdmService.Models
Assembly: OCI.DotNetSDK.Adm.dll
Syntax
[JsonConverter(typeof(RemediationRunStageModelConverter))]
public class RemediationRunStage
Properties
NextStageType
Declaration
[JsonProperty(PropertyName = "nextStageType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRunStageType? NextStageType { get; set; }
Property Value
Type | Description |
---|---|
RemediationRunStageType? | The next type of stage in the remediation run. |
PreviousStageType
Declaration
[JsonProperty(PropertyName = "previousStageType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRunStageType? PreviousStageType { get; set; }
Property Value
Type | Description |
---|---|
RemediationRunStageType? | The previous type of stage in the remediation run. |
RemediationRunId
Declaration
[Required(ErrorMessage = "RemediationRunId is required.")]
[JsonProperty(PropertyName = "remediationRunId")]
public string RemediationRunId { get; set; }
Property Value
Type | Description |
---|---|
string | The Oracle Cloud identifier (OCID) of the remediation run. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(ResponseEnumConverter))]
public RemediationRunStage.StatusEnum? Status { get; set; }
Property Value
Type | Description |
---|---|
RemediationRunStage.StatusEnum? | The current status of a remediation run stage. |
Remarks
Required
Summary
Declaration
[JsonProperty(PropertyName = "summary")]
public string Summary { get; set; }
Property Value
Type | Description |
---|---|
string | Information about the current step within the stage. |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The creation date and time of the remediation run stage (formatted according to RFC3339). |
Remarks
Required
TimeFinished
Declaration
[JsonProperty(PropertyName = "timeFinished")]
public DateTime? TimeFinished { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the finish of the remediation run stage (formatted according to RFC3339). |
TimeStarted
Declaration
[JsonProperty(PropertyName = "timeStarted")]
public DateTime? TimeStarted { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time of the start of the remediation run stage (formatted according to RFC3339). |