📂 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
›
apm_synthetics
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/apm_synthetics/models/__pycache__
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: scripted_rest_monitor_configuration.cpython-39.opt-1.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�MonitorConfiguration� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zdd� Zdd� Z dd� ZdS )� ScriptedRestMonitorConfigurationzC Configuration details for the SCRIPTED_REST monitor type. �NONE�RESOURCE_PRINCIPALc K sV ddddddd�| _ ddd d ddd�| _d | _d | _d | _d | _d | _d | _d| _d S )a� Initializes a new ScriptedRestMonitorConfiguration object with values from keyword arguments. The default value of the :py:attr:`~oci.apm_synthetics.models.ScriptedRestMonitorConfiguration.config_type` attribute of this class is ``SCRIPTED_REST_CONFIG`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param config_type: The value to assign to the config_type property of this ScriptedRestMonitorConfiguration. Allowed values for this property are: "BROWSER_CONFIG", "SCRIPTED_BROWSER_CONFIG", "REST_CONFIG", "SCRIPTED_REST_CONFIG", "NETWORK_CONFIG", "DNS_SERVER_CONFIG", "DNS_TRACE_CONFIG", "DNSSEC_CONFIG", "FTP_CONFIG", "SQL_CONFIG", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type config_type: str :param is_failure_retried: The value to assign to the is_failure_retried property of this ScriptedRestMonitorConfiguration. :type is_failure_retried: bool :param dns_configuration: The value to assign to the dns_configuration property of this ScriptedRestMonitorConfiguration. :type dns_configuration: oci.apm_synthetics.models.DnsConfiguration :param req_authentication_scheme: The value to assign to the req_authentication_scheme property of this ScriptedRestMonitorConfiguration. Allowed values for this property are: "NONE", "RESOURCE_PRINCIPAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type req_authentication_scheme: str :param verify_response_codes: The value to assign to the verify_response_codes property of this ScriptedRestMonitorConfiguration. :type verify_response_codes: list[str] :param network_configuration: The value to assign to the network_configuration property of this ScriptedRestMonitorConfiguration. :type network_configuration: oci.apm_synthetics.models.NetworkConfiguration �str�boolZDnsConfigurationz list[str]ZNetworkConfiguration)Zconfig_typeZis_failure_retriedZdns_configuration�req_authentication_scheme�verify_response_codes�network_configurationZ configTypeZisFailureRetriedZdnsConfigurationZreqAuthenticationSchemeZverifyResponseCodesZnetworkConfigurationNZSCRIPTED_REST_CONFIG)Z swagger_typesZ attribute_mapZ_config_typeZ_is_failure_retriedZ_dns_configuration�_req_authentication_scheme�_verify_response_codes�_network_configuration)�self�kwargs� r �a/usr/lib/python3.9/site-packages/oci/apm_synthetics/models/scripted_rest_monitor_configuration.py�__init__ s* $� � z)ScriptedRestMonitorConfiguration.__init__c C s | j S )a� Gets the req_authentication_scheme of this ScriptedRestMonitorConfiguration. Request HTTP authentication scheme. Allowed values for this property are: "NONE", "RESOURCE_PRINCIPAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The req_authentication_scheme of this ScriptedRestMonitorConfiguration. :rtype: str )r �r r r r r W s z:ScriptedRestMonitorConfiguration.req_authentication_schemec C s ddg}t ||�sd}|| _dS )a Sets the req_authentication_scheme of this ScriptedRestMonitorConfiguration. Request HTTP authentication scheme. :param req_authentication_scheme: The req_authentication_scheme of this ScriptedRestMonitorConfiguration. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r f s c C s | j S )a% Gets the verify_response_codes of this ScriptedRestMonitorConfiguration. Expected HTTP response codes. For status code range, set values such as 2xx, 3xx. :return: The verify_response_codes of this ScriptedRestMonitorConfiguration. :rtype: list[str] �r r r r r r u s z6ScriptedRestMonitorConfiguration.verify_response_codesc C s || _ dS )a9 Sets the verify_response_codes of this ScriptedRestMonitorConfiguration. Expected HTTP response codes. For status code range, set values such as 2xx, 3xx. :param verify_response_codes: The verify_response_codes of this ScriptedRestMonitorConfiguration. :type: list[str] Nr )r r r r r r � s c C s | j S )z� Gets the network_configuration of this ScriptedRestMonitorConfiguration. :return: The network_configuration of this ScriptedRestMonitorConfiguration. :rtype: oci.apm_synthetics.models.NetworkConfiguration �r r r r r r � s z6ScriptedRestMonitorConfiguration.network_configurationc C s || _ dS )a Sets the network_configuration of this ScriptedRestMonitorConfiguration. :param network_configuration: The network_configuration of this ScriptedRestMonitorConfiguration. :type: oci.apm_synthetics.models.NetworkConfiguration Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z)ScriptedRestMonitorConfiguration.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z'ScriptedRestMonitorConfiguration.__eq__c C s | |k S r r r r r r �__ne__� s z'ScriptedRestMonitorConfiguration.__ne__N)�__name__� __module__�__qualname__�__doc__ZREQ_AUTHENTICATION_SCHEME_NONEZ,REQ_AUTHENTICATION_SCHEME_RESOURCE_PRINCIPALr �propertyr �setterr r r r r! r r r r r s&