HttpScriptFileDetails

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

Bases: object

JavaScript file details which is used to convert http(s) response into metric data

Methods

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

Attributes

content [Required] Gets the content of this HttpScriptFileDetails.
name [Required] Gets the name of this HttpScriptFileDetails.
__init__(**kwargs)

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

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

[Required] Gets the content of this HttpScriptFileDetails. Content of the JavaScript file as base64 encoded string

Returns:The content of this HttpScriptFileDetails.
Return type:str
name

[Required] Gets the name of this HttpScriptFileDetails. Name of the script file

Returns:The name of this HttpScriptFileDetails.
Return type:str