CreateNetworkFirewallPolicyDetails¶
-
class
oci.network_firewall.models.
CreateNetworkFirewallPolicyDetails
(**kwargs)¶ Bases:
object
Request data required to create a network firewall policy.
Methods
__init__
(**kwargs)Initializes a new CreateNetworkFirewallPolicyDetails object with values from keyword arguments. Attributes
application_lists
Gets the application_lists of this CreateNetworkFirewallPolicyDetails. compartment_id
[Required] Gets the compartment_id of this CreateNetworkFirewallPolicyDetails. decryption_profiles
Gets the decryption_profiles of this CreateNetworkFirewallPolicyDetails. decryption_rules
Gets the decryption_rules of this CreateNetworkFirewallPolicyDetails. defined_tags
Gets the defined_tags of this CreateNetworkFirewallPolicyDetails. display_name
Gets the display_name of this CreateNetworkFirewallPolicyDetails. freeform_tags
Gets the freeform_tags of this CreateNetworkFirewallPolicyDetails. ip_address_lists
Gets the ip_address_lists of this CreateNetworkFirewallPolicyDetails. mapped_secrets
Gets the mapped_secrets of this CreateNetworkFirewallPolicyDetails. security_rules
Gets the security_rules of this CreateNetworkFirewallPolicyDetails. url_lists
Gets the url_lists of this CreateNetworkFirewallPolicyDetails. -
__init__
(**kwargs)¶ Initializes a new CreateNetworkFirewallPolicyDetails 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 CreateNetworkFirewallPolicyDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateNetworkFirewallPolicyDetails.
- mapped_secrets (dict(str, MappedSecret)) – The value to assign to the mapped_secrets property of this CreateNetworkFirewallPolicyDetails.
- application_lists (dict(str, list[Application])) – The value to assign to the application_lists property of this CreateNetworkFirewallPolicyDetails.
- url_lists (dict(str, list[UrlPattern])) – The value to assign to the url_lists property of this CreateNetworkFirewallPolicyDetails.
- ip_address_lists (dict(str, list[str])) – The value to assign to the ip_address_lists property of this CreateNetworkFirewallPolicyDetails.
- security_rules (list[oci.network_firewall.models.SecurityRule]) – The value to assign to the security_rules property of this CreateNetworkFirewallPolicyDetails.
- decryption_rules (list[oci.network_firewall.models.DecryptionRule]) – The value to assign to the decryption_rules property of this CreateNetworkFirewallPolicyDetails.
- decryption_profiles (dict(str, DecryptionProfile)) – The value to assign to the decryption_profiles property of this CreateNetworkFirewallPolicyDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateNetworkFirewallPolicyDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateNetworkFirewallPolicyDetails.
-
application_lists
¶ Gets the application_lists of this CreateNetworkFirewallPolicyDetails. Map defining application lists of the policy. The value of an entry is a list of “applications”, each consisting of a protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range). The associated key is the identifier by which the application list is referenced.
Returns: The application_lists of this CreateNetworkFirewallPolicyDetails. Return type: dict(str, list[Application])
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateNetworkFirewallPolicyDetails. The OCID of the compartment containing the NetworkFirewall Policy.
Returns: The compartment_id of this CreateNetworkFirewallPolicyDetails. Return type: str
-
decryption_profiles
¶ Gets the decryption_profiles of this CreateNetworkFirewallPolicyDetails. Map defining decryption profiles of the policy. The value of an entry is a decryption profile. The associated key is the identifier by which the decryption profile is referenced.
Returns: The decryption_profiles of this CreateNetworkFirewallPolicyDetails. Return type: dict(str, DecryptionProfile)
-
decryption_rules
¶ Gets the decryption_rules of this CreateNetworkFirewallPolicyDetails. List of Decryption Rules defining the behavior of the policy. The first rule with a matching condition determines the action taken upon network traffic.
Returns: The decryption_rules of this CreateNetworkFirewallPolicyDetails. Return type: list[oci.network_firewall.models.DecryptionRule]
Gets the defined_tags of this CreateNetworkFirewallPolicyDetails. 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 CreateNetworkFirewallPolicyDetails. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this CreateNetworkFirewallPolicyDetails. A user-friendly optional name for the firewall policy. Avoid entering confidential information.
Returns: The display_name of this CreateNetworkFirewallPolicyDetails. Return type: str
Gets the freeform_tags of this CreateNetworkFirewallPolicyDetails. 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 CreateNetworkFirewallPolicyDetails. Return type: dict(str, str)
-
ip_address_lists
¶ Gets the ip_address_lists of this CreateNetworkFirewallPolicyDetails. Map defining IP address lists of the policy. The value of an entry is a list of IP addresses or prefixes in CIDR notation. The associated key is the identifier by which the IP address list is referenced.
Returns: The ip_address_lists of this CreateNetworkFirewallPolicyDetails. Return type: dict(str, list[str])
-
mapped_secrets
¶ Gets the mapped_secrets of this CreateNetworkFirewallPolicyDetails. Map defining secrets of the policy. The value of an entry is a “mapped secret” consisting of a purpose and source. The associated key is the identifier by which the mapped secret is referenced.
Returns: The mapped_secrets of this CreateNetworkFirewallPolicyDetails. Return type: dict(str, MappedSecret)
-
security_rules
¶ Gets the security_rules of this CreateNetworkFirewallPolicyDetails. List of Security Rules defining the behavior of the policy. The first rule with a matching condition determines the action taken upon network traffic.
Returns: The security_rules of this CreateNetworkFirewallPolicyDetails. Return type: list[oci.network_firewall.models.SecurityRule]
-
url_lists
¶ Gets the url_lists of this CreateNetworkFirewallPolicyDetails. Map defining URL pattern lists of the policy. The value of an entry is a list of URL patterns. The associated key is the identifier by which the URL pattern list is referenced.
Returns: The url_lists of this CreateNetworkFirewallPolicyDetails. Return type: dict(str, list[UrlPattern])
-