ruạṛ
a ���fte � @ 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 ZdZdZdZdZdZdd� Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze d d!� �Zejd"d!� �Ze d#d$� �Zejd%d$� �Ze d&d'� �Zejd(d'� �Ze d)d*� �Zejd+d*� �Ze d,d-� �Zejd.d-� �Ze d/d0� �Zejd1d0� �Ze d2d3� �Zejd4d3� �Ze d5d6� �Zejd7d6� �Ze d8d9� �Zejd:d9� �Ze d;d<� �Zejd=d<� �Zd>d?� Zd@dA� ZdBdC� ZdDS )E�Vnica� A virtual network interface card. Each VNIC resides in a subnet in a VCN. An instance attaches to a VNIC to obtain a network connection into the VCN through that subnet. Each instance has a *primary VNIC* that is automatically created and attached during launch. You can add *secondary VNICs* to an instance after it's launched. For more information, see `Virtual Network Interface Cards (VNICs)`__. Each VNIC has a *primary private IP* that is automatically assigned during launch. You can add *secondary private IPs* to a VNIC after it's created. For more information, see :func:`create_private_ip` and `IP Addresses`__. If you are an Oracle Cloud VMware Solution customer, you will have secondary VNICs that reside in a VLAN instead of a subnet. These VNICs have other differences, which are called out in the descriptions of the relevant attributes in the `Vnic` object. Also see :class:`Vlan`. To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see `Getting Started with Policies`__. __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingIPaddresses.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm �PROVISIONING� AVAILABLE�TERMINATING� TERMINATEDc K s� ddddddddddddddddddd�| _ dd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )aq Initializes a new Vnic object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param availability_domain: The value to assign to the availability_domain property of this Vnic. :type availability_domain: str :param compartment_id: The value to assign to the compartment_id property of this Vnic. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this Vnic. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this Vnic. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this Vnic. :type freeform_tags: dict(str, str) :param hostname_label: The value to assign to the hostname_label property of this Vnic. :type hostname_label: str :param id: The value to assign to the id property of this Vnic. :type id: str :param is_primary: The value to assign to the is_primary property of this Vnic. :type is_primary: bool :param lifecycle_state: The value to assign to the lifecycle_state property of this Vnic. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param mac_address: The value to assign to the mac_address property of this Vnic. :type mac_address: str :param nsg_ids: The value to assign to the nsg_ids property of this Vnic. :type nsg_ids: list[str] :param vlan_id: The value to assign to the vlan_id property of this Vnic. :type vlan_id: str :param private_ip: The value to assign to the private_ip property of this Vnic. :type private_ip: str :param public_ip: The value to assign to the public_ip property of this Vnic. :type public_ip: str :param skip_source_dest_check: The value to assign to the skip_source_dest_check property of this Vnic. :type skip_source_dest_check: bool :param subnet_id: The value to assign to the subnet_id property of this Vnic. :type subnet_id: str :param time_created: The value to assign to the time_created property of this Vnic. :type time_created: datetime :param ipv6_addresses: The value to assign to the ipv6_addresses property of this Vnic. :type ipv6_addresses: list[str] �strzdict(str, dict(str, object))zdict(str, str)�boolz list[str]Zdatetime)�availability_domain�compartment_id�defined_tags�display_name� freeform_tags�hostname_label�id� is_primary�lifecycle_state�mac_address�nsg_ids�vlan_id� private_ip� public_ip�skip_source_dest_check� subnet_id�time_created�ipv6_addressesZavailabilityDomainZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsZ hostnameLabelr Z isPrimaryZlifecycleStateZ macAddressZnsgIdsZvlanIdZ privateIpZpublicIpZskipSourceDestCheckZsubnetIdZtimeCreatedZ ipv6AddressesN)Z swagger_typesZ attribute_map�_availability_domain�_compartment_id� _defined_tags� _display_name�_freeform_tags�_hostname_label�_id�_is_primary�_lifecycle_state�_mac_address�_nsg_ids�_vlan_id�_private_ip� _public_ip�_skip_source_dest_check� _subnet_id� _time_created�_ipv6_addresses)�self�kwargs� r3 �8/usr/lib/python3.9/site-packages/oci/core/models/vnic.py�__init__: sp Q��z Vnic.__init__c C s | j S )z� **[Required]** Gets the availability_domain of this Vnic. The VNIC's availability domain. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this Vnic. :rtype: str �r �r1 r3 r3 r4 r � s zVnic.availability_domainc C s || _ dS )z� Sets the availability_domain of this Vnic. The VNIC's availability domain. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this Vnic. :type: str Nr6 )r1 r r3 r3 r4 r � s c C s | j S )a# **[Required]** Gets the compartment_id of this Vnic. The `OCID`__ of the compartment containing the VNIC. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Vnic. :rtype: str �r r7 r3 r3 r4 r � s zVnic.compartment_idc C s || _ dS )a! Sets the compartment_id of this Vnic. The `OCID`__ of the compartment containing the VNIC. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Vnic. :type: str Nr8 )r1 r r3 r3 r4 r � s c C s | j S )a� Gets the defined_tags of this Vnic. 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 Vnic. :rtype: dict(str, dict(str, object)) �r! r7 r3 r3 r4 r � s zVnic.defined_tagsc C s || _ dS )a� Sets the defined_tags of this Vnic. 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 Vnic. :type: dict(str, dict(str, object)) Nr9 )r1 r r3 r3 r4 r s c C s | j S )z� Gets the display_name of this Vnic. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this Vnic. :rtype: str �r"