ScriptFileDetails¶
-
class
oci.stack_monitoring.models.
ScriptFileDetails
(**kwargs)¶ Bases:
object
Script details applicable to any OS Command based Metric Extension which needs to run a script to collect data
Methods
__init__
(**kwargs)Initializes a new ScriptFileDetails object with values from keyword arguments. Attributes
content
[Required] Gets the content of this ScriptFileDetails. name
[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.
-
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
-
name
¶ [Required] Gets the name of this ScriptFileDetails. Name of the script file
Returns: The name of this ScriptFileDetails. Return type: str
-