📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
waas
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/waas/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: policy_config.pyc
a O��fj � @ 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 d Zd ZdZ dd � Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zd8d9� Zd:d;� Z d<d=� Z!d>S )?�PolicyConfigz8 The configuration details for the WAAS policy. �TLS_V1�TLS_V1_1�TLS_V1_2�TLS_V1_3�X_FORWARDED_FOR�X_CLIENT_IP� X_REAL_IP� CLIENT_IP�TRUE_CLIENT_IP�DEFAULTc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new PolicyConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param certificate_id: The value to assign to the certificate_id property of this PolicyConfig. :type certificate_id: str :param is_https_enabled: The value to assign to the is_https_enabled property of this PolicyConfig. :type is_https_enabled: bool :param is_https_forced: The value to assign to the is_https_forced property of this PolicyConfig. :type is_https_forced: bool :param tls_protocols: The value to assign to the tls_protocols property of this PolicyConfig. Allowed values for items in this list are: "TLS_V1", "TLS_V1_1", "TLS_V1_2", "TLS_V1_3", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type tls_protocols: list[str] :param is_origin_compression_enabled: The value to assign to the is_origin_compression_enabled property of this PolicyConfig. :type is_origin_compression_enabled: bool :param is_behind_cdn: The value to assign to the is_behind_cdn property of this PolicyConfig. :type is_behind_cdn: bool :param client_address_header: The value to assign to the client_address_header property of this PolicyConfig. Allowed values for this property are: "X_FORWARDED_FOR", "X_CLIENT_IP", "X_REAL_IP", "CLIENT_IP", "TRUE_CLIENT_IP", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type client_address_header: str :param is_cache_control_respected: The value to assign to the is_cache_control_respected property of this PolicyConfig. :type is_cache_control_respected: bool :param is_response_buffering_enabled: The value to assign to the is_response_buffering_enabled property of this PolicyConfig. :type is_response_buffering_enabled: bool :param cipher_group: The value to assign to the cipher_group property of this PolicyConfig. Allowed values for this property are: "DEFAULT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type cipher_group: str :param load_balancing_method: The value to assign to the load_balancing_method property of this PolicyConfig. :type load_balancing_method: oci.waas.models.LoadBalancingMethod :param websocket_path_prefixes: The value to assign to the websocket_path_prefixes property of this PolicyConfig. :type websocket_path_prefixes: list[str] :param is_sni_enabled: The value to assign to the is_sni_enabled property of this PolicyConfig. :type is_sni_enabled: bool :param health_checks: The value to assign to the health_checks property of this PolicyConfig. :type health_checks: oci.waas.models.HealthCheck �str�boolz list[str]�LoadBalancingMethod�HealthCheck)�certificate_id�is_https_enabled�is_https_forced� tls_protocols�is_origin_compression_enabled� is_behind_cdn�client_address_header�is_cache_control_respected�is_response_buffering_enabled�cipher_group�load_balancing_method�websocket_path_prefixes�is_sni_enabled� health_checks� certificateId�isHttpsEnabled� isHttpsForced�tlsProtocols�isOriginCompressionEnabled�isBehindCdn�clientAddressHeader�isCacheControlRespected�isResponseBufferingEnabled�cipherGroup�loadBalancingMethod�websocketPathPrefixes�isSniEnabled�healthChecksN)� swagger_types� attribute_map�_certificate_id�_is_https_enabled�_is_https_forced�_tls_protocols�_is_origin_compression_enabled�_is_behind_cdn�_client_address_header�_is_cache_control_respected�_is_response_buffering_enabled� _cipher_group�_load_balancing_method�_websocket_path_prefixes�_is_sni_enabled�_health_checks)�self�kwargs� rC ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/waas/models/policy_config.py�__init__8 sX E��zPolicyConfig.__init__c C s | j S )z� Gets the certificate_id of this PolicyConfig. The OCID of the SSL certificate to use if HTTPS is supported. :return: The certificate_id of this PolicyConfig. :rtype: str �r3 �rA rC rC rD r � s zPolicyConfig.certificate_idc C s || _ dS )z� Sets the certificate_id of this PolicyConfig. The OCID of the SSL certificate to use if HTTPS is supported. :param certificate_id: The certificate_id of this PolicyConfig. :type: str NrF )rA r rC rC rD r � s c C s | j S )a Gets the is_https_enabled of this PolicyConfig. Enable or disable HTTPS support. If true, a `certificateId` is required. If unspecified, defaults to `false`. :return: The is_https_enabled of this PolicyConfig. :rtype: bool �r4 rG rC rC rD r � s zPolicyConfig.is_https_enabledc C s || _ dS )a Sets the is_https_enabled of this PolicyConfig. Enable or disable HTTPS support. If true, a `certificateId` is required. If unspecified, defaults to `false`. :param is_https_enabled: The is_https_enabled of this PolicyConfig. :type: bool NrH )rA r rC rC rD r � s c C s | j S )z� Gets the is_https_forced of this PolicyConfig. Force HTTP to HTTPS redirection. If unspecified, defaults to `false`. :return: The is_https_forced of this PolicyConfig. :rtype: bool �r5 rG rC rC rD r � s zPolicyConfig.is_https_forcedc C s || _ dS )z� Sets the is_https_forced of this PolicyConfig. Force HTTP to HTTPS redirection. If unspecified, defaults to `false`. :param is_https_forced: The is_https_forced of this PolicyConfig. :type: bool NrI )rA r rC rC rD r � s c C s | j S )a% Gets the tls_protocols of this PolicyConfig. A list of allowed TLS protocols. Only applicable when HTTPS support is enabled. The TLS protocol is negotiated while the request is connecting and the most recent protocol supported by both the edge node and client browser will be selected. If no such version exists, the connection will be aborted. - **TLS_V1:** corresponds to TLS 1.0 specification. - **TLS_V1_1:** corresponds to TLS 1.1 specification. - **TLS_V1_2:** corresponds to TLS 1.2 specification. - **TLS_V1_3:** corresponds to TLS 1.3 specification. Enabled TLS protocols must go in a row. For example if `TLS_v1_1` and `TLS_V1_3` are enabled, `TLS_V1_2` must be enabled too. Allowed values for items in this list are: "TLS_V1", "TLS_V1_1", "TLS_V1_2", "TLS_V1_3", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The tls_protocols of this PolicyConfig. :rtype: list[str] �r6 rG rC rC rD r � s zPolicyConfig.tls_protocolsc s0 g d�� |r&� fdd�|D �|dd�<