ruạṛ
a ���f�� � @ 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 dZdZd Z d ZdZdZd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dd� Z"e#dd � �Z$e$j%d!d � �Z$e#d"d#� �Z&e&j%d$d#� �Z&e#d%d&� �Z'e'j%d'd&� �Z'e#d(d)� �Z(e(j%d*d)� �Z(e#d+d,� �Z)e)j%d-d,� �Z)e#d.d/� �Z*e*j%d0d/� �Z*e#d1d2� �Z+e+j%d3d2� �Z+e#d4d5� �Z,e,j%d6d5� �Z,e#d7d8� �Z-e-j%d9d8� �Z-e#d:d;� �Z.e.j%d<d;� �Z.e#d=d>� �Z/e/j%d?d>� �Z/e#d@dA� �Z0e0j%dBdA� �Z0e#dCdD� �Z1e1j%dEdD� �Z1e#dFdG� �Z2e2j%dHdG� �Z2e#dIdJ� �Z3e3j%dKdJ� �Z3e#dLdM� �Z4e4j%dNdM� �Z4e#dOdP� �Z5e5j%dQdP� �Z5e#dRdS� �Z6e6j%dTdS� �Z6e#dUdV� �Z7e7j%dWdV� �Z7e#dXdY� �Z8e8j%dZdY� �Z8e#d[d\� �Z9e9j%d]d\� �Z9e#d^d_� �Z:e:j%d`d_� �Z:e#dadb� �Z;e;j%dcdb� �Z;e#ddde� �Z<e<j%dfde� �Z<e#dgdh� �Z=e=j%didh� �Z=e#djdk� �Z>e>j%dldk� �Z>e#dmdn� �Z?e?j%dodn� �Z?e#dpdq� �Z@e@j%drdq� �Z@e#dsdt� �ZAeAj%dudt� �ZAe#dvdw� �ZBeBj%dxdw� �ZBe#dydz� �ZCeCj%d{dz� �ZCd|d}� ZDd~d� ZEd�d�� ZFd�S )��VirtualCircuita� For use with Oracle Cloud Infrastructure FastConnect. A virtual circuit is an isolated network path that runs over one or more physical network connections to provide a single, logical connection between the edge router on the customer's existing network and Oracle Cloud Infrastructure. *Private* virtual circuits support private peering, and *public* virtual circuits support public peering. For more information, see `FastConnect Overview`__. Each virtual circuit is made up of information shared between a customer, Oracle, and a provider (if the customer is using FastConnect via a provider). Who fills in a given property of a virtual circuit depends on whether the BGP session related to that virtual circuit goes from the customer's edge router to Oracle, or from the provider's edge router to Oracle. Also, in the case where the customer is using a provider, values for some of the properties may not be present immediately, but may get filled in as the provider and Oracle each do their part to provision the virtual circuit. 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/Concepts/fastconnect.htm __ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm �CUSTOMER_MANAGED�PROVIDER_MANAGED�ORACLE_MANAGED�UP�DOWN�ORACLE_SERVICE_NETWORK�REGIONAL�MARKET_LEVEL�GLOBAL�ENABLED�DISABLED�PENDING_PROVIDER� VERIFYING�PROVISIONING�PROVISIONED�FAILED�INACTIVE�TERMINATING� TERMINATED�ACTIVE� COLOCATED�LAYER2�LAYER3�PUBLIC�PRIVATE�MTU_1500�MTU_9000c K sJ dddddddddddddddddddddddddddddddd �| _ d ddd ddddddddddddddddddd d!d"d#d$d%d&d'd(d �| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _ d)| _ d)| _d)| _d)| _ d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _d)| _ d)S )*a� Initializes a new VirtualCircuit object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param bandwidth_shape_name: The value to assign to the bandwidth_shape_name property of this VirtualCircuit. :type bandwidth_shape_name: str :param bgp_management: The value to assign to the bgp_management property of this VirtualCircuit. Allowed values for this property are: "CUSTOMER_MANAGED", "PROVIDER_MANAGED", "ORACLE_MANAGED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type bgp_management: str :param bgp_session_state: The value to assign to the bgp_session_state property of this VirtualCircuit. Allowed values for this property are: "UP", "DOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type bgp_session_state: str :param bgp_ipv6_session_state: The value to assign to the bgp_ipv6_session_state property of this VirtualCircuit. Allowed values for this property are: "UP", "DOWN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type bgp_ipv6_session_state: str :param compartment_id: The value to assign to the compartment_id property of this VirtualCircuit. :type compartment_id: str :param cross_connect_mappings: The value to assign to the cross_connect_mappings property of this VirtualCircuit. :type cross_connect_mappings: list[oci.core.models.CrossConnectMapping] :param routing_policy: The value to assign to the routing_policy property of this VirtualCircuit. Allowed values for items in this list are: "ORACLE_SERVICE_NETWORK", "REGIONAL", "MARKET_LEVEL", "GLOBAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type routing_policy: list[str] :param bgp_admin_state: The value to assign to the bgp_admin_state property of this VirtualCircuit. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type bgp_admin_state: str :param is_bfd_enabled: The value to assign to the is_bfd_enabled property of this VirtualCircuit. :type is_bfd_enabled: bool :param is_transport_mode: The value to assign to the is_transport_mode property of this VirtualCircuit. :type is_transport_mode: bool :param customer_bgp_asn: The value to assign to the customer_bgp_asn property of this VirtualCircuit. :type customer_bgp_asn: int :param customer_asn: The value to assign to the customer_asn property of this VirtualCircuit. :type customer_asn: int :param defined_tags: The value to assign to the defined_tags property of this VirtualCircuit. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this VirtualCircuit. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this VirtualCircuit. :type freeform_tags: dict(str, str) :param gateway_id: The value to assign to the gateway_id property of this VirtualCircuit. :type gateway_id: str :param id: The value to assign to the id property of this VirtualCircuit. :type id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this VirtualCircuit. Allowed values for this property are: "PENDING_PROVIDER", "VERIFYING", "PROVISIONING", "PROVISIONED", "FAILED", "INACTIVE", "TERMINATING", "TERMINATED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param oracle_bgp_asn: The value to assign to the oracle_bgp_asn property of this VirtualCircuit. :type oracle_bgp_asn: int :param provider_name: The value to assign to the provider_name property of this VirtualCircuit. :type provider_name: str :param provider_service_id: The value to assign to the provider_service_id property of this VirtualCircuit. :type provider_service_id: str :param provider_service_key_name: The value to assign to the provider_service_key_name property of this VirtualCircuit. :type provider_service_key_name: str :param provider_service_name: The value to assign to the provider_service_name property of this VirtualCircuit. :type provider_service_name: str :param provider_state: The value to assign to the provider_state property of this VirtualCircuit. Allowed values for this property are: "ACTIVE", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type provider_state: str :param public_prefixes: The value to assign to the public_prefixes property of this VirtualCircuit. :type public_prefixes: list[str] :param reference_comment: The value to assign to the reference_comment property of this VirtualCircuit. :type reference_comment: str :param region: The value to assign to the region property of this VirtualCircuit. :type region: str :param service_type: The value to assign to the service_type property of this VirtualCircuit. Allowed values for this property are: "COLOCATED", "LAYER2", "LAYER3", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type service_type: str :param time_created: The value to assign to the time_created property of this VirtualCircuit. :type time_created: datetime :param type: The value to assign to the type property of this VirtualCircuit. Allowed values for this property are: "PUBLIC", "PRIVATE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param ip_mtu: The value to assign to the ip_mtu property of this VirtualCircuit. Allowed values for this property are: "MTU_1500", "MTU_9000", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type ip_mtu: str �strzlist[CrossConnectMapping]z list[str]�bool�intzdict(str, dict(str, object))zdict(str, str)Zdatetime)�bandwidth_shape_name�bgp_management�bgp_session_state�bgp_ipv6_session_state�compartment_id�cross_connect_mappings�routing_policy�bgp_admin_state�is_bfd_enabled�is_transport_mode�customer_bgp_asn�customer_asn�defined_tags�display_name� freeform_tags� gateway_id�id�lifecycle_state�oracle_bgp_asn� provider_name�provider_service_id�provider_service_key_name�provider_service_name�provider_state�public_prefixes�reference_comment�region�service_type�time_created�type�ip_mtuZbandwidthShapeNameZ bgpManagementZbgpSessionStateZbgpIpv6SessionStateZ compartmentIdZcrossConnectMappingsZ routingPolicyZ bgpAdminStateZisBfdEnabledZisTransportModeZcustomerBgpAsnZcustomerAsnZdefinedTagsZdisplayNameZfreeformTagsZ gatewayIdr5 ZlifecycleStateZoracleBgpAsnZproviderNameZproviderServiceIdZproviderServiceKeyNameZproviderServiceNameZ providerStateZpublicPrefixesZreferenceCommentr? ZserviceTypeZtimeCreatedrB ZipMtuN)!Z swagger_typesZ attribute_map�_bandwidth_shape_name�_bgp_management�_bgp_session_state�_bgp_ipv6_session_state�_compartment_id�_cross_connect_mappings�_routing_policy�_bgp_admin_state�_is_bfd_enabled�_is_transport_mode�_customer_bgp_asn� _customer_asn� _defined_tags� _display_name�_freeform_tags�_gateway_id�_id�_lifecycle_state�_oracle_bgp_asn�_provider_name�_provider_service_id�_provider_service_key_name�_provider_service_name�_provider_state�_public_prefixes�_reference_comment�_region� _service_type� _time_created�_type�_ip_mtu)�self�kwargs� re �C/usr/lib/python3.9/site-packages/oci/core/models/virtual_circuit.py�__init__� s� �#�"zVirtualCircuit.__init__c C s | j S )a� Gets the bandwidth_shape_name of this VirtualCircuit. The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see :func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`. Example: `10 Gbps` :return: The bandwidth_shape_name of this VirtualCircuit. :rtype: str �rD �rc re re rf r% � s z#VirtualCircuit.bandwidth_shape_namec C s || _ dS )a� Sets the bandwidth_shape_name of this VirtualCircuit. The provisioned data rate of the connection. To get a list of the available bandwidth levels (that is, shapes), see :func:`list_fast_connect_provider_virtual_circuit_bandwidth_shapes`. Example: `10 Gbps` :param bandwidth_shape_name: The bandwidth_shape_name of this VirtualCircuit. :type: str Nrh )rc r% re re rf r% � s c C s | j S )a� Gets the bgp_management of this VirtualCircuit. Deprecated. Instead use the information in :class:`FastConnectProviderService`. Allowed values for this property are: "CUSTOMER_MANAGED", "PROVIDER_MANAGED", "ORACLE_MANAGED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The bgp_management of this VirtualCircuit. :rtype: str )rE ri re re rf r&