📂 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: update_load_balancer_details.cpython-39.pyc
a ���f�1 � @ 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� �Zdd� Z dd� Zdd� ZdS )�UpdateLoadBalancerDetailsz� Configuration details to update a load balancer. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. c K sP ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _dS ) a Initializes a new UpdateLoadBalancerDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this UpdateLoadBalancerDetails. :type display_name: str :param is_delete_protection_enabled: The value to assign to the is_delete_protection_enabled property of this UpdateLoadBalancerDetails. :type is_delete_protection_enabled: bool :param is_request_id_enabled: The value to assign to the is_request_id_enabled property of this UpdateLoadBalancerDetails. :type is_request_id_enabled: bool :param request_id_header: The value to assign to the request_id_header property of this UpdateLoadBalancerDetails. :type request_id_header: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateLoadBalancerDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateLoadBalancerDetails. :type defined_tags: dict(str, dict(str, object)) �str�boolzdict(str, str)zdict(str, dict(str, object)))�display_name�is_delete_protection_enabled�is_request_id_enabled�request_id_header� freeform_tags�defined_tagsZdisplayNameZisDeleteProtectionEnabledZisRequestIdEnabledZrequestIdHeaderZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map� _display_name�_is_delete_protection_enabled�_is_request_id_enabled�_request_id_header�_freeform_tags� _defined_tags)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/load_balancer/models/update_load_balancer_details.py�__init__ s( � � z"UpdateLoadBalancerDetails.__init__c C s | j S )as Gets the display_name of this UpdateLoadBalancerDetails. The user-friendly display name for the load balancer. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `example_load_balancer` :return: The display_name of this UpdateLoadBalancerDetails. :rtype: str �r �r r r r r K s z&UpdateLoadBalancerDetails.display_namec C s || _ dS )a~ Sets the display_name of this UpdateLoadBalancerDetails. The user-friendly display name for the load balancer. It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: `example_load_balancer` :param display_name: The display_name of this UpdateLoadBalancerDetails. :type: str Nr )r r r r r r Z s c C s | j S )a. Gets the is_delete_protection_enabled of this UpdateLoadBalancerDetails. Whether or not the load balancer has delete protection enabled. If "true", the loadbalancer will be protected against deletion if configured to accept traffic. If "false", the loadbalancer will not be protected against deletion. If null or unset, the value for delete protection will not be changed. Example: `true` :return: The is_delete_protection_enabled of this UpdateLoadBalancerDetails. :rtype: bool �r r r r r r i s z6UpdateLoadBalancerDetails.is_delete_protection_enabledc C s || _ dS )aI Sets the is_delete_protection_enabled of this UpdateLoadBalancerDetails. Whether or not the load balancer has delete protection enabled. If "true", the loadbalancer will be protected against deletion if configured to accept traffic. If "false", the loadbalancer will not be protected against deletion. If null or unset, the value for delete protection will not be changed. Example: `true` :param is_delete_protection_enabled: The is_delete_protection_enabled of this UpdateLoadBalancerDetails. :type: bool Nr )r r r r r r } s c C s | j S )a! Gets the is_request_id_enabled of this UpdateLoadBalancerDetails. Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. New load balancers have the Request Id feature enabled unless isRequestIdEnabled is set to False. Example: `true` :return: The is_request_id_enabled of this UpdateLoadBalancerDetails. :rtype: bool �r r r r r r � s z/UpdateLoadBalancerDetails.is_request_id_enabledc C s || _ dS )a5 Sets the is_request_id_enabled of this UpdateLoadBalancerDetails. Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. New load balancers have the Request Id feature enabled unless isRequestIdEnabled is set to False. Example: `true` :param is_request_id_enabled: The is_request_id_enabled of this UpdateLoadBalancerDetails. :type: bool Nr )r r r r r r � s c C s | j S )ay Gets the request_id_header of this UpdateLoadBalancerDetails. If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. If isRequestIdEnabled is false then this field is ignored. **Notes:** * Unless the header name is "" it must start with "X-" prefix. * Setting the header name to "" will set it to the default: X-Request-Id. :return: The request_id_header of this UpdateLoadBalancerDetails. :rtype: str �r r r r r r � s z+UpdateLoadBalancerDetails.request_id_headerc C s || _ dS )a� Sets the request_id_header of this UpdateLoadBalancerDetails. If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. If isRequestIdEnabled is false then this field is ignored. **Notes:** * Unless the header name is "" it must start with "X-" prefix. * Setting the header name to "" will set it to the default: X-Request-Id. :param request_id_header: The request_id_header of this UpdateLoadBalancerDetails. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this UpdateLoadBalancerDetails. 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/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this UpdateLoadBalancerDetails. :rtype: dict(str, str) �r r r r r r � s z'UpdateLoadBalancerDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this UpdateLoadBalancerDetails. 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/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this UpdateLoadBalancerDetails. :type: dict(str, str) Nr )r r r r r r s c C s | j S )a� Gets the defined_tags of this UpdateLoadBalancerDetails. 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/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this UpdateLoadBalancerDetails. :rtype: dict(str, dict(str, object)) �r r r r r r s z&UpdateLoadBalancerDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this UpdateLoadBalancerDetails. 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/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this UpdateLoadBalancerDetails. :type: dict(str, dict(str, object)) Nr )r r r r r r & s c C s t | �S �N)r r r r r �__repr__7 s z"UpdateLoadBalancerDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__: s z UpdateLoadBalancerDetails.__eq__c C s | |k S r! r r$ r r r �__ne__@ s z UpdateLoadBalancerDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"