Show / Hide Table of Contents

Class InstanceAgentCommandContent

The contents of the command.

Inheritance
object
InstanceAgentCommandContent
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top