Server IP : 103.119.228.120 / Your IP : 3.145.61.199 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/mysqlsh/lib/python3.9/site-packages/oci/apm_synthetics/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class MonitorSummary(object): """ Information about the monitor. """ #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "SCRIPTED_BROWSER" MONITOR_TYPE_SCRIPTED_BROWSER = "SCRIPTED_BROWSER" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "BROWSER" MONITOR_TYPE_BROWSER = "BROWSER" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "SCRIPTED_REST" MONITOR_TYPE_SCRIPTED_REST = "SCRIPTED_REST" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "REST" MONITOR_TYPE_REST = "REST" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "NETWORK" MONITOR_TYPE_NETWORK = "NETWORK" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "DNS" MONITOR_TYPE_DNS = "DNS" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "FTP" MONITOR_TYPE_FTP = "FTP" #: A constant which can be used with the monitor_type property of a MonitorSummary. #: This constant has a value of "SQL" MONITOR_TYPE_SQL = "SQL" #: A constant which can be used with the status property of a MonitorSummary. #: This constant has a value of "ENABLED" STATUS_ENABLED = "ENABLED" #: A constant which can be used with the status property of a MonitorSummary. #: This constant has a value of "DISABLED" STATUS_DISABLED = "DISABLED" #: A constant which can be used with the status property of a MonitorSummary. #: This constant has a value of "INVALID" STATUS_INVALID = "INVALID" #: A constant which can be used with the scheduling_policy property of a MonitorSummary. #: This constant has a value of "ALL" SCHEDULING_POLICY_ALL = "ALL" #: A constant which can be used with the scheduling_policy property of a MonitorSummary. #: This constant has a value of "ROUND_ROBIN" SCHEDULING_POLICY_ROUND_ROBIN = "ROUND_ROBIN" #: A constant which can be used with the scheduling_policy property of a MonitorSummary. #: This constant has a value of "BATCHED_ROUND_ROBIN" SCHEDULING_POLICY_BATCHED_ROUND_ROBIN = "BATCHED_ROUND_ROBIN" def __init__(self, **kwargs): """ Initializes a new MonitorSummary 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 MonitorSummary. :type id: str :param display_name: The value to assign to the display_name property of this MonitorSummary. :type display_name: str :param monitor_type: The value to assign to the monitor_type property of this MonitorSummary. 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 MonitorSummary. :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 MonitorSummary. :type vantage_point_count: int :param script_id: The value to assign to the script_id property of this MonitorSummary. :type script_id: str :param script_name: The value to assign to the script_name property of this MonitorSummary. :type script_name: str :param status: The value to assign to the status property of this MonitorSummary. 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 MonitorSummary. :type repeat_interval_in_seconds: int :param is_run_once: The value to assign to the is_run_once property of this MonitorSummary. :type is_run_once: bool :param timeout_in_seconds: The value to assign to the timeout_in_seconds property of this MonitorSummary. :type timeout_in_seconds: int :param target: The value to assign to the target property of this MonitorSummary. :type target: str :param configuration: The value to assign to the configuration property of this MonitorSummary. :type configuration: oci.apm_synthetics.models.MonitorConfiguration :param maintenance_window_schedule: The value to assign to the maintenance_window_schedule property of this MonitorSummary. :type maintenance_window_schedule: oci.apm_synthetics.models.MaintenanceWindowSchedule :param time_created: The value to assign to the time_created property of this MonitorSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this MonitorSummary. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this MonitorSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this MonitorSummary. :type defined_tags: dict(str, dict(str, object)) :param is_run_now: The value to assign to the is_run_now property of this MonitorSummary. :type is_run_now: bool :param scheduling_policy: The value to assign to the scheduling_policy property of this MonitorSummary. 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 MonitorSummary. :type batch_interval_in_seconds: int :param is_i_pv6: The value to assign to the is_i_pv6 property of this MonitorSummary. :type is_i_pv6: bool :param created_by: The value to assign to the created_by property of this MonitorSummary. :type created_by: str :param last_updated_by: The value to assign to the last_updated_by property of this MonitorSummary. :type last_updated_by: str """ self.swagger_types = { 'id': 'str', 'display_name': 'str', 'monitor_type': 'str', 'vantage_points': 'list[VantagePointInfo]', 'vantage_point_count': 'int', 'script_id': 'str', 'script_name': 'str', 'status': 'str', 'repeat_interval_in_seconds': 'int', 'is_run_once': 'bool', 'timeout_in_seconds': 'int', 'target': 'str', 'configuration': 'MonitorConfiguration', 'maintenance_window_schedule': 'MaintenanceWindowSchedule', 'time_created': 'datetime', 'time_updated': 'datetime', 'freeform_tags': 'dict(str, str)', 'defined_tags': 'dict(str, dict(str, object))', 'is_run_now': 'bool', 'scheduling_policy': 'str', 'batch_interval_in_seconds': 'int', 'is_i_pv6': 'bool', 'created_by': 'str', 'last_updated_by': 'str' } self.attribute_map = { 'id': 'id', 'display_name': 'displayName', 'monitor_type': 'monitorType', 'vantage_points': 'vantagePoints', 'vantage_point_count': 'vantagePointCount', 'script_id': 'scriptId', 'script_name': 'scriptName', 'status': 'status', 'repeat_interval_in_seconds': 'repeatIntervalInSeconds', 'is_run_once': 'isRunOnce', 'timeout_in_seconds': 'timeoutInSeconds', 'target': 'target', 'configuration': 'configuration', 'maintenance_window_schedule': 'maintenanceWindowSchedule', 'time_created': 'timeCreated', 'time_updated': 'timeUpdated', 'freeform_tags': 'freeformTags', 'defined_tags': 'definedTags', 'is_run_now': 'isRunNow', 'scheduling_policy': 'schedulingPolicy', 'batch_interval_in_seconds': 'batchIntervalInSeconds', 'is_i_pv6': 'isIPv6', 'created_by': 'createdBy', 'last_updated_by': 'lastUpdatedBy' } self._id = None self._display_name = None self._monitor_type = None self._vantage_points = None self._vantage_point_count = None self._script_id = None self._script_name = None self._status = None self._repeat_interval_in_seconds = None self._is_run_once = None self._timeout_in_seconds = None self._target = None self._configuration = None self._maintenance_window_schedule = None self._time_created = None self._time_updated = None self._freeform_tags = None self._defined_tags = None self._is_run_now = None self._scheduling_policy = None self._batch_interval_in_seconds = None self._is_i_pv6 = None self._created_by = None self._last_updated_by = None @property def id(self): """ **[Required]** Gets the id of this MonitorSummary. The `OCID`__ of the monitor. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this MonitorSummary. :rtype: str """ return self._id @id.setter def id(self, id): """ Sets the id of this MonitorSummary. The `OCID`__ of the monitor. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this MonitorSummary. :type: str """ self._id = id @property def display_name(self): """ **[Required]** Gets the display_name of this MonitorSummary. Unique name that can be edited. The name should not contain any confidential information. :return: The display_name of this MonitorSummary. :rtype: str """ return self._display_name @display_name.setter def display_name(self, display_name): """ Sets the display_name of this MonitorSummary. Unique name that can be edited. The name should not contain any confidential information. :param display_name: The display_name of this MonitorSummary. :type: str """ self._display_name = display_name @property def monitor_type(self): """ **[Required]** Gets the monitor_type of this MonitorSummary. The 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 MonitorSummary. :rtype: str """ return self._monitor_type @monitor_type.setter def monitor_type(self, monitor_type): """ Sets the monitor_type of this MonitorSummary. The type of monitor. :param monitor_type: The monitor_type of this MonitorSummary. :type: str """ allowed_values = ["SCRIPTED_BROWSER", "BROWSER", "SCRIPTED_REST", "REST", "NETWORK", "DNS", "FTP", "SQL"] if not value_allowed_none_or_none_sentinel(monitor_type, allowed_values): monitor_type = 'UNKNOWN_ENUM_VALUE' self._monitor_type = monitor_type @property def vantage_points(self): """ **[Required]** Gets the vantage_points of this MonitorSummary. List of public, dedicated and onPremise vantage points where the monitor is running. :return: The vantage_points of this MonitorSummary. :rtype: list[oci.apm_synthetics.models.VantagePointInfo] """ return self._vantage_points @vantage_points.setter def vantage_points(self, vantage_points): """ Sets the vantage_points of this MonitorSummary. List of public, dedicated and onPremise vantage points where the monitor is running. :param vantage_points: The vantage_points of this MonitorSummary. :type: list[oci.apm_synthetics.models.VantagePointInfo] """ self._vantage_points = vantage_points @property def vantage_point_count(self): """ **[Required]** Gets the vantage_point_count of this MonitorSummary. Number of vantage points where monitor is running. :return: The vantage_point_count of this MonitorSummary. :rtype: int """ return self._vantage_point_count @vantage_point_count.setter def vantage_point_count(self, vantage_point_count): """ Sets the vantage_point_count of this MonitorSummary. Number of vantage points where monitor is running. :param vantage_point_count: The vantage_point_count of this MonitorSummary. :type: int """ self._vantage_point_count = vantage_point_count @property def script_id(self): """ **[Required]** Gets the script_id of this MonitorSummary. 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 MonitorSummary. :rtype: str """ return self._script_id @script_id.setter def script_id(self, script_id): """ Sets the script_id of this MonitorSummary. 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 MonitorSummary. :type: str """ self._script_id = script_id @property def script_name(self): """ **[Required]** Gets the script_name of this MonitorSummary. Name of the script. :return: The script_name of this MonitorSummary. :rtype: str """ return self._script_name @script_name.setter def script_name(self, script_name): """ Sets the script_name of this MonitorSummary. Name of the script. :param script_name: The script_name of this MonitorSummary. :type: str """ self._script_name = script_name @property def status(self): """ **[Required]** Gets the status of this MonitorSummary. 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 MonitorSummary. :rtype: str """ return self._status @status.setter def status(self, status): """ Sets the status of this MonitorSummary. Enables or disables the monitor. :param status: The status of this MonitorSummary. :type: str """ allowed_values = ["ENABLED", "DISABLED", "INVALID"] if not value_allowed_none_or_none_sentinel(status, allowed_values): status = 'UNKNOWN_ENUM_VALUE' self._status = status @property def repeat_interval_in_seconds(self): """ **[Required]** Gets the repeat_interval_in_seconds of this MonitorSummary. 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 MonitorSummary. :rtype: int """ return self._repeat_interval_in_seconds @repeat_interval_in_seconds.setter def repeat_interval_in_seconds(self, repeat_interval_in_seconds): """ Sets the repeat_interval_in_seconds of this MonitorSummary. 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 MonitorSummary. :type: int """ self._repeat_interval_in_seconds = repeat_interval_in_seconds @property def is_run_once(self): """ **[Required]** Gets the is_run_once of this MonitorSummary. If runOnce is enabled, then the monitor will run once. :return: The is_run_once of this MonitorSummary. :rtype: bool """ return self._is_run_once @is_run_once.setter def is_run_once(self, is_run_once): """ Sets the is_run_once of this MonitorSummary. If runOnce is enabled, then the monitor will run once. :param is_run_once: The is_run_once of this MonitorSummary. :type: bool """ self._is_run_once = is_run_once @property def timeout_in_seconds(self): """ **[Required]** Gets the timeout_in_seconds of this MonitorSummary. 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 MonitorSummary. :rtype: int """ return self._timeout_in_seconds @timeout_in_seconds.setter def timeout_in_seconds(self, timeout_in_seconds): """ Sets the timeout_in_seconds of this MonitorSummary. 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. :param timeout_in_seconds: The timeout_in_seconds of this MonitorSummary. :type: int """ self._timeout_in_seconds = timeout_in_seconds @property def target(self): """ Gets the target of this MonitorSummary. Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. :return: The target of this MonitorSummary. :rtype: str """ return self._target @target.setter def target(self, target): """ Sets the target of this MonitorSummary. Specify the endpoint on which to run the monitor. For BROWSER, REST, NETWORK, DNS and FTP monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80. :param target: The target of this MonitorSummary. :type: str """ self._target = target @property def configuration(self): """ Gets the configuration of this MonitorSummary. :return: The configuration of this MonitorSummary. :rtype: oci.apm_synthetics.models.MonitorConfiguration """ return self._configuration @configuration.setter def configuration(self, configuration): """ Sets the configuration of this MonitorSummary. :param configuration: The configuration of this MonitorSummary. :type: oci.apm_synthetics.models.MonitorConfiguration """ self._configuration = configuration @property def maintenance_window_schedule(self): """ Gets the maintenance_window_schedule of this MonitorSummary. :return: The maintenance_window_schedule of this MonitorSummary. :rtype: oci.apm_synthetics.models.MaintenanceWindowSchedule """ return self._maintenance_window_schedule @maintenance_window_schedule.setter def maintenance_window_schedule(self, maintenance_window_schedule): """ Sets the maintenance_window_schedule of this MonitorSummary. :param maintenance_window_schedule: The maintenance_window_schedule of this MonitorSummary. :type: oci.apm_synthetics.models.MaintenanceWindowSchedule """ self._maintenance_window_schedule = maintenance_window_schedule @property def time_created(self): """ Gets the time_created of this MonitorSummary. The time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2020-02-12T22:47:12.613Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this MonitorSummary. :rtype: datetime """ return self._time_created @time_created.setter def time_created(self, time_created): """ Sets the time_created of this MonitorSummary. The time the resource was created, expressed in `RFC 3339`__ timestamp format. Example: `2020-02-12T22:47:12.613Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this MonitorSummary. :type: datetime """ self._time_created = time_created @property def time_updated(self): """ Gets the time_updated of this MonitorSummary. The time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2020-02-13T22:47:12.613Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this MonitorSummary. :rtype: datetime """ return self._time_updated @time_updated.setter def time_updated(self, time_updated): """ Sets the time_updated of this MonitorSummary. The time the resource was updated, expressed in `RFC 3339`__ timestamp format. Example: `2020-02-13T22:47:12.613Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this MonitorSummary. :type: datetime """ self._time_updated = time_updated @property def freeform_tags(self): """ Gets the freeform_tags of this MonitorSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :return: The freeform_tags of this MonitorSummary. :rtype: dict(str, str) """ return self._freeform_tags @freeform_tags.setter def freeform_tags(self, freeform_tags): """ Sets the freeform_tags of this MonitorSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` :param freeform_tags: The freeform_tags of this MonitorSummary. :type: dict(str, str) """ self._freeform_tags = freeform_tags @property def defined_tags(self): """ Gets the defined_tags of this MonitorSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :return: The defined_tags of this MonitorSummary. :rtype: dict(str, dict(str, object)) """ return self._defined_tags @defined_tags.setter def defined_tags(self, defined_tags): """ Sets the defined_tags of this MonitorSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}` :param defined_tags: The defined_tags of this MonitorSummary. :type: dict(str, dict(str, object)) """ self._defined_tags = defined_tags @property def is_run_now(self): """ **[Required]** Gets the is_run_now of this MonitorSummary. If isRunNow is enabled, then the monitor will run immediately. :return: The is_run_now of this MonitorSummary. :rtype: bool """ return self._is_run_now @is_run_now.setter def is_run_now(self, is_run_now): """ Sets the is_run_now of this MonitorSummary. If isRunNow is enabled, then the monitor will run immediately. :param is_run_now: The is_run_now of this MonitorSummary. :type: bool """ self._is_run_now = is_run_now @property def scheduling_policy(self): """ **[Required]** Gets the scheduling_policy of this MonitorSummary. Scheduling policy to decide the distribution of monitor executions on vantage points. 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'. :return: The scheduling_policy of this MonitorSummary. :rtype: str """ return self._scheduling_policy @scheduling_policy.setter def scheduling_policy(self, scheduling_policy): """ Sets the scheduling_policy of this MonitorSummary. Scheduling policy to decide the distribution of monitor executions on vantage points. :param scheduling_policy: The scheduling_policy of this MonitorSummary. :type: str """ allowed_values = ["ALL", "ROUND_ROBIN", "BATCHED_ROUND_ROBIN"] if not value_allowed_none_or_none_sentinel(scheduling_policy, allowed_values): scheduling_policy = 'UNKNOWN_ENUM_VALUE' self._scheduling_policy = scheduling_policy @property def batch_interval_in_seconds(self): """ **[Required]** Gets the batch_interval_in_seconds of this MonitorSummary. Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN). :return: The batch_interval_in_seconds of this MonitorSummary. :rtype: int """ return self._batch_interval_in_seconds @batch_interval_in_seconds.setter def batch_interval_in_seconds(self, batch_interval_in_seconds): """ Sets the batch_interval_in_seconds of this MonitorSummary. Time interval between two runs in round robin batch mode (SchedulingPolicy - BATCHED_ROUND_ROBIN). :param batch_interval_in_seconds: The batch_interval_in_seconds of this MonitorSummary. :type: int """ self._batch_interval_in_seconds = batch_interval_in_seconds @property def is_i_pv6(self): """ Gets the is_i_pv6 of this MonitorSummary. If enabled, domain name will resolve to an IPv6 address. :return: The is_i_pv6 of this MonitorSummary. :rtype: bool """ return self._is_i_pv6 @is_i_pv6.setter def is_i_pv6(self, is_i_pv6): """ Sets the is_i_pv6 of this MonitorSummary. If enabled, domain name will resolve to an IPv6 address. :param is_i_pv6: The is_i_pv6 of this MonitorSummary. :type: bool """ self._is_i_pv6 = is_i_pv6 @property def created_by(self): """ Gets the created_by of this MonitorSummary. Name of the user that created the monitor. :return: The created_by of this MonitorSummary. :rtype: str """ return self._created_by @created_by.setter def created_by(self, created_by): """ Sets the created_by of this MonitorSummary. Name of the user that created the monitor. :param created_by: The created_by of this MonitorSummary. :type: str """ self._created_by = created_by @property def last_updated_by(self): """ Gets the last_updated_by of this MonitorSummary. Name of the user that recently updated the monitor. :return: The last_updated_by of this MonitorSummary. :rtype: str """ return self._last_updated_by @last_updated_by.setter def last_updated_by(self, last_updated_by): """ Sets the last_updated_by of this MonitorSummary. Name of the user that recently updated the monitor. :param last_updated_by: The last_updated_by of this MonitorSummary. :type: str """ self._last_updated_by = last_updated_by def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other