SqlDetails

class oci.stack_monitoring.models.SqlDetails(**kwargs)

Bases: object

Details of Sql content which needs to execute to collect Metric Extension data

Methods

__init__(**kwargs) Initializes a new SqlDetails object with values from keyword arguments.

Attributes

content [Required] Gets the content of this SqlDetails.
script_file_name Gets the script_file_name of this SqlDetails.
__init__(**kwargs)

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

Parameters:
  • script_file_name (str) – The value to assign to the script_file_name property of this SqlDetails.
  • content (str) – The value to assign to the content property of this SqlDetails.
content

[Required] Gets the content of this SqlDetails. Sql statement or script file content as base64 encoded string

Returns:The content of this SqlDetails.
Return type:str
script_file_name

Gets the script_file_name of this SqlDetails. If a script needs to be executed, then provide file name of the script

Returns:The script_file_name of this SqlDetails.
Return type:str