Class ScriptFileDetails
Script 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.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class ScriptFileDetails
Properties
Content
Declaration
[Required(ErrorMessage = "Content is required.")]
[JsonProperty(PropertyName = "content")]
public string Content { get; set; }
Property Value
Type | Description |
---|---|
string | Content of the script file as base64 encoded string |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name of the script file |
Remarks
Required