📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
load_balancer
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/load_balancer/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: backend_details.cpython-39.pyc
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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �BackendDetailszG The load balancing configuration details of a backend server. c K sZ dddddddd�| _ ddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _dS ) au Initializes a new BackendDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param ip_address: The value to assign to the ip_address property of this BackendDetails. :type ip_address: str :param port: The value to assign to the port property of this BackendDetails. :type port: int :param weight: The value to assign to the weight property of this BackendDetails. :type weight: int :param max_connections: The value to assign to the max_connections property of this BackendDetails. :type max_connections: int :param backup: The value to assign to the backup property of this BackendDetails. :type backup: bool :param drain: The value to assign to the drain property of this BackendDetails. :type drain: bool :param offline: The value to assign to the offline property of this BackendDetails. :type offline: bool �str�int�bool)� ip_address�port�weight�max_connections�backup�drain�offlineZ ipAddressr r ZmaxConnectionsr r r N) Z swagger_typesZ attribute_map�_ip_address�_port�_weight�_max_connections�_backup�_drain�_offline)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/load_balancer/models/backend_details.py�__init__ s. #�� zBackendDetails.__init__c C s | j S )z� **[Required]** Gets the ip_address of this BackendDetails. The IP address of the backend server. Example: `10.0.0.3` :return: The ip_address of this BackendDetails. :rtype: str �r �r r r r r P s zBackendDetails.ip_addressc C s || _ dS )z� Sets the ip_address of this BackendDetails. The IP address of the backend server. Example: `10.0.0.3` :param ip_address: The ip_address of this BackendDetails. :type: str Nr )r r r r r r ^ s c C s | j S )z� **[Required]** Gets the port of this BackendDetails. The communication port for the backend server. Example: `8080` :return: The port of this BackendDetails. :rtype: int �r r r r r r l s zBackendDetails.portc C s || _ dS )z� Sets the port of this BackendDetails. The communication port for the backend server. Example: `8080` :param port: The port of this BackendDetails. :type: int Nr )r r r r r r z s c C s | j S )aj Gets the weight of this BackendDetails. The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see `How Load Balancing Policies Work`__. Example: `3` __ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm :return: The weight of this BackendDetails. :rtype: int �r r r r r r � s zBackendDetails.weightc C s || _ dS )ao Sets the weight of this BackendDetails. The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see `How Load Balancing Policies Work`__. Example: `3` __ https://docs.cloud.oracle.com/Content/Balance/Reference/lbpolicies.htm :param weight: The weight of this BackendDetails. :type: int Nr )r r r r r r � s c C s | j S )a� Gets the max_connections of this BackendDetails. The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300` :return: The max_connections of this BackendDetails. :rtype: int �r r r r r r � s zBackendDetails.max_connectionsc C s || _ dS )a� Sets the max_connections of this BackendDetails. The maximum number of simultaneous connections the load balancer can make to the backend. If this is not set then the maximum number of simultaneous connections the load balancer can make to the backend is unlimited. Example: `300` :param max_connections: The max_connections of this BackendDetails. :type: int Nr! )r r r r r r � s c C s | j S )a Gets the backup of this BackendDetails. Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. **Note:** You cannot add a backend server marked as `backup` to a backend set that uses the IP Hash policy. Example: `false` :return: The backup of this BackendDetails. :rtype: bool �r r r r r r � s zBackendDetails.backupc C s || _ dS )a Sets the backup of this BackendDetails. Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. **Note:** You cannot add a backend server marked as `backup` to a backend set that uses the IP Hash policy. Example: `false` :param backup: The backup of this BackendDetails. :type: bool Nr"