📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
network_load_balancer
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/network_load_balancer/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_backend_set_details.cpython-39.pyc
a ���f2 � @ 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� �Zd!d"� Zd#d$� Zd%d&� Zd'S )(�CreateBackendSetDetailsa� The configuration details for creating a backend set in a network load balancer. For more information about backend set configuration, see `Managing Backend Sets`__. **Caution:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. __ https://docs.cloud.oracle.com/Content/Balance/Tasks/managingbackendsets.htm � TWO_TUPLE�THREE_TUPLE� FIVE_TUPLE�IPV4�IPV6c K sd ddddddddd�| _ dddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS )a� Initializes a new CreateBackendSetDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param name: The value to assign to the name property of this CreateBackendSetDetails. :type name: str :param policy: The value to assign to the policy property of this CreateBackendSetDetails. Allowed values for this property are: "TWO_TUPLE", "THREE_TUPLE", "FIVE_TUPLE" :type policy: str :param is_preserve_source: The value to assign to the is_preserve_source property of this CreateBackendSetDetails. :type is_preserve_source: bool :param is_fail_open: The value to assign to the is_fail_open property of this CreateBackendSetDetails. :type is_fail_open: bool :param is_instant_failover_enabled: The value to assign to the is_instant_failover_enabled property of this CreateBackendSetDetails. :type is_instant_failover_enabled: bool :param ip_version: The value to assign to the ip_version property of this CreateBackendSetDetails. Allowed values for this property are: "IPV4", "IPV6" :type ip_version: str :param backends: The value to assign to the backends property of this CreateBackendSetDetails. :type backends: list[oci.network_load_balancer.models.BackendDetails] :param health_checker: The value to assign to the health_checker property of this CreateBackendSetDetails. :type health_checker: oci.network_load_balancer.models.HealthCheckerDetails �str�boolzlist[BackendDetails]ZHealthCheckerDetails)�name�policy�is_preserve_source�is_fail_open�is_instant_failover_enabled� ip_version�backends�health_checkerr r ZisPreserveSourceZ isFailOpenZisInstantFailoverEnabledZ ipVersionr Z healthCheckerN) Z swagger_typesZ attribute_map�_name�_policy�_is_preserve_source� _is_fail_open�_is_instant_failover_enabled�_ip_version� _backends�_health_checker)�self�kwargs� r �_/usr/lib/python3.9/site-packages/oci/network_load_balancer/models/create_backend_set_details.py�__init__, s4 )��z CreateBackendSetDetails.__init__c C s | j S )a� **[Required]** Gets the name of this CreateBackendSetDetails. A user-friendly name for the backend set that must be unique and cannot be changed. Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information. Example: `example_backend_set` :return: The name of this CreateBackendSetDetails. :rtype: str �r �r r r r! r s s zCreateBackendSetDetails.namec C s || _ dS )a� Sets the name of this CreateBackendSetDetails. A user-friendly name for the backend set that must be unique and cannot be changed. Valid backend set names include only alphanumeric characters, dashes, and underscores. Backend set names cannot contain spaces. Avoid entering confidential information. Example: `example_backend_set` :param name: The name of this CreateBackendSetDetails. :type: str Nr# )r r r r r! r � s c C s | j S )aZ **[Required]** Gets the policy of this CreateBackendSetDetails. The network load balancer policy for the backend set. Example: `FIVE_TUPLE`` Allowed values for this property are: "TWO_TUPLE", "THREE_TUPLE", "FIVE_TUPLE" :return: The policy of this CreateBackendSetDetails. :rtype: str )r r$ r r r! r � s zCreateBackendSetDetails.policyc C s* g d�}t ||�s td|� ���|| _dS )z� Sets the policy of this CreateBackendSetDetails. The network load balancer policy for the backend set. Example: `FIVE_TUPLE`` :param policy: The policy of this CreateBackendSetDetails. :type: str )r r r z3Invalid value for `policy`, must be None or one of N)r � ValueErrorr )r r �allowed_valuesr r r! r � s �c C s | j S )a Gets the is_preserve_source of this CreateBackendSetDetails. If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default. :return: The is_preserve_source of this CreateBackendSetDetails. :rtype: bool �r r$ r r r! r � s z*CreateBackendSetDetails.is_preserve_sourcec C s || _ dS )a' Sets the is_preserve_source of this CreateBackendSetDetails. If this parameter is enabled, then the network load balancer preserves the source IP of the packet when it is forwarded to backends. Backends see the original source IP. If the isPreserveSourceDestination parameter is enabled for the network load balancer resource, then this parameter cannot be disabled. The value is true by default. :param is_preserve_source: The is_preserve_source of this CreateBackendSetDetails. :type: bool Nr'