Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace InstanceAgentCommandExecution

A command's execution summary.

Properties

content

deliveryState

deliveryState: DeliveryState

Specifies the command delivery state.

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

Optional displayName

displayName: undefined | string

The user friendly display name of the command.

instanceAgentCommandId

instanceAgentCommandId: string

The OCID of the command

instanceId

instanceId: string

The OCID of the instance

lifecycleState

lifecycleState: LifecycleState

command execution life cycle state.

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

sequenceNumber

sequenceNumber: number

The large non-consecutive number that Run Command Service assigns to each created command. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

timeCreated

timeCreated: Date

The command creation date

timeUpdated

timeUpdated: Date

The command last updated at date.

Functions

getDeserializedJsonObj

getJsonObj