SqlMonitorConfiguration

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

Bases: oci.apm_synthetics.models.monitor_configuration.MonitorConfiguration

Request configuration details for the SQL monitor type.

Attributes

CONFIG_TYPE_BROWSER_CONFIG str(object=’’) -> str
CONFIG_TYPE_DNSSEC_CONFIG str(object=’’) -> str
CONFIG_TYPE_DNS_SERVER_CONFIG str(object=’’) -> str
CONFIG_TYPE_DNS_TRACE_CONFIG str(object=’’) -> str
CONFIG_TYPE_FTP_CONFIG str(object=’’) -> str
CONFIG_TYPE_NETWORK_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_SQL_CONFIG str(object=’’) -> str
DATABASE_CONNECTION_TYPE_CLOUD_WALLET A constant which can be used with the database_connection_type property of a SqlMonitorConfiguration.
DATABASE_CONNECTION_TYPE_CUSTOM_JDBC A constant which can be used with the database_connection_type property of a SqlMonitorConfiguration.
DATABASE_TYPE_MYSQL A constant which can be used with the database_type property of a SqlMonitorConfiguration.
DATABASE_TYPE_ORACLE A constant which can be used with the database_type property of a SqlMonitorConfiguration.
config_type Gets the config_type of this MonitorConfiguration.
connection_string Gets the connection_string of this SqlMonitorConfiguration.
database_authentication_details Gets the database_authentication_details of this SqlMonitorConfiguration.
database_connection_type Gets the database_connection_type of this SqlMonitorConfiguration.
database_role Gets the database_role of this SqlMonitorConfiguration.
database_type Gets the database_type of this SqlMonitorConfiguration.
database_wallet_details Gets the database_wallet_details of this SqlMonitorConfiguration.
dns_configuration Gets the dns_configuration of this MonitorConfiguration.
is_failure_retried Gets the is_failure_retried of this MonitorConfiguration.
query Gets the query of this SqlMonitorConfiguration.

Methods

__init__(**kwargs) Initializes a new SqlMonitorConfiguration 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_DNSSEC_CONFIG = 'DNSSEC_CONFIG'
CONFIG_TYPE_DNS_SERVER_CONFIG = 'DNS_SERVER_CONFIG'
CONFIG_TYPE_DNS_TRACE_CONFIG = 'DNS_TRACE_CONFIG'
CONFIG_TYPE_FTP_CONFIG = 'FTP_CONFIG'
CONFIG_TYPE_NETWORK_CONFIG = 'NETWORK_CONFIG'
CONFIG_TYPE_REST_CONFIG = 'REST_CONFIG'
CONFIG_TYPE_SCRIPTED_BROWSER_CONFIG = 'SCRIPTED_BROWSER_CONFIG'
CONFIG_TYPE_SCRIPTED_REST_CONFIG = 'SCRIPTED_REST_CONFIG'
CONFIG_TYPE_SQL_CONFIG = 'SQL_CONFIG'
DATABASE_CONNECTION_TYPE_CLOUD_WALLET = 'CLOUD_WALLET'

A constant which can be used with the database_connection_type property of a SqlMonitorConfiguration. This constant has a value of “CLOUD_WALLET”

DATABASE_CONNECTION_TYPE_CUSTOM_JDBC = 'CUSTOM_JDBC'

A constant which can be used with the database_connection_type property of a SqlMonitorConfiguration. This constant has a value of “CUSTOM_JDBC”

DATABASE_TYPE_MYSQL = 'MYSQL'

A constant which can be used with the database_type property of a SqlMonitorConfiguration. This constant has a value of “MYSQL”

DATABASE_TYPE_ORACLE = 'ORACLE'

A constant which can be used with the database_type property of a SqlMonitorConfiguration. This constant has a value of “ORACLE”

__init__(**kwargs)

Initializes a new SqlMonitorConfiguration object with values from keyword arguments. The default value of the config_type attribute of this class is SQL_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 SqlMonitorConfiguration. 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’.
  • is_failure_retried (bool) – The value to assign to the is_failure_retried property of this SqlMonitorConfiguration.
  • dns_configuration (oci.apm_synthetics.models.DnsConfiguration) – The value to assign to the dns_configuration property of this SqlMonitorConfiguration.
  • database_type (str) – The value to assign to the database_type property of this SqlMonitorConfiguration. Allowed values for this property are: “ORACLE”, “MYSQL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • query (str) – The value to assign to the query property of this SqlMonitorConfiguration.
  • database_authentication_details (oci.apm_synthetics.models.BasicAuthenticationDetails) – The value to assign to the database_authentication_details property of this SqlMonitorConfiguration.
  • database_role (str) – The value to assign to the database_role property of this SqlMonitorConfiguration.
  • database_connection_type (str) – The value to assign to the database_connection_type property of this SqlMonitorConfiguration. Allowed values for this property are: “CLOUD_WALLET”, “CUSTOM_JDBC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • connection_string (str) – The value to assign to the connection_string property of this SqlMonitorConfiguration.
  • database_wallet_details (oci.apm_synthetics.models.DatabaseWalletDetails) – The value to assign to the database_wallet_details property of this SqlMonitorConfiguration.
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
connection_string

Gets the connection_string of this SqlMonitorConfiguration. Database connection string.

Returns:The connection_string of this SqlMonitorConfiguration.
Return type:str
database_authentication_details

Gets the database_authentication_details of this SqlMonitorConfiguration.

Returns:The database_authentication_details of this SqlMonitorConfiguration.
Return type:oci.apm_synthetics.models.BasicAuthenticationDetails
database_connection_type

Gets the database_connection_type of this SqlMonitorConfiguration. Database connection type. Only CUSTOM_JDBC is supported for MYSQL database type.

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

Returns:The database_connection_type of this SqlMonitorConfiguration.
Return type:str
database_role

Gets the database_role of this SqlMonitorConfiguration. Database role.

Returns:The database_role of this SqlMonitorConfiguration.
Return type:str
database_type

Gets the database_type of this SqlMonitorConfiguration. Database type.

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

Returns:The database_type of this SqlMonitorConfiguration.
Return type:str
database_wallet_details

Gets the database_wallet_details of this SqlMonitorConfiguration.

Returns:The database_wallet_details of this SqlMonitorConfiguration.
Return type:oci.apm_synthetics.models.DatabaseWalletDetails
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.

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
query

Gets the query of this SqlMonitorConfiguration. SQL query to be executed.

Returns:The query of this SqlMonitorConfiguration.
Return type:str