RemediationRunStageSummary

class oci.adm.models.RemediationRunStageSummary(**kwargs)

Bases: object

The summary of a remediation run stages.

Attributes

TYPE_APPLY A constant which can be used with the type property of a RemediationRunStageSummary.
TYPE_DETECT A constant which can be used with the type property of a RemediationRunStageSummary.
TYPE_RECOMMEND A constant which can be used with the type property of a RemediationRunStageSummary.
TYPE_VERIFY A constant which can be used with the type property of a RemediationRunStageSummary.
remediation_run_id [Required] Gets the remediation_run_id of this RemediationRunStageSummary.
status [Required] Gets the status of this RemediationRunStageSummary.
summary Gets the summary of this RemediationRunStageSummary.
time_created [Required] Gets the time_created of this RemediationRunStageSummary.
time_finished Gets the time_finished of this RemediationRunStageSummary.
time_started Gets the time_started of this RemediationRunStageSummary.
type [Required] Gets the type of this RemediationRunStageSummary.

Methods

__init__(**kwargs) Initializes a new RemediationRunStageSummary object with values from keyword arguments.
TYPE_APPLY = 'APPLY'

A constant which can be used with the type property of a RemediationRunStageSummary. This constant has a value of “APPLY”

TYPE_DETECT = 'DETECT'

A constant which can be used with the type property of a RemediationRunStageSummary. This constant has a value of “DETECT”

TYPE_RECOMMEND = 'RECOMMEND'

A constant which can be used with the type property of a RemediationRunStageSummary. This constant has a value of “RECOMMEND”

TYPE_VERIFY = 'VERIFY'

A constant which can be used with the type property of a RemediationRunStageSummary. This constant has a value of “VERIFY”

__init__(**kwargs)

Initializes a new RemediationRunStageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • status (str) – The value to assign to the status property of this RemediationRunStageSummary.
  • time_created (datetime) – The value to assign to the time_created property of this RemediationRunStageSummary.
  • time_started (datetime) – The value to assign to the time_started property of this RemediationRunStageSummary.
  • time_finished (datetime) – The value to assign to the time_finished property of this RemediationRunStageSummary.
  • type (str) – The value to assign to the type property of this RemediationRunStageSummary. Allowed values for this property are: “DETECT”, “RECOMMEND”, “VERIFY”, “APPLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • summary (str) – The value to assign to the summary property of this RemediationRunStageSummary.
  • remediation_run_id (str) – The value to assign to the remediation_run_id property of this RemediationRunStageSummary.
remediation_run_id

[Required] Gets the remediation_run_id of this RemediationRunStageSummary. The Oracle Cloud identifier (OCID) of the remediation run.

Returns:The remediation_run_id of this RemediationRunStageSummary.
Return type:str
status

[Required] Gets the status of this RemediationRunStageSummary. The current status of remediation run stage.

Returns:The status of this RemediationRunStageSummary.
Return type:str
summary

Gets the summary of this RemediationRunStageSummary. Information about the current step within the stage.

Returns:The summary of this RemediationRunStageSummary.
Return type:str
time_created

[Required] Gets the time_created of this RemediationRunStageSummary. The creation date and time of the remediation run stage (formatted according to RFC3339).

Returns:The time_created of this RemediationRunStageSummary.
Return type:datetime
time_finished

Gets the time_finished of this RemediationRunStageSummary. The date and time of the finish of the remediation run stage (formatted according to RFC3339).

Returns:The time_finished of this RemediationRunStageSummary.
Return type:datetime
time_started

Gets the time_started of this RemediationRunStageSummary. The date and time of the start of the remediation run stage (formatted according to RFC3339).

Returns:The time_started of this RemediationRunStageSummary.
Return type:datetime
type

[Required] Gets the type of this RemediationRunStageSummary. The type of the remediation run stage.

Allowed values for this property are: “DETECT”, “RECOMMEND”, “VERIFY”, “APPLY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this RemediationRunStageSummary.
Return type:str