ScriptFileDetails¶
- class oci.stack_monitoring.models.ScriptFileDetails(**kwargs)¶
Bases:
objectScript details applicable to any OS Command based Metric Extension which needs to run a script to collect data. For removing it during update, set its “content” property to an empty string. In that case, “name” property value is ignored.
Methods:
__init__(**kwargs)Initializes a new ScriptFileDetails object with values from keyword arguments.
Attributes:
[Required] Gets the content of this ScriptFileDetails.
[Required] Gets the name of this ScriptFileDetails.
- __init__(**kwargs)¶
Initializes a new ScriptFileDetails 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 ScriptFileDetails.
content (str) – The value to assign to the content property of this ScriptFileDetails.
- property content¶
[Required] Gets the content of this ScriptFileDetails. Content of the script file as base64 encoded string
- Returns
The content of this ScriptFileDetails.
- Return type
str
- property name¶
[Required] Gets the name of this ScriptFileDetails. Name of the script file
- Returns
The name of this ScriptFileDetails.
- Return type
str