ruạṛ
a ���f4| � @ 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 Zd ZdZ dZd ZdZdZdZdZd ZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Z e jd*d)� �Z ed+d,� �Z!e!jd-d,� �Z!ed.d/� �Z"e"jd0d/� �Z"ed1d2� �Z#e#jd3d2� �Z#ed4d5� �Z$e$jd6d5� �Z$ed7d8� �Z%e%jd9d8� �Z%ed:d;� �Z&e&jd<d;� �Z&ed=d>� �Z'e'jd?d>� �Z'ed@dA� �Z(e(jdBdA� �Z(edCdD� �Z)e)jdEdD� �Z)edFdG� �Z*e*jdHdG� �Z*edIdJ� �Z+e+jdKdJ� �Z+edLdM� �Z,e,jdNdM� �Z,edOdP� �Z-e-jdQdP� �Z-edRdS� �Z.e.jdTdS� �Z.edUdV� �Z/e/jdWdV� �Z/dXdY� Z0dZd[� Z1d\d]� Z2d^S )_�Vtapa� A virtual test access point (VTAP) provides a way to mirror all traffic from a designated source to a selected target in order to facilitate troubleshooting, security analysis, and data monitoring. A VTAP is functionally similar to a test access point (TAP) you might deploy in your on-premises network. A *:class:`CaptureFilter`* contains a set of *:func:`capture_filter_rule_details`* governing what traffic a VTAP mirrors. �PROVISIONING� AVAILABLE�UPDATING�TERMINATING� TERMINATED�RUNNING�STOPPED�VXLAN�VNIC�SUBNET� LOAD_BALANCER� DB_SYSTEM�EXADATA_VM_CLUSTER�AUTONOMOUS_DATA_WAREHOUSE�DEFAULT�PRIORITY�NETWORK_LOAD_BALANCER� IP_ADDRESSc K s� ddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _dS )ah Initializes a new Vtap object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this Vtap. :type compartment_id: str :param vcn_id: The value to assign to the vcn_id property of this Vtap. :type vcn_id: str :param defined_tags: The value to assign to the defined_tags property of this Vtap. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this Vtap. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this Vtap. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this Vtap. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Vtap. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_state_details: The value to assign to the lifecycle_state_details property of this Vtap. Allowed values for this property are: "RUNNING", "STOPPED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state_details: str :param time_created: The value to assign to the time_created property of this Vtap. :type time_created: datetime :param source_id: The value to assign to the source_id property of this Vtap. :type source_id: str :param target_id: The value to assign to the target_id property of this Vtap. :type target_id: str :param target_ip: The value to assign to the target_ip property of this Vtap. :type target_ip: str :param capture_filter_id: The value to assign to the capture_filter_id property of this Vtap. :type capture_filter_id: str :param encapsulation_protocol: The value to assign to the encapsulation_protocol property of this Vtap. Allowed values for this property are: "VXLAN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type encapsulation_protocol: str :param vxlan_network_identifier: The value to assign to the vxlan_network_identifier property of this Vtap. :type vxlan_network_identifier: int :param is_vtap_enabled: The value to assign to the is_vtap_enabled property of this Vtap. :type is_vtap_enabled: bool :param source_type: The value to assign to the source_type property of this Vtap. Allowed values for this property are: "VNIC", "SUBNET", "LOAD_BALANCER", "DB_SYSTEM", "EXADATA_VM_CLUSTER", "AUTONOMOUS_DATA_WAREHOUSE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type source_type: str :param traffic_mode: The value to assign to the traffic_mode property of this Vtap. Allowed values for this property are: "DEFAULT", "PRIORITY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type traffic_mode: str :param max_packet_size: The value to assign to the max_packet_size property of this Vtap. :type max_packet_size: int :param target_type: The value to assign to the target_type property of this Vtap. Allowed values for this property are: "VNIC", "NETWORK_LOAD_BALANCER", "IP_ADDRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type target_type: str :param source_private_endpoint_ip: The value to assign to the source_private_endpoint_ip property of this Vtap. :type source_private_endpoint_ip: str :param source_private_endpoint_subnet_id: The value to assign to the source_private_endpoint_subnet_id property of this Vtap. :type source_private_endpoint_subnet_id: str �strzdict(str, dict(str, object))zdict(str, str)Zdatetime�int�bool)�compartment_id�vcn_id�defined_tags�display_name� freeform_tags�id�lifecycle_state�lifecycle_state_details�time_created� source_id� target_id� target_ip�capture_filter_id�encapsulation_protocol�vxlan_network_identifier�is_vtap_enabled�source_type�traffic_mode�max_packet_size�target_type�source_private_endpoint_ip�!source_private_endpoint_subnet_idZ compartmentIdZvcnIdZdefinedTagsZdisplayNameZfreeformTagsr! ZlifecycleStateZlifecycleStateDetailsZtimeCreatedZsourceIdZtargetIdZtargetIpZcaptureFilterIdZencapsulationProtocolZvxlanNetworkIdentifierZ isVtapEnabledZ sourceTypeZtrafficModeZ maxPacketSizeZ targetTypeZsourcePrivateEndpointIpZsourcePrivateEndpointSubnetIdN)Z swagger_typesZ attribute_map�_compartment_id�_vcn_id� _defined_tags� _display_name�_freeform_tags�_id�_lifecycle_state�_lifecycle_state_details� _time_created� _source_id� _target_id� _target_ip�_capture_filter_id�_encapsulation_protocol�_vxlan_network_identifier�_is_vtap_enabled�_source_type� _traffic_mode�_max_packet_size�_target_type�_source_private_endpoint_ip�"_source_private_endpoint_subnet_id)�self�kwargs� rJ �8/usr/lib/python3.9/site-packages/oci/core/models/vtap.py�__init__a s� k��z Vtap.__init__c C s | j S )a. **[Required]** Gets the compartment_id of this Vtap. The `OCID`__ of the compartment containing the `Vtap` resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Vtap. :rtype: str �r2 �rH rJ rJ rK r s zVtap.compartment_idc C s || _ dS )a, Sets the compartment_id of this Vtap. The `OCID`__ of the compartment containing the `Vtap` resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Vtap. :type: str NrM )rH r rJ rJ rK r " s c C s | j S )a **[Required]** Gets the vcn_id of this Vtap. The `OCID`__ of the VCN containing the `Vtap` resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The vcn_id of this Vtap. :rtype: str �r3 rN rJ rJ rK r 0 s zVtap.vcn_idc C s || _ dS )a Sets the vcn_id of this Vtap. The `OCID`__ of the VCN containing the `Vtap` resource. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param vcn_id: The vcn_id of this Vtap. :type: str NrO )rH r rJ rJ rK r > s c C s | j S )a� Gets the defined_tags of this Vtap. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Vtap. :rtype: dict(str, dict(str, object)) �r4 rN rJ rJ rK r L s zVtap.defined_tagsc C s || _ dS )a� Sets the defined_tags of this Vtap. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Vtap. :type: dict(str, dict(str, object)) NrP )rH r rJ rJ rK r ] s c C s | j S )z� Gets the display_name of this Vtap. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this Vtap. :rtype: str �r5 rN rJ rJ rK r n s zVtap.display_namec C s || _ dS )a Sets the display_name of this Vtap. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this Vtap. :type: str NrQ )rH r rJ rJ rK r { s c C s | j S )a� Gets the freeform_tags of this Vtap. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Vtap. :rtype: dict(str, str) �r6 rN rJ rJ rK r � s zVtap.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this Vtap. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Vtap. :type: dict(str, str) NrR )rH r rJ rJ rK r � s c C s | j S )z� **[Required]** Gets the id of this Vtap. The VTAP's Oracle ID (`OCID`__). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Vtap. :rtype: str �r7 rN rJ rJ rK r! � s zVtap.idc C s || _ dS )z� Sets the id of this Vtap. The VTAP's Oracle ID (`OCID`__). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this Vtap. :type: str NrS )rH r! rJ rJ rK r! � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Vtap. The VTAP's administrative lifecycle state. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Vtap. :rtype: str )r8 rN rJ rJ rK r"