WorkerMonitorList

class oci.apm_synthetics.models.WorkerMonitorList(**kwargs)

Bases: object

Details of the monitor assigned to an On-premise vantage point worker.

Attributes

MONITOR_TYPE_BROWSER A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_DNS A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_FTP A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_NETWORK A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_REST A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_SCRIPTED_BROWSER A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_SCRIPTED_REST A constant which can be used with the monitor_type property of a WorkerMonitorList.
MONITOR_TYPE_SQL A constant which can be used with the monitor_type property of a WorkerMonitorList.
display_name [Required] Gets the display_name of this WorkerMonitorList.
id [Required] Gets the id of this WorkerMonitorList.
is_run_now Gets the is_run_now of this WorkerMonitorList.
monitor_type [Required] Gets the monitor_type of this WorkerMonitorList.
time_assigned Gets the time_assigned of this WorkerMonitorList.

Methods

__init__(**kwargs) Initializes a new WorkerMonitorList object with values from keyword arguments.
MONITOR_TYPE_BROWSER = 'BROWSER'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “BROWSER”

MONITOR_TYPE_DNS = 'DNS'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “DNS”

MONITOR_TYPE_FTP = 'FTP'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “FTP”

MONITOR_TYPE_NETWORK = 'NETWORK'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “NETWORK”

MONITOR_TYPE_REST = 'REST'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “REST”

MONITOR_TYPE_SCRIPTED_BROWSER = 'SCRIPTED_BROWSER'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “SCRIPTED_BROWSER”

MONITOR_TYPE_SCRIPTED_REST = 'SCRIPTED_REST'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “SCRIPTED_REST”

MONITOR_TYPE_SQL = 'SQL'

A constant which can be used with the monitor_type property of a WorkerMonitorList. This constant has a value of “SQL”

__init__(**kwargs)

Initializes a new WorkerMonitorList object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this WorkerMonitorList.
  • display_name (str) – The value to assign to the display_name property of this WorkerMonitorList.
  • monitor_type (str) – The value to assign to the monitor_type property of this WorkerMonitorList. 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’.
  • is_run_now (bool) – The value to assign to the is_run_now property of this WorkerMonitorList.
  • time_assigned (datetime) – The value to assign to the time_assigned property of this WorkerMonitorList.
display_name

[Required] Gets the display_name of this WorkerMonitorList. Unique name that can be edited. The name should not contain any confidential information.

Returns:The display_name of this WorkerMonitorList.
Return type:str
id

[Required] Gets the id of this WorkerMonitorList. The OCID of the monitor.

Returns:The id of this WorkerMonitorList.
Return type:str
is_run_now

Gets the is_run_now of this WorkerMonitorList. If isRunNow is enabled, then the monitor will run immediately.

Returns:The is_run_now of this WorkerMonitorList.
Return type:bool
monitor_type

[Required] Gets the monitor_type of this WorkerMonitorList. 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’.

Returns:The monitor_type of this WorkerMonitorList.
Return type:str
time_assigned

Gets the time_assigned of this WorkerMonitorList. The time the resource was last assigned to an On-premise vantage point worker, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

Returns:The time_assigned of this WorkerMonitorList.
Return type:datetime