StageSummary

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

Bases: object

stage summary of a remediation run. A stage is one step of a remediation run.

Attributes

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

Methods

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

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

TYPE_DETECT = 'DETECT'

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

TYPE_RECOMMEND = 'RECOMMEND'

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

TYPE_VERIFY = 'VERIFY'

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

__init__(**kwargs)

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

Parameters:
  • time_created (datetime) – The value to assign to the time_created property of this StageSummary.
  • time_started (datetime) – The value to assign to the time_started property of this StageSummary.
  • time_finished (datetime) – The value to assign to the time_finished property of this StageSummary.
  • type (str) – The value to assign to the type property of this StageSummary. 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 StageSummary.
summary

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

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

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

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

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

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

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

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

[Required] Gets the type of this StageSummary. The type of 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 StageSummary.
Return type:str