CreateSecurityZoneDetails¶
- class oci.cloud_guard.models.CreateSecurityZoneDetails(**kwargs)¶
Bases:
objectParameters to be used to create a new security zone.
Methods:
__init__(**kwargs)Initializes a new CreateSecurityZoneDetails object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this CreateSecurityZoneDetails.
Gets the defined_tags of this CreateSecurityZoneDetails.
Gets the description of this CreateSecurityZoneDetails.
[Required] Gets the display_name of this CreateSecurityZoneDetails.
Gets the freeform_tags of this CreateSecurityZoneDetails.
Gets the is_inheritance_after_delete_enabled of this CreateSecurityZoneDetails.
[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.
is_inheritance_after_delete_enabled (bool) – The value to assign to the is_inheritance_after_delete_enabled 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.
- property 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
- property 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))
- property description¶
Gets the description of this CreateSecurityZoneDetails. The security zone’s description
- Returns
The description of this CreateSecurityZoneDetails.
- Return type
str
- property 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
- property 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)
- property is_inheritance_after_delete_enabled¶
Gets the is_inheritance_after_delete_enabled of this CreateSecurityZoneDetails. Indicates if upon deletion of the security zone the comparment should inherit parent security zone
- Returns
The is_inheritance_after_delete_enabled of this CreateSecurityZoneDetails.
- Return type
bool
- property 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