BrowserMonitorConfiguration

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

Bases: oci.apm_synthetics.models.monitor_configuration.MonitorConfiguration

Configuration details for the BROWSER monitor type.

Attributes

CONFIG_TYPE_BROWSER_CONFIG str(object=’’) -> str
CONFIG_TYPE_REST_CONFIG str(object=’’) -> str
CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG str(object=’’) -> str
CONFIG_TYPE_SCRIPTED_REST_CONFIG str(object=’’) -> str
config_type Gets the config_type of this MonitorConfiguration.
is_certificate_validation_enabled Gets the is_certificate_validation_enabled of this BrowserMonitorConfiguration.
is_failure_retried Gets the is_failure_retried of this MonitorConfiguration.
verify_texts Gets the verify_texts of this BrowserMonitorConfiguration.

Methods

__init__(**kwargs) Initializes a new BrowserMonitorConfiguration object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
CONFIG_TYPE_BROWSER_CONFIG = 'BROWSER_CONFIG'
CONFIG_TYPE_REST_CONFIG = 'REST_CONFIG'
CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG = 'SCRIPTED_BROWSER_CONFIG'
CONFIG_TYPE_SCRIPTED_REST_CONFIG = 'SCRIPTED_REST_CONFIG'
__init__(**kwargs)

Initializes a new BrowserMonitorConfiguration object with values from keyword arguments. The default value of the config_type attribute of this class is BROWSER_CONFIG and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • config_type (str) – The value to assign to the config_type property of this BrowserMonitorConfiguration. Allowed values for this property are: “BROWSER_CONFIG”, “SCRIPTED_BROWSER_CONFIG”, “REST_CONFIG”, “SCRIPTED_REST_CONFIG”
  • is_failure_retried (bool) – The value to assign to the is_failure_retried property of this BrowserMonitorConfiguration.
  • is_certificate_validation_enabled (bool) – The value to assign to the is_certificate_validation_enabled property of this BrowserMonitorConfiguration.
  • verify_texts (list[oci.apm_synthetics.models.VerifyText]) – The value to assign to the verify_texts property of this BrowserMonitorConfiguration.
config_type

Gets the config_type of this MonitorConfiguration. Type of configuration.

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

Returns:The config_type of this MonitorConfiguration.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_certificate_validation_enabled

Gets the is_certificate_validation_enabled of this BrowserMonitorConfiguration. If certificate validation is enabled, then the call will fail in case of certification errors.

Returns:The is_certificate_validation_enabled of this BrowserMonitorConfiguration.
Return type:bool
is_failure_retried

Gets the is_failure_retried of this MonitorConfiguration. If isFailureRetried is enabled, then a failed call will be retried.

Returns:The is_failure_retried of this MonitorConfiguration.
Return type:bool
verify_texts

Gets the verify_texts of this BrowserMonitorConfiguration. Verify all the search strings present in response. If any search string is not present in the response, then it will be considered as a failure.

Returns:The verify_texts of this BrowserMonitorConfiguration.
Return type:list[oci.apm_synthetics.models.VerifyText]