ruạṛ
a O��f�R � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zd:d;� Zd<d=� Zd>d?� Zd@S )A�NetworkFirewallz* Description of Network Firewall. �CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new NetworkFirewall object with values from keyword arguments. 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 NetworkFirewall. :type id: str :param compartment_id: The value to assign to the compartment_id property of this NetworkFirewall. :type compartment_id: str :param display_name: The value to assign to the display_name property of this NetworkFirewall. :type display_name: str :param subnet_id: The value to assign to the subnet_id property of this NetworkFirewall. :type subnet_id: str :param ipv4_address: The value to assign to the ipv4_address property of this NetworkFirewall. :type ipv4_address: str :param ipv6_address: The value to assign to the ipv6_address property of this NetworkFirewall. :type ipv6_address: str :param network_firewall_policy_id: The value to assign to the network_firewall_policy_id property of this NetworkFirewall. :type network_firewall_policy_id: str :param availability_domain: The value to assign to the availability_domain property of this NetworkFirewall. :type availability_domain: str :param network_security_group_ids: The value to assign to the network_security_group_ids property of this NetworkFirewall. :type network_security_group_ids: list[str] :param time_created: The value to assign to the time_created property of this NetworkFirewall. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this NetworkFirewall. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this NetworkFirewall. 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 NetworkFirewall. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this NetworkFirewall. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this NetworkFirewall. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this NetworkFirewall. :type system_tags: dict(str, dict(str, object)) �strz list[str]�datetimezdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name� subnet_id�ipv4_address�ipv6_address�network_firewall_policy_id�availability_domain�network_security_group_ids�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr � compartmentId�displayName�subnetId�ipv4Address�ipv6Address�networkFirewallPolicyId�availabilityDomain�networkSecurityGroupIds�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id�_compartment_id� _display_name� _subnet_id� _ipv4_address� _ipv6_address�_network_firewall_policy_id�_availability_domain�_network_security_group_ids� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/network_firewall/models/network_firewall.py�__init__( sd I��zNetworkFirewall.__init__c C s | j S )a **[Required]** Gets the id of this NetworkFirewall. The `OCID`__ of the Network Firewall resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this NetworkFirewall. :rtype: str �r0 �r@ rB rB rC r � s zNetworkFirewall.idc C s || _ dS )a Sets the id of this NetworkFirewall. The `OCID`__ of the Network Firewall resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this NetworkFirewall. :type: str NrE )r@ r rB rB rC r � s c C s | j S )aE **[Required]** Gets the compartment_id of this NetworkFirewall. The `OCID`__ of the compartment containing the Network Firewall. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this NetworkFirewall. :rtype: str �r1 rF rB rB rC r � s zNetworkFirewall.compartment_idc C s || _ dS )aC Sets the compartment_id of this NetworkFirewall. The `OCID`__ of the compartment containing the Network Firewall. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this NetworkFirewall. :type: str NrG )r@ r rB rB rC r � s c C s | j S )a1 **[Required]** Gets the display_name of this NetworkFirewall. A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this NetworkFirewall. :rtype: str �r2 rF rB rB rC r � s zNetworkFirewall.display_namec C s || _ dS )a- Sets the display_name of this NetworkFirewall. A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this NetworkFirewall. :type: str NrH )r@ r rB rB rC r � s c C s | j S )a; **[Required]** Gets the subnet_id of this NetworkFirewall. The `OCID`__ of the subnet associated with the Network Firewall. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The subnet_id of this NetworkFirewall. :rtype: str �r3 rF rB rB rC r � s zNetworkFirewall.subnet_idc C s || _ dS )a4 Sets the subnet_id of this NetworkFirewall. The `OCID`__ of the subnet associated with the Network Firewall. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param subnet_id: The subnet_id of this NetworkFirewall. :type: str NrI )r@ r rB rB rC r s c C s | j S )z� Gets the ipv4_address of this NetworkFirewall. IPv4 address for the Network Firewall. :return: The ipv4_address of this NetworkFirewall. :rtype: str �r4 rF rB rB rC r s zNetworkFirewall.ipv4_addressc C s || _ dS )z� Sets the ipv4_address of this NetworkFirewall. IPv4 address for the Network Firewall. :param ipv4_address: The ipv4_address of this NetworkFirewall. :type: str NrJ )r@ r rB rB rC r s c C s | j S )z� Gets the ipv6_address of this NetworkFirewall. IPv6 address for the Network Firewall. :return: The ipv6_address of this NetworkFirewall. :rtype: str �r5 rF rB rB rC r + s zNetworkFirewall.ipv6_addressc C s || _ dS )z� Sets the ipv6_address of this NetworkFirewall. IPv6 address for the Network Firewall. :param ipv6_address: The ipv6_address of this NetworkFirewall. :type: str NrK )r@ r rB rB rC r 7 s c C s | j S )aI **[Required]** Gets the network_firewall_policy_id of this NetworkFirewall. The `OCID`__ of the Network Firewall Policy. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The network_firewall_policy_id of this NetworkFirewall. :rtype: str �r6 rF rB rB rC r C s z*NetworkFirewall.network_firewall_policy_idc C s || _ dS )aS Sets the network_firewall_policy_id of this NetworkFirewall. The `OCID`__ of the Network Firewall Policy. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param network_firewall_policy_id: The network_firewall_policy_id of this NetworkFirewall. :type: str NrL )r@ r rB rB rC r Q s c C s | j S )av Gets the availability_domain of this NetworkFirewall. Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use :func:`list_availability_domains` operation. Example: `kIdk:PHX-AD-1` :return: The availability_domain of this NetworkFirewall. :rtype: str �r7 rF rB rB rC r _ s z#NetworkFirewall.availability_domainc C s || _ dS )a� Sets the availability_domain of this NetworkFirewall. Availability Domain where Network Firewall instance is created. To get a list of availability domains for a tenancy, use :func:`list_availability_domains` operation. Example: `kIdk:PHX-AD-1` :param availability_domain: The availability_domain of this NetworkFirewall. :type: str NrM )r@ r rB rB rC r m s c C s | j S )af Gets the network_security_group_ids of this NetworkFirewall. An array of network security groups `OCID`__ associated with the Network Firewall. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The network_security_group_ids of this NetworkFirewall. :rtype: list[str] �r8 rF rB rB rC r { s z*NetworkFirewall.network_security_group_idsc C s || _ dS )a Sets the network_security_group_ids of this NetworkFirewall. An array of network security groups `OCID`__ associated with the Network Firewall. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param network_security_group_ids: The network_security_group_ids of this NetworkFirewall. :type: list[str] NrN )r@ r rB rB rC r � s c C s | j S )aj **[Required]** Gets the time_created of this NetworkFirewall. The time instant at which the Network Firewall was created in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this NetworkFirewall. :rtype: datetime �r9 rF rB rB rC r � s zNetworkFirewall.time_createdc C s || _ dS )af Sets the time_created of this NetworkFirewall. The time instant at which the Network Firewall was created in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this NetworkFirewall. :type: datetime NrO )r@ r rB rB rC r � s c C s | j S )aj **[Required]** Gets the time_updated of this NetworkFirewall. The time instant at which the Network Firewall was updated in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this NetworkFirewall. :rtype: datetime �r: rF rB rB rC r � s zNetworkFirewall.time_updatedc C s || _ dS )af Sets the time_updated of this NetworkFirewall. The time instant at which the Network Firewall was updated in the format defined by `RFC3339`__. Example: `2016-08-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this NetworkFirewall. :type: datetime NrP )r@ r rB rB rC r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this NetworkFirewall. The current state of the Network Firewall. 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'. :return: The lifecycle_state of this NetworkFirewall. :rtype: str )r; rF rB rB rC r � s zNetworkFirewall.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this NetworkFirewall. The current state of the Network Firewall. :param lifecycle_state: The lifecycle_state of this NetworkFirewall. :type: str )r r r r r r �UNKNOWN_ENUM_VALUEN)r r; )r@ r �allowed_valuesrB rB rC r � s c C s | j S )a5 Gets the lifecycle_details of this NetworkFirewall. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this NetworkFirewall. :rtype: str �r<