Class OsCommandQueryProperties
Query Properties applicable to OS_COMMAND type of collection method
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class OsCommandQueryProperties : MetricExtensionQueryPropertiesProperties
Arguments
Declaration
[JsonProperty(PropertyName = "arguments")]
public string Arguments { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Arguments required by either command or script | 
Command
Declaration
[Required(ErrorMessage = "Command is required.")]
[JsonProperty(PropertyName = "command")]
public string Command { get; set; }Property Value
| Type | Description | 
|---|---|
| string | OS command to execute without arguments | 
Remarks
Required
Delimiter
Declaration
[Required(ErrorMessage = "Delimiter is required.")]
[JsonProperty(PropertyName = "delimiter")]
public string Delimiter { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Character used to delimit multiple metric values in single line of output | 
Remarks
Required
ScriptDetails
Declaration
[JsonProperty(PropertyName = "scriptDetails")]
public ScriptFileDetails ScriptDetails { get; set; }Property Value
| Type | Description | 
|---|---|
| ScriptFileDetails | 
StartsWith
Declaration
[JsonProperty(PropertyName = "startsWith")]
public string StartsWith { get; set; }Property Value
| Type | Description | 
|---|---|
| string | String prefix used to identify metric output of the OS Command |