RemediationRecipeSummary¶
- class oci.adm.models.RemediationRecipeSummary(**kwargs)¶
Bases:
objectThe summary of a Remediation Recipe.
Methods:
__init__(**kwargs)Initializes a new RemediationRecipeSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this RemediationRecipeSummary.
[Required] Gets the defined_tags of this RemediationRecipeSummary.
[Required] Gets the display_name of this RemediationRecipeSummary.
[Required] Gets the freeform_tags of this RemediationRecipeSummary.
[Required] Gets the id of this RemediationRecipeSummary.
[Required] Gets the is_run_triggered_on_kb_change of this RemediationRecipeSummary.
[Required] Gets the knowledge_base_id of this RemediationRecipeSummary.
[Required] Gets the lifecycle_state of this RemediationRecipeSummary.
Gets the system_tags of this RemediationRecipeSummary.
[Required] Gets the time_created of this RemediationRecipeSummary.
[Required] Gets the time_updated of this RemediationRecipeSummary.
- __init__(**kwargs)¶
Initializes a new RemediationRecipeSummary 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 RemediationRecipeSummary.
display_name (str) – The value to assign to the display_name property of this RemediationRecipeSummary.
time_created (datetime) – The value to assign to the time_created property of this RemediationRecipeSummary.
time_updated (datetime) – The value to assign to the time_updated property of this RemediationRecipeSummary.
compartment_id (str) – The value to assign to the compartment_id property of this RemediationRecipeSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this RemediationRecipeSummary.
knowledge_base_id (str) – The value to assign to the knowledge_base_id property of this RemediationRecipeSummary.
is_run_triggered_on_kb_change (bool) – The value to assign to the is_run_triggered_on_kb_change property of this RemediationRecipeSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this RemediationRecipeSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this RemediationRecipeSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this RemediationRecipeSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this RemediationRecipeSummary. The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
- Returns
The compartment_id of this RemediationRecipeSummary.
- Return type
str
- property defined_tags¶
[Required] Gets the defined_tags of this RemediationRecipeSummary. 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 RemediationRecipeSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this RemediationRecipeSummary. The name of the Remediation Recipe.
- Returns
The display_name of this RemediationRecipeSummary.
- Return type
str
- property freeform_tags¶
[Required] Gets the freeform_tags of this RemediationRecipeSummary. 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 RemediationRecipeSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this RemediationRecipeSummary. The Oracle Cloud Identifier (OCID) of the remediation recipe.
- Returns
The id of this RemediationRecipeSummary.
- Return type
str
- property is_run_triggered_on_kb_change¶
[Required] Gets the is_run_triggered_on_kb_change of this RemediationRecipeSummary. Boolean indicating if a run should be automatically triggered once the Knowledge Base is updated.
- Returns
The is_run_triggered_on_kb_change of this RemediationRecipeSummary.
- Return type
bool
- property knowledge_base_id¶
[Required] Gets the knowledge_base_id of this RemediationRecipeSummary. The Oracle Cloud Identifier (OCID) of the knowledge base.
- Returns
The knowledge_base_id of this RemediationRecipeSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this RemediationRecipeSummary. The current lifecycle state of the Remediation Recipe.
- Returns
The lifecycle_state of this RemediationRecipeSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this RemediationRecipeSummary. 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 RemediationRecipeSummary.
- Return type
dict(str, dict(str, object))