Show / Hide Table of Contents

Class InstanceAgentCommandExecution

A command's execution summary.

Inheritance
object
InstanceAgentCommandExecution
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 InstanceAgentCommandExecution

Properties

Content

Declaration
[Required(ErrorMessage = "Content is required.")]
[JsonProperty(PropertyName = "content")]
public InstanceAgentCommandExecutionOutputContent Content { get; set; }
Property Value
Type Description
InstanceAgentCommandExecutionOutputContent
Remarks

Required

DeliveryState

Declaration
[Required(ErrorMessage = "DeliveryState is required.")]
[JsonProperty(PropertyName = "deliveryState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public InstanceAgentCommandExecution.DeliveryStateEnum? DeliveryState { get; set; }
Property Value
Type Description
InstanceAgentCommandExecution.DeliveryStateEnum?

Specifies the command delivery state.

  • VISIBLE - The command is visible to instance.
  • PENDING - The command is pending ack from the instance.
  • ACKED - The command has been received and acked by the instance.
  • ACKED_CANCELED - The canceled command has been received and acked by the instance.
  • EXPIRED - The instance has not requested for commands and its delivery has expired.
Remarks

Required

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The user friendly display name of the command.

InstanceAgentCommandId

Declaration
[Required(ErrorMessage = "InstanceAgentCommandId is required.")]
[JsonProperty(PropertyName = "instanceAgentCommandId")]
public string InstanceAgentCommandId { get; set; }
Property Value
Type Description
string

The OCID of the command

Remarks

Required

InstanceId

Declaration
[Required(ErrorMessage = "InstanceId is required.")]
[JsonProperty(PropertyName = "instanceId")]
public string InstanceId { get; set; }
Property Value
Type Description
string

The OCID of the instance

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public InstanceAgentCommandExecution.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
InstanceAgentCommandExecution.LifecycleStateEnum?

command execution life cycle state.

  • ACCEPTED - The command execution has been accepted to run.
  • IN_PROGRESS - The command execution is in progress.
  • SUCCEEDED - The command execution is successful.
  • FAILED - The command execution has failed.
  • TIMED_OUT - The command execution has timedout.
  • CANCELED - The command execution has canceled.
Remarks

Required

SequenceNumber

Declaration
[Required(ErrorMessage = "SequenceNumber is required.")]
[JsonProperty(PropertyName = "sequenceNumber")]
public long? SequenceNumber { get; set; }
Property Value
Type Description
long?

The large non-consecutive number that Run Command Service assigns to each created command.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The command creation date

Remarks

Required

TimeUpdated

Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The command last updated at date.

Remarks

Required

In this article
Back to top