RemediationRunSummary¶
-
class
oci.adm.models.
RemediationRunSummary
(**kwargs)¶ Bases:
object
remediation run summary.
Attributes
CURRENT_STAGE_TYPE_APPLY
A constant which can be used with the current_stage_type property of a RemediationRunSummary. CURRENT_STAGE_TYPE_DETECT
A constant which can be used with the current_stage_type property of a RemediationRunSummary. CURRENT_STAGE_TYPE_RECOMMEND
A constant which can be used with the current_stage_type property of a RemediationRunSummary. CURRENT_STAGE_TYPE_VERIFY
A constant which can be used with the current_stage_type property of a RemediationRunSummary. compartment_id
[Required] Gets the compartment_id of this RemediationRunSummary. current_stage_type
Gets the current_stage_type of this RemediationRunSummary. defined_tags
[Required] Gets the defined_tags of this RemediationRunSummary. display_name
Gets the display_name of this RemediationRunSummary. freeform_tags
[Required] Gets the freeform_tags of this RemediationRunSummary. id
[Required] Gets the id of this RemediationRunSummary. lifecycle_state
[Required] Gets the lifecycle_state of this RemediationRunSummary. remediation_recipe_id
[Required] Gets the remediation_recipe_id of this RemediationRunSummary. remediation_run_source
[Required] Gets the remediation_run_source of this RemediationRunSummary. system_tags
Gets the system_tags of this RemediationRunSummary. time_created
[Required] Gets the time_created of this RemediationRunSummary. time_finished
Gets the time_finished of this RemediationRunSummary. time_started
Gets the time_started of this RemediationRunSummary. time_updated
[Required] Gets the time_updated of this RemediationRunSummary. Methods
__init__
(**kwargs)Initializes a new RemediationRunSummary object with values from keyword arguments. -
CURRENT_STAGE_TYPE_APPLY
= 'APPLY'¶ A constant which can be used with the current_stage_type property of a RemediationRunSummary. This constant has a value of “APPLY”
-
CURRENT_STAGE_TYPE_DETECT
= 'DETECT'¶ A constant which can be used with the current_stage_type property of a RemediationRunSummary. This constant has a value of “DETECT”
-
CURRENT_STAGE_TYPE_RECOMMEND
= 'RECOMMEND'¶ A constant which can be used with the current_stage_type property of a RemediationRunSummary. This constant has a value of “RECOMMEND”
-
CURRENT_STAGE_TYPE_VERIFY
= 'VERIFY'¶ A constant which can be used with the current_stage_type property of a RemediationRunSummary. This constant has a value of “VERIFY”
-
__init__
(**kwargs)¶ Initializes a new RemediationRunSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this RemediationRunSummary.
- display_name (str) – The value to assign to the display_name property of this RemediationRunSummary.
- remediation_recipe_id (str) – The value to assign to the remediation_recipe_id property of this RemediationRunSummary.
- time_created (datetime) – The value to assign to the time_created property of this RemediationRunSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this RemediationRunSummary.
- time_started (datetime) – The value to assign to the time_started property of this RemediationRunSummary.
- time_finished (datetime) – The value to assign to the time_finished property of this RemediationRunSummary.
- current_stage_type (str) – The value to assign to the current_stage_type property of this RemediationRunSummary. 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’.
- compartment_id (str) – The value to assign to the compartment_id property of this RemediationRunSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this RemediationRunSummary.
- remediation_run_source (str) – The value to assign to the remediation_run_source property of this RemediationRunSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RemediationRunSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RemediationRunSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RemediationRunSummary.
-
compartment_id
¶ [Required] Gets the compartment_id of this RemediationRunSummary. The compartment Oracle Cloud Identifier (OCID) of the remediation run.
Returns: The compartment_id of this RemediationRunSummary. Return type: str
-
current_stage_type
¶ Gets the current_stage_type of this RemediationRunSummary. The type of the current stage of the remediation run.
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 current_stage_type of this RemediationRunSummary. Return type: str
[Required] Gets the defined_tags of this RemediationRunSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this RemediationRunSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this RemediationRunSummary. The name of the remediation run.
Returns: The display_name of this RemediationRunSummary. Return type: str
[Required] Gets the freeform_tags of this RemediationRunSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this RemediationRunSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this RemediationRunSummary. The Oracle Cloud identifier (OCID) of the remediation run.
Returns: The id of this RemediationRunSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this RemediationRunSummary. The current lifecycle state of the remediation run.
Returns: The lifecycle_state of this RemediationRunSummary. Return type: str
-
remediation_recipe_id
¶ [Required] Gets the remediation_recipe_id of this RemediationRunSummary. The Oracle Cloud identifier (OCID) of the Remediation Recipe.
Returns: The remediation_recipe_id of this RemediationRunSummary. Return type: str
-
remediation_run_source
¶ [Required] Gets the remediation_run_source of this RemediationRunSummary. The source from which the remediation run was triggered.
Returns: The remediation_run_source of this RemediationRunSummary. Return type: str
Gets the system_tags of this RemediationRunSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this RemediationRunSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this RemediationRunSummary. The creation date and time of the remediation run (formatted according to RFC3339).
Returns: The time_created of this RemediationRunSummary. Return type: datetime
-
time_finished
¶ Gets the time_finished of this RemediationRunSummary. The date and time of the finish of the remediation run (formatted according to RFC3339).
Returns: The time_finished of this RemediationRunSummary. Return type: datetime
-