Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace InstanceAgentCommand

The command payload.

Properties

compartmentId

compartmentId: string

The OCID of the compartment containing the command.

content

The contents of the command.

Optional displayName

displayName: undefined | string

A user-friendly name. Does not have to be unique. Avoid entering confidential information.

Optional executionTimeOutInSeconds

executionTimeOutInSeconds: undefined | number

The amount of time that Oracle Cloud Agent is given to run the command on the instance before timing out. The timer starts when Oracle Cloud Agent starts the command. Zero means no timeout. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

id

id: string

The OCID of the command.

Optional isCanceled

isCanceled: undefined | false | true

Whether a request was made to cancel the command. Canceling a command is a best-effort attempt.

target

The target instance that the command runs on.

Optional timeCreated

timeCreated: Date

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

Optional timeUpdated

timeUpdated: Date

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

Functions

getDeserializedJsonObj

getJsonObj