📂 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
›
service_mesh
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/service_mesh/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: mutual_transport_layer_security.pyc
a O��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 ZdZdZdZdZdd� Zedd� �Z e j d d� �Z ed d� �Zej dd� �Zed d� �Zej dd� �Zdd� Z dd� Zdd� ZdS )�MutualTransportLayerSecurityzv Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh. �DISABLED� PERMISSIVE�STRICTc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new MutualTransportLayerSecurity 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 MutualTransportLayerSecurity. :type certificate_id: str :param maximum_validity: The value to assign to the maximum_validity property of this MutualTransportLayerSecurity. :type maximum_validity: int :param mode: The value to assign to the mode property of this MutualTransportLayerSecurity. Allowed values for this property are: "DISABLED", "PERMISSIVE", "STRICT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type mode: str �str�int)�certificate_id�maximum_validity�mode� certificateId�maximumValidityr N)� swagger_types� attribute_map�_certificate_id�_maximum_validity�_mode)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/service_mesh/models/mutual_transport_layer_security.py�__init__ s ��z%MutualTransportLayerSecurity.__init__c C s | j S )a> **[Required]** Gets the certificate_id of this MutualTransportLayerSecurity. The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. :return: The certificate_id of this MutualTransportLayerSecurity. :rtype: str �r �r r r r r @ s z+MutualTransportLayerSecurity.certificate_idc C s || _ dS )a< Sets the certificate_id of this MutualTransportLayerSecurity. The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. :param certificate_id: The certificate_id of this MutualTransportLayerSecurity. :type: str Nr )r r r r r r L s c C s | j S )a? Gets the maximum_validity of this MutualTransportLayerSecurity. The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. :return: The maximum_validity of this MutualTransportLayerSecurity. :rtype: int �r r r r r r X s z-MutualTransportLayerSecurity.maximum_validityc C s || _ dS )aN Sets the maximum_validity of this MutualTransportLayerSecurity. The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. :param maximum_validity: The maximum_validity of this MutualTransportLayerSecurity. :type: int Nr )r r r r r r g s c C s | j S )aN **[Required]** Gets the mode of this MutualTransportLayerSecurity. DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. Allowed values for this property are: "DISABLED", "PERMISSIVE", "STRICT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The mode of this MutualTransportLayerSecurity. :rtype: str )r r r r r r v s z!MutualTransportLayerSecurity.modec C s g d�}t ||�sd}|| _dS )a{ Sets the mode of this MutualTransportLayerSecurity. DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. :param mode: The mode of this MutualTransportLayerSecurity. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s z%MutualTransportLayerSecurity.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z#MutualTransportLayerSecurity.__eq__c C s | |k S r r r# r r r �__ne__� s z#MutualTransportLayerSecurity.__ne__N)�__name__� __module__�__qualname__�__doc__� MODE_DISABLED�MODE_PERMISSIVE�MODE_STRICTr �propertyr �setterr r r! r% r&