ruạṛ
a ���f�B � @ 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 ZdZdZdZdZdZdZdd� Z e d d � �Zejdd � �Ze dd � �Z e jdd � �Z e dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �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.� �Zd0d1� Zd2d3� Zd4d5� Zd6S )7�Vlanaa A resource to be used only with the Oracle Cloud VMware Solution. Conceptually, a virtual LAN (VLAN) is a broadcast domain that is created by partitioning and isolating a network at the data link layer (a *layer 2 network*). VLANs work by using IEEE 802.1Q VLAN tags. Layer 2 traffic is forwarded within the VLAN based on MAC learning. In the Networking service, a VLAN is an object within a VCN. You use VLANs to partition the VCN at the data link layer (layer 2). A VLAN is analagous to a subnet, which is an object for partitioning the VCN at the IP layer (layer 3). �PROVISIONING� AVAILABLE�TERMINATING� TERMINATED�UPDATINGc K s� dddddddddddddd� | _ dd d ddd dddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new Vlan 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 Vlan. :type availability_domain: str :param cidr_block: The value to assign to the cidr_block property of this Vlan. :type cidr_block: str :param compartment_id: The value to assign to the compartment_id property of this Vlan. :type compartment_id: str :param defined_tags: The value to assign to the defined_tags property of this Vlan. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this Vlan. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this Vlan. :type freeform_tags: dict(str, str) :param id: The value to assign to the id property of this Vlan. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Vlan. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param nsg_ids: The value to assign to the nsg_ids property of this Vlan. :type nsg_ids: list[str] :param vlan_tag: The value to assign to the vlan_tag property of this Vlan. :type vlan_tag: int :param route_table_id: The value to assign to the route_table_id property of this Vlan. :type route_table_id: str :param time_created: The value to assign to the time_created property of this Vlan. :type time_created: datetime :param vcn_id: The value to assign to the vcn_id property of this Vlan. :type vcn_id: str �strzdict(str, dict(str, object))zdict(str, str)z list[str]�intZdatetime) �availability_domain� cidr_block�compartment_id�defined_tags�display_name� freeform_tags�id�lifecycle_state�nsg_ids�vlan_tag�route_table_id�time_created�vcn_idZavailabilityDomainZ cidrBlockZ compartmentIdZdefinedTagsZdisplayNameZfreeformTagsr ZlifecycleStateZnsgIdsZvlanTagZrouteTableIdZtimeCreatedZvcnIdN)Z swagger_typesZ attribute_map�_availability_domain�_cidr_block�_compartment_id� _defined_tags� _display_name�_freeform_tags�_id�_lifecycle_state�_nsg_ids� _vlan_tag�_route_table_id� _time_created�_vcn_id)�self�kwargs� r* �8/usr/lib/python3.9/site-packages/oci/core/models/vlan.py�__init__/ sR =��z Vlan.__init__c C s | j S )a3 Gets the availability_domain of this Vlan. The VLAN's availability domain. This attribute will be null if this is a regional VLAN rather than an AD-specific VLAN. Example: `Uocm:PHX-AD-1` :return: The availability_domain of this Vlan. :rtype: str �r �r( r* r* r+ r � s zVlan.availability_domainc C s || _ dS )aE Sets the availability_domain of this Vlan. The VLAN's availability domain. This attribute will be null if this is a regional VLAN rather than an AD-specific VLAN. Example: `Uocm:PHX-AD-1` :param availability_domain: The availability_domain of this Vlan. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )a **[Required]** Gets the cidr_block of this Vlan. The range of IPv4 addresses that will be used for layer 3 communication with hosts outside the VLAN. Example: `192.168.1.0/24` :return: The cidr_block of this Vlan. :rtype: str �r r. r* r* r+ r � s zVlan.cidr_blockc C s || _ dS )a Sets the cidr_block of this Vlan. The range of IPv4 addresses that will be used for layer 3 communication with hosts outside the VLAN. Example: `192.168.1.0/24` :param cidr_block: The cidr_block of this Vlan. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )a# **[Required]** Gets the compartment_id of this Vlan. The `OCID`__ of the compartment containing the VLAN. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Vlan. :rtype: str �r r. r* r* r+ r � s zVlan.compartment_idc C s || _ dS )a! Sets the compartment_id of this Vlan. The `OCID`__ of the compartment containing the VLAN. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Vlan. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )a� Gets the defined_tags of this Vlan. 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 Vlan. :rtype: dict(str, dict(str, object)) �r r. r* r* r+ r � s zVlan.defined_tagsc C s || _ dS )a� Sets the defined_tags of this Vlan. 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 Vlan. :type: dict(str, dict(str, object)) Nr1 )r( r r* r* r+ r s c C s | j S )z� Gets the display_name of this Vlan. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this Vlan. :rtype: str �r r. r* r* r+ r s zVlan.display_namec C s || _ dS )a Sets the display_name of this Vlan. 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 Vlan. :type: str Nr2 )r( r r* r* r+ r s c C s | j S )a� Gets the freeform_tags of this Vlan. 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 Vlan. :rtype: dict(str, str) �r r. r* r* r+ r - s zVlan.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this Vlan. 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 Vlan. :type: dict(str, str) Nr3 )r( r r* r* r+ r > s c C s | j S )z� **[Required]** Gets the id of this Vlan. The VLAN's Oracle ID (`OCID`__). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this Vlan. :rtype: str �r! r. r* r* r+ r O s zVlan.idc C s || _ dS )z� Sets the id of this Vlan. The VLAN's Oracle ID (`OCID`__). __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this Vlan. :type: str Nr4 )r( r r* r* r+ r ] s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Vlan. The VLAN's current state. Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "UPDATING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Vlan. :rtype: str )r"