BrowserMonitorConfiguration

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

Bases: MonitorConfiguration

Configuration details for the BROWSER monitor type.

Attributes:

CONFIG_TYPE_BROWSER_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_DNSSEC_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_DNS_SERVER_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_DNS_TRACE_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_FTP_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_NETWORK_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_REST_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_SCRIPTED_REST_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

CONFIG_TYPE_SQL_CONFIG

A constant which can be used with the config_type property of a MonitorConfiguration.

config_type

Gets the config_type of this MonitorConfiguration.

dns_configuration

Gets the dns_configuration of this MonitorConfiguration.

is_certificate_validation_enabled

Gets the is_certificate_validation_enabled of this BrowserMonitorConfiguration.

is_default_snapshot_enabled

Gets the is_default_snapshot_enabled of this BrowserMonitorConfiguration.

is_failure_retried

Gets the is_failure_retried of this MonitorConfiguration.

network_configuration

Gets the network_configuration of this BrowserMonitorConfiguration.

verify_response_codes

Gets the verify_response_codes of this BrowserMonitorConfiguration.

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'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “BROWSER_CONFIG”

CONFIG_TYPE_DNSSEC_CONFIG = 'DNSSEC_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “DNSSEC_CONFIG”

CONFIG_TYPE_DNS_SERVER_CONFIG = 'DNS_SERVER_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “DNS_SERVER_CONFIG”

CONFIG_TYPE_DNS_TRACE_CONFIG = 'DNS_TRACE_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “DNS_TRACE_CONFIG”

CONFIG_TYPE_FTP_CONFIG = 'FTP_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “FTP_CONFIG”

CONFIG_TYPE_NETWORK_CONFIG = 'NETWORK_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “NETWORK_CONFIG”

CONFIG_TYPE_REST_CONFIG = 'REST_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “REST_CONFIG”

CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG = 'SCRIPTED_BROWSER_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “SCRIPTED_BROWSER_CONFIG”

CONFIG_TYPE_SCRIPTED_REST_CONFIG = 'SCRIPTED_REST_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “SCRIPTED_REST_CONFIG”

CONFIG_TYPE_SQL_CONFIG = 'SQL_CONFIG'

A constant which can be used with the config_type property of a MonitorConfiguration. This constant has a value of “SQL_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”, “NETWORK_CONFIG”, “DNS_SERVER_CONFIG”, “DNS_TRACE_CONFIG”, “DNSSEC_CONFIG”, “FTP_CONFIG”, “SQL_CONFIG”

  • is_failure_retried (bool) – The value to assign to the is_failure_retried property of this BrowserMonitorConfiguration.

  • dns_configuration (oci.apm_synthetics.models.DnsConfiguration) – The value to assign to the dns_configuration property of this BrowserMonitorConfiguration.

  • is_certificate_validation_enabled (bool) – The value to assign to the is_certificate_validation_enabled property of this BrowserMonitorConfiguration.

  • is_default_snapshot_enabled (bool) – The value to assign to the is_default_snapshot_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.

  • verify_response_codes (list[str]) – The value to assign to the verify_response_codes property of this BrowserMonitorConfiguration.

  • network_configuration (oci.apm_synthetics.models.NetworkConfiguration) – The value to assign to the network_configuration property of this BrowserMonitorConfiguration.

property 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”, “NETWORK_CONFIG”, “DNS_SERVER_CONFIG”, “DNS_TRACE_CONFIG”, “DNSSEC_CONFIG”, “FTP_CONFIG”, “SQL_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

property dns_configuration

Gets the dns_configuration of this MonitorConfiguration.

Returns

The dns_configuration of this MonitorConfiguration.

Return type

oci.apm_synthetics.models.DnsConfiguration

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.

property 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

property is_default_snapshot_enabled

Gets the is_default_snapshot_enabled of this BrowserMonitorConfiguration. If disabled, auto snapshots are not collected.

Returns

The is_default_snapshot_enabled of this BrowserMonitorConfiguration.

Return type

bool

property 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

property network_configuration

Gets the network_configuration of this BrowserMonitorConfiguration.

Returns

The network_configuration of this BrowserMonitorConfiguration.

Return type

oci.apm_synthetics.models.NetworkConfiguration

property verify_response_codes

Gets the verify_response_codes of this BrowserMonitorConfiguration. Expected HTTP response codes. For status code range, set values such as 2xx, 3xx.

Returns

The verify_response_codes of this BrowserMonitorConfiguration.

Return type

list[str]

property verify_texts

Gets the verify_texts of this BrowserMonitorConfiguration. Verifies all the search strings present in the 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]