CreateSecurityZoneDetails

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

Bases: object

Parameters to be used to create a new security zone.

Methods

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

Attributes

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

Initializes a new CreateSecurityZoneDetails 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 CreateSecurityZoneDetails.
  • description (str) – The value to assign to the description property of this CreateSecurityZoneDetails.
  • security_zone_recipe_id (str) – The value to assign to the security_zone_recipe_id property of this CreateSecurityZoneDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateSecurityZoneDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSecurityZoneDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSecurityZoneDetails.
compartment_id

[Required] Gets the compartment_id of this CreateSecurityZoneDetails. The OCID of the compartment for the security zone

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

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

Gets the description of this CreateSecurityZoneDetails. The security zone’s description

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

[Required] Gets the display_name of this CreateSecurityZoneDetails. The security zone’s display name

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

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

[Required] Gets the security_zone_recipe_id of this CreateSecurityZoneDetails. The OCID of the security zone recipe (SecurityRecipe resource) for the security zone

Returns:The security_zone_recipe_id of this CreateSecurityZoneDetails.
Return type:str