UpdateHttpScriptFileDetails

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

Bases: object

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

Methods:

__init__(**kwargs)

Initializes a new UpdateHttpScriptFileDetails object with values from keyword arguments.

Attributes:

content

Gets the content of this UpdateHttpScriptFileDetails.

name

Gets the name of this UpdateHttpScriptFileDetails.

__init__(**kwargs)

Initializes a new UpdateHttpScriptFileDetails 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 UpdateHttpScriptFileDetails.

  • content (str) – The value to assign to the content property of this UpdateHttpScriptFileDetails.

property content

Gets the content of this UpdateHttpScriptFileDetails. Content of the JavaScript file as base64 encoded string

Returns

The content of this UpdateHttpScriptFileDetails.

Return type

str

property name

Gets the name of this UpdateHttpScriptFileDetails. Name of the script file

Returns

The name of this UpdateHttpScriptFileDetails.

Return type

str