CreateRemediationRecipeDetails

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

Bases: object

Details to create a new Remediation Recipe.

Methods

__init__(**kwargs) Initializes a new CreateRemediationRecipeDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateRemediationRecipeDetails.
defined_tags Gets the defined_tags of this CreateRemediationRecipeDetails.
detect_configuration [Required] Gets the detect_configuration of this CreateRemediationRecipeDetails.
display_name Gets the display_name of this CreateRemediationRecipeDetails.
freeform_tags Gets the freeform_tags of this CreateRemediationRecipeDetails.
is_run_triggered_on_kb_change [Required] Gets the is_run_triggered_on_kb_change of this CreateRemediationRecipeDetails.
knowledge_base_id [Required] Gets the knowledge_base_id of this CreateRemediationRecipeDetails.
network_configuration [Required] Gets the network_configuration of this CreateRemediationRecipeDetails.
scm_configuration [Required] Gets the scm_configuration of this CreateRemediationRecipeDetails.
verify_configuration [Required] Gets the verify_configuration of this CreateRemediationRecipeDetails.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateRemediationRecipeDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateRemediationRecipeDetails.
  • scm_configuration (oci.adm.models.ScmConfiguration) – The value to assign to the scm_configuration property of this CreateRemediationRecipeDetails.
  • verify_configuration (oci.adm.models.VerifyConfiguration) – The value to assign to the verify_configuration property of this CreateRemediationRecipeDetails.
  • detect_configuration (oci.adm.models.DetectConfiguration) – The value to assign to the detect_configuration property of this CreateRemediationRecipeDetails.
  • network_configuration (oci.adm.models.NetworkConfiguration) – The value to assign to the network_configuration property of this CreateRemediationRecipeDetails.
  • knowledge_base_id (str) – The value to assign to the knowledge_base_id property of this CreateRemediationRecipeDetails.
  • is_run_triggered_on_kb_change (bool) – The value to assign to the is_run_triggered_on_kb_change property of this CreateRemediationRecipeDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateRemediationRecipeDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateRemediationRecipeDetails.
compartment_id

[Required] Gets the compartment_id of this CreateRemediationRecipeDetails. The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.

Returns:The compartment_id of this CreateRemediationRecipeDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateRemediationRecipeDetails. 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 CreateRemediationRecipeDetails.
Return type:dict(str, dict(str, object))
detect_configuration

[Required] Gets the detect_configuration of this CreateRemediationRecipeDetails.

Returns:The detect_configuration of this CreateRemediationRecipeDetails.
Return type:oci.adm.models.DetectConfiguration
display_name

Gets the display_name of this CreateRemediationRecipeDetails. The name of the remediation recipe.

Returns:The display_name of this CreateRemediationRecipeDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateRemediationRecipeDetails. 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 CreateRemediationRecipeDetails.
Return type:dict(str, str)
is_run_triggered_on_kb_change

[Required] Gets the is_run_triggered_on_kb_change of this CreateRemediationRecipeDetails. 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 CreateRemediationRecipeDetails.
Return type:bool
knowledge_base_id

[Required] Gets the knowledge_base_id of this CreateRemediationRecipeDetails. The Oracle Cloud Identifier (OCID) of the knowledge base.

Returns:The knowledge_base_id of this CreateRemediationRecipeDetails.
Return type:str
network_configuration

[Required] Gets the network_configuration of this CreateRemediationRecipeDetails.

Returns:The network_configuration of this CreateRemediationRecipeDetails.
Return type:oci.adm.models.NetworkConfiguration
scm_configuration

[Required] Gets the scm_configuration of this CreateRemediationRecipeDetails.

Returns:The scm_configuration of this CreateRemediationRecipeDetails.
Return type:oci.adm.models.ScmConfiguration
verify_configuration

[Required] Gets the verify_configuration of this CreateRemediationRecipeDetails.

Returns:The verify_configuration of this CreateRemediationRecipeDetails.
Return type:oci.adm.models.VerifyConfiguration