CreateSecurityPolicyDetails¶
-
class
oci.cloud_guard.models.CreateSecurityPolicyDetails(**kwargs)¶ Bases:
objectParameters to be used to create a new security policy.
Methods
__init__(**kwargs)Initializes a new CreateSecurityPolicyDetails object with values from keyword arguments. Attributes
categoryGets the category of this CreateSecurityPolicyDetails. compartment_id[Required] Gets the compartment_id of this CreateSecurityPolicyDetails. defined_tagsGets the defined_tags of this CreateSecurityPolicyDetails. descriptionGets the description of this CreateSecurityPolicyDetails. display_name[Required] Gets the display_name of this CreateSecurityPolicyDetails. freeform_tagsGets the freeform_tags of this CreateSecurityPolicyDetails. friendly_nameGets the friendly_name of this CreateSecurityPolicyDetails. servicesGets the services of this CreateSecurityPolicyDetails. -
__init__(**kwargs)¶ Initializes a new CreateSecurityPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - friendly_name (str) – The value to assign to the friendly_name property of this CreateSecurityPolicyDetails.
- display_name (str) – The value to assign to the display_name property of this CreateSecurityPolicyDetails.
- description (str) – The value to assign to the description property of this CreateSecurityPolicyDetails.
- category (str) – The value to assign to the category property of this CreateSecurityPolicyDetails.
- services (list[str]) – The value to assign to the services property of this CreateSecurityPolicyDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateSecurityPolicyDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSecurityPolicyDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSecurityPolicyDetails.
-
category¶ Gets the category of this CreateSecurityPolicyDetails. The category of the security policy
Returns: The category of this CreateSecurityPolicyDetails. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this CreateSecurityPolicyDetails. Compartment OCID
Returns: The compartment_id of this CreateSecurityPolicyDetails. Return type: str
Gets the defined_tags of this CreateSecurityPolicyDetails. 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 CreateSecurityPolicyDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateSecurityPolicyDetails. Security policy description
Returns: The description of this CreateSecurityPolicyDetails. Return type: str
-
display_name¶ [Required] Gets the display_name of this CreateSecurityPolicyDetails. Security policy display name
Returns: The display_name of this CreateSecurityPolicyDetails. Return type: str
Gets the freeform_tags of this CreateSecurityPolicyDetails. 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 CreateSecurityPolicyDetails. Return type: dict(str, str)
-
friendly_name¶ Gets the friendly_name of this CreateSecurityPolicyDetails. Short version of security policy name
Returns: The friendly_name of this CreateSecurityPolicyDetails. Return type: str
-
services¶ Gets the services of this CreateSecurityPolicyDetails. The list of services for the security policy
Returns: The services of this CreateSecurityPolicyDetails. Return type: list[str]
-