RemediationRecipe¶
- class oci.adm.models.RemediationRecipe(**kwargs)¶
Bases:
objectAn Application Dependency Management (ADM) remediation recipe contains the basic configuration and the details of each of the remediation stages (Detect, Recommend, Verify, and Apply).
Attributes:
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
A constant which can be used with the lifecycle_state property of a RemediationRecipe.
[Required] Gets the compartment_id of this RemediationRecipe.
[Required] Gets the defined_tags of this RemediationRecipe.
[Required] Gets the detect_configuration of this RemediationRecipe.
[Required] Gets the display_name of this RemediationRecipe.
[Required] Gets the freeform_tags of this RemediationRecipe.
[Required] Gets the id of this RemediationRecipe.
[Required] Gets the is_run_triggered_on_kb_change of this RemediationRecipe.
[Required] Gets the knowledge_base_id of this RemediationRecipe.
[Required] Gets the lifecycle_state of this RemediationRecipe.
[Required] Gets the network_configuration of this RemediationRecipe.
[Required] Gets the scm_configuration of this RemediationRecipe.
Gets the system_tags of this RemediationRecipe.
[Required] Gets the time_created of this RemediationRecipe.
[Required] Gets the time_updated of this RemediationRecipe.
[Required] Gets the verify_configuration of this RemediationRecipe.
Methods:
__init__(**kwargs)Initializes a new RemediationRecipe object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “FAILED”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “INACTIVE”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “NEEDS_ATTENTION”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a RemediationRecipe. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new RemediationRecipe 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 RemediationRecipe.
display_name (str) – The value to assign to the display_name property of this RemediationRecipe.
time_created (datetime) – The value to assign to the time_created property of this RemediationRecipe.
time_updated (datetime) – The value to assign to the time_updated property of this RemediationRecipe.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this RemediationRecipe. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “INACTIVE”, “FAILED”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, ‘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 RemediationRecipe.
knowledge_base_id (str) – The value to assign to the knowledge_base_id property of this RemediationRecipe.
is_run_triggered_on_kb_change (bool) – The value to assign to the is_run_triggered_on_kb_change property of this RemediationRecipe.
scm_configuration (oci.adm.models.ScmConfiguration) – The value to assign to the scm_configuration property of this RemediationRecipe.
verify_configuration (oci.adm.models.VerifyConfiguration) – The value to assign to the verify_configuration property of this RemediationRecipe.
detect_configuration (oci.adm.models.DetectConfiguration) – The value to assign to the detect_configuration property of this RemediationRecipe.
network_configuration (oci.adm.models.NetworkConfiguration) – The value to assign to the network_configuration property of this RemediationRecipe.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RemediationRecipe.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RemediationRecipe.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RemediationRecipe.
- property compartment_id¶
[Required] Gets the compartment_id of this RemediationRecipe. The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Returns
The compartment_id of this RemediationRecipe.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this RemediationRecipe. 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 RemediationRecipe.
- Return type
dict(str, dict(str, object))
- property detect_configuration¶
[Required] Gets the detect_configuration of this RemediationRecipe.
- Returns
The detect_configuration of this RemediationRecipe.
- Return type
- property display_name¶
[Required] Gets the display_name of this RemediationRecipe. The name of the Remediation Recipe.
- Returns
The display_name of this RemediationRecipe.
- Return type
str
- property freeform_tags¶
[Required] Gets the freeform_tags of this RemediationRecipe. 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 RemediationRecipe.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this RemediationRecipe. The Oracle Cloud Identifier (OCID) of the remediation recipe.
- Returns
The id of this RemediationRecipe.
- Return type
str
- property is_run_triggered_on_kb_change¶
[Required] Gets the is_run_triggered_on_kb_change of this RemediationRecipe. Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
- Returns
The is_run_triggered_on_kb_change of this RemediationRecipe.
- Return type
bool
- property knowledge_base_id¶
[Required] Gets the knowledge_base_id of this RemediationRecipe. The Oracle Cloud Identifier (OCID) of the knowledge base.
- Returns
The knowledge_base_id of this RemediationRecipe.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this RemediationRecipe. The current lifecycle state of the Remediation Recipe.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “INACTIVE”, “FAILED”, “DELETING”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this RemediationRecipe.
- Return type
str
- property network_configuration¶
[Required] Gets the network_configuration of this RemediationRecipe.
- Returns
The network_configuration of this RemediationRecipe.
- Return type
- property scm_configuration¶
[Required] Gets the scm_configuration of this RemediationRecipe.
- Returns
The scm_configuration of this RemediationRecipe.
- Return type
- property system_tags¶
Gets the system_tags of this RemediationRecipe. 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 RemediationRecipe.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this RemediationRecipe. The creation date and time of the Remediation Recipe (formatted according to RFC3339).
- Returns
The time_created of this RemediationRecipe.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this RemediationRecipe. The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
- Returns
The time_updated of this RemediationRecipe.
- Return type
datetime
- property verify_configuration¶
[Required] Gets the verify_configuration of this RemediationRecipe.
- Returns
The verify_configuration of this RemediationRecipe.
- Return type