ScriptSummary

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

Bases: object

Information about the script.

Attributes

CONTENT_TYPE_JS A constant which can be used with the content_type property of a ScriptSummary.
CONTENT_TYPE_SIDE A constant which can be used with the content_type property of a ScriptSummary.
content_type [Required] Gets the content_type of this ScriptSummary.
defined_tags Gets the defined_tags of this ScriptSummary.
display_name [Required] Gets the display_name of this ScriptSummary.
freeform_tags Gets the freeform_tags of this ScriptSummary.
id [Required] Gets the id of this ScriptSummary.
monitor_status_count_map [Required] Gets the monitor_status_count_map of this ScriptSummary.
time_created Gets the time_created of this ScriptSummary.
time_updated Gets the time_updated of this ScriptSummary.

Methods

__init__(**kwargs) Initializes a new ScriptSummary object with values from keyword arguments.
CONTENT_TYPE_JS = 'JS'

A constant which can be used with the content_type property of a ScriptSummary. This constant has a value of “JS”

CONTENT_TYPE_SIDE = 'SIDE'

A constant which can be used with the content_type property of a ScriptSummary. This constant has a value of “SIDE”

__init__(**kwargs)

Initializes a new ScriptSummary 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 ScriptSummary.
  • display_name (str) – The value to assign to the display_name property of this ScriptSummary.
  • content_type (str) – The value to assign to the content_type property of this ScriptSummary. Allowed values for this property are: “SIDE”, “JS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • monitor_status_count_map (oci.apm_synthetics.models.MonitorStatusCountMap) – The value to assign to the monitor_status_count_map property of this ScriptSummary.
  • time_created (datetime) – The value to assign to the time_created property of this ScriptSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this ScriptSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ScriptSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ScriptSummary.
content_type

[Required] Gets the content_type of this ScriptSummary. Content type of the script.

Allowed values for this property are: “SIDE”, “JS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The content_type of this ScriptSummary.
Return type:str
defined_tags

Gets the defined_tags of this ScriptSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this ScriptSummary.
Return type:dict(str, dict(str, object))
display_name

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

Returns:The display_name of this ScriptSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this ScriptSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this ScriptSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this ScriptSummary. 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.

Returns:The id of this ScriptSummary.
Return type:str
monitor_status_count_map

[Required] Gets the monitor_status_count_map of this ScriptSummary.

Returns:The monitor_status_count_map of this ScriptSummary.
Return type:oci.apm_synthetics.models.MonitorStatusCountMap
time_created

Gets the time_created of this ScriptSummary. The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

Returns:The time_created of this ScriptSummary.
Return type:datetime
time_updated

Gets the time_updated of this ScriptSummary. The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

Returns:The time_updated of this ScriptSummary.
Return type:datetime