Show / Hide Table of Contents

Class InstanceAgentCommandExecutionSummary

Execution details for a command.

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

Properties

Content

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

The execution output from a command.

Remarks

Required

DeliveryState

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

The command delivery state.

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

Required

DisplayName

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

A user-friendly name. Does not have to be unique.

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 InstanceAgentCommandExecutionSummary.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
InstanceAgentCommandExecutionSummary.LifecycleStateEnum?

The command execution lifecycle state.

  • ACCEPTED - The command has been accepted to run.
  • IN_PROGRESS - The command is in progress.
  • SUCCEEDED - The command was successfully executed.
  • FAILED - The command failed to execute.
  • TIMED_OUT - The command execution timed out.
  • CANCELED - The command execution was canceled.
Remarks

Required

SequenceNumber

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

A large, non-consecutive number that Oracle Cloud Agent 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 date and time the command was created, in the format defined by RFC3339.

Remarks

Required

TimeUpdated

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

The date and time the command was last updated, in the format defined by RFC3339.

Remarks

Required

In this article
Back to top