Class InstanceAgentCommandContent
The contents of the command.
Inherited Members
Namespace: Oci.ComputeinstanceagentService.Models
Assembly: OCI.DotNetSDK.Computeinstanceagent.dll
Syntax
public class InstanceAgentCommandContent
Properties
CommandString
Declaration
[JsonProperty(PropertyName = "commandString")]
public string CommandString { get; set; }
Property Value
Type | Description |
---|---|
string | Command String is a fully formed command that runcommand executes. Example: main.sh is stored in object storage and user provides the following command with parameters to execute/bin/sh main.sh abc 10 foo.sh |
Output
Declaration
[JsonProperty(PropertyName = "output")]
public InstanceAgentCommandOutputDetails Output { get; set; }
Property Value
Type | Description |
---|---|
InstanceAgentCommandOutputDetails | The output destination for the command. |
Source
Declaration
[Required(ErrorMessage = "Source is required.")]
[JsonProperty(PropertyName = "source")]
public InstanceAgentCommandSourceDetails Source { get; set; }
Property Value
Type | Description |
---|---|
InstanceAgentCommandSourceDetails | The source of the command. |
Remarks
Required