CreateSecurityRecipeDetails

class oci.cloud_guard.models.CreateSecurityRecipeDetails(**kwargs)

Bases: object

Details about a new security zone recipe

Methods

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

Attributes

compartment_id [Required] Gets the compartment_id of this CreateSecurityRecipeDetails.
defined_tags Gets the defined_tags of this CreateSecurityRecipeDetails.
description Gets the description of this CreateSecurityRecipeDetails.
display_name [Required] Gets the display_name of this CreateSecurityRecipeDetails.
freeform_tags Gets the freeform_tags of this CreateSecurityRecipeDetails.
security_policies [Required] Gets the security_policies of this CreateSecurityRecipeDetails.
__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateSecurityRecipeDetails.
  • description (str) – The value to assign to the description property of this CreateSecurityRecipeDetails.
  • security_policies (list[str]) – The value to assign to the security_policies property of this CreateSecurityRecipeDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateSecurityRecipeDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSecurityRecipeDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSecurityRecipeDetails.
compartment_id

[Required] Gets the compartment_id of this CreateSecurityRecipeDetails. The compartment in which to create the recipe

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

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

Gets the description of this CreateSecurityRecipeDetails. The recipe’s description

Returns:The description of this CreateSecurityRecipeDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateSecurityRecipeDetails. The recipe’s name

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

Gets the freeform_tags of this CreateSecurityRecipeDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Avoid entering confidential information.

Returns:The freeform_tags of this CreateSecurityRecipeDetails.
Return type:dict(str, str)
security_policies

[Required] Gets the security_policies of this CreateSecurityRecipeDetails. The list of SecurityPolicy ids to include in the recipe

Returns:The security_policies of this CreateSecurityRecipeDetails.
Return type:list[str]