📂 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: monitor.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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejd d� �Zed!d"� �Zejd#d"� �Zed$d%� �Zejd&d%� �Zed'd(� �Zejd)d(� �Zed*d+� �Zejd,d+� �Zed-d.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Z e jd5d4� �Z ed6d7� �Z!e!jd8d7� �Z!ed9d:� �Z"e"jd;d:� �Z"ed<d=� �Z#e#jd>d=� �Z#ed?d@� �Z$e$jdAd@� �Z$edBdC� �Z%e%jdDdC� �Z%edEdF� �Z&e&jdGdF� �Z&edHdI� �Z'e'jdJdI� �Z'edKdL� �Z(e(jdMdL� �Z(edNdO� �Z)e)jdPdO� �Z)edQdR� �Z*e*jdSdR� �Z*edTdU� �Z+e+jdVdU� �Z+edWdX� �Z,e,jdYdX� �Z,edZd[� �Z-e-jd\d[� �Z-ed]d^� �Z.e.jd_d^� �Z.d`da� Z/dbdc� Z0ddde� Z1dfS )g�Monitorz* The information about a monitor. �SCRIPTED_BROWSER�BROWSER� SCRIPTED_REST�REST�NETWORK�DNS�FTP�SQL�ENABLED�DISABLED�INVALID�ALL�ROUND_ROBIN�BATCHED_ROUND_ROBINc K s ddddddddddddddddd d d dddddddd�| _ d ddddddddddddddddddd d!d"d#d$d%d&d�| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _ d'| _ d'| _d'| _d'| _ d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'| _d'S )(aY Initializes a new Monitor object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this Monitor. :type id: str :param display_name: The value to assign to the display_name property of this Monitor. :type display_name: str :param monitor_type: The value to assign to the monitor_type property of this Monitor. Allowed values for this property are: "SCRIPTED_BROWSER", "BROWSER", "SCRIPTED_REST", "REST", "NETWORK", "DNS", "FTP", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type monitor_type: str :param vantage_points: The value to assign to the vantage_points property of this Monitor. :type vantage_points: list[oci.apm_synthetics.models.VantagePointInfo] :param vantage_point_count: The value to assign to the vantage_point_count property of this Monitor. :type vantage_point_count: int :param script_id: The value to assign to the script_id property of this Monitor. :type script_id: str :param script_name: The value to assign to the script_name property of this Monitor. :type script_name: str :param status: The value to assign to the status property of this Monitor. Allowed values for this property are: "ENABLED", "DISABLED", "INVALID", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param repeat_interval_in_seconds: The value to assign to the repeat_interval_in_seconds property of this Monitor. :type repeat_interval_in_seconds: int :param is_run_once: The value to assign to the is_run_once property of this Monitor. :type is_run_once: bool :param timeout_in_seconds: The value to assign to the timeout_in_seconds property of this Monitor. :type timeout_in_seconds: int :param target: The value to assign to the target property of this Monitor. :type target: str :param script_parameters: The value to assign to the script_parameters property of this Monitor. :type script_parameters: list[oci.apm_synthetics.models.MonitorScriptParameterInfo] :param configuration: The value to assign to the configuration property of this Monitor. :type configuration: oci.apm_synthetics.models.MonitorConfiguration :param availability_configuration: The value to assign to the availability_configuration property of this Monitor. :type availability_configuration: oci.apm_synthetics.models.AvailabilityConfiguration :param maintenance_window_schedule: The value to assign to the maintenance_window_schedule property of this Monitor. :type maintenance_window_schedule: oci.apm_synthetics.models.MaintenanceWindowSchedule :param time_created: The value to assign to the time_created property of this Monitor. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Monitor. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this Monitor. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Monitor. :type defined_tags: dict(str, dict(str, object)) :param is_run_now: The value to assign to the is_run_now property of this Monitor. :type is_run_now: bool :param scheduling_policy: The value to assign to the scheduling_policy property of this Monitor. Allowed values for this property are: "ALL", "ROUND_ROBIN", "BATCHED_ROUND_ROBIN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type scheduling_policy: str :param batch_interval_in_seconds: The value to assign to the batch_interval_in_seconds property of this Monitor. :type batch_interval_in_seconds: int :param is_i_pv6: The value to assign to the is_i_pv6 property of this Monitor. :type is_i_pv6: bool :param created_by: The value to assign to the created_by property of this Monitor. :type created_by: str :param last_updated_by: The value to assign to the last_updated_by property of this Monitor. :type last_updated_by: str �strzlist[VantagePointInfo]�int�boolz list[MonitorScriptParameterInfo]ZMonitorConfigurationZAvailabilityConfigurationZMaintenanceWindowScheduleZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�monitor_type�vantage_points�vantage_point_count� script_id�script_name�status�repeat_interval_in_seconds�is_run_once�timeout_in_seconds�target�script_parameters� configuration�availability_configuration�maintenance_window_schedule�time_created�time_updated� freeform_tags�defined_tags� is_run_now�scheduling_policy�batch_interval_in_seconds�is_i_pv6� created_by�last_updated_byr ZdisplayNameZmonitorTypeZ vantagePointsZvantagePointCountZscriptIdZ scriptNamer ZrepeatIntervalInSecondsZ isRunOnceZtimeoutInSecondsr# ZscriptParametersr% ZavailabilityConfigurationZmaintenanceWindowScheduleZtimeCreatedZtimeUpdatedZfreeformTagsZdefinedTagsZisRunNowZschedulingPolicyZbatchIntervalInSecondsZisIPv6Z createdByZ lastUpdatedByN)Z swagger_typesZ attribute_map�_id� _display_name� _monitor_type�_vantage_points�_vantage_point_count� _script_id�_script_name�_status�_repeat_interval_in_seconds�_is_run_once�_timeout_in_seconds�_target�_script_parameters�_configuration�_availability_configuration�_maintenance_window_schedule� _time_created� _time_updated�_freeform_tags� _defined_tags�_is_run_now�_scheduling_policy�_batch_interval_in_seconds� _is_i_pv6�_created_by�_last_updated_by)�self�kwargs� rN �E/usr/lib/python3.9/site-packages/oci/apm_synthetics/models/monitor.py�__init__J s� u��zMonitor.__init__c C s | j S )z� **[Required]** Gets the id of this Monitor. The `OCID`__ of the monitor. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this Monitor. :rtype: str �r2 �rL rN rN rO r s z Monitor.idc C s || _ dS )z� Sets the id of this Monitor. The `OCID`__ of the monitor. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this Monitor. :type: str NrQ )rL r rN rN rO r ! s c C s | j S )z� **[Required]** Gets the display_name of this Monitor. Unique name that can be edited. The name should not contain any confidential information. :return: The display_name of this Monitor. :rtype: str �r3 rR rN rN rO r / s zMonitor.display_namec C s || _ dS )z� Sets the display_name of this Monitor. Unique name that can be edited. The name should not contain any confidential information. :param display_name: The display_name of this Monitor. :type: str NrS )rL r rN rN rO r ; s c C s | j S )a� **[Required]** Gets the monitor_type of this Monitor. Type of monitor. Allowed values for this property are: "SCRIPTED_BROWSER", "BROWSER", "SCRIPTED_REST", "REST", "NETWORK", "DNS", "FTP", "SQL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The monitor_type of this Monitor. :rtype: str )r4 rR rN rN rO r G s zMonitor.monitor_typec C s g d�}t ||�sd}|| _dS )z� Sets the monitor_type of this Monitor. Type of monitor. :param monitor_type: The monitor_type of this Monitor. :type: str )r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r4 )rL r �allowed_valuesrN rN rO r V s c C s | j S )a **[Required]** Gets the vantage_points of this Monitor. List of public, dedicated and onPremise vantage points where the monitor is running. :return: The vantage_points of this Monitor. :rtype: list[oci.apm_synthetics.models.VantagePointInfo] �r5 rR rN rN rO r e s zMonitor.vantage_pointsc C s || _ dS )a Sets the vantage_points of this Monitor. List of public, dedicated and onPremise vantage points where the monitor is running. :param vantage_points: The vantage_points of this Monitor. :type: list[oci.apm_synthetics.models.VantagePointInfo] NrV )rL r rN rN rO r q s c C s | j S )z� **[Required]** Gets the vantage_point_count of this Monitor. Number of vantage points where monitor is running. :return: The vantage_point_count of this Monitor. :rtype: int �r6 rR rN rN rO r } s zMonitor.vantage_point_countc C s || _ dS )z� Sets the vantage_point_count of this Monitor. Number of vantage points where monitor is running. :param vantage_point_count: The vantage_point_count of this Monitor. :type: int NrW )rL r rN rN rO r � s c C s | j S )a� **[Required]** Gets the script_id of this Monitor. The `OCID`__ of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The script_id of this Monitor. :rtype: str �r7 rR rN rN rO r � s zMonitor.script_idc C s || _ dS )a� Sets the script_id of this Monitor. The `OCID`__ of the script. scriptId is mandatory for creation of SCRIPTED_BROWSER and SCRIPTED_REST monitor types. For other monitor types, it should be set to null. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param script_id: The script_id of this Monitor. :type: str NrX )rL r rN rN rO r � s c C s | j S )z� **[Required]** Gets the script_name of this Monitor. Name of the script. :return: The script_name of this Monitor. :rtype: str �r8 rR rN rN rO r � s zMonitor.script_namec C s || _ dS )z� Sets the script_name of this Monitor. Name of the script. :param script_name: The script_name of this Monitor. :type: str NrY )rL r rN rN rO r � s c C s | j S )ar **[Required]** Gets the status of this Monitor. Enables or disables the monitor. Allowed values for this property are: "ENABLED", "DISABLED", "INVALID", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this Monitor. :rtype: str )r9 rR rN rN rO r � s zMonitor.statusc C s g d�}t ||�sd}|| _dS )z� Sets the status of this Monitor. Enables or disables the monitor. :param status: The status of this Monitor. :type: str )r r r rT N)r r9 )rL r rU rN rN rO r � s c C s | j S )a� **[Required]** Gets the repeat_interval_in_seconds of this Monitor. Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. :return: The repeat_interval_in_seconds of this Monitor. :rtype: int �r: rR rN rN rO r � s z"Monitor.repeat_interval_in_secondsc C s || _ dS )a� Sets the repeat_interval_in_seconds of this Monitor. Interval in seconds after the start time when the job should be repeated. Minimum repeatIntervalInSeconds should be 300 seconds for Scripted REST, Scripted Browser and Browser monitors, and 60 seconds for REST monitor. :param repeat_interval_in_seconds: The repeat_interval_in_seconds of this Monitor. :type: int NrZ )rL r rN rN rO r � s c C s | j S )z� **[Required]** Gets the is_run_once of this Monitor. If runOnce is enabled, then the monitor will run once. :return: The is_run_once of this Monitor. :rtype: bool �r; rR rN rN rO r! s zMonitor.is_run_oncec C s || _ dS )z� Sets the is_run_once of this Monitor. If runOnce is enabled, then the monitor will run once. :param is_run_once: The is_run_once of this Monitor. :type: bool Nr[ )rL r! rN rN rO r! s c C s | j S )a **[Required]** Gets the timeout_in_seconds of this Monitor. Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that. :return: The timeout_in_seconds of this Monitor. :rtype: int �r<