CreateWebAppFirewallPolicyDetails

class oci.waf.models.CreateWebAppFirewallPolicyDetails(**kwargs)

Bases: object

The information about new WebAppFirewallPolicy.

Methods

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

Attributes

actions Gets the actions of this CreateWebAppFirewallPolicyDetails.
compartment_id [Required] Gets the compartment_id of this CreateWebAppFirewallPolicyDetails.
defined_tags Gets the defined_tags of this CreateWebAppFirewallPolicyDetails.
display_name Gets the display_name of this CreateWebAppFirewallPolicyDetails.
freeform_tags Gets the freeform_tags of this CreateWebAppFirewallPolicyDetails.
request_access_control Gets the request_access_control of this CreateWebAppFirewallPolicyDetails.
request_protection Gets the request_protection of this CreateWebAppFirewallPolicyDetails.
request_rate_limiting Gets the request_rate_limiting of this CreateWebAppFirewallPolicyDetails.
response_access_control Gets the response_access_control of this CreateWebAppFirewallPolicyDetails.
response_protection Gets the response_protection of this CreateWebAppFirewallPolicyDetails.
system_tags Gets the system_tags of this CreateWebAppFirewallPolicyDetails.
__init__(**kwargs)

Initializes a new CreateWebAppFirewallPolicyDetails 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 CreateWebAppFirewallPolicyDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateWebAppFirewallPolicyDetails.
  • actions (list[oci.waf.models.Action]) – The value to assign to the actions property of this CreateWebAppFirewallPolicyDetails.
  • request_access_control (oci.waf.models.RequestAccessControl) – The value to assign to the request_access_control property of this CreateWebAppFirewallPolicyDetails.
  • request_rate_limiting (oci.waf.models.RequestRateLimiting) – The value to assign to the request_rate_limiting property of this CreateWebAppFirewallPolicyDetails.
  • request_protection (oci.waf.models.RequestProtection) – The value to assign to the request_protection property of this CreateWebAppFirewallPolicyDetails.
  • response_access_control (oci.waf.models.ResponseAccessControl) – The value to assign to the response_access_control property of this CreateWebAppFirewallPolicyDetails.
  • response_protection (oci.waf.models.ResponseProtection) – The value to assign to the response_protection property of this CreateWebAppFirewallPolicyDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateWebAppFirewallPolicyDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateWebAppFirewallPolicyDetails.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CreateWebAppFirewallPolicyDetails.
actions

Gets the actions of this CreateWebAppFirewallPolicyDetails. Predefined actions for use in multiple different rules. Not all actions are supported in every module. Some actions terminate further execution of modules and rules in a module and some do not. Actions names must be unique within this array.

Returns:The actions of this CreateWebAppFirewallPolicyDetails.
Return type:list[oci.waf.models.Action]
compartment_id

[Required] Gets the compartment_id of this CreateWebAppFirewallPolicyDetails. The OCID of the compartment.

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

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

Gets the display_name of this CreateWebAppFirewallPolicyDetails. WebAppFirewallPolicy display name, can be renamed.

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

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

Gets the request_access_control of this CreateWebAppFirewallPolicyDetails.

Returns:The request_access_control of this CreateWebAppFirewallPolicyDetails.
Return type:oci.waf.models.RequestAccessControl
request_protection

Gets the request_protection of this CreateWebAppFirewallPolicyDetails.

Returns:The request_protection of this CreateWebAppFirewallPolicyDetails.
Return type:oci.waf.models.RequestProtection
request_rate_limiting

Gets the request_rate_limiting of this CreateWebAppFirewallPolicyDetails.

Returns:The request_rate_limiting of this CreateWebAppFirewallPolicyDetails.
Return type:oci.waf.models.RequestRateLimiting
response_access_control

Gets the response_access_control of this CreateWebAppFirewallPolicyDetails.

Returns:The response_access_control of this CreateWebAppFirewallPolicyDetails.
Return type:oci.waf.models.ResponseAccessControl
response_protection

Gets the response_protection of this CreateWebAppFirewallPolicyDetails.

Returns:The response_protection of this CreateWebAppFirewallPolicyDetails.
Return type:oci.waf.models.ResponseProtection
system_tags

Gets the system_tags of this CreateWebAppFirewallPolicyDetails. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this CreateWebAppFirewallPolicyDetails.
Return type:dict(str, dict(str, object))